Bug 137113 - Crash when try to export hiscores
Summary: Crash when try to export hiscores
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ksirtet
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Hadacek Nicolas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-09 19:25 UTC by Sune Vuorela
Modified: 2010-08-29 14:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sune Vuorela 2006-11-09 19:25:20 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
OS:                Linux

when I try to export hiscores, ksirtet crashes on me, unfortunately I do not get a very usefull backtrace, but I will try to attach what I have got.

A friend of mine runs Suse - he can reproduce it too. He also got a kind of backtrace which I will also post here.

This is related to debian#355086 - and I can reproduce it easy. (bugs.debian.org/355086)

Thank you

Debian very bad backtrace:

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
0xb7f4b410 in ?? ()
#0  0xb7f4b410 in ?? ()
#1  0xbfa1d4d8 in ?? ()
#2  0xb6936ff4 in ?? ()
#3  0xbfa1d4c4 in ?? ()
#4  0xb6897920 in ?? ()
#5  0xb689776b in ?? ()
#6  0xbfa1d4c4 in ?? ()
#7  0xbfa1d4c4 in ?? ()
#8  0x00000000 in ?? ()


Debian a little better backtrace

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 100409024 (LWP 3682)]
0x38059480 in ?? ()
#0  0x38059480 in ?? ()
#1  0x6222ceec in ?? ()
#2  0x6222ceb8 in ?? ()
#3  0x000000a2 in ?? ()
#4  0x38bfe060 in ?? ()
#5  0x3804bdc0 in ?? ()
#6  0x000000a2 in ?? ()
#7  0x38ae82dc in ?? ()
#8  0x6222ceb8 in ?? ()
#9  0x6222ceb0 in ?? ()
#10 0x00000008 in ?? ()
#11 0x0503dac0 in KCrash::startDrKonqi (argv=0x1, argc=0)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kcrash.cpp:311
#12 0x0503dac0 in KCrash::startDrKonqi (argv=0xbe91a6e4, argc=17)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kcrash.cpp:311
#13 0x05053523 in KCrash::defaultCrashHandler (sig=11)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kcrash.cpp:228
#14 0x05e588a8 in killpg () from /lib/tls/i686/cmov/libc.so.6
#15 0x0004effe in Client::~Client ()
#16 0x04f4e94b in FAMOpen2 () from /usr/lib/libfam.so.0
#17 0x04f4e9a3 in FAMOpen () from /usr/lib/libfam.so.0
#18 0x04ac2ab7 in KDirWatchPrivate (this=0x6011a60)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kio/kdirwatch.cpp:238
#19 0x04ac4af6 in KDirWatch (this=0x5ff1740, parent=0x0, name=0x0)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kio/kdirwatch.cpp:1614
#20 0x04ac4c17 in KDirWatch::self ()
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kio/kdirwatch.cpp:1592
#21 0x04ac5372 in KDirListerCache (this=0x6841488, maxCount=10)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kio/kdirlister.cpp:65
#22 0x04ac5444 in KDirListerCache::self ()
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kio/kdirlister.cpp:850
#23 0x04b06e90 in KDirLister::setAutoUpdate (this=0x6027000, _enable=true)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kio/kdirlister.cpp:1889
#24 0x04b07062 in KDirLister (this=0x6027000, _delayedMimeTypes=true)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kio/kdirlister.cpp:1831
#25 0x04bce4b3 in KDirOperator (this=0x6025d38, _url=@0x72ed8f0, 
    parent=0x70e78f8, _name=0x4c1efa6 "KFileDialog::ops")
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kfile/kdiroperator.cpp:125
#26 0x04be02fc in KFileDialog::init (this=0xbe91bb38, startDir=@0x5a41768, 
    filter=@0x5a41768, widget=0x0)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kfile/kfiledialog.cpp:894
#27 0x04be204b in KFileDialog (this=0xbe91bb38, startDir=@0x5a41768, 
    filter=@0x5a41768, parent=0x6bfaeb0, name=0x4c1e96e "filedialog", 
    modal=true)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kfile/kfiledialog.cpp:173
#28 0x04be273b in KFileDialog::getSaveURL (dir=@0x5a41768, 
    filter=@0xbe9184c8, parent=0x5f5cff4, caption=@0x5a41768)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kio/kfile/kfiledialog.cpp:1642
#29 0x048ab56d in KExtHighscore::HighscoresDialog::slotUser2 ()
   from /usr/lib/libkdegames.so.1
#30 0x04e5adb5 in KDialogBase::qt_invoke (this=0x6bfaeb0, _id=72, 
    _o=0xbe91bdac) at ./kdialogbase.moc:357
