Bug 154351

Summary: dolphin crashes when setting okular as default app to read pdf
Product: [Applications] dolphin Reporter: Giulio Camuffo <giuliocamuffo>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED WORKSFORME    
Severity: crash CC: finex
Priority: NOR    
Version First Reported In: 16.12.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Giulio Camuffo 2007-12-19 22:54:25 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

As above.
If you try to set okular as the default app to open a file using the "open with -> other -> okular set default" dolphin crashes and okular is not opened. setting any other app causes no problem.

This is the backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb62506c0 (LWP 7423)]
[New Thread 0xb49f4b90 (LWP 7424)]
0xb6698cdc in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 7423)]

Thread 2 (Thread 0xb49f4b90 (LWP 7424)):
#0  0xb66d20c7 in select () from /lib/libc.so.6
#1  0xb7eb92b7 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00000009 in ?? ()
#3  0xb49f42d8 in ?? ()
#4  0x00000000 in ?? ()

Thread 1 (Thread 0xb62506c0 (LWP 7423)):
#0  0xb6698cdc in nanosleep () from /lib/libc.so.6
#1  0xb6698afa in sleep () from /lib/libc.so.6
#2  0xb7a9e82c in KCrash::startDrKonqi () from /opt/kde4/lib/libkdeui.so.5
#3  0xb7a9f3dc in KCrash::defaultCrashHandler ()
   from /opt/kde4/lib/libkdeui.so.5
#4  0xffffe420 in ?? ()
#5  0x00000006 in ?? ()
#6  0x00000033 in ?? ()
#7  0x00000000 in ?? ()
#0  0xb6698cdc in nanosleep () from /lib/libc.so.6
Comment 1 Pino Toscano 2007-12-20 10:42:39 UTC
Unfortnuately, this backtrace is not very useful.
Can you please provide a more detailed one, as described in http://techbase.kde.org/Contribute/Bugsquad/How_to_create_useful_crash_reports ?
Comment 2 FiNeX 2007-12-20 12:32:23 UTC
I cannot reproduce this bug in revision 750862.
Comment 3 Giulio Camuffo 2007-12-20 15:23:19 UTC
I noticed that it does not crash if I write okular in the text dialog, but only selecting it in the menu. I don't know what revision I have, I think I will compile it tomorrow, and i will see if the bug has gone. 
As regards the backtrace i'll provide as soon as I can.
Comment 4 FiNeX 2007-12-21 01:07:11 UTC
Please do it.
I've tested even selecting okular from the dialog, but without crash.

Thanks for your feedback!
Comment 5 Giulio Camuffo 2007-12-25 22:47:47 UTC
ufff, finally I managed to recompile kde today. And the bug is still here.
I don't know why this bug seems to happens to me only, i deleted the whole kde4 dir.

btw, here is the right backtrace

Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb626c6c0 (LWP 8481)]
[New Thread 0xb4b8bb90 (LWP 8482)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb6653eb5 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb6655831 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb7defa25 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7defad9 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7defc65 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb78328b6 in KOpenWithDialogPrivate::_k_slotOK (this=0x84f4520)
    at /usr/src/kde4/kdelibs/kio/kfile/kopenwithdialog.cpp:921
#13 0xb783361a in KOpenWithDialog::qt_metacall (this=0xbf97af7c, 
    _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf979808)
    at /usr/src/kde4/build/kdelibs/kio/kopenwithdialog.moc:80
#14 0xb7ebdf0a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7ebeac2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb79d8861 in KDialog::okClicked (this=0xbf97af7c)
    at /usr/src/kde4/build/kdelibs/kdeui/kdialog.moc:244
#17 0xb79d9f35 in KDialog::slotButtonClicked (this=0xbf97af7c, button=4)
    at /usr/src/kde4/kdelibs/kdeui/dialogs/kdialog.cpp:888
#18 0xb79dc78c in KDialog::qt_metacall (this=0xbf97af7c, 
    _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbf979dbc)
    at /usr/src/kde4/build/kdelibs/kdeui/kdialog.moc:179
#19 0xb7833530 in KOpenWithDialog::qt_metacall (this=0xbf97af7c, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbf979dbc)
    at /usr/src/kde4/build/kdelibs/kio/kopenwithdialog.moc:69
#20 0xb7ebdf0a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb7ebeac2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb7ec1e73 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4
#23 0xb7ec220a in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#24 0xb7ec240e in QSignalMapper::map () from /usr/lib/libQtCore.so.4
#25 0xb7ec2877 in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4
#26 0xb7ebdf0a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb7ebe250 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb71b2211 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#29 0xb6f7ba19 in ?? () from /usr/lib/libQtGui.so.4
#30 0x084b7b68 in ?? ()
#31 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 6 Peter Penz 2008-11-29 15:32:48 UTC
I cannot reproduce this issue anymore in trunk.