Bug 108622

Summary: crash in KPGeneralPage::setOptions()
Product: [Unmaintained] kdeprint Reporter: James Johnson <jjohnson1964>
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: CLOSED DUPLICATE    
Severity: crash CC: faure, jlayt, jos.delbar
Priority: NOR    
Version: 3.4.1   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: epson_c80.ppd
HPDeskJet895Cxi.ppd

Description James Johnson 2005-07-06 04:15:43 UTC
Version:           1.4 (using KDE KDE 3.4.1)
Installed from:    Slackware Packages
OS:                Linux

I would like to print a US #10 size envelope with Kword 1.4 (KDE 3.4.1).  Unfortunately, there are just two envelope templates C6 and DL, so I select DL.  Then I change the page layout to US Common 10 (9.49" x 4.13").  However when I go to print the page, and select properties for my printer (EPSON C80 on USB port using CUPS driver) I get SIGSEGV crash.

If you are interested here is the crash handler's backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 6274)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x40edc252 in QGListIterator::QGListIterator ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#6  0x41841f4c in DrListOption::findChoice ()
   from /opt/kde/lib/libkdeprint.so.4
#7  0x4186e580 in KPGeneralPage::setOptions ()
   from /opt/kde/lib/libkdeprint.so.4
#8  0x418694c1 in KPrinterPropertyDialog::slotCurrentChanged ()
   from /opt/kde/lib/libkdeprint.so.4
#9  0x41869f8d in KPrinterPropertyDialog::qt_invoke ()
   from /opt/kde/lib/libkdeprint.so.4
#10 0x40c211ec in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#11 0x40f5faea in QTabWidget::currentChanged ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#12 0x40d4d0b3 in QTabWidget::showTab () from /usr/lib/qt/lib/libqt-mt.so.3
#13 0x40f5fc00 in QTabWidget::qt_invoke () from /usr/lib/qt/lib/libqt-mt.so.3
#14 0x40c211ec in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#15 0x40c2134d in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#16 0x40f5f3e2 in QTabBar::selected () from /usr/lib/qt/lib/libqt-mt.so.3
#17 0x40d497f5 in QTabBar::show () from /usr/lib/qt/lib/libqt-mt.so.3
#18 0x40c56a4d in QWidget::showChildren () from /usr/lib/qt/lib/libqt-mt.so.3
#19 0x40c56507 in QWidget::show () from /usr/lib/qt/lib/libqt-mt.so.3
#20 0x40c56a4d in QWidget::showChildren () from /usr/lib/qt/lib/libqt-mt.so.3
#21 0x40c56507 in QWidget::show () from /usr/lib/qt/lib/libqt-mt.so.3
#22 0x40dac48c in QDialog::show () from /usr/lib/qt/lib/libqt-mt.so.3
#23 0x40dabccc in QDialog::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#24 0x41869ce4 in KPrinterPropertyDialog::setupPrinter ()
   from /opt/kde/lib/libkdeprint.so.4
#25 0x41853b40 in KPrintDialog::slotProperties ()
   from /opt/kde/lib/libkdeprint.so.4
#26 0x418566bd in KPrintDialog::qt_invoke ()
   from /opt/kde/lib/libkdeprint.so.4
#27 0x40c211ec in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#28 0x40c21014 in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#29 0x40f4b36e in QButton::clicked () from /usr/lib/qt/lib/libqt-mt.so.3
#30 0x40cb3a74 in QButton::mouseReleaseEvent ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#31 0x40c575e7 in QWidget::event () from /usr/lib/qt/lib/libqt-mt.so.3
#32 0x40bc494f in QApplication::internalNotify ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#33 0x40bc4044 in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
#34 0x4074b585 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#35 0x40b5a290 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#36 0x40b57f1e in QApplication::x11ProcessEvent ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#37 0x40b6ee44 in QEventLoop::processEvents ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#38 0x40bd6d08 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
#39 0x40bc4c01 in QApplication::enter_loop ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#40 0x40dabce0 in QDialog::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#41 0x41857cf6 in KPrinter::setup () from /opt/kde/lib/libkdeprint.so.4
#42 0x41761609 in KoMainWindow::print () from /opt/kde/lib/libkofficecore.so.2
#43 0x41761735 in KoMainWindow::slotFilePrint ()
   from /opt/kde/lib/libkofficecore.so.2
#44 0x41764cd7 in KoMainWindow::qt_invoke ()
   from /opt/kde/lib/libkofficecore.so.2
#45 0x40c211ec in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#46 0x40c21014 in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#47 0x404bfebb in KAction::activated () from /opt/kde/lib/libkdeui.so.4
#48 0x404bf62a in KAction::slotActivated () from /opt/kde/lib/libkdeui.so.4
#49 0x404bf8ee in KAction::slotButtonClicked ()
   from /opt/kde/lib/libkdeui.so.4
