Bug 50795

Summary: Konsole crashes on startup
Product: [Applications] konsole Reporter: Larry Lawrence <larry>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: crash CC: coolo, stonie.cooper
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Larry Lawrence 2002-11-16 03:48:50 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc-3.2 
OS:          Linux

Starting up Konsole in KDE-3.0.5 (and KDE-3.0.4) invokes the crash handler every time.  This occurs after updating to QT-3.1.0 and does not occur with QT-3.0.6.


Backtrace
(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)...
(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)...[New Thread 1024 (LWP 754)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x40f02779 in wait4 () from /lib/libc.so.6
#0  0x40f02779 in wait4 () from /lib/libc.so.6
#1  0x40f81b34 in __DTOR_END__ () from /lib/libc.so.6
#2  0x40d56b13 in waitpid () from /lib/libpthread.so.0
#3  0x40557d55 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde-3.0.5/lib/libkdecore.so.4
#4  0x40d5453b in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x4080ee27 in QObject::inherits(char const*) const ()
   from /opt/qt/lib/libqt-mt.so.3
#7  0x4115cfdc in Konsole::makeGUI() () from /opt/kde-3.0.5/lib/konsole.so
#8  0x411608a9 in Konsole::activateSession(TESession*) ()
   from /opt/kde-3.0.5/lib/konsole.so
#9  0x411605d4 in Konsole::activateSession() ()
   from /opt/kde-3.0.5/lib/konsole.so
#10 0x411600c0 in Konsole::runSession(TESession*) ()
   from /opt/kde-3.0.5/lib/konsole.so
#11 0x4116182d in Konsole::newSession(KSimpleConfig*, QString, QStrList const&, QString const&, QString const&, QString const&) ()
   from /opt/kde-3.0.5/lib/konsole.so
#12 0x41159421 in Konsole::Konsole(char const*, QString const&, QStrList&, int, bool, bool, bool, bool, QString const&, QString const&, QCString, QString const&, bool) () from /opt/kde-3.0.5/lib/konsole.so
#13 0x411577df in main () from /opt/kde-3.0.5/lib/konsole.so
#14 0x0804c6ac in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#15 0x0804d080 in handle_launcher_request(int) ()
#16 0x0804d4b9 in handle_requests(int) ()
#17 0x0804df49 in main ()
#18 0x40e7c572 in __libc_start_main () from /lib/libc.so.6
Comment 1 Stephan Binner 2002-11-16 18:37:38 UTC
On first glance, do we still need the "hack" which calls "inherits"? 
Comment 2 Stephan Kulow 2002-11-19 18:47:50 UTC
unfortunatly qt 3.1 isn't binary compatible to 3.0.6 (or better: >= 3.0.5 isn't 
binary compatible to 3.0.4), so your KDE 3.0.5 breaks with that Qt. Better 
not update Qt to 3.1 unless you want to run a KDE compiled with it. 
Comment 3 Larry Lawrence 2002-11-19 20:27:46 UTC
I completely agree with qt 3.1 not being binary compatible, unfortunately, the
bug remains even when compiled against qt-3.1
Comment 4 Larry Lawrence 2002-11-21 02:45:23 UTC
DCOP: register 'konsole-5002' -> number of clients is now 1
ptsname: No such file or directory
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = konsole path = <unknown> pid = 5002
DCOP: unregister 'konsole-5002'

To clarify, this is KDE-3.0.5 compiled against QT-3.1.0.
Comment 5 Stephan Kulow 2002-11-21 10:07:48 UTC
this is not supported by KDE 3.0.5 ;( 
Use KDE 3.1 to get a KDE that works with Qt 3.1.  
Comment 6 Larry Lawrence 2002-11-21 13:15:49 UTC
Thanks, Just compiled the snapshot and all works well.
Comment 7 Alexander Vodomerov 2002-11-26 16:10:40 UTC
It crashes because sender() returns NULL. I've added check for it and it now 
works fine (I use kde-3.0.5 and qt-3.1) 
 
Comment 8 Stephan Binner 2002-12-02 09:35:20 UTC
*** Bug 51416 has been marked as a duplicate of this bug. ***