#31 0x048b8075 in KExtHighscore::HighscoresDialog::qt_invoke ()
   from /usr/lib/libkdegames.so.1
#32 0x0556acb3 in QObject::activate_signal (this=0x6c64f00, clist=0x6c6b258, 
    o=0xbe91bdac) at kernel/qobject.cpp:2356
#33 0x0556b744 in QObject::activate_signal (this=0x6c64f00, signal=4)
    at kernel/qobject.cpp:2325
#34 0x058fcd3f in QButton::clicked (this=0x6c64f00)
    at .moc/debug-shared-mt/moc_qbutton.cpp:152
#35 0x05607c4e in QButton::mouseReleaseEvent (this=0x6c64f00, e=0xbe91c214)
    at widgets/qbutton.cpp:836
#36 0x055a1654 in QWidget::event (this=0x6c64f00, e=0xbe91c214)
    at kernel/qwidget.cpp:4702
#37 0x05502bd6 in QApplication::internalNotify (this=0x5fdd4b8, 
    receiver=0x6c64f00, e=0xbe91c214) at kernel/qapplication.cpp:2635
#38 0x05504d79 in QApplication::notify (this=0x5fdd4b8, receiver=0x6c64f00, 
    e=0xbe91c214) at kernel/qapplication.cpp:2421
#39 0x0512ce6e in KApplication::notify (this=0x5fdd4b8, receiver=0x6c64f00, 
    event=0xbe91c214)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kapplication.cpp:550
#40 0x05496445 in QApplication::sendSpontaneousEvent (receiver=0x6c64f00, 
    event=0xbe91c214) at kernel/qapplication.h:523
#41 0x054950df in QETWidget::translateMouseEvent (this=0x6c64f00, 
    event=0xbe91c648) at kernel/qapplication_x11.cpp:4301
#42 0x05493660 in QApplication::x11ProcessEvent (this=0x5fdd4b8, 
    event=0xbe91c648) at kernel/qapplication_x11.cpp:3478
#43 0x054a9cb2 in QEventLoop::processEvents (this=0x63b1858, flags=4)
    at kernel/qeventloop_x11.cpp:192
#44 0x0551d129 in QEventLoop::enterLoop (this=0x63b1858)
    at kernel/qeventloop.cpp:198
#45 0x055046ed in QApplication::enter_loop (this=0x5fdd4b8)
    at kernel/qapplication.cpp:2793
#46 0x0571e0d9 in QDialog::exec (this=0x6bfaeb0) at dialogs/qdialog.cpp:432
#47 0x048b7a33 in KExtHighscore::show () from /usr/lib/libkdegames.so.1
#48 0x048b7a86 in KExtHighscore::show () from /usr/lib/libkdegames.so.1
#49 0x0004fdbd in Client::~Client ()
#50 0x0002cae5 in ShowNextPiece::staticMetaObject ()
#51 0x0004f90d in Client::~Client ()
#52 0x0004f947 in Client::~Client ()
#53 0x0005a79a in BaseBoard::staticMetaObject ()
#54 0x00029a8b in QPtrList<QWidget>::~QPtrList ()
#55 0x0002443b in ?? ()
#56 0x06ba15f8 in ?? ()
#57 0x0000004f in ?? ()
#58 0xbe91c96c in ?? ()
#59 0x0556f94b in QPtrList<QConnection>::first (this=0x6ba15f8)
    at ../include/qptrlist.h:109
#60 0x0556acb3 in QObject::activate_signal (this=0x6e6d018, clist=0x6e6d798, 
    o=0xbe91c96c) at kernel/qobject.cpp:2356
#61 0x0556b744 in QObject::activate_signal (this=0x6e6d018, signal=2)
    at kernel/qobject.cpp:2325
#62 0x04d7b259 in KAction::activated (this=0x6e6d018) at ./kaction.moc:176
#63 0x04db0961 in KAction::slotActivated (this=0x6e6d018)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdeui/kaction.cpp:1102
#64 0x04e90ced in KAction::slotPopupActivated (this=0x6e6d018)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdeui/kaction.cpp:1137
#65 0x04e90fb1 in KAction::qt_invoke (this=0x6e6d018, _id=16, _o=0xbe91caa8)
    at ./kaction.moc:219
#66 0x0556acb3 in QObject::activate_signal (this=0x6fa54e8, clist=0x6fa5840, 
    o=0xbe91caa8) at kernel/qobject.cpp:2356
#67 0x058f3cef in QSignal::signal (this=0x6fa54e8, t0=@0x6fa5510)
    at .moc/debug-shared-mt/moc_qsignal.cpp:100