#50 0x404c01d1 in KAction::qt_invoke () from /opt/kde/lib/libkdeui.so.4
#51 0x40c211ec in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#52 0x4057dec5 in KToolBarButton::buttonClicked ()
   from /opt/kde/lib/libkdeui.so.4
#53 0x4057c6ba in KToolBarButton::mouseReleaseEvent ()
   from /opt/kde/lib/libkdeui.so.4
#54 0x40c575e7 in QWidget::event () from /usr/lib/qt/lib/libqt-mt.so.3
#55 0x40bc494f in QApplication::internalNotify ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#56 0x40bc4044 in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
#57 0x4074b585 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#58 0x40b5a290 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#59 0x40b57f1e in QApplication::x11ProcessEvent ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#60 0x40b6ee44 in QEventLoop::processEvents ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#61 0x40bd6d08 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
#62 0x40bd6bb8 in QEventLoop::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#63 0x40bc4ba1 in QApplication::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#64 0x409222c8 in kdemain () from /opt/kde/lib/libkdeinit_kword.so
#65 0x4091f816 in kdeinitmain () from /opt/kde/lib/kde3/kword.so
#66 0x0804cd92 in ?? ()
#67 0x00000001 in ?? ()
#68 0x080cfd58 in ?? ()
#69 0x00000001 in ?? ()
#70 0x00000000 in ?? ()
#71 0x00000000 in ?? ()
#72 0x0000002b in ?? ()
#73 0x00001f80 in ?? ()
#74 0x00000000 in ?? ()
#75 0x00000000 in ?? ()
#76 0x00000000 in ?? ()
#77 0x01000000 in ?? ()
#78 0x00000000 in ?? ()
#79 0x00000000 in ?? ()
#80 0x00000000 in ?? ()
#81 0x00000000 in ?? ()
#82 0x00000000 in ?? ()
#83 0x00000000 in ?? ()
#84 0x00000000 in ?? ()
#85 0x00000000 in ?? ()
#86 0x00000000 in ?? ()
#87 0x00000000 in ?? ()
#88 0x00000000 in ?? ()
#89 0x00000000 in ?? ()
#90 0x00000000 in ?? ()
#91 0x080d08e0 in ?? ()
#92 0x00000000 in ?? ()
#93 0x00000000 in ?? ()
#94 0x00000000 in ?? ()
#95 0x00000000 in ?? ()
#96 0x00000000 in ?? ()
#97 0x00000000 in ?? ()
#98 0x00000000 in ?? ()
#99 0x41062cc0 in vtable for QGArray () from /usr/lib/qt/lib/libqt-mt.so.3
#100 0x00000000 in ?? ()
#101 0x00004002 in ?? ()
#102 0x00000000 in ?? ()
#103 0x00000000 in ?? ()
#104 0xe0000000 in ?? ()
#105 0x00004002 in ?? ()
#106 0x4137fff4 in ?? () from /lib/libpthread.so.0
#107 0x415d79c0 in __libc_tsd_MALLOC_data () from /lib/libc.so.6
#108 0x0805ad88 in ?? ()
#109 0xbffff5f8 in ?? ()
#110 0x41378bfa in pthread_mutex_unlock () from /lib/libpthread.so.0
#111 0x0804e2bb in ?? ()
#112 0x00000001 in ?? ()
#113 0x080d0afc in ?? ()
#114 0x080d0b02 in ?? ()
#115 0x00000000 in ?? ()
#116 0x00000001 in ?? ()
#117 0x080d0b13 in ?? ()
#118 0x00000000 in ?? ()
#119 0x00000000 in ?? ()
#120 0x00000000 in ?? ()
#121 0x080d0b17 in ?? ()
#122 0x00000000 in ?? ()
#123 0x00000000 in ?? ()
#124 0x00000000 in ?? ()
#125 0x080d0b17 in ?? ()
#126 0x00000000 in ?? ()
#127 0x00000000 in ?? ()
#128 0x080d0b06 in ?? ()
#129 0x00000001 in ?? ()
#130 0x00000000 in ?? ()
#131 0x080d0b02 in ?? ()
#132 0x080d0afc in ?? ()
#133 0x00000001 in ?? ()
#134 0x080d0af8 in ?? ()
#135 0x00001856 in ?? ()
#136 0x00000004 in ?? ()
#137 0x00000004 in ?? ()
#138 0x0000000a in ?? ()
#139 0x0000004c in ?? ()
#140 0x080525d8 in vtable for QCString ()
#141 0x0805ad88 in ?? ()
#142 0x00000000 in ?? ()
#143 0x00000000 in ?? ()
#144 0x080525d8 in vtable for QCString ()
#145 0x0805ad78 in ?? ()
#146 0x00000000 in ?? ()
#147 0x4137affb in thread_self () from /lib/libpthread.so.0
#148 0x0804e7de in ?? ()
#149 0x00000008 in ?? ()
#150 0xbffff970 in ?? ()
#151 0xbffff8f0 in ?? ()
#152 0xbffff870 in ?? ()
#153 0x00000000 in ?? ()
#154 0xbffff830 in ?? ()
#155 0xffffffff in ?? ()
#156 0x4146a47d in operator delete () from /usr/lib/./libstdc++.so.5
#157 0x0804f84d in ?? ()
#158 0x00000000 in ?? ()
#159 0xbffffa6e in ?? ()
#160 0x00000001 in ?? ()
#161 0x00000000 in ?? ()
#162 0x00000000 in ?? ()
#163 0x00000000 in ?? ()
#164 0x00000000 in ?? ()
#165 0x00000000 in ?? ()
#166 0x00000000 in ?? ()
#167 0x08050637 in _IO_stdin_used ()
#168 0xbffffb04 in ?? ()
#169 0xbffffa48 in ?? ()
#170 0x414ec2c4 in __cxa_atexit_internal () from /lib/libc.so.6
#171 0x414d644b in __libc_start_main () from /lib/libc.so.6
#172 0x0804b731 in ?? ()
Comment 1 Cristian Tibirna 2005-07-07 06:25:47 UTC
Hmm... I can't reproduce with the drivers I have installed here. All things seem to work properly. All I can see in the code based on the backtrace is a possible improper initialization of an internal paper formats list. But this shouldn't happen.

