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 15:29:10 +0100

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
>>
>> greets
>>
>

Attachment: data.gz
Description: application/gzip

Attachment: xmb.bashbm.1
Description: Binary data


reply via email to

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