Bug#45691: kate crashes at startup when displaying message box about missing console font

[email protected] 24 Jul 2002 08:29:01 -0000
Newsgroups gmane.comp.kde.devel.kate
Message-ID <[email protected]>
Package: kate
Version: 2.0 (KDE 3.0.6 (using KDE 3.0.6 )
Severity: crash
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.18-64GB-SMP
OS/Compiler notes: 

Currently, I cannot start kate anymore.
It crashes after (very shortly) displaying a message box about missing konsole font.
Removing kate*rc files does not help.

Relevant Valgrind output:
============================================

kate: KateDockContainer::insertWidget()
kate: KateDockContainer::tabClicked()
kdecore (KLibLoader): library libkonsolepart.la not found under 'module' but under 'lib'
konsole: konsoleFactory::createPart parentWidget=[KateConsole pointer (0x44fec6ac) to widget console, geometry=100x30+0+0] parent=0x44fec6ac
QGList::locate: Index 0 out of range
==23772==
==23772== Invalid read of size 4
==23772==    at 0x410E3726: ??? (.moc/debug-shared-mt/../../kernel/qobject.h:142)
==23772==    by 0x410E549F: ??? (.moc/debug-shared-mt/../../kernel/qwidget.h:818)
==23772==    by 0x40D1E5A6: QWidget::raise(void) (kernel/qwidget_x11.cpp:1707)
==23772==    by 0x4030F3E0: KateApp::raiseCurrentMainWindow(void) (/home/till/kde+/kdebase/kate/app/kateapp.cpp:219)
==23772==    by 0x4030EB36: KateApp::newInstance(void) (/home/till/kde+/kdebase/kate/app/kateapp.cpp:124)
==23772==    by 0x40A414E3: KUniqueApplication::processDelayed(void) (/home/till/kde+/kdelibs/kdecore/kuniqueapplication.cpp:363)
==23772==    by 0x40A41869: KUniqueApplication::qt_invoke(int, QUObject *) (kuniqueapplication.moc:84)
==23772==    by 0x4030E096: KateApp::qt_invoke(int, QUObject *) (kateapp.moc:83)
==23772==    by 0x40D88CA2: QObject::activate_signal(QConnectionList *, QUObject *) (kernel/qobject.cpp:2080)
==23772==    by 0x4100FEC2: QSignal::signal(QVariant const &) (.moc/debug-shared-mt/moc_qsignal.cpp:99)
==23772==    by 0x40DA18F4: QSignal::activate(void) (kernel/qsignal.cpp:205)
==23772==    by 0x40DA7822: QSingleShotTimer::event(QEvent *) (kernel/qtimer.cpp:269)
==23772==    by 0x40D402D9: QApplication::internalNotify(QObject *, QEvent *) (kernel/qapplication.cpp:2209)
==23772==    by 0x40D3F7C0: QApplication::notify(QObject *, QEvent *) (kernel/qapplication.cpp:2020)
==23772==    by 0x409CE142: KApplication::notify(QObject *, QEvent *) (/home/till/kde+/kdelibs/kdecore/kapplication.cpp:556)
==23772==    by 0x410E1F6C: ??? (.moc/debug-shared-mt/../../kernel/qapplication.h:441)
==23772==    by 0x40CEA225: qt_activate_timers(void) (kernel/qapplication_x11.cpp:4376)
==23772==    by 0x40CE7370: QApplication::processNextEvent(bool) (kernel/qapplication_x11.cpp:3218)
==23772==    by 0x40D41F74: QApplication::enter_loop(void) (kernel/qapplication.cpp:3089)
==23772==    by 0x40EC3B35: QDialog::exec(void) (dialogs/qdialog.cpp:363)
==23772==    Address 0x8 is not stack'd, malloc'd or free'd
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = kate path = <unknown> pid = 23772


Stacktrace:
===========================================
[New Thread 1024 (LWP 23795)]
0x41109079 in wait4 () from /lib/libc.so.6
#0  0x41109079 in wait4 () from /lib/libc.so.6
#1  0x41183b98 in __DTOR_END__ () from /lib/libc.so.6
#2  0x40f89072 in waitpid () from /lib/libpthread.so.0
#3  0x4068a391 in KCrash::defaultCrashHandler (sig=11)
    at /home/till/kde+/kdelibs/kdecore/kcrash.cpp:224
#4  0x40f86a74 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  QObject::parent (this=0x0)
    at .moc/debug-shared-mt/../../kernel/qobject.h:142
#7  0x40d4249f in QWidget::parentWidget (this=0x0, sameWindow=false)
    at .moc/debug-shared-mt/../../kernel/qwidget.h:818
#8  0x4097b5a6 in QWidget::raise (this=0x0) at kernel/qwidget_x11.cpp:1707
#9  0x412bc3e0 in KateApp::raiseCurrentMainWindow (this=0xbfffee58)
    at /home/till/kde+/kdebase/kate/app/kateapp.cpp:219
#10 0x412bbb36 in KateApp::newInstance (this=0xbfffee58)
    at /home/till/kde+/kdebase/kate/app/kateapp.cpp:124
#11 0x4069f4e3 in KUniqueApplication::processDelayed (this=0xbfffee58)
    at /home/till/kde+/kdelibs/kdecore/kuniqueapplication.cpp:363
#12 0x4069f869 in KUniqueApplication::qt_invoke (this=0xbfffee58, _id=10, 
    _o=0xbfffe464) at kuniqueapplication.moc:84
