Bug 57388 - sig 11 SIGSEGV crash working with printing
Summary: sig 11 SIGSEGV crash working with printing
Status: CLOSED DUPLICATE of bug 58133
Alias: None
Product: kdeprint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Michael Goffioul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-17 18:57 UTC by Brian Wiese
Modified: 2008-12-31 12:59 UTC (History)
2 users (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 Brian Wiese 2003-04-17 18:57:11 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Debian stable Packages

When using kedit, kwrite, kate and clicking on the File->Print option or even browsing kcontrol printers section and clicking on one of the printers... within about 2 seconds the application crashes with a SIGSEGV signal 11.  So basically, I can't print... but I can with qtcups and open office.

I am running Debian stable with KDE 3.1.1 from the kde apt source.
deb http://download.kde.org/stable/3.1.1/Debian stable main

Here is the kcontrol backtrace:

(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)...[New Thread 16384 (LWP 11875)]

(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)...
0x40ebfb89 in wait4 () from /lib/libc.so.6
#0  0x40ebfb89 in wait4 () from /lib/libc.so.6
#1  0x40f33000 in sys_sigabbrev () from /lib/libc.so.6
#2  0x40d4d061 in waitpid () from /lib/libpthread.so.0
#3  0x40552aaa in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#4  0x40e4c9d8 in sigaction () from /lib/libc.so.6
#5  0x40577f7c in KDCOPPropertyProxy::decodePropertyRequestInternal ()
   from /usr/lib/libkdecore.so.4
#6  0x405787fc in KExtendedSocket::KExtendedSocket ()
   from /usr/lib/libkdecore.so.4
#7  0x41989e9c in KMCupsManager::completePrinterShort ()
   from /usr/lib/kde3/kdeprint_cups.so
#8  0x41989878 in KMCupsManager::completePrinter ()
   from /usr/lib/kde3/kdeprint_cups.so
#9  0x41883643 in KMMainView::slotPrinterSelected ()
   from /usr/lib/libkdeprint_management.so.4
#10 0x41886a41 in KMMainView::qt_invoke ()
   from /usr/lib/libkdeprint_management.so.4
#11 0x40892ab9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0x40892d9a in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0x41887619 in KMPrinterView::printerSelected ()
   from /usr/lib/libkdeprint_management.so.4
#14 0x4188778c in KMPrinterView::qt_emit ()
   from /usr/lib/libkdeprint_management.so.4
#15 0x40892b53 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0x40892d9a in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0x4187f09f in KMIconView::printerSelected ()
   from /usr/lib/libkdeprint_management.so.4
#18 0x4187ed54 in KMIconView::slotSelectionChanged ()
   from /usr/lib/libkdeprint_management.so.4
#19 0x4187f0f1 in KMIconView::qt_invoke ()
   from /usr/lib/libkdeprint_management.so.4
#20 0x40892ab9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#21 0x408929fe in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0x40b0f868 in QIconView::selectionChanged () from /usr/lib/libqt-mt.so.3
#23 0x409e6b38 in QIconViewItem::setSelected () from /usr/lib/libqt-mt.so.3
#24 0x409ee28c in QIconView::contentsMousePressEventEx ()
   from /usr/lib/libqt-mt.so.3
#25 0x409ed7c9 in QIconView::contentsMousePressEvent ()
   from /usr/lib/libqt-mt.so.3
#26 0x403d68b5 in KIconView::slotAutoSelect () from /usr/lib/libkdeui.so.4
#27 0x40966f07 in QScrollView::viewportMousePressEvent ()
   from /usr/lib/libqt-mt.so.3
#28 0x4096688b in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#29 0x409f2bce in QIconView::eventFilter () from /usr/lib/libqt-mt.so.3
#30 0x40890b10 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#31 0x408909f1 in QObject::event () from /usr/lib/libqt-mt.so.3
#32 0x408bd375 in QWidget::event () from /usr/lib/libqt-mt.so.3
#33 0x408404da in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#34 0x4083ff8b in QApplication::notify () from /usr/lib/libqt-mt.so.3
#35 0x404f33aa in KApplication::notify () from /usr/lib/libkdecore.so.4
#36 0x407f50d4 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#37 0x407f341b in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#38 0x4080483d in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#39 0x40851dae in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#40 0x40851d0b in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#41 0x40840632 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#42 0x415104f8 in main () from /usr/lib/kcontrol.so
#43 0x0804cd8d in strcpy ()
#44 0x0804da97 in strcpy ()
#45 0x0804dee5 in strcpy ()
#46 0x0804ecb6 in strcpy ()
#47 0x40e3ba51 in __libc_start_main () from /lib/libc.so.6

Here is the kedit backtrace:

(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)...[New Thread 16384 (LWP 11870)]

(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)...
0x40ebfb89 in wait4 () from /lib/libc.so.6
#0  0x40ebfb89 in wait4 () from /lib/libc.so.6
#1  0x40f33000 in sys_sigabbrev () from /lib/libc.so.6
#2  0x40d4d061 in waitpid () from /lib/libpthread.so.0
#3  0x40552aaa in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#4  0x40e4c9d8 in sigaction () from /lib/libc.so.6
#5  0x40577f7c in KDCOPPropertyProxy::decodePropertyRequestInternal ()
   from /usr/lib/libkdecore.so.4
#6  0x405787fc in KExtendedSocket::KExtendedSocket ()
   from /usr/lib/libkdecore.so.4
#7  0x418efe9c in KMCupsManager::completePrinterShort ()
   from /usr/lib/kde3/kdeprint_cups.so
#8  0x4155a02f in KPrintDialog::slotPrinterSelected ()
   from /usr/lib/libkdeprint.so.4
#9  0x41559d00 in KPrintDialog::initialize () from /usr/lib/libkdeprint.so.4
#10 0x4155c212 in KPrintDialog::slotUpdatePossible ()
   from /usr/lib/libkdeprint.so.4
#11 0x4155c761 in KPrintDialog::qt_invoke () from /usr/lib/libkdeprint.so.4
#12 0x40892ab9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0x40892e79 in QObject::activate_signal_bool () from /usr/lib/libqt-mt.so.3
#14 0x41549da0 in KMManager::updatePossible () from /usr/lib/libkdeprint.so.4
#15 0x41549c7a in KMManager::setUpdatePossible ()
   from /usr/lib/libkdeprint.so.4
#16 0x418f6203 in KMCupsManager::slotConnectionSuccess ()
   from /usr/lib/kde3/kdeprint_cups.so
#17 0x418f6bca in KMCupsManager::qt_invoke ()
   from /usr/lib/kde3/kdeprint_cups.so
#18 0x40892ab9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0x408929fe in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0x40b13bda in QSocket::connected () from /usr/lib/libqt-mt.so.3
#21 0x40a1979a in QSocket::tryConnection () from /usr/lib/libqt-mt.so.3
#22 0x40a196e8 in QSocket::sn_write () from /usr/lib/libqt-mt.so.3
#23 0x40b13d7c in QSocket::qt_invoke () from /usr/lib/libqt-mt.so.3
#24 0x40892ab9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0x40892c34 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#26 0x40ae603b in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#27 0x408a9aec in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#28 0x408404da in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#29 0x408402e4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#30 0x404f33aa in KApplication::notify () from /usr/lib/libkdecore.so.4
#31 0x40823083 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#32 0x40804d6a in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#33 0x40851dae in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#34 0x40840692 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#35 0x409bbc01 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#36 0x4155d15e in KPrinter::setup () from /usr/lib/libkdeprint.so.4
#37 0x4150031f in TopLevel::print () from /usr/lib/kedit.so
#38 0x41502e89 in TopLevel::qt_invoke () from /usr/lib/kedit.so
#39 0x40892ab9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#40 0x408929fe in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#41 0x40368ed8 in KAction::staticMetaObject () from /usr/lib/libkdeui.so.4
#42 0x4035ed82 in KAction::addContainer () from /usr/lib/libkdeui.so.4
#43 0x403690d2 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#44 0x40892ab9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#45 0x40ae5413 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#46 0x408a82f5 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#47 0x4095b06f in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#48 0x408bd566 in QWidget::event () from /usr/lib/libqt-mt.so.3
#49 0x408404da in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#50 0x4083ff8b in QApplication::notify () from /usr/lib/libqt-mt.so.3
#51 0x404f33aa in KApplication::notify () from /usr/lib/libkdecore.so.4
#52 0x407f4daa in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#53 0x407f341b in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#54 0x4080483d in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#55 0x40851dae in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#56 0x40851d0b in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#57 0x40840632 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#58 0x41502afa in main () from /usr/lib/kedit.so
#59 0x0804cd8d in strcpy ()
#60 0x0804da97 in strcpy ()
#61 0x0804dee5 in strcpy ()
#62 0x0804ecb6 in strcpy ()
#63 0x40e3ba51 in __libc_start_main () from /lib/libc.so.6
Comment 1 Thiago Macieira 2003-04-20 23:09:14 UTC
Sorry to have been out of the loop.

I think we either need a backtrace with debugging enabled and no optimisation, 
or be able to reproduce this. According to both backtraces, frame #6 is 
KExtendedSocket::KExtendedSocket, which is:

// default constructor
KExtendedSocket::KExtendedSocket() :
  sockfd(-1), d(new KExtendedSocketPrivate)
{
}


That means that either some kind of inlined function is causing the crash, or 
that a parent constructor is or that KExtendedSocket's constructor is getting 
the blame without cause. Anyway, I can't tell.

And decodePropertyRequestInternal in kdelibs/kdecore/kdcoppropertyproxy.cpp 
doesn't "mess" with pointers, so the only possible cause is a NULL parameter 
being passed down to it, by some other function that is missing from the 
backtrace.
Comment 2 Stephan Kulow 2003-05-16 20:37:13 UTC

*** This bug has been marked as a duplicate of 58133 ***
Comment 3 John Layt 2008-12-31 12:59:05 UTC
Closing old Resolved status bug.