#3838 http.test triggers segfault (sometimes)

obsolete: 8.5b3
open
8
2007-12-03
2007-11-10
miguel sofer
No

http.test triggers a threading segfault; this happens in a somewhat aleatory manner, but after a few rapid repetitions of the test it triggers reliably here.

$ make test TESTFLAGS="-f http.test"
...
++++ http-7.3 PASSED
++++ http-7.4 PASSED
Test file error: child killed: segmentation violation

----
The backtrace is

#0 0x400367f4 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1 0x40036bf0 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08148f24 in Tcl_MutexUnlock (mutexPtr=0x817fa38) at /home/CVS/tcl_SF_clean/unix/../unix/tclUnixThrd.c:522
#3 0x0814a168 in Tcl_WaitForEvent (timePtr=0x0) at /home/CVS/tcl_SF_clean/unix/../unix/tclUnixNotfy.c:871
#4 0x08107cb9 in Tcl_DoOneEvent (flags=-3) at /home/CVS/tcl_SF_clean/unix/../generic/tclNotify.c:957
#5 0x08066876 in Tcl_ThreadObjCmd (dummy=0x0, interp=0x8265458, objc=2, objv=0x826dd28) at /home/CVS/tcl_SF_clean/unix/../generic/tclThreadTest.c:385
#6 0x0806d575 in TclEvalObjvInternal (interp=0x8265458, objc=2, objv=0x826dd28, command=0x8291b62 "testthread wait\n ", length=16, flags=0)
at
/home/CVS/tcl_SF_clean/unix/../generic/tclBasic.c:3661

----

% parray tcl_platform
tcl_platform(byteOrder) = littleEndian
tcl_platform(machine) = i686
tcl_platform(os) = Linux
tcl_platform(osVersion) = 2.6.20-16-generic
tcl_platform(platform) = unix
tcl_platform(pointerSize) = 4
tcl_platform(threaded) = 1
tcl_platform(user) = mig
tcl_platform(wordSize) = 4

Discussion

1 2 > >> (Page 1 of 2)
  • miguel sofer
    miguel sofer
    2007-11-12

    Logged In: YES
    user_id=148712
    Originator: YES

    That was HEAD as of Nov 10; repro with the released 8.5b2.

     
  • miguel sofer
    miguel sofer
    2007-11-12

    Logged In: YES
    user_id=148712
    Originator: YES

    8.5a6 too

     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2007-11-13

    • assigned_to: nobody --> vasiljevic
     
  • miguel sofer
    miguel sofer
    2007-11-13

    Logged In: YES
    user_id=148712
    Originator: YES

    Note that this happens *after* the last test; gwlester reporting seeing failures on app exit under osx too.

     
  • miguel sofer
    miguel sofer
    2007-11-13

    Logged In: YES
    user_id=148712
    Originator: YES

    Can't seem to trigger this anymore after [Bug 1618235] was fixed earlier today. Related?

     
  • Logged In: YES
    user_id=95086
    Originator: NO

    most probably. thx to dkf for backporting the
    compat code from 8.4 branch.
    I'm just too low on time this week.

     
  • miguel sofer
    miguel sofer
    2007-11-28

    Logged In: YES
    user_id=148712
    Originator: YES

    Still there in head as of today

     
  • Don Porter
    Don Porter
    2007-12-03

    Logged In: YES
    user_id=80530
    Originator: NO

    Should this bug block 8.5.0?

     
  • Logged In: YES
    user_id=95086
    Originator: NO

    I do not know. I'm unable to reproduce this on any machine
    that I have access to. I would not consider this a show stopper
    if you ask me.

     
  • Don Porter
    Don Porter
    2007-12-03

    • priority: 9 --> 8
     
1 2 > >> (Page 1 of 2)