On 22 May 2023 at 9:22, Barry wrote:
From: Barry <barry@xxxxxxxxxxxxxxxx>
Subject: Re: Strange error running scripts. without
#!/usr/bin/bash
Date sent: Mon, 22 May 2023 09:22:24 +0100
To: mikes@xxxxxxxx,
Community support for Fedora users
<users@xxxxxxxxxxxxxxxxxxxxxxx>
Send reply to: Community support for Fedora
users <users@xxxxxxxxxxxxxxxxxxxxxxx>
>
>
> > On 21 May 2023, at 23:14, Michael D. Setzer II via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > ./mktext2x.sh
> > free(): invalid next size (fast)
> > Aborted (core dumped)
>
> You can use the core file to find out what program crashed.
> The file command will give you a summary that includes the program name.
> Or you can run gdb on the core file to find out details.
>
> Barry
Looked at directory /var/lib/systemd/coredump
coredumpctl list
Sat 2023-05-20 20:37:10 ChST 542241 1000 1000 SIGABRT present /usr/bin/bash 423.4K
Sat 2023-05-20 20:37:59 ChST 542292 1000 1000 SIGABRT present /usr/bin/bash 421.8K
Sat 2023-05-20 20:38:23 ChST 542395 1000 1000 SIGABRT present /usr/bin/bash 419.9K
Sat 2023-05-20 20:39:40 ChST 542502 1000 1000 SIGABRT present /usr/bin/bash 419.8K
Sat 2023-05-20 20:40:36 ChST 542635 1000 1000 SIGABRT present /usr/bin/bash 420.0K
Sat 2023-05-20 20:44:17 ChST 543557 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Sat 2023-05-20 20:45:06 ChST 543655 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Sat 2023-05-20 20:45:53 ChST 543754 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Sat 2023-05-20 20:47:15 ChST 543897 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Sat 2023-05-20 20:48:28 ChST 544046 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Sat 2023-05-20 20:48:59 ChST 544143 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Sat 2023-05-20 20:49:40 ChST 544242 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Sun 2023-05-21 12:02:44 ChST 736768 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Sun 2023-05-21 12:03:05 ChST 739989 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Mon 2023-05-22 06:37:11 ChST 1018243 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Mon 2023-05-22 08:00:49 ChST 1032418 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Mon 2023-05-22 08:10:38 ChST 1035320 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Mon 2023-05-22 08:10:42 ChST 1035338 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Mon 2023-05-22 08:11:20 ChST 1035370 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Mon 2023-05-22 08:23:43 ChST 1035557 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Mon 2023-05-22 08:32:32 ChST 1036132 1000 1000 SIGABRT present /usr/bin/bash 2.8M
Mon 2023-05-22 08:39:22 ChST 1036795 1000 1000 SIGABRT present /usr/bin/bash 2.8M
So, all seem to be with bash??
Tried to get error by running start2.sh
then switch to another xfce-terminal window
and same command crashed.
crash file created by running ./start2.sh which just
contains echo Start makes.
3006019 May 22 20:19
core.bash.1000.c64880f851ca46b6a7a8545d5d43af11.1069024.1684750797000000.zst
Closed that terminal window, and opened a new one,
and it runs fine??
So, not clear is something in the one terminal window
corrupted something that caused running a bash file
without #! line to crash with abort?
Strange.
What would be process to analyse these core.bash*.zst
files?
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@xxxxxxxx
mailto:msetzerii@xxxxxxxxx
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue