Bug 343975 - konqueror crashes trying to view pdf file
Summary: konqueror crashes trying to view pdf file
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-02-09 18:59 UTC by kavol
Modified: 2015-10-27 08:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.36 KB, text/plain)
2015-10-27 08:52 UTC, mauro.darida
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2015-02-09 18:59:12 UTC
Application: konqueror (4.14.3)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.17.8-300.fc21.x86_64 x86_64
Distribution: "Fedora release 21 (Twenty One)"

-- Information about the crash:
- What I was doing when the application crashed:

I was trying to view pdf file linked from http://www.nem-tr.cz/cze/nase-oddeleni/komplementarni-oddeleni/radiodiagnostika/ - the link target is http://www.nem-tr.cz/cze/getfile.php?FileID=1002
Konqueror crashes reproducibly after clicking the link and choosing to view the file.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f39adb9c880 (LWP 20391))]

Thread 6 (Thread 0x7f39611fb700 (LWP 20393)):
#0  0x00000031498f51fd in poll () at /lib64/libc.so.6
#1  0x000000314bc49e24 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f395c0013e0, timeout=6778, context=0x7f395c0009a0) at gmain.c:4076
#2  0x000000314bc49e24 in g_main_context_iterate (context=context@entry=0x7f395c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3776
#3  0x000000314bc49f3c in g_main_context_iteration (context=0x7f395c0009a0, may_block=1) at gmain.c:3842
#4  0x00000031559b4a3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f395c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x0000003155984261 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f39611fad50, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000031559845c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f39611fad50, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003155879b59 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:538
#8  0x000000315587c3bf in QThreadPrivate::start(void*) (arg=0x1934bb0) at thread/qthread_unix.cpp:349
#9  0x000000314a00752a in start_thread () at /lib64/libpthread.so.0
#10 0x000000314990079d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f395b167700 (LWP 20398)):
#0  0x000000314a00c590 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f395b1cd428 in PluginRequestProcessor::queueProcessorThread() () at /usr/lib64/IcedTeaPlugin.so
#2  0x00007f395b1cdcb9 in  () at /usr/lib64/IcedTeaPlugin.so
#3  0x000000314a00752a in start_thread () at /lib64/libpthread.so.0
#4  0x000000314990079d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f395a966700 (LWP 20399)):
#0  0x000000314a00c590 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f395b1cd428 in PluginRequestProcessor::queueProcessorThread() () at /usr/lib64/IcedTeaPlugin.so
#2  0x00007f395b1cdcb9 in  () at /usr/lib64/IcedTeaPlugin.so
#3  0x000000314a00752a in start_thread () at /lib64/libpthread.so.0
#4  0x000000314990079d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f395a165700 (LWP 20400)):
#0  0x000000314a00c590 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f395b1cd428 in PluginRequestProcessor::queueProcessorThread() () at /usr/lib64/IcedTeaPlugin.so
#2  0x00007f395b1cdcb9 in  () at /usr/lib64/IcedTeaPlugin.so
#3  0x000000314a00752a in start_thread () at /lib64/libpthread.so.0
#4  0x000000314990079d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3956cb0700 (LWP 20409)):
#0  0x000000314a00c590 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x0000003287372093 in JSC::BlockAllocator::blockFreeingThreadMain() (this=0x1e6ff28) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x0000003287677636 in WTF::wtfThreadEntryPoint(void*) (param=0x197d0e0) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x000000314a00752a in start_thread () at /lib64/libpthread.so.0
#4  0x000000314990079d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f39adb9c880 (LWP 20391)):
[KCrash Handler]
#5  0x0000003fe937242e in KMimeType::is(QString const&) const () at /lib64/libkdecore.so.5
#6  0x00007f3955314207 in Okular::Part::openFile() () at /usr/lib64/kde4/okularpart.so
#7  0x0000003f15a25cf6 in KParts::ReadOnlyPartPrivate::_k_slotJobFinished(KJob*) () at /lib64/libkparts.so.4
#8  0x000000315599a25c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x19386a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff52a00080) at kernel/qobject.cpp:3567
#9  0x0000003fe933cb02 in KJob::result(KJob*) () at /lib64/libkdecore.so.5
#10 0x0000003fe933cb50 in KJob::emitResult() () at /lib64/libkdecore.so.5
#11 0x0000003f1230ad87 in KIO::FileCopyJob::slotResult(KJob*) () at /lib64/libkio.so.5
#12 0x000000315599a25c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1cf4d00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff52a00210) at kernel/qobject.cpp:3567
#13 0x0000003fe933cb02 in KJob::result(KJob*) () at /lib64/libkdecore.so.5
#14 0x0000003fe933cb50 in KJob::emitResult() () at /lib64/libkdecore.so.5
#15 0x0000003f12306b9b in KIO::SimpleJob::slotFinished() () at /lib64/libkio.so.5
#16 0x0000003f12307fc1 in KIO::TransferJob::slotFinished() () at /lib64/libkio.so.5
#17 0x000000315599a25c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1a36e60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#18 0x0000003f123b2518 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () at /lib64/libkio.so.5
#19 0x0000003f123af47d in KIO::SlaveInterface::dispatch() () at /lib64/libkio.so.5
#20 0x0000003f123a1fde in KIO::Slave::gotInput() () at /lib64/libkio.so.5
#21 0x000000315599a25c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1c23680, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#22 0x0000003f122cd3d1 in KIO::ConnectionPrivate::dequeue() [clone .part.14] () at /lib64/libkio.so.5
#23 0x000000315599e951 in QObject::event(QEvent*) (this=0x1c23680, e=<optimized out>) at kernel/qobject.cpp:1222
#24 0x0000003f0e9c7efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x132a7b0, receiver=receiver@entry=0x1c23680, e=e@entry=0x18b9ca0) at kernel/qapplication.cpp:4565
#25 0x0000003f0e9ce958 in QApplication::notify(QObject*, QEvent*) (this=0x7fff52a01040, receiver=0x1c23680, e=0x18b9ca0) at kernel/qapplication.cpp:4351
#26 0x0000003f0fc4e86a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#27 0x000000315598570d in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff52a01040, receiver=receiver@entry=0x1c23680, event=event@entry=0x18b9ca0) at kernel/qcoreapplication.cpp:953
#28 0x00000031559889d1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x18b9ca0, receiver=0x1c23680) at kernel/qcoreapplication.h:231
#29 0x00000031559889d1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x12f5f30) at kernel/qcoreapplication.cpp:1577
#30 0x0000003155988e63 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#31 0x00000031559b48ae in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#32 0x00000031559b48ae in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1326d50) at kernel/qeventdispatcher_glib.cpp:300
#33 0x000000314bc49aeb in g_main_context_dispatch (context=0x132a9e0) at gmain.c:3111
#34 0x000000314bc49aeb in g_main_context_dispatch (context=context@entry=0x132a9e0) at gmain.c:3710
#35 0x000000314bc49e88 in g_main_context_iterate (context=context@entry=0x132a9e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3781
#36 0x000000314bc49f3c in g_main_context_iteration (context=0x132a9e0, may_block=1) at gmain.c:3842
#37 0x00000031559b4a1e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x12f78b0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#38 0x0000003f0ea6b136 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#39 0x0000003155984261 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff52a00e70, flags=...) at kernel/qeventloop.cpp:149
#40 0x00000031559845c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff52a00e70, flags=...) at kernel/qeventloop.cpp:204
#41 0x0000003155989ca9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225
#42 0x0000003f0e9c639c in QApplication::exec() () at kernel/qapplication.cpp:3823
#43 0x0000003f106ba7e6 in kdemain(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-baseapps-4.14.3/konqueror/src/konqmain.cpp:227
#44 0x000000314981ffe0 in __libc_start_main () at /lib64/libc.so.6
#45 0x00000000004008ce in _start ()

Reported using DrKonqi
Comment 2 mauro.darida 2015-10-27 08:52:42 UTC
Created attachment 95157 [details]
New crash information added by DrKonqi

okular (0.20.2) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

Surfing the net with konqueror and trying to read a pdf file makes okular to crash (segmentation fault). I don't know if the bug can be fixed since I am using debian stable jessie (yes, it should be *stable*...)
I can read the pdf just fine if I use chrome instead, so the bug is konqueror-related.

-- Backtrace (Reduced):
#6  0x00007f65f2c3958e in KMimeType::is(QString const&) const () from /usr/lib/libkdecore.so.5
#7  0x00007f65e2aff187 in Okular::Part::openFile() () from /usr/lib/kde4/okularpart.so
[...]
#10 0x00007f65f2c04152 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#11 0x00007f65f2c041a0 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#12 0x00007f65f4447d27 in KIO::FileCopyJob::slotResult(KJob*) () from /usr/lib/libkio.so.5