Bug 164944 - Signal 11 when trying to change icon for custom file association
Summary: Signal 11 when trying to change icon for custom file association
Status: RESOLVED DUPLICATE of bug 163688
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: kfile (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Carsten Pfeiffer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 16:28 UTC by Michael Krueger
Modified: 2008-06-26 10:56 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 Michael Krueger 2008-06-25 16:28:28 UTC
Version:            (using KDE 4.0.83)
Installed from:    Ubuntu Packages
OS:                Linux

I have created my own application which does load files with it's own file type. I used dolphin to assign the files (*.vad) with the file properties dialog. I tried to also change the file icon in there, which wasn't possible.
So I started system-settings tool to change the file type association. I searched for *.vad and found my new file type. I assigned a local application in my personal home directory. Then I clicked on the icon to change it. The file selection dialog opens and I browsed into the source folder of my own application to select the desired png icon. It's size is 100x85 (w x h)pixels.
I closed the dialog, which was rendered in the preview just fine, and the system-settings application did crash with signal 11.
Comment 1 Will Stephenson 2008-06-25 21:53:22 UTC
Not sure if this is the same crash but it happens after adding a custom application by path, then cancelling the kbuildsycoca4 run.  Instead of asserting at kopenwithdialog.cpp:774 we need to assume that the service created at the end of KOpenWithDialogPrivate::_k_slotOK() may not be found.

Application: System Settings (systemsettings), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb64946d0 (LWP 27508)]
[KCrash handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb6776900 in raise () from /lib/libc.so.6
#8  0xb6778238 in abort () from /lib/libc.so.6
#9  0xb749782d in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb74978e2 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7497985 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7eba401 in KOpenWithDialogPrivate::addToMimeAppsList (this=0x83b0ec0, 
    serviceId=@0xbf9a5734)
    at /space/kde/sources/trunk/KDE/kdelibs/kio/kfile/kopenwithdialog.cpp:774
#13 0xb7ebb6b4 in KOpenWithDialogPrivate::_k_slotOK (this=0x83b0ec0)
    at /space/kde/sources/trunk/KDE/kdelibs/kio/kfile/kopenwithdialog.cpp:887
#14 0xb7ebc492 in KOpenWithDialog::qt_metacall (this=0xbf9a68e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf9a5908)
    at /space/kde/builds/trunk/KDE/kdelibs/kio/kopenwithdialog.moc:81
#15 0xb758a45a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb758a9d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb7aa70a5 in KDialog::okClicked (this=0xbf9a68e8)
    at /space/kde/builds/trunk/KDE/kdelibs/kdeui/kdialog.moc:247
#18 0xb7aa8745 in KDialog::slotButtonClicked (this=0xbf9a68e8, button=4)
    at /space/kde/sources/trunk/KDE/kdelibs/kdeui/dialogs/kdialog.cpp:944
#19 0xb7aab455 in KDialog::qt_metacall (this=0xbf9a68e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbf9a5a9c)
    at /space/kde/builds/trunk/KDE/kdelibs/kdeui/kdialog.moc:181
#20 0xb7ebc3a8 in KOpenWithDialog::qt_metacall (this=0xbf9a68e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbf9a5a9c)
    at /space/kde/builds/trunk/KDE/kdelibs/kio/kopenwithdialog.moc:70
#21 0xb758a45a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb758a9d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb758f253 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#24 0xb758f32d in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#25 0xb758f51e in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#26 0xb759042b in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#27 0xb758a45a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb758a750 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb7031461 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#30 0xb6dc2a49 in QAbstractButtonPrivate::emitClicked ()
   from /usr/lib/libQtGui.so.4
#31 0xb6dc3804 in QAbstractButtonPrivate::click () from /usr/lib/libQtGui.so.4
#32 0xb6dc3a66 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#33 0xb6b1f176 in QWidget::event () from /usr/lib/libQtGui.so.4
#34 0xb6dc28ee in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#35 0xb6e58c20 in QPushButton::event () from /usr/lib/libQtGui.so.4
#36 0xb6accecc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#37 0xb6ad3ca7 in QApplication::notify () from /usr/lib/libQtGui.so.4
#38 0xb7b3dcdf in KApplication::notify (this=0xbf9a76f8, receiver=0x83b4480, 
    event=0xbf9a61b8)
    at /space/kde/sources/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#39 0xb7578bc1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#40 0xb6ad4fae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#41 0xb6b321e8 in QETWidget::translateMouseEvent () from /usr/lib/libQtGui.so.4
#42 0xb6b315a4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#43 0xb6b573ae in QEventDispatcherX11::processEvents ()
   from /usr/lib/libQtGui.so.4
#44 0xb757733a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#45 0xb75774fa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#46 0xb6ed44ff in QDialog::exec () from /usr/lib/libQtGui.so.4
#47 0xb48981ac in KServiceListWidget::addService (this=0x82ae728)
    at /space/kde/sources/trunk/KDE/kdebase/apps/konqueror/settings/filetypes/kservicelistwidget.cpp:242
#48 0xb489862f in KServiceListWidget::qt_metacall (this=0x82ae728, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf9a6a3c)
    at /space/kde/builds/trunk/KDE/kdebase/apps/konqueror/settings/filetypes/kservicelistwidget.moc:79
#49 0xb758a45a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#50 0xb758a750 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#51 0xb7031461 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#52 0xb6dc2a49 in QAbstractButtonPrivate::emitClicked ()
   from /usr/lib/libQtGui.so.4
#53 0xb6dc3804 in QAbstractButtonPrivate::click () from /usr/lib/libQtGui.so.4
#54 0xb6dc3a66 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#55 0xb6b1f176 in QWidget::event () from /usr/lib/libQtGui.so.4
#56 0xb6dc28ee in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#57 0xb6e58c20 in QPushButton::event () from /usr/lib/libQtGui.so.4
#58 0xb6accecc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#59 0xb6ad3ca7 in QApplication::notify () from /usr/lib/libQtGui.so.4
#60 0xb7b3dcdf in KApplication::notify (this=0xbf9a76f8, receiver=0x8234388, 
    event=0xbf9a6fd8)
    at /space/kde/sources/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#61 0xb7578bc1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#62 0xb6ad4fae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#63 0xb6b321e8 in QETWidget::translateMouseEvent () from /usr/lib/libQtGui.so.4
#64 0xb6b315a4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#65 0xb6b573ae in QEventDispatcherX11::processEvents ()
   from /usr/lib/libQtGui.so.4
#66 0xb757733a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#67 0xb75774fa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#68 0xb75796dd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#69 0xb6accd47 in QApplication::exec () from /usr/lib/libQtGui.so.4
#70 0x08057b3f in main (argc=134605996, argv=0x80ed360)
    at /space/kde/sources/trunk/KDE/kdebase/workspace/systemsettings/main.cpp:67
#0  0xffffe430 in __kernel_vsyscall ()
Comment 2 Will Stephenson 2008-06-26 10:56:07 UTC

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