#13 0x412bb096 in KateApp::qt_invoke (this=0xbfffee58, _id=10, _o=0xbfffe464)
    at kateapp.moc:83
#14 0x409e5ca2 in QObject::activate_signal (this=0x8265900, clist=0x8237190, 
    o=0xbfffe464) at kernel/qobject.cpp:2080
#15 0x40c6cec2 in QSignal::signal (this=0x8265900, t0=@0x8265928)
    at .moc/debug-shared-mt/moc_qsignal.cpp:99
#16 0x409fe8f4 in QSignal::activate (this=0x8265900) at kernel/qsignal.cpp:205
#17 0x40a04822 in QSingleShotTimer::event (this=0x82658d8)
    at kernel/qtimer.cpp:269
#18 0x4099d2d9 in QApplication::internalNotify (this=0xbfffee58, 
    receiver=0x82658d8, e=0xbfffe6b0) at kernel/qapplication.cpp:2209
#19 0x4099c7c0 in QApplication::notify (this=0xbfffee58, receiver=0x82658d8, 
    e=0xbfffe6b0) at kernel/qapplication.cpp:2020
#20 0x4062c142 in KApplication::notify (this=0xbfffee58, receiver=0x82658d8, 
    event=0xbfffe6b0) at /home/till/kde+/kdelibs/kdecore/kapplication.cpp:556
#21 0x40d3ef6c in QApplication::sendEvent (receiver=0x82658d8, 
    event=0xbfffe6b0) at .moc/debug-shared-mt/../../kernel/qapplication.h:441
#22 0x40947225 in qt_activate_timers () at kernel/qapplication_x11.cpp:4376
#23 0x40944370 in QApplication::processNextEvent (this=0xbfffee58, 
    canWait=true) at kernel/qapplication_x11.cpp:3218
#24 0x4099ef74 in QApplication::enter_loop (this=0xbfffee58)
    at kernel/qapplication.cpp:3089
#25 0x40b20b35 in QDialog::exec (this=0x811e308) at dialogs/qdialog.cpp:363
#26 0x404839e4 in createKMessageBox (dialog=0x811e308, icon=Critical, 
    text=@0xbfffe988, strlist=@0xbfffe93c, ask=@0x40e45684, 
    checkboxReturn=0x0, options=1, details=@0x40e45684)
    at /home/till/kde+/kdelibs/kdeui/kmessagebox.cpp:176
#27 0x40485467 in KMessageBox::error (parent=0x822e3d0, text=@0xbfffe988, 
    caption=@0x40e45684, options=1)
    at /home/till/kde+/kdelibs/kdeui/kmessagebox.cpp:570
#28 0x4174c5cd in konsolePart::setFont (this=0x822eb20, fontno=3)
    at /home/till/kde+/kdebase/konsole/konsole/konsole_part.cpp:604
#29 0x4174b7dc in konsolePart::readProperties (this=0x822eb20)
    at /home/till/kde+/kdebase/konsole/konsole/konsole_part.cpp:482
