wish8.4 segfaults on 5.2-CURRENT

Andrei Popov ceesaxp at mac.com
Wed Apr 28 11:05:42 PDT 2004


Over the past several weeks I cannot run any Tk 8.4 apps on my -current 
box.  wish8.4 segfaults immediately on start.

Tcl/Tk is compiled with TCL_WITH_THREADS=yes.  Playing with 
/etc/libmap.conf does not seem to help.  tclsh8.4 works fine.

Has anyone seen the same/similar behavior?

Am attaching gdb o/p.


Thx,
Andrei

 > gdb
GNU gdb 5.2.1 (FreeBSD)
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-undermydesk-freebsd".
(gdb) file /usr/local/bin/wish8.4
Reading symbols from /usr/local/bin/wish8.4...(no debugging symbols 
found)...done.
(gdb) run
Starting program: /usr/local/bin/wish8.4
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x283d5450 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
(gdb) bt
#0  0x283d5450 in pthread_mutexattr_init () from 
/usr/lib/libpthread.so.1
#1  0x2832b665 in pthread_cond_wait () from /lib/libc.so.5
#2  0x281e8b3f in Tcl_ConditionWait () from /usr/local/lib/libtcl84.so.1
#3  0x281e8fe4 in Tcl_InitNotifier () from /usr/local/lib/libtcl84.so.1
#4  0x281c5134 in TclInitNotifier () from /usr/local/lib/libtcl84.so.1
#5  0x2819c68f in TclInitSubsystems () from /usr/local/lib/libtcl84.so.1
#6  0x28174fc0 in Tcl_CreateInterp () from /usr/local/lib/libtcl84.so.1
#7  0x0804874c in main ()
#8  0x08048662 in _start ()
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) quit



More information about the freebsd-questions mailing list