Bug 202500

Summary: Okular crashed while printing and then attempting to access print preview
Product: [Applications] okular Reporter: Ron <linuxed7>
Component: PS backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 0.8.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ron 2009-08-04 16:38:55 UTC
Version:           0.8.4 (using KDE 4.2.4)
OS:                Linux
Installed from:    Ubuntu Packages

I was in the process of printing a single page from a pdf when I noticed that a couple of settings had not been saved. I had selected "landscape" and "grayscale" in the okular settings and when the page began printing it was "portrait" and "color". So while the page was still printing I tried to open the print preview for that same page. Okular then crashed and displayed the following.


This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f7ff1119750 (LWP 14683)]
[New Thread 0x7f7fe2999950 (LWP 15132)]
[New Thread 0x7f7fd83d9950 (LWP 14794)]
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
Current language:  auto; currently asm
[Current thread is 0 (LWP 14683)]

Thread 3 (Thread 0x7f7fd83d9950 (LWP 14794)):
#0  0x00007f7fed8d8742 in select () from /lib/libc.so.6
#1  0x00007f7fef087f06 in QProcessManager::run (this=0x63d7b0) at io/qprocess_unix.cpp:305
#2  0x00007f7feefc0952 in QThreadPrivate::start (arg=0x63d7b0) at thread/qthread_unix.cpp:189
#3  0x00007f7feb7273ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f7fed8dffcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7fe2999950 (LWP 15132)):
#0  0x00007f7fed8a1d21 in nanosleep () from /lib/libc.so.6
#1  0x00007f7fed8a1b47 in __sleep (seconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x00007f7feff400af in KCrash::startDrKonqi (argv=0x7f7fe2994228, argc=17) at /build/buildd/kde4libs-4.2.4/kdeui/util/kcrash.cpp:412
#3  0x00007f7feff409ba in KCrash::defaultCrashHandler (sig=8) at /build/buildd/kde4libs-4.2.4/kdeui/util/kcrash.cpp:337
#4  <signal handler called>
#5  0x00007f7fd5c81d59 in fixed_mult_quo () from /usr/lib/libgs.so.8
#6  0x00007f7fd5cacda8 in ?? () from /usr/lib/libgs.so.8
#7  0x00007f7fd5cad40a in continue_margin_common () from /usr/lib/libgs.so.8
#8  0x00007f7fd5ca3eb3 in ?? () from /usr/lib/libgs.so.8
#9  0x00007f7fd5cab1eb in ?? () from /usr/lib/libgs.so.8
#10 0x00007f7fd5c9f596 in gx_default_fill_path () from /usr/lib/libgs.so.8
#11 0x00007f7fd5cbc07a in gx_fill_path () from /usr/lib/libgs.so.8
#12 0x00007f7fd5c83fba in ?? () from /usr/lib/libgs.so.8
#13 0x00007f7fd59abf0e in ?? () from /usr/lib/libgs.so.8
#14 0x00007f7fd59ac0e8 in ?? () from /usr/lib/libgs.so.8
#15 0x00007f7fd59ac5eb in ?? () from /usr/lib/libgs.so.8
#16 0x00007f7fd5a01cef in ?? () from /usr/lib/libgs.so.8
#17 0x00007f7fd5a0285b in gs_interpret () from /usr/lib/libgs.so.8
#18 0x00007f7fd59f7327 in gs_main_run_string_continue () from /usr/lib/libgs.so.8
#19 0x00007f7fd6421f99 in ?? () from /usr/lib/libspectre.so.1
#20 0x00007f7fd6422279 in spectre_gs_send_page () from /usr/lib/libspectre.so.1
#21 0x00007f7fd6422c95 in spectre_device_render () from /usr/lib/libspectre.so.1
#22 0x00007f7fd642327b in spectre_page_render () from /usr/lib/libspectre.so.1
#23 0x00007f7fd663efeb in ?? () from /usr/lib/kde4/okularGenerator_ghostview.so
#24 0x00007f7feefc0952 in QThreadPrivate::start (arg=0x6a79a0) at thread/qthread_unix.cpp:189
#25 0x00007f7feb7273ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#26 0x00007f7fed8dffcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 1 (Thread 0x7f7ff1119750 (LWP 14683)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f7feefc1939 in QWaitCondition::wait (this=0x63d180, mutex=0x63d160, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f7feefc0afc in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:485
#3  0x00007f7fef08ae31 in ~QProcessManager (this=0x63d7b0) at io/qprocess_unix.cpp:268
#4  0x00007f7fef08b2f5 in ~QGlobalStaticDeleter (this=0x7f7fef3a0048) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1625
#5  0x00007f7fed8306ed in *__GI_exit (status=1) at exit.c:75
#6  0x00007f7fee549e48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00007f7fefeda268 in KApplication::xioErrhandler (this=0x7ffff9151640, dpy=0x658dc0) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:413
#8  0x00007f7fec7c46e4 in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007f7fec7cba1f in ?? () from /usr/lib/libX11.so.6
#10 0x00007f7fec7cc345 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007f7fec7b4ed3 in XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f7fee584dac in x11EventSourceCheck (s=0x63caa0) at kernel/qguieventdispatcher_glib.cpp:87
#13 0x00007f7fea64bed2 in IA__g_main_context_check (context=0x63b920, max_priority=0, fds=<value optimized out>, n_fds=-1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2323
#14 0x00007f7fea64c7c9 in g_main_context_iterate (context=0x63b920, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2445
#15 0x00007f7fea64ca7c in IA__g_main_context_iteration (context=0x63b920, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#16 0x00007f7fef0d2e8e in QEventDispatcherGlib::processEvents (this=0x625000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#17 0x00007f7fee584bef in QGuiEventDispatcherGlib::processEvents (this=0x63cf0c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#18 0x00007f7fef0a8002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -116065920}) at kernel/qeventloop.cpp:149
#19 0x00007f7fef0a83cd in QEventLoop::exec (this=0x7ffff914f9c0, flags={i = -116065824}) at kernel/qeventloop.cpp:200
#20 0x00007f7fee9aa10e in QDialog::exec (this=0x7ffff914fa30) at dialogs/qdialog.cpp:498
#21 0x00007f7fe67a62c6 in ?? () from /usr/lib/kde4/okularpart.so
#22 0x00007f7fe67af60d in ?? () from /usr/lib/kde4/okularpart.so
#23 0x00007f7fef0bf1f2 in QMetaObject::activate (sender=0x98c830, from_signal_index=<value optimized out>, to_signal_index=6, argv=0xffffffffffffffff) at kernel/qobject.cpp:3069
#24 0x00007f7fee4e67e7 in QAction::triggered (this=0x63cf0c, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#25 0x00007f7fee4e7c60 in QAction::activate (this=0x98c830, event=<value optimized out>) at kernel/qaction.cpp:1160
#26 0x00007f7fee915a3c in QMenuPrivate::activateCausedStack (this=0x702c50, causedStack=@0x7ffff914fdb0, action=0x98c830, action_e=QAction::Trigger, self=224) at widgets/qmenu.cpp:962
#27 0x00007f7fee91ba0e in QMenuPrivate::activateAction (this=0x702c50, action=0x98c830, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1058
#28 0x00007f7feffac381 in KMenu::mouseReleaseEvent (this=0x9f99c0, e=0x7ffff9150750) at /build/buildd/kde4libs-4.2.4/kdeui/widgets/kmenu.cpp:454
#29 0x00007f7fee53d8cf in QWidget::event (this=0x9f99c0, event=0x7ffff9150750) at kernel/qwidget.cpp:7516
#30 0x00007f7fee91e1cb in QMenu::event (this=0x9f99c0, e=0x7ffff9150750) at widgets/qmenu.cpp:2351
#31 0x00007f7fee4ec78d in QApplicationPrivate::notify_helper (this=0x638e50, receiver=0x9f99c0, e=0x7ffff9150750) at kernel/qapplication.cpp:4084
#32 0x00007f7fee4f50da in QApplication::notify (this=<value optimized out>, receiver=0x9f99c0, e=0x7ffff9150750) at kernel/qapplication.cpp:3786
#33 0x00007f7fefeda84b in KApplication::notify (this=0x7ffff9151640, receiver=0x9f99c0, event=0x7ffff9150750) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:307
#34 0x00007f7fef0a975c in QCoreApplication::notifyInternal (this=0x7ffff9151640, receiver=0x9f99c0, event=0x7ffff9150750) at kernel/qcoreapplication.cpp:602
#35 0x00007f7fee4f4328 in QApplicationPrivate::sendMouseEvent (receiver=0x9f99c0, event=0x7ffff9150750, alienWidget=0x0, nativeWidget=0x9f99c0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f7feef50eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#36 0x00007f7fee55dfd4 in QETWidget::translateMouseEvent (this=0x9f99c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4359
#37 0x00007f7fee55ca88 in QApplication::x11ProcessEvent (this=0x7ffff9151640, event=0x7ffff9151290) at kernel/qapplication_x11.cpp:3543
#38 0x00007f7fee585464 in x11EventSourceDispatch (s=0x63caa0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007f7fea64920a in IA__g_main_context_dispatch (context=0x63b920) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#40 0x00007f7fea64c8e0 in g_main_context_iterate (context=0x63b920, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#41 0x00007f7fea64ca7c in IA__g_main_context_iteration (context=0x63b920, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#42 0x00007f7fef0d2e6f in QEventDispatcherGlib::processEvents (this=0x625000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#43 0x00007f7fee584bef in QGuiEventDispatcherGlib::processEvents (this=0x63cf0c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#44 0x00007f7fef0a8002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -116058752}) at kernel/qeventloop.cpp:149
#45 0x00007f7fef0a83cd in QEventLoop::exec (this=0x7ffff91515c0, flags={i = -116058672}) at kernel/qeventloop.cpp:200
#46 0x00007f7fef0aa694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#47 0x0000000000407da4 in _start ()
261	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
Current language:  auto; currently asm
Comment 1 Pino Toscano 2009-08-27 12:52:27 UTC

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