[Konsole-devel] [Bug 51670] New: konsole crashes on startup
David Robins
dbrobins at davidrobins.net
Mon Dec 9 06:19:05 UTC 2002
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=51670
Summary: konsole crashes on startup
Product: konsole
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: konsole-devel at kde.org
ReportedBy: dbrobins at davidrobins.net
Version: (using KDE KDE 3.0.5)
Installed from: Compiled From Sources
Compiler: gcc 3.2.1
OS: Linux
Installing KDE 3.0.5 (new Qt first, 3.1.0); installed kdelibs OK, and then kdebase (both form source). Rebooted to clear out old libs etc. Most apps run OK, except Konsole immediately crashes on startup (no main window, kcrash starts) - backtrace:
0x40ff1489 in __wait4 () at __wait4:-1
in __wait4
#0 0x40ff1489 in __wait4 () at __wait4:-1
#1 0x4104f48c in __DTOR_END__ () from /lib/libc.so.6
#2 0x40ea68e5 in waitpid (pid=18747, stat_loc=0x0, options=0)
at wrapsyscall.c:134
#3 0x405e8215 in KCrash::defaultCrashHandler(int) ()
from /usr/local/kde/lib/libkdecore.so.4
#4 <signal handler called>
#5 0x40918f07 in QObject::inherits(char const*) const ()
from /usr/local/qt/lib/libqt-mt.so.3
#6 0x08066461 in Konsole::makeGUI() ()
#7 0x0806a71b in Konsole::activateSession(TESession*) ()
#8 0x0806a43b in Konsole::activateSession() ()
#9 0x08069e3f in Konsole::runSession(TESession*) ()
#10 0x0806b86e in Konsole::newSession(KSimpleConfig*, QString, QStrList const&, QString const&, QString const&, QString const&) ()
#11 0x0806232a in Konsole::Konsole(char const*, QString const&, QStrList&, int, bool, bool, bool, bool, QString const&, QString const&, QCString, QString const&, bool) ()
#12 0x080605c8 in main ()
#13 0x40f791eb in __libc_start_main (main=0x805eb10 <main>, argc=1,
argv=0xbffff994, init=0x80581e0 <_init>, fini=0x808cd70 <_fini>,
rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffff98c)
at ../sysdeps/generic/libc-start.c:90
Using this, I tracked down makeGUI's single call to 'inherits' and saw something described in a comment as a "hack" to reomve an empty separator that Qt erroneously adds. I tried commenting out that code [the if(!(isRestored)) block] and did "make && make install" in the konsole directory. No longer crashed. (Assumption: latest Qt fixes the bug, and now the workaround is invalid.)
More information about the konsole-devel
mailing list