#30 0x41748f23 in konsolePart::konsolePart (this=0x822eb20, __in_chrg=1, 
    _parentWidget=0x822e3d0, widgetName=0x412f7f30 "libkonsolepart", 
    parent=0x822e3d0, name=0x412f7f30 "libkonsolepart")
    at /home/till/kde+/kdebase/konsole/konsole/konsole_part.cpp:193
#31 0x417489e6 in konsoleFactory::createPartObject (this=0x8227048, 
    parentWidget=0x822e3d0, widgetName=0x412f7f30 "libkonsolepart", 
    parent=0x822e3d0, name=0x412f7f30 "libkonsolepart")
    at /home/till/kde+/kdebase/konsole/konsole/konsole_part.cpp:83
#32 0x40044fee in KParts::Factory::createPart (this=0x8227048, 
    parentWidget=0x822e3d0, widgetName=0x412f7f30 "libkonsolepart", 
    parent=0x822e3d0, name=0x412f7f30 "libkonsolepart", 
    classname=0x412f7f3f "KParts::ReadOnlyPart", args=@0xbfffebd8)
    at /home/till/kde+/kdelibs/kparts/factory.cpp:44
#33 0x400450b1 in KParts::Factory::createObject (this=0x8227048, 
    parent=0x822e3d0, name=0x412f7f30 "libkonsolepart", 
    classname=0x412f7f3f "KParts::ReadOnlyPart", args=@0xbfffebd8)
    at /home/till/kde+/kdelibs/kparts/factory.cpp:58
#34 0x4069ae86 in KLibFactory::create (this=0x8227048, parent=0x822e3d0, 
    name=0x412f7f30 "libkonsolepart", 
    classname=0x412f7f3f "KParts::ReadOnlyPart", args=@0xbfffebd8)
    at /home/till/kde+/kdelibs/kdecore/klibloader.cpp:84
#35 0x412c09f5 in KateConsole::KateConsole (this=0x822e3d0, parent=0x8193e30, 
    name=0x412f9d5c "console")
    at /home/till/kde+/kdebase/kate/app/kateconsole.cpp:36
#36 0x412cae1a in KateMainWindow::setupMainWindow (this=0x8193e30)
    at /home/till/kde+/kdebase/kate/app/katemainwindow.cpp:203
#37 0x412c9f68 in KateMainWindow::KateMainWindow (this=0x8193e30, __in_chrg=1, 
    _m_docManager=0x80d34e8, _m_pluginManager=0x8190d90)
    at /home/till/kde+/kdebase/kate/app/katemainwindow.cpp:118
#38 0x412bbf85 in KateApp::newMainWindow (this=0xbfffee58)
    at /home/till/kde+/kdebase/kate/app/kateapp.cpp:174
#39 0x412bb3a7 in KateApp::KateApp (this=0xbfffee58, forcedNewProcess=false, 
    oldState=false) at /home/till/kde+/kdebase/kate/app/kateapp.cpp:58
#40 0x412dc465 in main (argc=1, argv=0x805d5d8)
    at /home/till/kde+/kdebase/kate/app/katemain.cpp:104
#41 0x0804db07 in launch (argc=1, _name=0x805b004 "kate", 
    args=0x805b009 "\001", cwd=0x0, envc=1, envs=0x805b01a "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x805b01e "home;1027498866;971314;23271")
    at /home/till/kde+/kdelibs/kinit/kinit.cpp:542
#42 0x0804ebc7 in handle_launcher_request (sock=7)
    at /home/till/kde+/kdelibs/kinit/kinit.cpp:1011
#43 0x0804f381 in handle_requests (waitForPid=0)
    at /home/till/kde+/kdelibs/kinit/kinit.cpp:1177
#44 0x080505a0 in main (argc=3, argv=0xbffff4a4, envp=0xbffff4b4)
    at /home/till/kde+/kdelibs/kinit/kinit.cpp:1519
#45 0x4107e9ed in __libc_start_main () from /lib/libc.so.6



(Submitted via bugs.kde.org)
(Called from KBugReport dialog)


(Complete bug history is available at http://bugs.kde.org/db/45/45691.html)