Bug 334792 - Trying to print a pdf
Summary: Trying to print a pdf
Status: RESOLVED DUPLICATE of bug 331365
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.19.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-15 06:57 UTC by bugs5.kde.org
Modified: 2014-05-15 20:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugs5.kde.org 2014-05-15 06:57:43 UTC
Application: okular (0.19.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

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

I was trying to print a pdf that shall not be resized. So in the printer interface I set the margins all to '0'. After setting them I tried printing and okular just crashed.

-- 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 0x7f6201b667c0 (LWP 29711))]

Thread 4 (Thread 0x7f61e9de5700 (LWP 29720)):
#0  0x00007f61fb7a762a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f61fb7a79b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f61fb765680 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f61fb765f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f61fb7660ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f61ff57e7be in QEventDispatcherGlib::processEvents (this=0x7f61dc020440, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f61ff5500af in QEventLoop::processEvents (this=this@entry=0x7f61e9de4de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f61ff5503a5 in QEventLoop::exec (this=this@entry=0x7f61e9de4de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f61ff44cc5f in QThread::exec (this=this@entry=0x1f56a80) at thread/qthread.cpp:537
#9  0x00007f61ff531823 in QInotifyFileSystemWatcherEngine::run (this=0x1f56a80) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f61ff44f32f in QThreadPrivate::start (arg=0x1f56a80) at thread/qthread_unix.cpp:349
#11 0x00007f61fbc45182 in start_thread (arg=0x7f61e9de5700) at pthread_create.c:312
#12 0x00007f61feb8a30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f61ea5e6700 (LWP 29726)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f61ff44f816 in wait (time=18446744073709551615, this=0x27780a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2777c68, mutex=mutex@entry=0x2777c60, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6200420d96 in QFileInfoGatherer::run (this=0x2777c50) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f61ff44f32f in QThreadPrivate::start (arg=0x2777c50) at thread/qthread_unix.cpp:349
#5  0x00007f61fbc45182 in start_thread (arg=0x7f61ea5e6700) at pthread_create.c:312
#6  0x00007f61feb8a30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f61e2a07700 (LWP 29727)):
#0  0x00007f61feb7cfbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f61fb765fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f61fb7660ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f61ff57e7be in QEventDispatcherGlib::processEvents (this=0x7f61d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f61ff5500af in QEventLoop::processEvents (this=this@entry=0x7f61e2a06de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f61ff5503a5 in QEventLoop::exec (this=this@entry=0x7f61e2a06de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f61ff44cc5f in QThread::exec (this=this@entry=0x2777810) at thread/qthread.cpp:537
#7  0x00007f61ff531823 in QInotifyFileSystemWatcherEngine::run (this=0x2777810) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f61ff44f32f in QThreadPrivate::start (arg=0x2777810) at thread/qthread_unix.cpp:349
#9  0x00007f61fbc45182 in start_thread (arg=0x7f61e2a07700) at pthread_create.c:312
#10 0x00007f61feb8a30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f6201b667c0 (LWP 29711)):
[KCrash Handler]
#6  __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:202
#7  0x00007f62003d6011 in QPrintPropertiesDialog::addItemToOptions (this=this@entry=0x277e2b0, parent=parent@entry=0x2903920, options=..., markedOptions=...) at dialogs/qprintdialog_unix.cpp:363
#8  0x00007f62003d5fa9 in QPrintPropertiesDialog::addItemToOptions (this=this@entry=0x277e2b0, parent=0x27a2e60, options=..., markedOptions=...) at dialogs/qprintdialog_unix.cpp:367
#9  0x00007f62003d60df in QPrintPropertiesDialog::setupPrinter (this=0x277e2b0) at dialogs/qprintdialog_unix.cpp:301
#10 0x00007f62003d6535 in QUnixPrintWidgetPrivate::setupPrinter (this=0x2721fd0) at dialogs/qprintdialog_unix.cpp:1051
#11 0x00007f62003d6722 in QPrintDialogPrivate::setupPrinter (this=<optimized out>) at dialogs/qprintdialog_unix.cpp:520
#12 0x00007f62003d679d in QPrintDialog::accept (this=0x2639e80) at dialogs/qprintdialog_unix.cpp:652
#13 0x00007f61ff56587a in QMetaObject::activate (sender=0x1e547c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#14 0x00007f61ff56587a in QMetaObject::activate (sender=sender@entry=0x2720860, m=m@entry=0x7f6200a172a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff231a9010) at kernel/qobject.cpp:3539
#15 0x00007f62005920d2 in QAbstractButton::clicked (this=this@entry=0x2720860, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#16 0x00007f62002f59d3 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x2748ab0) at widgets/qabstractbutton.cpp:548
#17 0x00007f62002f6b43 in QAbstractButtonPrivate::click (this=this@entry=0x2748ab0) at widgets/qabstractbutton.cpp:541
#18 0x00007f62002f6c2c in QAbstractButton::mouseReleaseEvent (this=0x2720860, e=0x7fff231a9500) at widgets/qabstractbutton.cpp:1123
#19 0x00007f61fff9350a in QWidget::event (this=0x2720860, event=0x7fff231a9500) at kernel/qwidget.cpp:8376
#20 0x00007f61fff43e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1db88d0, receiver=receiver@entry=0x2720860, e=e@entry=0x7fff231a9500) at kernel/qapplication.cpp:4567
#21 0x00007f61fff4a5dd in QApplication::notify (this=this@entry=0x7fff231ab750, receiver=receiver@entry=0x2720860, e=e@entry=0x7fff231a9500) at kernel/qapplication.cpp:4110
#22 0x00007f6200c4ed1a in KApplication::notify (this=0x7fff231ab750, receiver=0x2720860, event=0x7fff231a9500) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f61ff5514dd in QCoreApplication::notifyInternal (this=0x7fff231ab750, receiver=receiver@entry=0x2720860, event=event@entry=0x7fff231a9500) at kernel/qcoreapplication.cpp:953
#24 0x00007f61fff49d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2720860, event=event@entry=0x7fff231a9500, alienWidget=alienWidget@entry=0x2720860, nativeWidget=nativeWidget@entry=0x2639e80, buttonDown=buttonDown@entry=0x7f6200a29318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#26 0x00007f61fffbe9cb in QETWidget::translateMouseEvent (this=this@entry=0x2639e80, event=event@entry=0x7fff231a9880) at kernel/qapplication_x11.cpp:4634
#27 0x00007f61fffbe269 in QApplication::x11ProcessEvent (this=0x7fff231ab750, event=event@entry=0x7fff231a9880) at kernel/qapplication_x11.cpp:3627
#28 0x00007f61fffe5b02 in x11EventSourceDispatch (s=0x1db9470, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f61fb765e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f61fb766048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f61fb7660ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f61ff57e7a1 in QEventDispatcherGlib::processEvents (this=0x1d7db50, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#33 0x00007f61fffe5bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f61ff5500af in QEventLoop::processEvents (this=this@entry=0x7fff231a9c60, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f61ff5503a5 in QEventLoop::exec (this=this@entry=0x7fff231a9c60, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f62003eafec in QDialog::exec (this=0x2639e80) at dialogs/qdialog.cpp:562
#37 0x00007f61ef3eed07 in Okular::Part::slotPrint (this=0x1f21e20) at ../part.cpp:2575
#38 0x00007f61ef3f05e5 in Okular::Part::qt_static_metacall (_o=0x276c7aa, _id=-143, _a=0x7fff231a9e90, _c=<optimized out>) at ./part.moc:243
#39 0x00007f61ff559908 in QMetaMethod::invoke (this=this@entry=0x7fff231aa080, object=object@entry=0x1f21e20, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#40 0x00007f61ff55bdc2 in QMetaObject::invokeMethod (obj=0x1f21e20, member=member@entry=0x4115c0 "slotPrint", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#41 0x000000000040d53d in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x4115c0 "slotPrint", obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#42 Shell::print (this=0x1f3d510) at ../../shell/shell.cpp:561
#43 0x00000000004105cd in Shell::qt_static_metacall (_o=0x276c7aa, _id=-143, _a=0x7fff231aa570, _c=<optimized out>) at ./shell.moc:107
#44 0x00007f61ff56587a in QMetaObject::activate (sender=sender@entry=0x23b81a0, m=m@entry=0x7f62009edde0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff231aa570) at kernel/qobject.cpp:3539
#45 0x00007f61fff3da62 in QAction::triggered (this=this@entry=0x23b81a0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#46 0x00007f61fff3f433 in QAction::activate (this=0x23b81a0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#47 0x00007f61fff3f58c in QAction::event (this=<optimized out>, e=e@entry=0x7fff231aa910) at kernel/qaction.cpp:1183
#48 0x00007f6200b78e9f in KAction::event (this=<optimized out>, event=0x7fff231aa910) at ../../kdeui/actions/kaction.cpp:131
#49 0x00007f61fff43e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1db88d0, receiver=receiver@entry=0x23b81a0, e=e@entry=0x7fff231aa910) at kernel/qapplication.cpp:4567
#50 0x00007f61fff4a4a0 in QApplication::notify (this=this@entry=0x7fff231ab750, receiver=receiver@entry=0x23b81a0, e=e@entry=0x7fff231aa910) at kernel/qapplication.cpp:4353
#51 0x00007f6200c4ed1a in KApplication::notify (this=0x7fff231ab750, receiver=0x23b81a0, event=0x7fff231aa910) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f61ff5514dd in QCoreApplication::notifyInternal (this=0x7fff231ab750, receiver=0x23b81a0, event=event@entry=0x7fff231aa910) at kernel/qcoreapplication.cpp:953
#53 0x00007f61fff752a6 in sendEvent (event=0x7fff231aa910, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QShortcutMap::dispatchEvent (this=this@entry=0x1db89f8, e=e@entry=0x7fff231aac50) at kernel/qshortcutmap.cpp:887
#55 0x00007f61fff753dc in QShortcutMap::tryShortcutEvent (this=0x1db89f8, o=o@entry=0x22fc830, e=e@entry=0x7fff231aac50) at kernel/qshortcutmap.cpp:367
#56 0x00007f61fff4b773 in QApplication::notify (this=this@entry=0x7fff231ab750, receiver=receiver@entry=0x22fc830, e=e@entry=0x7fff231aac50) at kernel/qapplication.cpp:3991
#57 0x00007f6200c4ed1a in KApplication::notify (this=0x7fff231ab750, receiver=0x22fc830, event=0x7fff231aac50) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007f61ff5514dd in QCoreApplication::notifyInternal (this=0x7fff231ab750, receiver=receiver@entry=0x22fc830, event=event@entry=0x7fff231aac50) at kernel/qcoreapplication.cpp:953
#59 0x00007f61fff42556 in sendSpontaneousEvent (event=event@entry=0x7fff231aac50, receiver=receiver@entry=0x22fc830) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#60 qt_sendSpontaneousEvent (receiver=receiver@entry=0x22fc830, event=event@entry=0x7fff231aac50) at kernel/qapplication.cpp:5565
#61 0x00007f61fffe2ff7 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x22fc830, grab=grab@entry=false, type=QEvent::KeyPress, code=80, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=33, nativeVirtualKey=112, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1866
#62 0x00007f61fffe3399 in QKeyMapperPrivate::translateKeyEvent (this=0x1e14b10, keyWidget=keyWidget@entry=0x22fc830, event=event@entry=0x7fff231ab1e0, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1836
#63 0x00007f61fffbd3f7 in QApplication::x11ProcessEvent (this=0x7fff231ab750, event=event@entry=0x7fff231ab1e0) at kernel/qapplication_x11.cpp:3642
#64 0x00007f61fffe5b02 in x11EventSourceDispatch (s=0x1db9470, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#65 0x00007f61fb765e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f61fb766048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f61fb7660ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f61ff57e7a1 in QEventDispatcherGlib::processEvents (this=0x1d7db50, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#69 0x00007f61fffe5bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x00007f61ff5500af in QEventLoop::processEvents (this=this@entry=0x7fff231ab5b0, flags=...) at kernel/qeventloop.cpp:149
#71 0x00007f61ff5503a5 in QEventLoop::exec (this=this@entry=0x7fff231ab5b0, flags=...) at kernel/qeventloop.cpp:204
#72 0x00007f61ff555b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#73 0x00007f61fff4237c in QApplication::exec () at kernel/qapplication.cpp:3828
#74 0x00000000004099c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:174

Reported using DrKonqi
Comment 1 Christoph Feck 2014-05-15 18:36:25 UTC
Please read bug 331365 comment #1.

*** This bug has been marked as a duplicate of bug 331365 ***
Comment 2 bugs5.kde.org 2014-05-15 20:25:01 UTC
well, this is now 4.13.1 where this happens again. So sounds like a regression.
Comment 3 Albert Astals Cid 2014-05-15 20:28:26 UTC
Why do you think it is a regression if it was never fixed?