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: Mon, 11 Mar 2024 22:20:13 +0100

20k ; separated works , 30k segfaults

. arg : 1 ; code = : ; datagen.. 0.005s
. arg : 1 ; code = : ; running.. 0.052s
. arg : 2 ; code = true ; datagen.. 0.006s
. arg : 2 ; code = true ; running.. 0.056s
. arg : 3 ; code = false ; datagen.. 0.005s
. arg : 3 ; code = false ; running.. 0.057s
~ $ sep=\; times=20000 bash xmb.bashbm.1 : true false

. arg : 3 ; code = false ; datagen.. 0.005s
. arg : 3 ; code = false ; running..xmb.bashbm.1: line 55: 11398
Segmentation fault      bash "$file" &> /dev/null
 0.050s
~ $ sep=\; times=30000 bash xmb.bashbm.1 : true false

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

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