Subject: pkg/11019: sdr segfaults since tcl/tk upgrade
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 09/14/2000 12:29:14
>Number:         11019
>Category:       pkg
>Synopsis:       sdr segfaults since tcl/tk upgrade
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 14 12:30:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        pkgsrc as of today, 1.5_ALPHA2 userland
>Organization:

LIP6/ASIM

>Environment:

System: NetBSD armandeche 1.5E NetBSD 1.5E (ARMANDECHE) #0: Fri Sep 8 16:28:27 MEST 2000 bouyer@armandeche:/home/cvs.netbsd.org/src/sys/arch/i386/compile/ARMANDECHE i386

>Description:
	sdr used to work for me, although with a problem: I had to remove
	.sdr/cache before starting it. with a sdr recompiled using
	tcl-8.3.2/tk-8.3.2, sdr now gets a segfault even without a .sdr:
Core was generated by `sdr'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...done.
Reading symbols from /usr/pkg/lib/libtk83.so.1...done.
Reading symbols from /usr/pkg/lib/libtcl83.so.1...done.
Reading symbols from /usr/lib/libm.so.0...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/lib/libz.so.0...done.
Reading symbols from /usr/lib/libc.so.12...done.
#0  0x4822a913 in Tcl_ParseCommand ()
(gdb) where
#0  0x4822a913 in Tcl_ParseCommand ()
#1  0x4822b875 in Tcl_EvalEx ()
#2  0x4822b5be in Tcl_EvalTokens ()
#3  0x4822b8f4 in Tcl_EvalEx ()
#4  0x4822bb8a in Tcl_Eval ()
#5  0x8053e34 in initnames () at ../src/ui_fns.c:225
#6  0x804ccfb in main (argc=1, argv=0xbfbfd740) at ../src/sd_listen.c:1305
#7  0x8049e49 in ___start ()
(gdb) 

>How-To-Repeat:
	compile sdr from current pkgsrc
>Fix:
	unknow - If I look into this I'd rather update sdr to the last version
	first.
>Release-Note:
>Audit-Trail:
>Unformatted: