erik.devriendt | 22 Jul 18:48 2014
Picon

Bug#556: hp-toolbox segfaults when started in x2go MATE session

Package: nx-libs 
Version: 3.5.0.27 

Distribution: Linux Mint 17 64-bit. 

hp-toolbox segfaults when started in a x2go MATE session. 

hp-toolbox is a python script, part of the hplip-gui package in Linux Mint 17. 

After unsetting the LD_LIBRARY_PATH environment variable, hp-toolbox starts without segfaulting.
(hp-toolbox started in a shell in a terminal window). 

This could be related to : 
    http://bugs.x2go.org/49 
    http://bugs.x2go.org/29 

gdb post mortem stack backtrace: 

gdb /usr/bin/python core 
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7 
Copyright (C) 2014 Free Software Foundation, Inc. 
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This is free software: you are free to change and redistribute it. 
There is NO WARRANTY, to the extent permitted by law. Type "show copying" 
and "show warranty" for details. 
This GDB was configured as "x86_64-linux-gnu". 
Type "show configuration" for configuration details. 
For bug reporting instructions, please see: 
<http://www.gnu.org/software/gdb/bugs/>. 
Find the GDB manual and other documentation resources online at: 
<http://www.gnu.org/software/gdb/documentation/>. 
For help, type "help". 
Type "apropos word" to search for commands related to "word"... 
Reading symbols from /usr/bin/python...(no debugging symbols found)...done. 

warning: core file may not match specified executable file. 
[New LWP 9421] 
[Thread debugging using libthread_db enabled] 
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 
Core was generated by `/usr/bin/python /usr/bin/hp-toolbox'. 
Program terminated with signal SIGSEGV, Segmentation fault. 
#0 0x00007fea545e6720 in _X11TransWritev () 
from /usr/lib/nx/X11/libNX_X11.so.6 
(gdb) bt 
#0 0x00007fea545e6720 in _X11TransWritev () 
from /usr/lib/nx/X11/libNX_X11.so.6 
#1 0x00007fea545c7289 in _XSend () from /usr/lib/nx/X11/libNX_X11.so.6 
#2 0x00007fea545bb379 in XQueryExtension () 
from /usr/lib/nx/X11/libNX_X11.so.6 
#3 0x00007fea545af722 in XInitExtension () from /usr/lib/nx/X11/libNX_X11.so.6 
#4 0x00007fea548a65eb in XextAddDisplay () 
from /usr/lib/nx/X11/libNX_Xext.so.6 
#5 0x00007fea54ab9683 in XineramaIsActive () 
from /usr/lib/nx/X11/Xinerama/libXinerama.so.1 
#6 0x00007fea539fbb8f in ?? () 
from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 
#7 0x00007fea539fc9ef in ?? () 
from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 
#8 0x00007fea539e5edc in gdk_display_open () 
from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 
#9 0x00007fea539b6f4d in gdk_display_open_default_libgtk_only () 
from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 
#10 0x00007fea53d762d4 in gtk_init_check () 
from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 
#11 0x00007fea53d762f9 in gtk_init () 
from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 
#12 0x00007fea5d55d47e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 
---Type <return> to continue, or q <return> to quit--- 
#13 0x00007fea5d541d61 in QGtkStyle::QGtkStyle() () 
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 
#14 0x00007fea5d4cc571 in QStyleFactory::create(QString const&) () 
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 
#15 0x00007fea5d1df561 in QApplication::style() () 
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 
#16 0x00007fea5d1df955 in QApplicationPrivate::initialize() () 
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 
#17 0x00007fea5d1dfa80 in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned
long) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 
#18 0x00007fea5d1dfcef in QApplication::QApplication(int&, char**, int) () 
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 
#19 0x00007fea5e1e9f3e in ?? () 
from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so 
#20 0x00007fea5e1ea131 in ?? () 
from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so 
#21 0x00007fea59b2eb4c in ?? () from /usr/lib/python2.7/dist-packages/sip.so 
#22 0x00000000004f5d0b in ?? () 
#23 0x000000000052cc20 in PyEval_EvalFrameEx () 
#24 0x000000000055c594 in PyEval_EvalCodeEx () 
#25 0x00000000005b7392 in PyEval_EvalCode () 
#26 0x0000000000469663 in ?? () 
#27 0x00000000004699e3 in PyRun_FileExFlags () 
---Type <return> to continue, or q <return> to quit--- 
#28 0x0000000000469f1c in PyRun_SimpleFileExFlags () 
#29 0x000000000046ab81 in Py_Main () 
#30 0x00007fea6525eec5 in __libc_start_main () 
from /lib/x86_64-linux-gnu/libc.so.6 
#31 0x000000000057497e in _start () 
(gdb) 

Gmane