Bug 88096

Summary: kprinter crashes hard on startup
Product: [Unmaintained] kcontrol Reporter: Aaron Peterson <alpeterson>
Component: kcmprintmgrAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aaron Peterson 2004-08-26 02:43:24 UTC
Version:           3.3.0 (using KDE KDE 3.3.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Debian from knoppix install. kde 3.3.0
sorry about the strace and the backtrace...
I hope they were usefull...


from command line, backtrace*
*******************
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1096622400 (LWP 22889)]
[KCrash handler]
#3  0x41674e50 in KMCupsManager::slotAsyncConnect ()
   from /usr/lib/kde3/kdeprint_cups.so
#4  0x416757f2 in KMCupsManager::qt_invoke ()
   from /usr/lib/kde3/kdeprint_cups.so
#5  0x40cb652c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#6  0x40ff408a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#7  0x40cd06ed in QSignal::activate () from /usr/lib/libqt-mt.so.3
#8  0x40cd7ed3 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#9  0x40c59bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#10 0x40c591ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#11 0x407faf13 in KApplication::notify () from /usr/lib/libkdecore.so.4
#12 0x40c49405 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#13 0x40c02c4b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#14 0x40c6bf28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#15 0x40c59e81 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#16 0x40e40570 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#17 0x40030013 in PrintWrapper::slotPrint ()
   from /usr/lib/libkdeinit_kprinter.so
#18 0x400310b3 in PrintWrapper::qt_invoke ()
   from /usr/lib/libkdeinit_kprinter.so
#19 0x40cb652c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0x40ff408a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#21 0x40cd06ed in QSignal::activate () from /usr/lib/libqt-mt.so.3
#22 0x40cd7ed3 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#23 0x40c59bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#24 0x40c591ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#25 0x407faf13 in KApplication::notify () from /usr/lib/libkdecore.so.4
#26 0x40c49405 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#27 0x40c02c4b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#28 0x40c6bf28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#29 0x40c6bdd8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#30 0x40c59e21 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#31 0x4002ef63 in kdemain () from /usr/lib/libkdeinit_kprinter.so
#32 0x0804861b in ?? ()
#33 0x00000001 in ?? ()
#34 0xbffffb54 in ?? ()
#35 0xbffffb54 in ?? ()
#36 0x413717f8 in __libc_start_main () from /lib/tls/libc.so.6
#37 0x41493edc in ?? () from /lib/tls/libc.so.6

************** from same, with strace ****
ioctl(5, FIONREAD, [1])                 = 0
gettimeofday({1093480765, 543635}, NULL) = 0
gettimeofday({1093480765, 544163}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGALRM, {SIG_DFL}, {SIG_DFL}, 8) = 0
alarm(3)                                = 0
close(9)                                = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
close(3)                                = 0
close(4)                                = 0
close(5)                                = 0
(this appears to be the crash manager, there was something about bad file descriptor)

*******  from konquoror ******
this also blows away all sessions:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1095735296 (LWP 22868)]
[KCrash handler]
#3  0x41ee3e50 in KMCupsManager::slotAsyncConnect ()
   from /usr/lib/kde3/kdeprint_cups.so
#4  0x41ee47f2 in KMCupsManager::qt_invoke ()
   from /usr/lib/kde3/kdeprint_cups.so
#5  0x40bdd52c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#6  0x40f1b08a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#7  0x40bf76ed in QSignal::activate () from /usr/lib/libqt-mt.so.3
#8  0x40bfeed3 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#9  0x40b80bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#10 0x40b801ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#11 0x40722f13 in KApplication::notify () from /usr/lib/libkdecore.so.4
#12 0x40b70405 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#13 0x40b29c4b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#14 0x40b92f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#15 0x40b80e81 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#16 0x40d67570 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#17 0x41d08d16 in KPrinter::setup () from /usr/lib/libkdeprint.so.4
#18 0x419ce4e6 in KHTMLView::print () from /usr/lib/libkhtml.so.4
#19 0x419ce355 in KHTMLView::print () from /usr/lib/libkhtml.so.4
#20 0x41a055ea in KHTMLPartBrowserExtension::print ()
   from /usr/lib/libkhtml.so.4
#21 0x41a0ce51 in KHTMLPartBrowserExtension::qt_invoke ()
   from /usr/lib/libkhtml.so.4
