Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-22 Thread Michael D. Setzer II via users
On 22 May 2023 at 9:22, Barry wrote: From: Barry Subject:Re: Strange error running scripts. without #!/usr/bin/bash Date sent: Mon, 22 May 2023 09:22:24 +0100 To: mi...@guam.net, Community support for Fedora users Send

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-22 Thread Barry
> On 21 May 2023, at 23:14, Michael D. Setzer II via users > 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

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Jonathan Billings
On May 21, 2023, at 20:57, Robert Nichols wrote: > > Not quite. What happens is that your shell's exec() call fails with "ENOEXEC > (Exec format error)". When your shell (not the kernel) sees that for a file > that does have execute permission, it forks a copy of itself to try to > interpret t

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Robert Nichols
On 5/21/23 08:47, Jonathan Billings wrote: On May 20, 2023, at 22:18, Michael D. Setzer II wrote:  Recently was getting a strange error when running a script that didn't have #!/usr/bin/bash at top? free(): invalid next size (fast) Aborted (core dumped) Just adding the line fixes the issue,

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Tim via users
On Mon, 2023-05-22 at 08:55 +1000, Michael D. Setzer II via users wrote: > start1.sh > #!/usr/bin/bash > echo Start > > or > start2.sh > echo Start > > Have filed a bug report with xfce-terminal. But does it work consistently, everywhere, when you have a shebang at the start of the script? (It

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Michael D. Setzer II via users
On 21 May 2023 at 16:52, Roger Heflin wrote: From: Roger Heflin Date sent: Sun, 21 May 2023 16:52:56 -0500 Subject:Re: Strange error running scripts. without #!/usr/bin/bash To: Community support for Fedora users Send reply to

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Roger Heflin
Sun, 21 May 2023 16:52:56 -0500 > Subject: Re: Strange error running scripts. without > #!/usr/bin/bash > To: Community support for Fedora users > > Send reply to: Community support for Fedora > users > > > You shou

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Michael D. Setzer II via users
On 21 May 2023 at 16:52, Roger Heflin wrote: From: Roger Heflin Date sent: Sun, 21 May 2023 16:52:56 -0500 Subject:Re: Strange error running scripts. without #!/usr/bin/bash To: Community support for Fedora users Send reply to

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Roger Heflin
You should be able to add -f (follow all forks) on strace and it will follow everything. But without the script tracing POC mentions you aren't really going to know what line gets the error. It is likely the bug is in one of the commands you are using, and it may depend on the data you are getti

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Patrick O'Callaghan
On Mon, 2023-05-22 at 07:09 +1000, Michael D. Setzer II via users wrote: > Located the earlier script. It still gave the error so tried > strace and got > strace ./mktext2x.sh > execve("./mktext2x.sh", ["./mktext2x.sh"], > 0x7ffc37e55570 /* 35 vars */) = -1 ENOEXEC (Exec > format error) > stra

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Samuel Sieb
On 5/21/23 14:09, Michael D. Setzer II via users wrote: On 21 May 2023 at 16:05, Go Canes wrote: From: Go Canes Date sent: Sun, 21 May 2023 16:05:06 -0400 Subject:Re: Strange error running scripts. without #!/usr/bin/bash To

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Michael D. Setzer II via users
On 21 May 2023 at 16:05, Go Canes wrote: From: Go Canes Date sent: Sun, 21 May 2023 16:05:06 -0400 Subject:Re: Strange error running scripts. without #!/usr/bin/bash To: mi...@guam.net, Community support for Fedora

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Roger Heflin
On Sun, May 21, 2023 at 3:29 PM Michael D. Setzer II via users wrote: > > On 21 May 2023 at 16:05, Go Canes wrote: > > From: Go Canes > Date sent: Sun, 21 May 2023 16:05:06 -0400 > Subject: Re: Strange error running scripts. without

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Michael D. Setzer II via users
On 21 May 2023 at 16:05, Go Canes wrote: From: Go Canes Date sent: Sun, 21 May 2023 16:05:06 -0400 Subject:Re: Strange error running scripts. without #!/usr/bin/bash To: mi...@guam.net, Community support for Fedora

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Go Canes
On Sat, May 20, 2023 at 10:18 PM Michael D. Setzer II wrote: > Recently was getting a strange error when running a script that didn't have > #!/usr/bin/bash at top? > free(): invalid next size (fast) > Aborted (core dumped) > Just adding the line fixes the issue, but not sure why?? > Have run the

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Jonathan Billings
On May 21, 2023, at 09:47, Jonathan Billings wrote: > >  >> >> On May 20, 2023, at 22:18, Michael D. Setzer II wrote: >> >>  >> Recently was getting a strange error when running a script that didn't have >> #!/usr/bin/bash at top? >> free(): invalid next size (fast) >> Aborted (core dumped)

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-21 Thread Jonathan Billings
On May 20, 2023, at 22:18, Michael D. Setzer II wrote: > >  > Recently was getting a strange error when running a script that didn't have > #!/usr/bin/bash at top? > free(): invalid next size (fast) > Aborted (core dumped) > Just adding the line fixes the issue, but not sure why?? > Have run th

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-20 Thread Michael D. Setzer II via users
On 21 May 2023 at 13:42, Tim wrote: Subject:Re: Strange error running scripts. without #!/usr/bin/bash From: Tim To: mi...@guam.net, Community support for Fedora users Date sent: Sun, 21 May 2023 13:42:59 +0930 >

Re: Strange error running scripts. without #!/usr/bin/bash

2023-05-20 Thread Tim via users
On Sun, 2023-05-21 at 12:17 +1000, Michael D. Setzer II wrote: > Recently was getting a strange error when running a script that > didn't have #!/usr/bin/bash at top? > > free(): invalid next size (fast) > Aborted (core dumped) > > Just adding the line fixes the issue, but not sure why?? > Have run