Summary: | Systemsettings sometimes crashes when adding applications to autostart list | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Christophe Marin <christophe> |
Component: | kcm_autostart | Assignee: | Laurent Montel <montel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | amantia, andresbajotierra, faure, ftsenguen, gmr0294, lindsay.mathieson, lindsay, xrfang |
Priority: | NOR | ||
Version First Reported In: | 4.0.83 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christophe Marin
2008-04-12 13:42:07 UTC
*** Bug 162977 has been marked as a duplicate of this bug. *** Back to Simon, autostart maintainer is null@kde.org. :-( Do you have yet this crash ? I can't have it. Which qt version do you use ? I'm still able to reproduce it with the same testcase and the same backtrace, yes. (kdebase rev. 832593) Just to refresh the bt : systemsettings(17000)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "kmldonkey" systemsettings: /media/kde/src/KDE/kdelibs/kio/kfile/kpropertiesdialog.cpp:273: KPropertiesDialog::KPropertiesDialog(const KUrl&, const KUrl&, const QString&, QWidget*): l'assertion « !d->m_singleUrl.isEmpty() » a échoué. -- Application: System Settings (systemsettings), signal SIGABRT Thread 1 (Thread 0xb6269700 (LWP 17003)): [KCrash Handler] #6 0xffffe424 in __kernel_vsyscall () #7 0xb66365e0 in raise () from /lib/i686/cmov/libc.so.6 #8 0xb6637fb8 in abort () from /lib/i686/cmov/libc.so.6 #9 0xb662f56e in __assert_fail () from /lib/i686/cmov/libc.so.6 #10 0xb7ee2e1e in KPropertiesDialog (this=0xbffa2ee4, _tempUrl=@0xbffa2f44, _currentDir=@0xbffa2f1c, _defaultName=@0xbffa2f60, parent=0x9db6a90) at /media/kde/src/KDE/kdelibs/kio/kfile/kpropertiesdialog.cpp:273 #11 0xb45762c6 in Autostart::slotAddProgram (this=0x9db6a90) at /media/kde/src/KDE/kdebase/workspace/kcontrol/autostart/autostart.cpp:268 #12 0xb4577553 in Autostart::qt_metacall (this=0x9db6a90, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbffa30dc) at /media/kde/build/KDE/kdebase/workspace/kcontrol/autostart/autostart.moc:81 #13 0xb755888c in QMetaObject::activate (sender=0x9dce8c8, from_signal_index=29, to_signal_index=30, argv=0xbffa30dc) at kernel/qobject.cpp:3007 #14 0xb7558aa4 in QMetaObject::activate (sender=0x9dce8c8, m=0xb70c15e4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbffa30dc) at kernel/qobject.cpp:3100 #15 0xb6fe3bc8 in QAbstractButton::clicked (this=0x9dce8c8, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185 #16 0xb6d461a6 in QAbstractButtonPrivate::emitClicked (this=0x9dceda8) at widgets/qabstractbutton.cpp:543 #17 0xb6d4738e in QAbstractButtonPrivate::click (this=0x9dceda8) at widgets/qabstractbutton.cpp:536 #18 0xb6d4763a in QAbstractButton::mouseReleaseEvent (this=0x9dce8c8, e=0xbffa3864) at widgets/qabstractbutton.cpp:1112 #19 0xb6a353e4 in QWidget::event (this=0x9dce8c8, event=0xbffa3864) at kernel/qwidget.cpp:6927 #20 0xb6d46141 in QAbstractButton::event (this=0x9dce8c8, e=0xbffa3864) at widgets/qabstractbutton.cpp:1074 #21 0xb6df5289 in QPushButton::event (this=0x9dce8c8, e=0xbffa3864) at widgets/qpushbutton.cpp:658 #22 0xb69d9289 in QApplicationPrivate::notify_helper (this=0x99c95b0, receiver=0x9dce8c8, e=0xbffa3864) at kernel/qapplication.cpp:3772 #23 0xb69d9e07 in QApplication::notify (this=0xbffa4034, receiver=0x9dce8c8, e=0xbffa3864) at kernel/qapplication.cpp:3501 #24 0xb7b6b421 in KApplication::notify (this=0xbffa4034, receiver=0x9dce8c8, event=0xbffa3864) at /media/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #25 0xb754428b in QCoreApplication::notifyInternal (this=0xbffa4034, receiver=0x9dce8c8, event=0xbffa3864) at kernel/qcoreapplication.cpp:583 #26 0xb69e50c3 in QCoreApplication::sendSpontaneousEvent (receiver=0x9dce8c8, event=0xbffa3864) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #27 0xb69ddbd0 in QApplicationPrivate::sendMouseEvent (receiver=0x9dce8c8, event=0xbffa3864, alienWidget=0x0, nativeWidget=0x9dce8c8, buttonDown=0xb70cec20, lastMouseReceiver=@0xb70cec24) at kernel/qapplication.cpp:2766 #28 0xb6a537f2 in QETWidget::translateMouseEvent (this=0x9dce8c8, event=0xbffa3d50) at kernel/qapplication_x11.cpp:4133 #29 0xb6a54517 in QApplication::x11ProcessEvent (this=0xbffa4034, event=0xbffa3d50) at kernel/qapplication_x11.cpp:3133 #30 0xb6a7d8fe in x11EventSourceDispatch (s=0x99cc1b8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #31 0xb638c278 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0xb638f913 in ?? () from /usr/lib/libglib-2.0.so.0 #33 0x099cb260 in ?? () #34 0x00000000 in ?? () And same question: Which is your qt version ? (we have a patch in qt-copy which fixes this error. Do you have it ?) Last note : dragon doesn't seem to make it crash anymore. Kmldonkey, Kimagemapeditor or Kontact do. And yes, qt-copy is up-to-date and patched here. Which patch is it ? I can check if there was a problem while patching. The qurl patch was 0217-qurl-isempty-regression.diff (r782275, in March). This fix is part of Qt nowadays (including qt-copy). Maybe this assert is because of a url that -is- really empty? *** Bug 168063 has been marked as a duplicate of this bug. *** kubuntu 8.04 kde 4.1.0 - still happens (adding kontact) *** Bug 168408 has been marked as a duplicate of this bug. *** Just confirming I have this same problem trying to add Konqueror and Kontact. Happy to do any tests and traces etc if needed. Kubuntu and KDE 4.1, weekly foxes. I also have this, with trace info below (I am using archlinux kdemod 4.1.2): Application: System Settings (systemsettings), signal SIGABRT (no debugging symbols found) ... ... [Thread debugging using libthread_db enabled] [New Thread 0xb6259b70 (LWP 2234)] (no debugging symbols found) ... ... [KCrash handler] #6 0xb7fe2424 in __kernel_vsyscall () #7 0xb6772720 in raise () from /lib/libc.so.6 #8 0xb6774058 in abort () from /lib/libc.so.6 #9 0xb676b65e in __assert_fail () from /lib/libc.so.6 #10 0xb77da890 in KPropertiesDialog::KPropertiesDialog () from /usr/lib/libkio.so.5 #11 0xb7e08163 in Autostart::slotAddProgram () from /usr/lib/kde4/kcm_autostart.so #12 0xb7e08623 in Autostart::qt_metacall () from /usr/lib/kde4/kcm_autostart.so #13 0xb7f53b03 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #14 0xb7f53dd1 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #15 0xb70306d2 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4 #16 0xb6dbd8ca in ?? () from /usr/lib/libQtGui.so.4 #17 0x09a9b460 in ?? () #18 0x00000000 in ?? () #0 0xb7fe2424 in __kernel_vsyscall () I have similar bug with KDE 4.1.2. when adding a program to autostart, I cannot pick application from the startmenu tree -- this will crash systemsettings. But if I type the path of an application in the edit box directly it does NOT crash. I couldn't reproduce the crash with a 4.1.81 snapshot. @commenters, please check and report if you still experience this crash. Crashes in trunk. Application: System Settings (systemsettings), signal SIGABRT [?1034h[Thread debugging using libthread_db enabled] 0x00007f17cf7dd230 in nanosleep () from /lib64/libc.so.6 Thread 1 (Thread 0x7f17d316a700 (LWP 18316)): [KCrash Handler] #5 0x00007f17cf76d5c5 in raise () from /lib64/libc.so.6 #6 0x00007f17cf76ebb3 in abort () from /lib64/libc.so.6 #7 0x00007f17cf7661e9 in __assert_fail () from /lib64/libc.so.6 #8 0x00007f17d2a9ad12 in KPropertiesDialog (this=0x7fffdb1bafb0, _tempUrl=@0x7fffdb1bb090, _currentDir=@0x7fffdb1bb040, _defaultName=@0x7fffdb1bb110, parent=<value optimized out>) at /data/development/sources/kde-trunk/kdelibs/kio/kfile/kpropertiesdialog.cpp:274 #9 0x00007f17c7baee58 in Autostart::slotAddProgram (this=0x93a140) at /data/development/sources/kde-trunk/kdebase/workspace/kcontrol/autostart/autostart.cpp:268 #10 0x00007f17c7baf250 in Autostart::qt_metacall (this=0x93a140, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdb1bb380) at /data/development/build/kde-trunk/kdebase/workspace/kcontrol/autostart/autostart.moc:81 #11 0x00007f17d1337f04 in QMetaObject::activate () from /opt/qt4/lib/libQtCore.so.4 #12 0x00007f17d095dce7 in QAbstractButton::clicked () from /opt/qt4/lib/libQtGui.so.4 #13 0x00007f17d06e0f4b in ?? () from /opt/qt4/lib/libQtGui.so.4 #14 0x00007f17d06e2ad2 in ?? () from /opt/qt4/lib/libQtGui.so.4 #15 0x00007f17d06e2d25 in QAbstractButton::mouseReleaseEvent () from /opt/qt4/lib/libQtGui.so.4 #16 0x00007f17d0429959 in QWidget::event () from /opt/qt4/lib/libQtGui.so.4 #17 0x00007f17d03d714d in QApplicationPrivate::notify_helper () from /opt/qt4/lib/libQtGui.so.4 #18 0x00007f17d03df76a in QApplication::notify () from /opt/qt4/lib/libQtGui.so.4 #19 0x00007f17d1f23d3b in KApplication::notify (this=0x7fffdb1bca50, receiver=0x8d01b0, event=0x7fffdb1bbcc0) at /data/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:307 #20 0x00007f17d1323b81 in QCoreApplication::notifyInternal () from /opt/qt4/lib/libQtCore.so.4 #21 0x00007f17d03deb08 in QApplicationPrivate::sendMouseEvent () from /opt/qt4/lib/libQtGui.so.4 #22 0x00007f17d0443199 in ?? () from /opt/qt4/lib/libQtGui.so.4 #23 0x00007f17d044208f in QApplication::x11ProcessEvent () from /opt/qt4/lib/libQtGui.so.4 #24 0x00007f17d04685ac in ?? () from /opt/qt4/lib/libQtGui.so.4 #25 0x00007f17ccb4f93a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #26 0x00007f17ccb53040 in ?? () from /usr/lib64/libglib-2.0.so.0 #27 0x00007f17ccb531dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #28 0x00007f17d134bfef in QEventDispatcherGlib::processEvents () from /opt/qt4/lib/libQtCore.so.4 #29 0x00007f17d0467d4f in ?? () from /opt/qt4/lib/libQtGui.so.4 #30 0x00007f17d1322482 in QEventLoop::processEvents () from /opt/qt4/lib/libQtCore.so.4 #31 0x00007f17d132260d in QEventLoop::exec () from /opt/qt4/lib/libQtCore.so.4 #32 0x00007f17d1324afd in QCoreApplication::exec () from /opt/qt4/lib/libQtCore.so.4 #33 0x0000000000411717 in main (argc=5, argv=0x7fffdb1bcd78) at /data/development/sources/kde-trunk/kdebase/workspace/systemsettings/main.cpp:67 Definitely fixed for me now, KDE 4.1.3 Here using: Qt: 4.4.3 + qt-copy-patches-910240 KDE: 4.2.60 (KDE 4.2.60 (KDE 4.3 >= 20090116)) kdelibs svn rev. 915739 / kdebase svn rev. 915763 on ArchLinux i686 - Kernel 2.6.28.1 I can't reproduce this crash Can anyone still reproduce this bug with a recent KDE (4.1.4 / 4.2beta2 / 4.2rc1 / 4.2.0 / 4.2svn / 4.3svn) ? Thanks :) Tested with KDE 4.2RC2 (Kubuntu 8.10). Works fine, no problems. Let's close it, I tested with trunk, reported to be working with 4.2RC2, no need to keep it open. |