https://bugs.kde.org/show_bug.cgi?id=315842
Bug ID: 315842
Summary: Okular crashes randomly when printing the second time
Classification: Unclassified
Product: okular
Version: 0.14.3
Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
Assignee: okular-devel@kde.org
Reporter: energie@gmx.de
Application: okular (0.14.3)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-38-generic x86_64
Distribution: Ubuntu 12.04.2 LTS
-- Information about the crash:
- What I was doing when the application crashed:
I wanted to print a certain pdf-document a second time. I pressed Ctrl-P for
that. The program did not hang, it just closed immediately.
The crash can be reproduced some of the time.
-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
[Current thread is 1 (Thread 0x7f6784121780 (LWP 30686))]
Thread 4 (Thread 0x7f676d57f700 (LWP 30689)):
#0 0x7f677e13b33e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x7f677e13b599 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x7f677e10001b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x7f677e100164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x7f6781cf7426 in QEventDispatcherGlib::processEvents
(this=0x7f67600038c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5 0x7f6781cc6c82 in QEventLoop::processEvents (this=optimized out,
flags=...) at kernel/qeventloop.cpp:149
#6 0x7f6781cc6ed7 in QEventLoop::exec (this=0x7f676d57edd0, flags=...) at
kernel/qeventloop.cpp:204
#7 0x7f6781bc5fa7 in QThread::exec (this=optimized out) at
thread/qthread.cpp:501
#8 0x7f6781ca69ff in QInotifyFileSystemWatcherEngine::run (this=0x19391d0)
at io/qfilesystemwatcher_inotify.cpp:248
#9 0x7f6781bc8fcb in QThreadPrivate::start (arg=0x19391d0) at
thread/qthread_unix.cpp:298
#10 0x7f677e5cce9a in start_thread (arg=0x7f676d57f700) at
pthread_create.c:308
#11 0x7f6781304cbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x in ?? ()
Thread 3 (Thread 0x7f6767fff700 (LWP 30938)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x7f6781bc94db in wait (time=18446744073709551615, this=0x56dad20) at
thread/qwaitcondition_unix.cpp:86
#2 QWaitCondition::wait (this=optimized out, mutex=0x7027700,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3 0x7f6782bcb354 in QFileInfoGatherer::run (this=0x70276f0) at
dialogs/qfileinfogatherer.cpp:214
#4 0x7f6781bc8fcb in QThreadPrivate::start (arg=0x70276f0) at
thread/qthread_unix.cpp:298
#5 0x7f677e5cce9a in start_thread (arg=0x7f6767fff700) at
pthread_create.c:308
#6 0x7f6781304cbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x in ?? ()
Thread 2 (Thread 0x7f676dd80700 (LWP 30939)):
#0 0x7f67812f9303 in __GI___poll (fds=optimized out, nfds=optimized
out, timeout=optimized out) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x7f677e100036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x7f677e100164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x7f6781cf7426 in QEventDispatcherGlib::processEvents
(this=0x7f675c093510, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4 0x7f6781cc6c82 in QEventLoop::processEvents (this=optimized out,
flags=...) at kernel/qeventloop.cpp:149
#5 0x7f6781cc6ed7 in QEventLoop::exec (this=0x7f676dd7fdd0, flags=...) at
kernel/qeventloop.cpp:204
#6 0x7f6781bc5fa7 in QThread::exec (this=optimized out) at
thread/qthread.cpp:501
#7 0x7f6781ca69ff in QInotifyFileSystemWatcherEngine::run (this=0x18a2e60)
at io/qfilesystemwatcher_inotify.cpp:248
#8 0x7f6781bc8fcb in QThreadPrivate::start (arg=0x18a2e60) at
thread/qthread_unix.cpp:298
#9 0x7f677e5cce9a in start_thread (arg=0x7f676dd80700) at
pthread_create.c:308
#10 0x7f6781304cbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x in ?? ()
Thread 1 (Thread 0x7f6784121780 (LWP 30686)):
[KCrash Handler]
#6 0x7f67828dfb0e in QCUPSSupport::printerOption (this=0x5740990, key=...)
at painting/qcups.cpp:251
#7 0x7f6782b7bce5 in QUnixPrintWidgetPrivate::_q_printerChanged
(this=0x590ff20, index=0) at dialogs/qprintdialog_unix.cpp:804
#8 0x7f6782b7c8f2 in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate
(this=0x590ff20, p=optimized out) at dialogs/qprintdialog_unix.cpp:711
#9 0x7f6782b7cbdb in QUnixPrintWidget::QUnixPrintWidget (this=0x56aa880,
printer=0x0, parent=optimized out) at dialogs/qprintdialog_unix.cpp:1036
#10 0x7f6782b7cc5e in