Skip to content
Tcl Source Code History Of Ticket 690108ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 690108ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 690108ffffffffffffffffffffffffffffffffff

  1. Ticket change [fe29cac75d] (rid 108530) by msofer on 2003-02-20 15:43:53:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      (Note: this may be a libpthread and/or RedHat bug? High
      prio to discard that it's a tcl problem)
      
      System: linux RH7.3 on i386 (up2date'd)
                * glibc-2.2.4-31
                * gcc-2.96-112.7.2
      
      Tcl:     * happens with tcl >= 8.4b1 (although I'm
      pretty sure it did not                  
                  happen a while ago, suspect RH update)
                * configured as "--enable-threads
      --enable-symbols --disable-shared"
      
      Symptom: segfault in unixNotfy.test, apparently at
      cleanup (see session below)
      
      Notes: I first suspected the new allocator, but that's
      not it. I observe the same behaviour compiling with
      threads but -DPURIFY instead of -DUSE_THREAD_ALLOC
      
      
      Sample session:
      
      [mig@mini unix]$ ./tcltest ../tests/unixNotfy.test 
      unixNotfy.test: Total   4       Passed  2       Skipped
      2       Failed  0
      Number of tests skipped for each constraint:
              2       unixOnly && !testthread
      Segmentation fault
      [mig@mini unix]$ gdb tcltest core.5814 
      GNU gdb Red Hat Linux (5.2-2)
      Copyright 2002 Free Software Foundation, Inc.
      GDB is free software, covered by the GNU General Public
      License, and you are
      welcome to change it and/or distribute copies of it
      under certain conditions.
      Type "show copying" to see the conditions.
      There is absolutely no warranty for GDB.  Type "show
      warranty" for details.
      This GDB was configured as "i386-redhat-linux"...
      Core was generated by `./tcltest ../tests/unixNotfy.test'.
      Program terminated with signal 11, Segmentation fault.
      Reading symbols from /lib/libdl.so.2...done.
      Loaded symbols for /lib/libdl.so.2
      Reading symbols from /lib/i686/libpthread.so.0...done.
      Loaded symbols for /lib/i686/libpthread.so.0
      Reading symbols from /lib/i686/libm.so.6...done.
      Loaded symbols for /lib/i686/libm.so.6
      Reading symbols from /lib/i686/libc.so.6...done.
      Loaded symbols for /lib/i686/libc.so.6
      Reading symbols from /lib/ld-linux.so.2...done.
      Loaded symbols for /lib/ld-linux.so.2
      #0  __pthread_mutex_unlock (mutex=0x0) at mutex.c:174
      174     mutex.c: No such file or directory.
              in mutex.c
      (gdb) bt
      #0  __pthread_mutex_unlock (mutex=0x0) at mutex.c:174
      #1  0x080ee585 in Tcl_MutexUnlock (mutexPtr=0x811c494)
      at ./../unix/tclUnixThrd.c:440
      #2  0x080640f1 in TclThreadSend (interp=0x81977c8,
      id=0x400, script=0x8198970 "set x ok", wait=1)
          at ./../generic/tclThreadTest.c:809
      #3  0x080636f5 in Tcl_ThreadObjCmd (dummy=0x0,
      interp=0x81977c8, objc=4, objv=0x405c589c) at
      ./../generic/tclThreadTest.c:354
      #4  0x080689e1 in TclEvalObjvInternal
      (interp=0x81977c8, objc=4, objv=0x405c589c, 
          command=0x8198912 ' ' <repeats 12 times>,
      "testthread send 1024 {set x ok}\n", ' ' <repeats 12
      times>, "testthread exit", 
          length=44, flags=0) at ./../generic/tclBasic.c:3081
      #5  0x08069603 in Tcl_EvalEx (interp=0x81977c8, 
          script=0x8198908 "after 500\n", ' ' <repeats 12
      times>, "testthread send 1024 {set x ok}\n", ' '
      <repeats 12 times>, "testthread exit", numBytes=81,
      flags=0) at ./../generic/tclBasic.c:3670
      #6  0x08069b11 in Tcl_Eval (interp=0x81977c8, 
          string=0x8198908 "after 500\n", ' ' <repeats 12
      times>, "testthread send 1024 {set x ok}\n", ' '
      <repeats 12 times>, "testthread exit") at
      ./../generic/tclBasic.c:3868
      #7  0x08063a39 in NewTestThread (clientData=0xbfffbcb0)
      at ./../generic/tclThreadTest.c:512
      #8  0x4002dc3f in pthread_start_thread (arg=0x405c5be0)
      at manager.c:284
      
      
    4. foundin initialized to: "obsolete: 8.4.1.1"
    5. priority initialized to: "8"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "49. Threading"
    10. title initialized to: "threads: segfault in unixNotfy.test"
    11. type initialized to: "Bug"
  2. Ticket change [2f6b4c24c2] (rid 93063) by hobbs on 2003-02-21 01:07:05:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      I cannot repro this on a couple of Linux platforms.  I suspect 
      some machine config specialized problem.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. priority changed to: "6"
    6. resolution changed to: "Works For Me"
    7. username: "hobbs"
  3. Ticket change [3fad02c252] (rid 121504) by msofer on 2003-03-29 05:36:04:

    1. closedate changed to: "2003-03-28T22:36:04"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      Can't repro any longer, strongly suspect a RH bug that was
      since repaired.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "msofer"