#68 0x0558a836 in QSignal::activate (this=0x6fa54e8) at kernel/qsignal.cpp:212
#69 0x0568fcb1 in QPopupMenu::mouseReleaseEvent (this=0x6f9c5a8, e=0xbe91cfe4)
    at widgets/qpopupmenu.cpp:1697
#70 0x04d840ee in KPopupMenu::mouseReleaseEvent (this=0x6f9c5a8, e=0xbe91cfe4)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdeui/kpopupmenu.cpp:508
#71 0x055a1654 in QWidget::event (this=0x6f9c5a8, e=0xbe91cfe4)
    at kernel/qwidget.cpp:4702
#72 0x05502bd6 in QApplication::internalNotify (this=0x5fdd4b8, 
    receiver=0x6f9c5a8, e=0xbe91cfe4) at kernel/qapplication.cpp:2635
#73 0x05504d79 in QApplication::notify (this=0x5fdd4b8, receiver=0x6f9c5a8, 
    e=0xbe91cfe4) at kernel/qapplication.cpp:2421
#74 0x0512ce6e in KApplication::notify (this=0x5fdd4b8, receiver=0x6f9c5a8, 
    event=0xbe91cfe4)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kapplication.cpp:550
#75 0x05496445 in QApplication::sendSpontaneousEvent (receiver=0x6f9c5a8, 
    event=0xbe91cfe4) at kernel/qapplication.h:523
#76 0x05494e38 in QETWidget::translateMouseEvent (this=0x6f9c5a8, 
    event=0xbe91d418) at kernel/qapplication_x11.cpp:4243
#77 0x05493660 in QApplication::x11ProcessEvent (this=0x5fdd4b8, 
    event=0xbe91d418) at kernel/qapplication_x11.cpp:3478
#78 0x054a9cb2 in QEventLoop::processEvents (this=0x63b1858, flags=4)
    at kernel/qeventloop_x11.cpp:192
#79 0x0551d129 in QEventLoop::enterLoop (this=0x63b1858)
    at kernel/qeventloop.cpp:198
#80 0x0551cf4a in QEventLoop::exec (this=0x63b1858)
    at kernel/qeventloop.cpp:145
#81 0x0550476f in QApplication::exec (this=0x5fdd4b8)
    at kernel/qapplication.cpp:2758
#82 0x00027364 in main ()


Suse backtrace

Systemindstillings opstart-tjek deaktiveret.

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47161956725984 (LWP 30037)]
[KCrash handler]
#4  0x00005555555b662e in Network::~Network () from /opt/kde3/bin/ksirtet
#5  0x00002ae4be052e64 in FAMOpen2 () from /usr/lib64/libfam.so.0
#6  0x00002ae4bbeb0403 in KDirWatchPrivate::KDirWatchPrivate ()
   from /opt/kde3/lib64/libkio.so.4
#7  0x00002ae4bbeb0675 in KDirWatch::KDirWatch ()
   from /opt/kde3/lib64/libkio.so.4
#8  0x00002ae4bbeb0769 in KDirWatch::self () from /opt/kde3/lib64/libkio.so.4
#9  0x00002ae4bbeb0901 in KDirListerCache::KDirListerCache ()
   from /opt/kde3/lib64/libkio.so.4
#10 0x00002ae4bbeb09aa in KDirListerCache::self ()
   from /opt/kde3/lib64/libkio.so.4
#11 0x00002ae4bbeecca6 in KDirLister::setAutoUpdate ()
   from /opt/kde3/lib64/libkio.so.4
#12 0x00002ae4bbeece9e in KDirLister::KDirLister ()
   from /opt/kde3/lib64/libkio.so.4
#13 0x00002ae4bbfa37b9 in KDirOperator::KDirOperator ()
   from /opt/kde3/lib64/libkio.so.4
#14 0x00002ae4bbfb6f9c in KFileDialog::init () from /opt/kde3/lib64/libkio.so.4
#15 0x00002ae4bbfb88f3 in KFileDialog::KFileDialog ()
   from /opt/kde3/lib64/libkio.so.4
#16 0x00002ae4bbfb8f8c in KFileDialog::getSaveURL ()
   from /opt/kde3/lib64/libkio.so.4
#17 0x00002ae4bbb2267b in KExtHighscore::HighscoresDialog::slotUser2 ()
   from /opt/kde3/lib64/libkdegames.so.1
#18 0x00002ae4bc40d548 in KDialogBase::qt_invoke ()
   from /opt/kde3/lib64/libkdeui.so.4
#19 0x00002ae4bbb2aff6 in KExtHighscore::HighscoresDialog::qt_invoke ()
   from /opt/kde3/lib64/libkdegames.so.1
