Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c4f88e3607513a3b3756b2bb7084fc2a009ffd81
Ticket: 1919975fffffffffffffffffffffffffffffffff
reg.test test case failure
User & Date: lvirden on 2008-03-19 18:21:18
Changes

  1. assignee changed to: "pvgoran"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I have built the tcl 8.5.2 release candidate on SPARC Solaris 8, using Sun's C compiler and using options \"'--prefix=/projects/sprs_lwv/tcl85' '--enable-shared' '--enable-symbols' '--enable-stubs' '--enable-64bit' '--prefix=/vol/tclsrcsol/tcl852' 'CC=cc'\"
    
    The test suite crashes during one test:
    
    ++++ reg-33.12 PASSED
    ++++ reg-33.13 PASSED
    Test file error: child killed: segmentation violation
    
    Tests ended at Wed Mar 19 14:15:48 EDT 2008
    all.tcl:        Total   0       Passed  0       Skipped 0       Failed  0
    Sourced 1 Test Files.
    
    Test files exiting with errors:  
    $ dbx ./tcltest core
    For information about new features see `help changes'
    To remove this message, put `dbxenv suppress_startup_message 7.0' in your .dbxrc
    Reading tcltest
    dbx: warning: NT_GWINDOWS section found.  Possible stack overflow condition
    core file header read successfully
    Reading ld.so.1
    Reading libtcl8.5.so
    Reading libdl.so.1
    Reading libsocket.so.1
    Reading libnsl.so.1
    Reading libm.so.1
    Reading libc.so.1
    Reading libmp.so.2
    Reading libc_psr.so.1
    program terminated by signal SEGV (no mapping at the fault address)
    Current function is TclpAlloc
      706       return (char*) malloc(numBytes);
    dbx: core file read error: address 0xffffffff7f7fffa0 not in data space
    (dbx 1) where                                                         
    =>[1] TclpAlloc(numBytes = 648U), line 706 in "tclAlloc.c"
      [2] newstate(nfa = 0x1001cd730), line 188 in "regc_nfa.c"
      [3] duptraverse(nfa = 0x1001cd730, s = 0x10040d030, stmp = (nil)), line 751 in "regc_nfa.c"
      [4] duptraverse(nfa = 0x1001cd730, s = 0x10040cd90, stmp = (nil)), line 758 in "regc_nfa.c"
      [5] duptraverse(nfa = 0x1001cd730, s = 0x10040caf0, stmp = (nil)), line 758 in "regc_nfa.c"
    
    (and that last line appears to be repeated for a large number of values of s.
    
    Just to confirm:
    $ ./tcltest
    %     regexp {(x{200}){200}$y} {x}
    Segmentation Fault(coredump)
    
      reg.test
    
  4. foundin changed to: "obsolete: 8.5.2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "lvirden"
  10. subsystem changed to: "43. Regexp"
  11. title changed to: "reg.test test case failure"
  12. type changed to: "Bug"