Bug 154542 - konqueror crash while adding new file association
Summary: konqueror crash while adding new file association
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 162927 165217 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-23 19:35 UTC by Sebastian
Modified: 2008-09-27 01:47 UTC (History)
3 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 Sebastian 2007-12-23 19:35:37 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

If you try to add an application, which is not listed in the "known application" dialog, konqueror will crash. 

I run into this issue, while i was trying to add "/usr/lib/jvm/java-6-sun-1.6.0.03/bin/java -jar" to filetype "x-jar".

Choosing an application out of the list of known applications will work.
Comment 1 FiNeX 2007-12-24 11:26:05 UTC
Have you had this behaviour in more recent version?
Could you try to test this on dolphin?
Maybe this is a duplicate of bug #154351
Comment 2 Sebastian 2007-12-24 11:44:14 UTC
I'm using a svn-checkout from yesterday. 
I tried adding a new application using the right-klick kontext-menu and it works in Dolphin and Konqueror.

But adding a new application in the Konqueror configuration dialog ("Settings"-"Configure Konqueror"-"File Management"-"File Associations") results in a crash.
Comment 3 FiNeX 2007-12-24 12:05:32 UTC
Ok. I can confirm this behaviour. Thanks Sebastian. Please vote this bug! :-)
Comment 4 Matt Rogers 2008-02-08 03:17:45 UTC
Confirmed with 4.1 trunk as well.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1209054336 (LWP 8575)]
[KCrash handler]
#6  0x05d31856 in QListWidgetItem::text (this=0x0)
    at /home/matt/Projects/KDE/4.1/include/QtGui/qlistwidget.h:82
#7  0x05d34704 in KServiceListWidget::addService (this=0x928eb28)
    at /home/matt/Projects/KDE/Source/trunk/KDE/kdebase/apps/konqueror/settings/filetypes/kservicelistwidget.cpp:264
#8  0x05d34963 in KServiceListWidget::qt_metacall (this=0x928eb28, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf91b40c)
    at /home/matt/Projects/KDE/Build/trunk/KDE/kdebase/apps/konqueror/settings/filetypes/kservicelistwidget.moc:78
#9  0x00f603a5 in QMetaObject::activate (sender=0x8f97630, 
    from_signal_index=29, to_signal_index=30, argv=<value optimized out>)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qobject.cpp:3081
#10 0x00f60720 in QMetaObject::activate (sender=0x8f97630, m=0x22510c4, 
    from_local_signal_index=2, to_local_signal_index=3, argv=0xbf91b40c)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qobject.cpp:3160
#11 0x020c4921 in QAbstractButton::clicked (this=0x8f97630, _t1=false)
    at .moc/release-shared/moc_qabstractbutton.cpp:180
#12 0x01e75c29 in QAbstractButtonPrivate::emitClicked (this=0x8c741c8)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/widgets/qabstractbutton.cpp:531
#13 0x01e77a00 in QAbstractButtonPrivate::click (this=0x8c741c8)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/widgets/qabstractbutton.cpp:524
#14 0x01e77c60 in QAbstractButton::mouseReleaseEvent (this=0x8f97630, 
    e=0xbf91ba7c)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/widgets/qabstractbutton.cpp:1101
#15 0x01bc7689 in QWidget::event (this=0x8f97630, event=0xbf91ba7c)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qwidget.cpp:6138
#16 0x01e76803 in QAbstractButton::event (this=0x8f97630, e=0xbf91ba7c)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/widgets/qabstractbutton.cpp:1063
#17 0x01f113b2 in QPushButton::event (this=0x8f97630, e=0xbf91ba7c)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/widgets/qpushbutton.cpp:665
#18 0x01b7b2f0 in QApplicationPrivate::notify_helper (this=0x8c3a1d0, 
    receiver=0x8f97630, e=0xbf91ba7c)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qapplication.cpp:3556
#19 0x01b7d6e4 in QApplication::notify (this=0xbf91c174, receiver=0x8f97630, 
    e=0xbf91ba7c)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qapplication.cpp:3255
#20 0x00a18acf in KApplication::notify (this=0xbf91c174, receiver=0x8f97630, 
    event=0xbf91ba7c)
    at /home/matt/Projects/KDE/Source/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#21 0x00f4e73b in QCoreApplication::notifyInternal (this=0xbf91c174, 
    receiver=0x8f97630, event=0xbf91ba7c)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:530