Can you print anything at all with that printer?

Could you send me the PPD you're using with your printer? (it's in some file in /etc/cups/ppd, or something similar depending on how is this done in Slackware). If yes, send it to my e-mail, please.

Thanks.
Comment 2 James Johnson 2005-07-08 03:34:19 UTC
Yes, I can print to my printer.  But after setting Page Format = "US Common 
10", then when I click on "Properties" on Printer display (I want to make 
sure the printer Page Size is set to Commercial 10) it crashes.  Why do I 
want to check properties?  Because my printout always seems to be set to A4 
or perhaps US Letter, even when I change the Page Layout.  Anyway, here is 
my .ppd file (attached).

James

On Thursday 07 July 2005 00:25, Cristian Tibirna wrote:
[bugs.kde.org quoted mail]


Created an attachment (id=11715)
epson_c80.ppd
Comment 3 Jos Delbar 2005-08-04 14:51:45 UTC
I can confirm this bug using KDE 3.4.2 on Gentoo Linux.

Often, but not every time, when choosing printer properties from the Print... dialog or printer settings from the Print Manager Instances tab, the host process (e.g. kedit, konqueror, the printers kcmshell module, ...) crashes with SIGSEGV. My backtrace is identical to the bug reporter's.

Removing and reinstalling the printer using the Print Manager might help for a short period of time, but the problem has always returned.

This is the portion of the CUPS access log leading up to the crash:

localhost - - [04/Aug/2005:14:30:00 +0200] "POST /printers/ HTTP/1.1" 200 112
localhost - - [04/Aug/2005:14:30:00 +0200] "POST /printers/ HTTP/1.1" 200 224
localhost - - [04/Aug/2005:14:30:00 +0200] "POST /classes/ HTTP/1.1" 200 224
localhost - - [04/Aug/2005:14:30:00 +0200] "POST /printers/ HTTP/1.1" 200 112
localhost - - [04/Aug/2005:14:30:00 +0200] "POST /printers/ HTTP/1.1" 200 376
localhost - - [04/Aug/2005:14:30:01 +0200] "POST / HTTP/1.1" 200 210
localhost - - [04/Aug/2005:14:30:01 +0200] "GET /ppd/HPDeskJet895Cxi.ppd HTTP/1.1" 200 17362

I will attach my PPD file as well.
Comment 4 Jos Delbar 2005-08-04 14:52:47 UTC
Created attachment 12078 [details]
HPDeskJet895Cxi.ppd
Comment 5 Cristian Tibirna 2005-08-22 21:55:09 UTC
UNCONFIRMED (batch reassigning messed this)
Comment 6 Cristian Tibirna 2005-08-24 20:50:59 UTC
James Johnson and Jos Delbar, please indicate what compilers were used for compiling KDE(libs and base) and Qt. Thank you.

*** This bug has been marked as a duplicate of 105438 ***
Comment 7 Jos Delbar 2005-08-28 15:51:54 UTC
KDE 3.4.2 and Qt 3.4.4 was compiled using gcc 3.4.4.
Comment 8 John Layt 2008-12-31 18:52:06 UTC
Closing old Resolved status bug.