Skip to content
Tcl Source Code History Of Ticket 2d34167e97
Login

History Of Ticket 2d34167e97

Artifacts Associated With Ticket 2d34167e97

  1. Ticket change [25492cef9e] (rid 169720) by sebres on 2019-03-06 11:52:31:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      Just for the record. 
      
      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 [https://travis-ci.org/tcltk/tcl/jobs/502442934#L681|travis]:
      <code><pre style="padding-left:10pt">
      ==== 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
      </pre></code>
      
    5. foundin initialized to: ">= 8.5"
    6. is_private initialized to: "0"
    7. login: "sebres"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Important"
    11. status initialized to: "Open"
    12. submitter initialized to: "sebres"
    13. subsystem initialized to: "45. Parsing and Eval"
    14. title initialized to: "sporadic segfault in stack test-case (heisenbug)"
    15. type initialized to: "Bug"
  2. Ticket change [490a232525] (rid 170755) by sebres on 2019-04-03 14:36:30:

    1. icomment:
      [https://travis-ci.org/tcltk/tcl/jobs/514532792#L681|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).
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"