help-bash
[Top][All Lists]
Advanced

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

segf ..


From: alex xmb sw ratchev
Subject: segf ..
Date: Fri, 8 Mar 2024 21:15:35 +0100

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: xmb.bashbm.1
Description: Binary data


reply via email to

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