|
2019-04-03
| ||
| 14:36 | • Ticket [2d34167e97] sporadic segfault in stack test-case (heisenbug) status ... artifact: 490a232525 user: sebres | |
|
2019-03-06
| ||
| 11:52 | • New ticket [2d34167e97]. artifact: 25492cef9e user: sebres | |
sporadic segfault in stack test-case (heisenbug)
It looks really as a heisenbug (not reproducible at all). But I saw it also at some point on my systems (8.5/8.6).
Here the last time in travis:
==== stack-3.1 enough room for regexp near recursion limit FAILED
==== Contents of test case:
# do this in a sub process in case it segfaults
exec [interpreter] << {
interp recursionlimit {} 10000
set depth 0
proc a { max } {
if { [info level] < $max } {
set ::depth [info level]
a $max
} else {
regexp {^ ?} x
}
}
catch { a 10001 }
set depth2 $depth
puts [list [a $depth] [expr { $depth2 - $depth }]]
}
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: child killed: segmentation violation
while executing
"exec [interpreter] << {
interp recursionlimit {} 10000
set depth 0
proc a { max } {
if { [info level] < $max } {
set ::depth [info level]
..."
("uplevel" body line 3)
invoked from within
"uplevel 1 $script"
---- errorCode: CHILDKILLED 7162 SIGSEGV {segmentation violation}
==== stack-3.1 FAILED
Next one, same test and again clang (BTW, I think I don't saw it compiled with gcc, so possibly it'd be an UB compiled with clang C on some constellation).