#22 0x01bd9ea3 in QETWidget::translateMouseEvent (this=0x8f97630, 
    event=0xbf91bdcc)
    at ../../include/QtCore/../../../../../Source/trunk/qt-copy/src/corelib/kernel/qcoreapplication.h:203
#23 0x01bd94c3 in QApplication::x11ProcessEvent (this=0xbf91c174, 
    event=0xbf91bdcc)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qapplication_x11.cpp:2913
#24 0x01bfdb8b in x11EventSourceDispatch (s=0x8c3d1f0, callback=0, 
    user_data=0x0)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:135
#25 0x03b4e10c in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x03b5154f in ?? () from /lib/libglib-2.0.so.0
#27 0x03b51ab5 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00f73068 in QEventDispatcherGlib::processEvents (this=0x8c39940, 
    flags=@0xbf91bfb8)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:338
#29 0x01bfd975 in QGuiEventDispatcherGlib::processEvents (this=0x8c39940, 
    flags=@0xbf91bfe4)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:191
#30 0x00f4dc41 in QEventLoop::processEvents (this=0xbf91c050, 
    flags=@0xbf91c018)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:140
#31 0x00f4dd4a in QEventLoop::exec (this=0xbf91c050, flags=@0xbf91c058)
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qeventloop.cpp:186
#32 0x00f5011d in QCoreApplication::exec ()
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/corelib/kernel/qcoreapplication.cpp:759
#33 0x01b7a8a7 in QApplication::exec ()
    at /home/matt/Projects/KDE/Source/trunk/qt-copy/src/gui/kernel/qapplication.cpp:3053
#34 0x001c4ed9 in kdemain (argc=1, argv=0xbf91c514)
    at /home/matt/Projects/KDE/Source/trunk/KDE/kdebase/apps/konqueror/src/konqmain.cpp:218
#35 0x080487c6 in main (argc=)
    at /home/matt/Projects/KDE/Build/trunk/KDE/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3
#0  0x00110402 in __kernel_vsyscall ()
Comment 5 Tommi Tervo 2008-05-31 17:10:27 UTC
*** Bug 162927 has been marked as a duplicate of this bug. ***
Comment 6 FiNeX 2008-06-26 16:21:44 UTC
It crash even modifying an existent file association:
try this:
1) select a file type
2) select one of the application listed
3) click "Edit..." 
4) go to "Application" tab 
5) in "Supported Filetypes:", try to "Add..." or "Remove" filetypes from the list 
6) confirm your change.

It will crash.


Application: Konqueror (konqueror), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb63636d0 (LWP 6612)]
[KCrash handler]
#6  0xb7c2dfee in KSycocaDict::Private::hashKey (this=0xa8c9f90, 
    key=@0xa87723c) at /home/test/KDE4/qt4/include/QtCore/qstring.h:648
#7  0xb7c2e67f in KSycocaDict::Private::offsetForKey (this=0xa8c9f90, 
    key=@0xa87723c)
    at /home/test/KDE4/kdesvn/kdelibs/kdecore/sycoca/ksycocadict.cpp:513
#8  0xb7c2e898 in KSycocaDict::find_string (this=0xa461338, key=@0xa87723c)
    at /home/test/KDE4/kdesvn/kdelibs/kdecore/sycoca/ksycocadict.cpp:142
#9  0xb7b951b7 in KServiceFactory::findServiceByDesktopPath (this=0xa4cd558, 
    _name=@0xa87723c)
    at /home/test/KDE4/kdesvn/kdelibs/kdecore/services/kservicefactory.cpp:135
#10 0xb7b8a522 in KService::serviceByDesktopPath (_name=@0xa87723c)
    at /home/test/KDE4/kdesvn/kdelibs/kdecore/services/kservice.cpp:572
#11 0xb26ad9a7 in KServiceListWidget::editService (this=0xa4e10a8)
    at /home/test/KDE4/kdesvn/kdebase/apps/konqueror/settings/filetypes/kservicelistwidget.cpp:316
#12 0xb26b0148 in KServiceListWidget::qt_metacall (this=0xa4e10a8, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf889ccc)
    at /home/test/KDE4/kdesvn/build/kdebase/apps/konqueror/settings/filetypes/kservicelistwidget.moc:80