#20 0x00002ae4bcd3a1bc in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#21 0x00002ae4bcd3aed3 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#22 0x00002ae4bcd6d097 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#23 0x00002ae4bcce3155 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#24 0x00002ae4bcce3f7b in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#25 0x00002ae4bc827a98 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#26 0x00002ae4bcc8b1b4 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#27 0x00002ae4bcc8a393 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#28 0x00002ae4bcc9931f in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#29 0x00002ae4bccf7e61 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#30 0x00002ae4bce997fb in QDialog::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#31 0x00002ae4bbb2aa9c in KExtHighscore::show ()
   from /opt/kde3/lib64/libkdegames.so.1
#32 0x00005555555ccaea in BaseMainWindow::qt_invoke ()
   from /opt/kde3/bin/ksirtet
#33 0x00005555555a3039 in MainWindow::qt_invoke () from /opt/kde3/bin/ksirtet
#34 0x000055555559e8b9 in KSMainWindow::qt_invoke () from /opt/kde3/bin/ksirtet
#35 0x00002ae4bcd3a1bc in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#36 0x00002ae4bcd3aed3 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#37 0x00002ae4bc44c87e in KAction::slotPopupActivated ()
   from /opt/kde3/lib64/libkdeui.so.4
#38 0x00002ae4bc44cb23 in KAction::qt_invoke ()
   from /opt/kde3/lib64/libkdeui.so.4
#39 0x00002ae4bcd3a1bc in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#40 0x00002ae4bd01e4a2 in QSignal::signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#41 0x00002ae4bcd52cd5 in QSignal::activate ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#42 0x00002ae4bce2a1e5 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#43 0x00002ae4bcd6d097 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#44 0x00002ae4bcce3155 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#45 0x00002ae4bcce3f7b in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#46 0x00002ae4bc827a98 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#47 0x00002ae4bcc8ba6d in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#48 0x00002ae4bcc8a393 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#49 0x00002ae4bcc9931f in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#50 0x00002ae4bccf7e61 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#51 0x00002ae4bccf7d0a in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#52 0x00005555555a0f51 in main () from /opt/kde3/bin/ksirtet
Comment 1 Josh Metzler 2006-11-09 19:32:17 UTC
Using 3.5.5 / Debian

Here are the last two stack traces from a valgrind session (combined with a * on the line from the first one, as only the final location differs):

==3492== Use of uninitialised value of size 4
*==3492==    at 0x4122E: Network::~Network() (internal.cpp:92)
==3492==    at 0x412C9: Network::~Network() (qshared.h:50)
==3492==    by 0x4EFFD: Client::~Client() (internal.h:138)
==3492==    by 0x4F4294A: FAMOpen2 (in /usr/lib/libfam.so.0.0.0)
==3492==    by 0x4F429A2: FAMOpen (in /usr/lib/libfam.so.0.0.0)
==3492==    by 0x4AB6AB6: KDirWatchPrivate::KDirWatchPrivate() (kdirwatch.cpp:238)
==3492==    by 0x4AB8AF5: KDirWatch::KDirWatch(QObject*, char const*) (kdirwatch.cpp:1614)
==3492==    by 0x4AB8C16: KDirWatch::self() (kdirwatch.cpp:1592)
==3492==    by 0x4AB9371: KDirListerCache::KDirListerCache(int) (kdirlister.cpp:65)
==3492==    by 0x4AB9443: KDirListerCache::self() (kdirlister.cpp:850)
==3492==    by 0x4AFAE8F: KDirLister::setAutoUpdate(bool) (kdirlister.cpp:1889)
==3492==    by 0x4AFB061: KDirLister::KDirLister(bool) (kdirlister.cpp:1831)
==3492==    by 0x4BC24B2: KDirOperator::KDirOperator(KURL const&, QWidget*, char const*) (kdiroperator.cpp:125)

The backtraces I get using gdb are garbage, even when ksirtet is running fine :(
Comment 2 Sune Vuorela 2006-11-09 19:38:10 UTC
This is quite interesting ... I tried swapping fam with gamin on my system - now it does not crash anymore - so it is somehow in the way ksirtet communicates with fam/gamin apparantly.

/Sune
Comment 3 Robert Hogan 2007-01-18 22:06:16 UTC
your problem is that libfam is killing ksirtet's Client class instead of it's own. Had the same problem with my own app.
Comment 4 FiNeX 2009-09-28 22:13:25 UTC
Ksirtet is no more developed/mantained. All bugs and wishes has been closed. It will not be ported on KDE 4.

The status of the project is set to UNMAINTAINED.
Comment 5 FiNeX 2010-08-29 14:57:14 UTC
sorry for the spam, I've forgot to set the status :-)