Bug 298276 - konqueror sometimes crashes when printing from embedded okular
Summary: konqueror sometimes crashes when printing from embedded okular
Status: RESOLVED DUPLICATE of bug 199780
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.8.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-17 06:21 UTC by Stefan Seyfried
Modified: 2012-04-20 14:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Seyfried 2012-04-17 06:21:22 UTC
Application: konqueror (4.8.1 (4.8.1))
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.3.0-8-desktop x86_64
Distribution: "openSUSE 12.2 Milestone 2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Having opened a downloaded PDF, trying to print the PDF sometimes crashes konqueror. Restarting konqueror, restoring the session and then printing again always works.

- Custom settings of the application:
I am using "embeded okular" in konqueror: PDF opens in a new konqueror tab and not in an own window

The crash can be reproduced some of the time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ffa5cb79780 (LWP 23666))]

Thread 5 (Thread 0x7ffa3f2d8700 (LWP 32222)):
#0  0x00007fff9e20f8de in ?? ()
#1  0x00007ffa53d4de6d in clock_gettime () from /lib64/librt.so.1
#2  0x00007ffa596f9934 in do_gettime (frac=0x7ffa3f2d7b98, sec=0x7ffa3f2d7b90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007ffa597cff5d in QTimerInfoList::updateCurrentTime (this=0x2782540) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007ffa597d0293 in QTimerInfoList::timerWait (this=0x2782540, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007ffa597ced4c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7ffa3f2d7c6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007ffa597cedf5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007ffa53a9d44e in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ffa53a9dc4b in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007ffa53a9de54 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007ffa597cf7f6 in QEventDispatcherGlib::processEvents (this=0x32ca3b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007ffa5979f572 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007ffa5979f7c7 in QEventLoop::exec (this=0x7ffa3f2d7dd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007ffa596a0447 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007ffa5b80bd6e in KIO::NameLookUpThread::run (this=0x2768e60) at /usr/src/debug/kdelibs-4.8.1/kio/kio/hostinfo.cpp:226
#16 0x00007ffa596a346b in QThreadPrivate::start (arg=0x2768e60) at thread/qthread_unix.cpp:298
#17 0x00007ffa5940cdaa in start_thread () from /lib64/libpthread.so.0
#18 0x00007ffa568340ed in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ffa3cee9700 (LWP 5825)):
#0  0x00007ffa53ad9241 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ffa53a9de5e in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffa597cf7f6 in QEventDispatcherGlib::processEvents (this=0x4affe20, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007ffa5979f572 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007ffa5979f7c7 in QEventLoop::exec (this=0x7ffa3cee8dd0, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007ffa596a0447 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#6  0x00007ffa5977f37f in QInotifyFileSystemWatcherEngine::run (this=0x422a0c0) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007ffa596a346b in QThreadPrivate::start (arg=0x422a0c0) at thread/qthread_unix.cpp:298
#8  0x00007ffa5940cdaa in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffa568340ed in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ffa2c47c700 (LWP 30005)):
#0  0x00007ffa59410a14 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffa596a397b in wait (time=18446744073709551615, this=0x57ccb20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4168fa0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ffa58b91484 in QFileInfoGatherer::run (this=0x4168f90) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007ffa596a346b in QThreadPrivate::start (arg=0x4168f90) at thread/qthread_unix.cpp:298
#5  0x00007ffa5940cdaa in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffa568340ed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ffa2b47a700 (LWP 30006)):
#0  0x00007ffa5940fdac in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007ffa53ad9241 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffa53a9d443 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffa53a9dc4b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffa53a9de54 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ffa597cf7f6 in QEventDispatcherGlib::processEvents (this=0x448a460, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ffa5979f572 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ffa5979f7c7 in QEventLoop::exec (this=0x7ffa2b479dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ffa596a0447 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007ffa5977f37f in QInotifyFileSystemWatcherEngine::run (this=0x4f8e1e0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007ffa596a346b in QThreadPrivate::start (arg=0x4f8e1e0) at thread/qthread_unix.cpp:298
#11 0x00007ffa5940cdaa in start_thread () from /lib64/libpthread.so.0
#12 0x00007ffa568340ed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffa5cb79780 (LWP 23666)):
[KCrash Handler]
#6  0x00007ffa588a604e in QCUPSSupport::printerOption (this=0x5626c20, key=...) at painting/qcups.cpp:251
#7  0x00007ffa58b41fb5 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x599ec20, index=0) at dialogs/qprintdialog_unix.cpp:830
#8  0x00007ffa58b42bc2 in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate (this=0x599ec20, p=<optimized out>) at dialogs/qprintdialog_unix.cpp:737
#9  0x00007ffa58b42eab in QUnixPrintWidget::QUnixPrintWidget (this=0x4684080, printer=0x0, parent=<optimized out>) at dialogs/qprintdialog_unix.cpp:1062
#10 0x00007ffa58b42f2e in QPrintDialogPrivate::init (this=0x6113b70) at dialogs/qprintdialog_unix.cpp:386
#11 0x00007ffa58b43478 in QPrintDialog::QPrintDialog (this=0x132b980, printer=0x7fff9e2029d0, parent=0x38276b0) at dialogs/qprintdialog_unix.cpp:617
#12 0x00007ffa5a59bd62 in KdePrint::createPrintDialog (printer=0x7fff9e2029d0, pageSelectPolicy=KdePrint::ApplicationSelectsPages, customTabs=..., parent=0x38276b0) at /usr/src/debug/kdelibs-4.8.1/kdeui/dialogs/kdeprintdialog.cpp:44
#13 0x00007ffa36ae4038 in ?? () from /usr/lib64/kde4/okularpart.so
#14 0x00007ffa597b4651 in QMetaObject::activate (sender=0x13612d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9e202b90) at kernel/qobject.cpp:3556
#15 0x00007ffa58685a32 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#16 0x00007ffa58685c1f in QAction::activate (this=0x13612d0, event=<optimized out>) at kernel/qaction.cpp:1257
#17 0x00007ffa58ad32d9 in QMenuPrivate::activateCausedStack (this=0x1418800, causedStack=..., action=0x13612d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#18 0x00007ffa58ad93e2 in QMenuPrivate::activateAction (this=0x1418800, action=0x13612d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#19 0x00007ffa5a538e00 in KMenu::mouseReleaseEvent (this=0x138b710, e=0x7fff9e203760) at /usr/src/debug/kdelibs-4.8.1/kdeui/widgets/kmenu.cpp:464
#20 0x00007ffa586dc584 in QWidget::event (this=0x138b710, event=0x7fff9e203760) at kernel/qwidget.cpp:8361
#21 0x00007ffa58ada97b in QMenu::event (this=0x138b710, e=0x7fff9e203760) at widgets/qmenu.cpp:2460
#22 0x00007ffa5868bee4 in notify_helper (e=0x7fff9e203760, receiver=0x138b710, this=0xc0ada0) at kernel/qapplication.cpp:4550
#23 QApplicationPrivate::notify_helper (this=0xc0ada0, receiver=0x138b710, e=0x7fff9e203760) at kernel/qapplication.cpp:4522
#24 0x00007ffa58691633 in QApplication::notify (this=<optimized out>, receiver=0x138b710, e=0x7fff9e203760) at kernel/qapplication.cpp:4093
#25 0x00007ffa5a478656 in KApplication::notify (this=0x7fff9e204590, receiver=0x138b710, event=0x7fff9e203760) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#26 0x00007ffa597a078c in QCoreApplication::notifyInternal (this=0x7fff9e204590, receiver=0x138b710, event=0x7fff9e203760) at kernel/qcoreapplication.cpp:876
#27 0x00007ffa5868ceb2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=0x138b710, event=0x7fff9e203760, alienWidget=0x0, nativeWidget=0x138b710, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3161
#29 0x00007ffa587092c1 in QETWidget::translateMouseEvent (this=0x138b710, event=<optimized out>) at kernel/qapplication_x11.cpp:4439
#30 0x00007ffa58707ada in QApplication::x11ProcessEvent (this=0x7fff9e204590, event=0x7fff9e204020) at kernel/qapplication_x11.cpp:3631
#31 0x00007ffa5872f662 in x11EventSourceDispatch (s=0xc06110, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007ffa53a9d9ca in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007ffa53a9dd90 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007ffa53a9de54 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007ffa597cf78f in QEventDispatcherGlib::processEvents (this=0xbe4540, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007ffa5872f2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007ffa5979f572 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007ffa5979f7c7 in QEventLoop::exec (this=0x7fff9e2043c0, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007ffa597a4325 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#40 0x00007ffa5c7711d2 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-baseapps-4.8.1/konqueror/src/konqmain.cpp:227
#41 0x00007ffa567713bd in __libc_start_main () from /lib64/libc.so.6
#42 0x0000000000400831 in _start () at ../sysdeps/x86_64/elf/start.S:113

This bug may be a duplicate of or related to bug 199780.

Possible duplicates by query: bug 242472.

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2012-04-20 14:44:31 UTC

*** This bug has been marked as a duplicate of bug 199780 ***