#22 0x40bdd52c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0x40bdd354 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0x404ad39b in KAction::activated () from /usr/lib/libkdeui.so.4
#25 0x404acd6f in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#26 0x404ad5a1 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#27 0x40bdd52c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#28 0x40f1b08a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#29 0x40bf76ed in QSignal::activate () from /usr/lib/libqt-mt.so.3
#30 0x40ce47a9 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#31 0x40c13697 in QWidget::event () from /usr/lib/libqt-mt.so.3
#32 0x40b80bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#33 0x40b802c4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#34 0x40722f13 in KApplication::notify () from /usr/lib/libkdecore.so.4
#35 0x40b15231 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#36 0x40b132ce in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#37 0x40b2a1a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#38 0x40b92f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#39 0x40b92dd8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#40 0x40b80e21 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#41 0x4158d69c in kdemain () from /usr/lib/libkdeinit_konqueror.so
#42 0x41536896 in kdeinitmain () from /usr/lib/kde3/konqueror.so
#43 0x0804cbb6 in ?? ()
#44 0x00000002 in ?? ()
#45 0x0806fa18 in ?? ()
#46 0x00000001 in ?? ()
#47 0x0806f533 in ?? ()
#48 0x00000000 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00001f80 in ?? ()
#51 0x00000000 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x01000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0x00000000 in ?? ()
#57 0x00000000 in ?? ()
#58 0x00000000 in ?? ()
#59 0x00000000 in ?? ()
#60 0x00000000 in ?? ()
#61 0x00000000 in ?? ()
#62 0x00000000 in ?? ()
#63 0x00000000 in ?? ()
#64 0x00000000 in ?? ()
#65 0x00000000 in ?? ()
#66 0x00000000 in ?? ()
#67 0x00000000 in ?? ()
#68 0x0806f588 in ?? ()
#69 0x00000000 in ?? ()
#70 0x00000000 in ?? ()
#71 0x00000000 in ?? ()
#72 0x00000000 in ?? ()
#73 0x00000000 in ?? ()
#74 0x00000000 in ?? ()
#75 0x4084fe41 in posix_memalign () from /usr/lib/libkdecore.so.4
#76 0x0804e0ab in ?? ()
#77 0x00000002 in ?? ()
#78 0x0806f51c in ?? ()
#79 0x0806f52f in ?? ()
#80 0x00000000 in ?? ()
#81 0x00000001 in ?? ()
#82 0x0806f54a in ?? ()
#83 0x00000000 in ?? ()
#84 0x00000000 in ?? ()
#85 0x00000000 in ?? ()
#86 0x0806f54e in ?? ()
#87 0x00000000 in ?? ()
#88 0x00000000 in ?? ()
#89 0x00000000 in ?? ()
#90 0x0806f54e in ?? ()
#91 0x00000000 in ?? ()
#92 0x00000000 in ?? ()
#93 0x0806f533 in ?? ()
#94 0x00000001 in ?? ()
#95 0x00000000 in ?? ()
#96 0x0806f526 in ?? ()
#97 0x0806f51c in ?? ()
#98 0x00000002 in ?? ()
#99 0x0806f518 in ?? ()
#100 0x00005953 in ?? ()
#101 0x00000004 in ?? ()
#102 0x00000004 in ?? ()
#103 0x0000000a in ?? ()
#104 0x00000068 in ?? ()
#105 0x08051478 in vtable for QCString ()
#106 0x0805a410 in ?? ()
#107 0x00000000 in ?? ()
#108 0x00000000 in ?? ()
#109 0x08051478 in vtable for QCString ()
#110 0x0805a3e0 in ?? ()
#111 0x00000000 in ?? ()
#112 0x00000000 in ?? ()
#113 0x00000000 in ?? ()
#114 0x0077b858 in ?? ()
#115 0x80cd0000 in ?? ()
#116 0x00000001 in ?? ()
#117 0xbffffae0 in ?? ()
#118 0x00004e62 in ?? ()
#119 0xbffffbf8 in ?? ()
#120 0x0804e5ce in ?? ()
#121 0x00000008 in ?? ()
#122 0xbffffb60 in ?? ()
#123 0xbffffae0 in ?? ()
#124 0xbffffa60 in ?? ()
#125 0x00000000 in ?? ()
#126 0xbffffa00 in ?? ()
#127 0xbffff968 in ?? ()
#128 0x4122dd13 in operator delete () from /usr/lib/libstdc++.so.5
Comment 1 Michael Goffioul 2004-08-26 08:37:49 UTC
Is it normal that the first 3 frames are missing in your backtrace? Maybe you can try by starting kprinter in gdb (gdb $KDEDIR/bin/kprinter).
Comment 2 Cristian Tibirna 2005-08-22 17:26:06 UTC
UNCONFIRMED (batch reassigning messed this)
Comment 3 Philip Rodrigues 2006-09-20 13:42:02 UTC
Aaron, Does this problem still occur for you with KDE 3.5?
Comment 4 Philip Rodrigues 2006-11-18 15:09:51 UTC
Assuming it doesn't still occur, then. But please reopen if the problem is still present.