Bug 223767 - segfault when trying to print with cupsd not working at this moment
Summary: segfault when trying to print with cupsd not working at this moment
Status: RESOLVED DUPLICATE of bug 199780
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: qt (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 11:00 UTC by Artem
Modified: 2010-12-11 22:01 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 Artem 2010-01-22 11:00:10 UTC
Application that crashed: okular
Version of the application: 0.9.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Segfault happened when I selected File->Print. I suppose that's happen because at this moment cupsd was not launched. More precisely it was killed by segfault some time earlier

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa9fbd5e750 (LWP 26323))]

Thread 4 (Thread 0x7fa9e2f61910 (LWP 26341)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa9fa372499 in QWaitConditionPrivate::wait (this=0x2705120, mutex=0x2705118, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x2705120, mutex=0x2705118, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa9f84963b4 in QHostInfoAgent::run (this=0x2705100) at kernel/qhostinfo.cpp:260
#4  0x00007fa9fa3714a5 in QThreadPrivate::start (arg=0x2705100) at thread/qthread_unix.cpp:188
#5  0x00007fa9f5a7673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9f915f6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa9e3762910 (LWP 29817)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa9fa372499 in QWaitConditionPrivate::wait (this=0x26909b8, mutex=0x26909b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x26909b8, mutex=0x26909b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa9f9d93eee in QFileInfoGatherer::run (this=0x26909a0) at dialogs/qfileinfogatherer.cpp:207
#4  0x00007fa9fa3714a5 in QThreadPrivate::start (arg=0x26909a0) at thread/qthread_unix.cpp:188
#5  0x00007fa9f5a7673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9f915f6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7fa9ed12a910 (LWP 29818)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fff957ff6fb in ?? ()
#2  0x00007fa9f5f55e6f in *__GI_clock_gettime (clock_id=-317547152, tp=0x7fa9ed129d70) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007fa9fa4810fd in QTimerInfoList::getTime (this=<value optimized out>, t=...) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007fa9fa4812e1 in QTimerInfoList::updateCurrentTime (this=0x7fa9ed129d70) at kernel/qeventdispatcher_unix.cpp:297
#5  0x00007fa9fa481485 in QTimerInfoList::timerWait (this=0x7fa9ed129d70, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#6  0x00007fa9fa47f56c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fa9ed129e7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fa9fa47f615 in timerSourcePrepare (source=0x7fa9ed129d70, timeout=0x7fa9ed129d70) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fa9f5ccaada in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007fa9f5ccaeb1 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007fa9f5ccb3e0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007fa9fa47f3b6 in QEventDispatcherGlib::processEvents (this=0x24bfd50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#12 0x00007fa9fa455562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fa9fa455934 in QEventLoop::exec (this=0x7fa9ed12a010, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007fa9fa36e5a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#15 0x00007fa9fa439498 in QInotifyFileSystemWatcherEngine::run (this=0x27355c0) at io/qfilesystemwatcher_inotify.cpp:214
#16 0x00007fa9fa3714a5 in QThreadPrivate::start (arg=0x27355c0) at thread/qthread_unix.cpp:188
#17 0x00007fa9f5a7673a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#18 0x00007fa9f915f6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa9fbd5e750 (LWP 26323)):
[KCrash Handler]
#5  0x00007fa9f9a9fd0e in QCUPSSupport::printerOption (this=0x276c540, key=...) at painting/qcups.cpp:251
#6  0x00007fa9f9d3fa69 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x1f0b4a0, index=<value optimized out>) at dialogs/qprintdialog_unix.cpp:795
#7  0x00007fa9f9d40731 in QUnixPrintWidgetPrivate (this=0x1f0b4a0, p=<value optimized out>) at dialogs/qprintdialog_unix.cpp:702
#8  0x00007fa9f9d40acc in QUnixPrintWidget (this=0x22efbc0, printer=0x0, parent=<value optimized out>) at dialogs/qprintdialog_unix.cpp:995
#9  0x00007fa9f9d40b40 in QPrintDialogPrivate::init (this=0x2719c90) at dialogs/qprintdialog_unix.cpp:384
#10 0x00007fa9f9d41109 in QPrintDialog (this=0x239d770, printer=0x7fff9571abc0, parent=0x1f34d40) at dialogs/qprintdialog_unix.cpp:580
#11 0x00007fa9fafe4180 in KdePrint::createPrintDialog (printer=0x7fff9571abc0, customTabs=..., parent=0x1f34d40) at ../../kdeui/dialogs/kdeprintdialog.cpp:40
#12 0x00007fa9f119bdf1 in ?? () from /usr/lib/kde4/okularpart.so
#13 0x00007fa9f11a620f in ?? () from /usr/lib/kde4/okularpart.so
#14 0x00007fa9fa46bdf2 in QMetaObject::activate (sender=0x2253840, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x2719b60) at kernel/qobject.cpp:3112
#15 0x00007fa9f98ca147 in QAction::triggered (this=0x276c540, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#16 0x00007fa9f98cb5c0 in QAction::activate (this=0x2253840, event=<value optimized out>) at kernel/qaction.cpp:1167
#17 0x00007fa9f9cc615d in QMenuPrivate::activateCausedStack (this=0x2266500, causedStack=..., action=0x2253840, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#18 0x00007fa9f9ccc08f in QMenuPrivate::activateAction (this=0x2266500, action=0x2253840, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1060
#19 0x00007fa9fb14307e in KMenu::mouseReleaseEvent (this=0x2283540, e=0x7fff9571a790) at ../../kdeui/widgets/kmenu.cpp:456
#20 0x00007fa9f992037f in QWidget::event (this=0x2283540, event=0x7fff9571b9c0) at kernel/qwidget.cpp:7554
#21 0x00007fa9f9cce7eb in QMenu::event (this=0x2283540, e=0x7fff9571b9c0) at widgets/qmenu.cpp:2358
#22 0x00007fa9f98d001d in QApplicationPrivate::notify_helper (this=0x1e743d0, receiver=0x2283540, e=0x7fff9571b9c0) at kernel/qapplication.cpp:4065
#23 0x00007fa9f98d87ca in QApplication::notify (this=<value optimized out>, receiver=0x2283540, e=0x7fff9571b9c0) at kernel/qapplication.cpp:3767
#24 0x00007fa9fb071e06 in KApplication::notify (this=0x7fff9571d770, receiver=0x2283540, event=0x7fff9571b9c0) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x00007fa9fa456c9c in QCoreApplication::notifyInternal (this=0x7fff9571d770, receiver=0x2283540, event=0x7fff9571b9c0) at kernel/qcoreapplication.cpp:610
#26 0x00007fa9f98d7a78 in QCoreApplication::sendSpontaneousEvent (receiver=0x2283540, event=0x7fff9571b9c0, alienWidget=0x0, nativeWidget=0x2283540, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#27 QApplicationPrivate::sendMouseEvent (receiver=0x2283540, event=0x7fff9571b9c0, alienWidget=0x0, nativeWidget=0x2283540, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#28 0x00007fa9f9940814 in QETWidget::translateMouseEvent (this=0x2283540, event=<value optimized out>) at kernel/qapplication_x11.cpp:4345
#29 0x00007fa9f993f40f in QApplication::x11ProcessEvent (this=0x7fff9571d770, event=0x7fff9571d390) at kernel/qapplication_x11.cpp:3552
#30 0x00007fa9f996776c in x11EventSourceDispatch (s=0x1e78170, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007fa9f5cc78fe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007fa9f5ccb2b8 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007fa9f5ccb3e0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007fa9fa47f39c in QEventDispatcherGlib::processEvents (this=0x1e5b160, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#35 0x00007fa9f9966f1f in QGuiEventDispatcherGlib::processEvents (this=0x276c540, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007fa9fa455562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fa9fa455934 in QEventLoop::exec (this=0x7fff9571d6c0, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007fa9fa457ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0x000000000040891c in _start ()
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Pino Toscano 2010-01-22 11:09:37 UTC
Please report Qt bugs to: http://bugreports.qt.nokia.com
Comment 2 Dario Andres 2010-12-11 22:01:53 UTC

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