[Okular-devel] [okular] [Bug 342568] New: Crash when opening the print dialog

Elias Probst mail at eliasprobst.eu
Tue Jan 6 21:38:49 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=342568

            Bug ID: 342568
           Summary: Crash when opening the print dialog
           Product: okular
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: mail at eliasprobst.eu

Application: okular (1.0.0)
 (Compiled from sources)
Qt Version: 5.4.0
Operating System: Linux 3.18.1-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
Every time the print dialog is opened Okular crashes.
This can be reproduced 100% of the time.

Running all latest KF5/Plasma 5/Apps from git and Qt 5.4.0

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f928ffbf800 (LWP 32655))]

Thread 3 (Thread 0x7f928dd13700 (LWP 32656)):
#0  0x00007f929cfed63d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f929ba991f2 in poll (__timeout=-1, __nfds=1, __fds=0x7f928dd12cd0)
at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c at entry=0x17a4060, cond=cond at entry=0x17a40a0,
vector=vector at entry=0x0, count=count at entry=0x0) at
/var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/src/xcb_conn.c:447
#3  0x00007f929ba9adf7 in xcb_wait_for_event (c=0x17a4060) at
/var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/src/xcb_in.c:622
#4  0x00007f928fc3b309 in QXcbEventReader::run (this=0x17ae0c0) at
qxcbconnection.cpp:1099
#5  0x00007f929d65e2cf in QThreadPrivate::start (arg=0x17ae0c0) at
thread/qthread_unix.cpp:337
#6  0x00007f9299535023 in start_thread (arg=0x7f928dd13700) at
pthread_create.c:309
#7  0x00007f929cff6cfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9282a57700 (LWP 32727)):
#0  pthread_cond_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f929d65f32b in wait (time=18446744073709551615, this=0x6e778e0) at
thread/qwaitcondition_unix.cpp:128
#2  QWaitCondition::wait (this=this at entry=0x6ea7890,
mutex=mutex at entry=0x6ea7888, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:200
#3  0x00007f929e2eea7d in QFileInfoGatherer::run (this=0x6ea7878) at
dialogs/qfileinfogatherer.cpp:209
#4  0x00007f929d65e2cf in QThreadPrivate::start (arg=0x6ea7878) at
thread/qthread_unix.cpp:337
#5  0x00007f9299535023 in start_thread (arg=0x7f9282a57700) at
pthread_create.c:309
#6  0x00007f929cff6cfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f928ffbf800 (LWP 32655)):
[KCrash Handler]
#6  __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
#7  0x00007f92a03e95f0 in QPrintDialog::qt_metacast (this=0x479de20,
_clname=0x67 <error: Cannot access memory at address 0x67>) at
.moc/moc_qprintdialog.cpp:127
#8  0x00007f929e2b937a in QDialog::setVisible (this=0x65f58b0,
visible=<optimized out>) at dialogs/qdialog.cpp:713
#9  0x00007f929e2b8b61 in QDialog::exec (this=0x65f58b0) at
dialogs/qdialog.cpp:533
#10 0x00007f9287d10da0 in Okular::Part::slotPrint (this=0x1860710) at
/var/tmp/portage/kde-apps/okular-5.9999/work/okular-5.9999/part.cpp:2684
#11 0x00007f9287dbbc8a in Okular::Part::qt_static_metacall
(_o=_o at entry=0x1860710, _c=_c at entry=QMetaObject::InvokeMetaMethod,
_id=_id at entry=63, _a=_a at entry=0x7fff30c2af50) at
/var/tmp/portage/kde-apps/okular-5.9999/work/okular-5.9999_build/moc_part.cpp:455
#12 0x00007f929d8412cc in QMetaMethod::invoke (this=this at entry=0x7fff30c2b1c0,
object=object at entry=0x1860710, connectionType=Qt::DirectConnection,
connectionType at entry=Qt::AutoConnection, returnValue=..., val0=..., val1=...,
val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...)
at kernel/qmetaobject.cpp:2183
#13 0x00007f929d845bb0 in QMetaObject::invokeMethod (obj=0x1860710,
member=member at entry=0x41873f "slotPrint", type=type at entry=Qt::AutoConnection,
ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=...,
val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1478
#14 0x0000000000411e9a in invokeMethod (val9=..., val8=..., val7=..., val6=...,
val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x41873f
"slotPrint", obj=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs.h:407
#15 Shell::print (this=0x1801020) at
/var/tmp/portage/kde-apps/okular-5.9999/work/okular-5.9999/shell/shell.cpp:566
#16 0x0000000000416ccd in Shell::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/var/tmp/portage/kde-apps/okular-5.9999/work/okular-5.9999_build/shell/moc_shell.cpp:203
#17 0x00007f929d866c31 in QMetaObject::activate (sender=sender at entry=0x1a691e0,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=1,
argv=argv at entry=0x7fff30c2b720) at kernel/qobject.cpp:3716
#18 0x00007f929d867257 in QMetaObject::activate (sender=sender at entry=0x1a691e0,
m=m at entry=0x7f929e5b5540 <QAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7fff30c2b720)
at kernel/qobject.cpp:3582
#19 0x00007f929e0e4b42 in QAction::triggered (this=this at entry=0x1a691e0,
_t1=false) at .moc/moc_qaction.cpp:360
#20 0x00007f929e0e7028 in QAction::activate (this=0x1a691e0, event=<optimized
out>) at kernel/qaction.cpp:1167
#21 0x00007f929e0e713c in QAction::event (this=<optimized out>, e=<optimized
out>) at kernel/qaction.cpp:1095
#22 0x00007f929e0edf0c in QApplicationPrivate::notify_helper
(this=this at entry=0x1799950, receiver=receiver at entry=0x1a691e0,
e=e at entry=0x7fff30c2b9f0) at kernel/qapplication.cpp:3722
#23 0x00007f929e0f2f20 in QApplication::notify (this=0x7fff30c2c090,
receiver=0x1a691e0, e=0x7fff30c2b9f0) at kernel/qapplication.cpp:3505
#24 0x00007f929d8373e5 in QCoreApplication::notifyInternal
(this=0x7fff30c2c090, receiver=0x1a691e0, event=event at entry=0x7fff30c2b9f0) at
kernel/qcoreapplication.cpp:932
#25 0x00007f929db90131 in sendEvent (event=0x7fff30c2b9f0, receiver=<optimized
out>) at /usr/include/qt5/QtCore/qcoreapplication.h:228
#26 QShortcutMap::dispatchEvent (this=this at entry=0x1799a30,
e=e at entry=0x7fff30c2bcc0) at kernel/qshortcutmap.cpp:681
#27 0x00007f929db9024c in QShortcutMap::tryShortcutEvent (this=0x1799a30,
o=<optimized out>, e=e at entry=0x7fff30c2bcc0) at kernel/qshortcutmap.cpp:352
#28 0x00007f929e0f2c5c in QApplication::notify (this=0x7fff30c2c090,
receiver=0x1a6e800, e=0x7fff30c2bcc0) at kernel/qapplication.cpp:3147
#29 0x00007f929d8373e5 in QCoreApplication::notifyInternal
(this=0x7fff30c2c090, receiver=receiver at entry=0x1a6e800,
event=event at entry=0x7fff30c2bcc0) at kernel/qcoreapplication.cpp:932
#30 0x00007f929db6429b in sendSpontaneousEvent (event=0x7fff30c2bcc0,
receiver=0x1a6e800) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QGuiApplicationPrivate::processKeyEvent (e=0x65e1f30) at
kernel/qguiapplication.cpp:1898
#32 0x00007f929db685e5 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e at entry=0x65e1f30) at kernel/qguiapplication.cpp:1604
#33 0x00007f929db4f108 in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:572
#34 0x00007f928fc63000 in userEventSourceDispatch (source=<optimized out>) at
eventdispatchers/qeventdispatcher_glib.cpp:70
#35 0x00007f92978b2934 in g_main_dispatch (context=0x7f9288001e00) at
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3064
#36 g_main_context_dispatch (context=context at entry=0x7f9288001e00) at
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3663
#37 0x00007f92978b2b78 in g_main_context_iterate
(context=context at entry=0x7f9288001e00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3734
#38 0x00007f92978b2c1c in g_main_context_iteration (context=0x7f9288001e00,
may_block=1) at
/var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3795
#39 0x00007f929d88e69c in QEventDispatcherGlib::processEvents (this=0x17d36e0,
flags=...) at kernel/qeventdispatcher_glib.cpp:418
#40 0x00007f929d83534b in QEventLoop::exec (this=this at entry=0x7fff30c2bf80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#41 0x00007f929d83c9b6 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1185
#42 0x00007f929db5f86c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1532
#43 0x00007f929e0ea715 in QApplication::exec () at kernel/qapplication.cpp:2956
#44 0x000000000040d76f in main (argc=2, argv=<optimized out>) at
/var/tmp/portage/kde-apps/okular-5.9999/work/okular-5.9999/shell/main.cpp:80

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list