help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segf ..


From: alex xmb sw ratchev
Subject: Re: segf ..
Date: Sun, 10 Mar 2024 16:10:51 +0100

On Sun, Mar 10, 2024, 15:29 alex xmb sw ratchev <fxmbsw7@gmail.com> wrote:

> after i fixed the awk typo , bash ing the script results in segfault , see
> data.gz ( 100k x :; )
>
> On Fri, Mar 8, 2024, 21:26 alex xmb sw ratchev <fxmbsw7@gmail.com> wrote:
>
>> i was trying perl instead of awk to do the bash file repetitons last ..
>>
>> On Fri, Mar 8, 2024, 21:15 alex xmb sw ratchev <fxmbsw7@gmail.com> wrote:
>>
>>> i made changes to my benchmark script
>>> and sometimes bash segfaulted
>>> like in this case
>>>
>>> . arg : 1 ; code = : ; datagen.. 0.005s
>>> 196K    /data/data/com.termux/files/home/.xmbashdm.2683865096.s
>>> . arg : 1 ; code = : ; running..xmb.bashbm.1: line 54: 14847
>>> Segmentation fault      bash "$file" &> /dev/null
>>>  0.081s
>>> . arg : 2 ; code = true ; datagen.. 0.006s
>>> 492K    /data/data/com.termux/files/home/.xmbashdm.2683865096.s
>>> . arg : 2 ; code = true ; running..xmb.bashbm.1: line 54: 14855
>>> Segmentation fault      bash "$file" &> /dev/null
>>>  0.089s
>>> . arg : 3 ; code = false ; datagen.. 0.006s
>>> 588K    /data/data/com.termux/files/home/.xmbashdm.2683865096.s
>>> . arg : 3 ; code = false ; running..xmb.bashbm.1: line 54: 14865
>>> Segmentation fault      bash "$file" &> /dev/null
>>>  0.116s
>>>
>>> cmd :
>>>
>>> sep=\; bash xmb.bashbm.1 : true false
>>>
>>> if i add gdb before the bash in the script , line 61 , it doesnt segfault
>>>
>>
and plz ignore gdb , it wasnt installed but &>/dev/null made it unappeared
gdb doesnt seem run well on termux

greets
>>>
>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]