Bug 178343 - Systemsettings crash when changing file association
Summary: Systemsettings crash when changing file association
Status: RESOLVED DUPLICATE of bug 168934
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-21 03:45 UTC by Nicolas L.
Modified: 2008-12-22 02:22 UTC (History)
2 users (show)

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 Nicolas L. 2008-12-21 03:45:31 UTC
Version:            (using Devel)
Installed from:    Compiled sources

In kde 4.2 Beta2, if i change file association and hit Apply, systemsettings crash:

Application : Configuration du système (systemsettings), signal SIGSEGV
[Current thread is 1 (Thread 0xb5f9c6d0 (LWP 12384))]

Thread 1 (Thread 0xb5f9c6d0 (LWP 12384)):
[KCrash Handler]
#6  0xb749a808 in QString::operator== (this=0x9e8fffc, other=@0xbf9db014) at ../../src/corelib/tools/qstring.h:100
#7  0xb47c7c3d in KServiceListWidget::addService (this=0x9f89950) at /usr/src/debug/kdebase-4.1.85/apps/konqueror/settings/filetypes/kservicelistwidget.cpp:278
#8  0xb47c9788 in KServiceListWidget::qt_metacall (this=0x9f89950, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf9db140)
    at /usr/src/debug/kdebase-4.1.85/build/apps/konqueror/settings/filetypes/kservicelistwidget.moc:79
#9  0xb7564c8d in QMetaObject::activate (sender=0x9f8de98, from_signal_index=29, to_signal_index=30, argv=0xbf9db140) at kernel/qobject.cpp:3031
#10 0xb75650bb in QMetaObject::activate (sender=0x9f8de98, m=0xb73f7824, from_local_signal_index=2, to_local_signal_index=3, argv=0xbf9db140) at kernel/qobject.cpp:3121
#11 0xb7223475 in QAbstractButton::clicked (this=0x9f8de98, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:185
#12 0xb6f6002d in QAbstractButtonPrivate::emitClicked (this=0x9f8e920) at widgets/qabstractbutton.cpp:538
#13 0xb6f61ceb in QAbstractButtonPrivate::click (this=0x9f8e920) at widgets/qabstractbutton.cpp:531
#14 0xb6f61f86 in QAbstractButton::mouseReleaseEvent (this=0x9f8de98, e=0xbf9db6f8) at widgets/qabstractbutton.cpp:1110
#15 0xb6c5d99a in QWidget::event (this=0x9f8de98, event=0xbf9db6f8) at kernel/qwidget.cpp:7163
#16 0xb6f5feb0 in QAbstractButton::event (this=0x9f8de98, e=0xbf9db6f8) at widgets/qabstractbutton.cpp:1072
#17 0xb700afd3 in QPushButton::event (this=0x9f8de98, e=0xbf9db6f8) at widgets/qpushbutton.cpp:652
#18 0xb6c02fac in QApplicationPrivate::notify_helper (this=0x9d3e5e0, receiver=0x9f8de98, e=0xbf9db6f8) at kernel/qapplication.cpp:3803
#19 0xb6c0bbbf in QApplication::notify (this=0xbf9dbf74, receiver=0x9f8de98, e=0xbf9db6f8) at kernel/qapplication.cpp:3528
#20 0xb7a7ed41 in KApplication::notify (this=0xbf9dbf74, receiver=0x9f8de98, event=0xbf9db6f8) at /usr/src/debug/kdelibs-4.1.85/kdeui/kernel/kapplication.cpp:307
#21 0xb754f853 in QCoreApplication::notifyInternal (this=0xbf9dbf74, receiver=0x9f8de98, event=0xbf9db6f8) at kernel/qcoreapplication.cpp:587
#22 0xb6c0ade1 in QApplicationPrivate::sendMouseEvent (receiver=0x9f8de98, event=0xbf9db6f8, alienWidget=0x0, nativeWidget=0x9f8de98, buttonDown=0xb74033b0, lastMouseReceiver=@0xb74033b4)
    at ../../src/corelib/kernel/qcoreapplication.h:212
#23 0xb6c77ced in QETWidget::translateMouseEvent (this=0x9f8de98, event=0xbf9dbcac) at kernel/qapplication_x11.cpp:4042
#24 0xb6c77150 in QApplication::x11ProcessEvent (this=0xbf9dbf74, event=0xbf9dbcac) at kernel/qapplication_x11.cpp:3038
#25 0xb6ca01d4 in x11EventSourceDispatch (s=0x9d41670, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#26 0xb62b9cba in IA__g_main_context_dispatch (context=0x9d40a20) at gmain.c:1814
#27 0xb62bd3d8 in g_main_context_iterate (context=0x9d40a20, block=1, dispatch=1, self=0x9d3e6d8) at gmain.c:2448
#28 0xb62bd598 in IA__g_main_context_iteration (context=0x9d40a20, may_block=1) at gmain.c:2511
#29 0xb757b34a in QEventDispatcherGlib::processEvents (this=0x9d3afc0, flags={i = -1080181160}) at kernel/qeventdispatcher_glib.cpp:319
#30 0xb6c9f92a in QGuiEventDispatcherGlib::processEvents (this=0x9d3afc0, flags={i = -1080181112}) at kernel/qguieventdispatcher_glib.cpp:198
#31 0xb754dec3 in QEventLoop::processEvents (this=0xbf9dbf00, flags={i = -1080181048}) at kernel/qeventloop.cpp:143
#32 0xb754e081 in QEventLoop::exec (this=0xbf9dbf00, flags={i = -1080180984}) at kernel/qeventloop.cpp:194
#33 0xb75507f2 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#34 0xb6c02e14 in QApplication::exec () at kernel/qapplication.cpp:3331
#35 0x0805641b in _start ()
Comment 1 Dario Andres 2008-12-21 14:06:26 UTC
Do you experience this bug when modifying any file type associations ? Did you experienced this crash when deleting all the file associations and then adding a new one ? 
May be related to bug 171395 / bug 168934 (already fixed, so this will be a regression or another test case).

Thanks :)
Comment 2 Nicolas L. 2008-12-21 14:16:28 UTC
i  can't for all,  it seems this is like bug  168934 i tried to add amarok into audio/ogg association and it crashed but adding amarok to other association like application/rtf don't crash.

This is not related to desktop files but to association as for every apps i associate to audio/ogg i have the same crash
Comment 3 Nicolas L. 2008-12-21 14:18:27 UTC
maybe this regression appeared when we moved from profilerc to mimeapps.list ( just a guess  )

David what do you think about this ?
Comment 4 Nicolas L. 2008-12-22 02:15:45 UTC
it seems that this happens only when there is no association for the mimetype
Comment 5 Dario Andres 2008-12-22 02:19:44 UTC
So it may be a regression (bug 168934)
Comment 6 Nicolas L. 2008-12-22 02:22:32 UTC

*** This bug has been marked as a duplicate of bug 168934 ***