Menu

#3748 Thread tests fails on netbsd

obsolete: 8.5a7
closed-fixed
5
2009-05-11
2007-07-24
Emiliano
No

while running the tests on netbsd-4, tcl from CVS thread-enabled and thread package from CVS, I get this error:

emiliano@maq033:~/tcl_sources/thread$ make test
TCL_LIBRARY=`echo /home/emiliano/tcl_sources/tcl/library` TCL_THREAD_LIBRARY=`echo ./lib` LD_LIBRARY_PATH=".:/home/emiliano/tcl_sources/tcl/unix:" PATH=".:/home/emiliano/tcl_sources/tcl/unix:/home/emiliano/programas/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin" TCLLIBPATH=". ./../lib" /home/emiliano/tcl_sources/tcl/unix/tclsh `echo ./tests/all.tcl`
Tcl 8.5a7 tests running in interp: /home/emiliano/tcl_sources/tcl/unix/tclsh
Tests running in working dir: /home/emiliano/tcl_sources/thread/tests
Only running tests that match: *
Skipping test files that match: l.*.test
Only sourcing test files that match: *.test
Tests began at Tue Jul 24 09:24:21 ART 2007
Thread 2.6.5
Mainthread id is tid0xbf800000
thread.test
tpool.test
tsv.test
ttrace.test

Tests ended at Tue Jul 24 09:24:36 ART 2007
all.tcl: Total 116 Passed 116 Skipped 0 Failed 0
Sourced 0 Test Files.
tclsh: Error detected by libpthread: Destroying condition variable in use.
Detected by file "/home/builds/ab/netbsd-4/src/lib/libpthread/pthread_cond.c", line 93, function "pthread_cond_destroy".
See pthread(3) for information.
[1] Abort trap (core dumped) TCL_LIBRARY=$(.....
*** Error code 134

Stop.
make: stopped in /home/emiliano/tcl_sources/thread
emiliano@maq033:~/tcl_sources/thread$

The error is also shown using Tcl 8.4.15 with Thread 2.6.5

Discussion

  • Alexandre Ferrieux

    Can you retry with 8.6 HEAD ? It seems careful steps are taken to avoid destroying locked things now.

     
  • Emiliano

    Emiliano - 2009-05-11

    test with HEAD as of 11 may 2009, confirmed working now on both amd64 and i386

     
  • Alexandre Ferrieux

    • status: open --> closed-fixed
     
  • Alexandre Ferrieux

    Thanks Emiliano, closing.