Package: insight
Version: 6.1+cvs.2004.08.11-1
Severity: normal

If I do:
$ echo $DISPLAY
:0.0
$ sudo su - myaccount
$ echo $DISPLAY

$ xeyes
Error: Can't open display: 
$ insight
Segmentation fault

You can also do:
$ echo $DISPLAY
:0.0
$ insight
correct execution
$ export -n DISPLAY
$ echo $DISPLAY

$ insight
Segmentation fault

It would be nice if the "error message" was more explicit (like it is the
case with xeyes for example).

Maybe the bug is not in insight but in libtcl.


More debug info:
$ gdb insight-bin
GNU gdb 6.3-debian
Copyright 2004 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-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) r
Starting program: /usr/bin/insight-bin 
(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)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1078223520 (LWP 18602)]
(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.
[Switching to Thread 1078223520 (LWP 18602)]
0x4014bd22 in Tcl_GlobalEval () from /usr/lib/libtcl8.4.so.0
(gdb) bt
#0  0x4014bd22 in Tcl_GlobalEval () from /usr/lib/libtcl8.4.so.0
#1  0x080c5491 in gdbtk_source_start_file ()
#2  0x080c9c6f in x_event ()
#3  0x081087e9 in interp_set ()
#4  0x0807e0d5 in main ()
(gdb) 


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages insight depends on:
ii  itcl3                    3.2.1-3         [incr Tcl] OOP extension for Tcl -
ii  itk3                     3.2.1-3         [incr Tk] OOP extension for Tk - r
ii  iwidgets4                4.0.1-3         [incr Widgets] Tk-based widget col
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libncurses5              5.4-4           Shared libraries for terminal hand
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  tcl8.4                   8.4.9-1         Tcl (the Tool Command Language) v8
ii  tk8.4                    8.4.9-1         Tk toolkit for Tcl and X11, v8.4 -
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to