#13 0xb72b38fb in QMetaObject::activate (sender=0xa4e4070, 
    from_signal_index=<value optimized out>, to_signal_index=30, 
    argv=0xbf889ccc)
    at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3007
#14 0xb72b3bd0 in QMetaObject::activate (sender=0xa4e4070, m=0xb70c9ba4, 
    from_local_signal_index=2, to_local_signal_index=3, argv=0xbf889ccc)
    at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3100
#15 0xb7003f21 in QAbstractButton::clicked (this=0xa4e4070, _t1=false)
    at .moc/release-shared/moc_qabstractbutton.cpp:185
#16 0xb6d986b9 in QAbstractButtonPrivate::emitClicked (this=0xa4e9b80)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:543
#17 0xb6d99474 in QAbstractButtonPrivate::click (this=0xa4e9b80)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:536
#18 0xb6d996d6 in QAbstractButton::mouseReleaseEvent (this=0xa4e4070, 
    e=0xbf88a30c)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1112
#19 0xb6afffc6 in QWidget::event (this=0xa4e4070, event=0xbf88a30c)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:6927
#20 0xb6d9855e in QAbstractButton::event (this=0xa4e4070, e=0xbf88a30c)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1074
#21 0xb6e2e340 in QPushButton::event (this=0xa4e4070, e=0xbf88a30c)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/widgets/qpushbutton.cpp:658
#22 0xb6aae5dc in QApplicationPrivate::notify_helper (this=0x9f90cb8, 
    receiver=0xa4e4070, e=0xbf88a30c)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3772
#23 0xb6ab5f55 in QApplication::notify (this=0xbf88ac78, receiver=0xa4e4070, 
    e=0xbf88a30c)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3501
#24 0xb78e056d in KApplication::notify (this=0xbf88ac78, receiver=0xa4e4070, 
    event=0xbf88a30c)
    at /home/test/KDE4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#25 0xb72a20a1 in QCoreApplication::notifyInternal (this=0xbf88ac78, 
    receiver=0xa4e4070, event=0xbf88a30c)
    at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#26 0xb6ab5253 in QApplicationPrivate::sendMouseEvent (receiver=0xa4e4070, 
    event=0xbf88a30c, alienWidget=0xa4e4070, nativeWidget=0xa1b8ef0, 
    buttonDown=0xb70d56f0, lastMouseReceiver=@0xb70d56f4)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218
#27 0xb6b12e25 in QETWidget::translateMouseEvent (this=0xa1b8ef0, 
    event=0xbf88a7ec)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4198
#28 0xb6b122e5 in QApplication::x11ProcessEvent (this=0xbf88ac78, 
    event=0xbf88a7ec)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3198
#29 0xb6b37aec in x11EventSourceDispatch (s=0x9f93c58, callback=0, 
    user_data=0x0)
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:148
#30 0xb653ff88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb65434eb in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#32 0xb6543668 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0xb72c8678 in QEventDispatcherGlib::processEvents (this=0x9f90348, flags=
      {i = -1081562712})
    at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325
#34 0xb6b372a5 in QGuiEventDispatcherGlib::processEvents (this=0x9f90348, 
    flags={i = -1081562664})
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#35 0xb72a082a in QEventLoop::processEvents (this=0xbf88aa40, flags=
      {i = -1081562600})
    at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#36 0xb72a09ea in QEventLoop::exec (this=0xbf88aa40, flags={i = -1081562552})
    at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#37 0xb72a2c4d in QCoreApplication::exec ()
    at /home/test/KDE4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#38 0xb6aae457 in QApplication::exec ()
    at /home/test/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3304
#39 0xb8057125 in kdemain (argc=1, argv=0xbf88af94)
    at /home/test/KDE4/kdesvn/kdebase/apps/konqueror/src/konqmain.cpp:226
#40 0x080488a2 in main (argc=0, argv=0xa906778)
    at /home/test/KDE4/kdesvn/build/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3
#0  0xb8070424 in __kernel_vsyscall ()
Comment 7 FiNeX 2008-06-28 17:42:28 UTC
*** Bug 165217 has been marked as a duplicate of this bug. ***
Comment 8 FiNeX 2008-09-27 01:47:15 UTC
I've tried to re-reproduce the steps on comment #6, it doesn't crash anymore using current trunk. Even adding a new file type works correctly.

This bug report can be reasonably closed :-)