Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18775 - CUPS crashes several editors as soon as "print" is selected
Summary: CUPS crashes several editors as soon as "print" is selected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-04 19:50 UTC by Rick Jenkins
Modified: 2003-07-15 08:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Jenkins 2003-04-04 19:50:31 UTC
Using Kwrite, Kate, or Kedit, CUPS causes a signal 11 crash a few seconds after
the "print" menu item is selected. The CUPS system was working well before a
recent update, see attached log fragment. Also attached is a backtrace of a
crash in Kwrite.

Reproducible: Always
Steps to Reproduce:
1. Start an editor: Kedit, Kate, or Kwrite
2. Optionally, load a file. It makes no difference.
3. Select File->print
4. Wait a second or two. The editor crashes with signal 11.




emerge info produces:

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="ftp://ftp.oregonstate.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu
http://distro.ibiblio.org/gentoo "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="tetex java guile esd imlib scanner x86 oss 3dfx 3dnow acpi alsa apm arts
avi berkdb cdr crypt cups encode gdbm gif gpm gtk imlibjava jpeg kde -gnome
libg++ libwww mikmod mmx motif mpeg mozilla ncurses nls oggvorbis opengl pam
perl pdflib png python qt qtmt quicktime readline sdl slang spell sse ssl svga
tcltk tcpd truetype usb X xml2 xmms xv zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CXXFLAGS="-march=athlon -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage/"
FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox noclean noauto cvs
keeptemp keepwork"

**************************************************************************

Emerge log of a recent update, prior to which CUPS worked:

1049044531: Started emerge on: Mar 30, 2003 10:15:31
1049044531:  *** emerge --buildpkg sync
1049044531:  === rsync
1049044695: Started emerge on: Mar 30, 2003 10:18:15
1049044695:  *** emerge --update --buildpkg system
1049044696:  >>> emerge (1 of 9) sys-libs/glibc-2.3.1-r4 to /
1049047343:  >>> AUTOCLEAN: sys-libs/glibc
1049047352:  >>> unmerge success: sys-libs/glibc-2.3.1-r2
1049047352:  ::: completed emerge (1 of 9) sys-libs/glibc-2.3.1-r4 to /
1049047352:  >>> emerge (2 of 9) sys-apps/modutils-2.4.24 to /
1049047405:  >>> AUTOCLEAN: sys-apps/modutils
1049047411:  >>> unmerge success: sys-apps/modutils-2.4.22
1049047411:  ::: completed emerge (2 of 9) sys-apps/modutils-2.4.24 to /
1049047411:  >>> emerge (3 of 9) dev-lang/perl-5.8.0-r10 to /
1049048674:  >>> AUTOCLEAN: dev-lang/perl
1049048708:  >>> unmerge success: dev-lang/perl-5.8.0-r9
1049048708:  ::: completed emerge (3 of 9) dev-lang/perl-5.8.0-r10 to /
1049048708:  >>> emerge (4 of 9) sys-apps/debianutils-1.16.7 to /
1049048717:  >>> AUTOCLEAN: sys-apps/debianutils
1049048722:  >>> unmerge success: sys-apps/debianutils-1.16.3
1049048722:  ::: completed emerge (4 of 9) sys-apps/debianutils-1.16.7 to /
1049048722:  >>> emerge (5 of 9) sys-apps/man-pages-1.56 to /
1049048752:  >>> AUTOCLEAN: sys-apps/man-pages
1049048758:  >>> unmerge success: sys-apps/man-pages-1.54
1049048758:  ::: completed emerge (5 of 9) sys-apps/man-pages-1.56 to /
1049048758:  >>> emerge (6 of 9) sys-apps/sed-4.0.6 to /
1049048815:  >>> AUTOCLEAN: sys-apps/sed
1049048821:  >>> unmerge success: sys-apps/sed-4.0.5
1049048821:  ::: completed emerge (6 of 9) sys-apps/sed-4.0.6 to /
1049048821:  >>> emerge (7 of 9) sys-apps/pam-login-3.10 to /
1049048844:  >>> AUTOCLEAN: sys-apps/pam-login
1049048849:  >>> unmerge success: sys-apps/pam-login-3.7
1049048849:  ::: completed emerge (7 of 9) sys-apps/pam-login-3.10 to /
1049048849:  >>> emerge (8 of 9) sys-libs/zlib-1.1.4-r1 to /
1049048861:  >>> AUTOCLEAN: sys-libs/zlib
1049048866:  >>> unmerge success: sys-libs/zlib-1.1.4
1049048866:  ::: completed emerge (8 of 9) sys-libs/zlib-1.1.4-r1 to /
1049048866:  >>> emerge (9 of 9) sys-apps/devfsd-1.3.25-r3 to /
1049048873:  >>> AUTOCLEAN: sys-apps/devfsd
1049048879:  >>> unmerge success: sys-apps/devfsd-1.3.25
1049048879:  ::: completed emerge (9 of 9) sys-apps/devfsd-1.3.25-r3 to /
1049048885:  *** exiting successfully.
1049134869: Started emerge on: Mar 31, 2003 11:21:09
1049134869:  *** emerge --buildpkg net-misc/nforce-net
1049134869:  >>> emerge (1 of 1) net-misc/nforce-net-1.0.0248-r2 to /
1049135191: Started emerge on: Mar 31, 2003 11:26:31
1049135191:  *** emerge --buildpkg net-misc/nforce-net
1049135191:  >>> emerge (1 of 1) net-misc/nforce-net-1.0.0248-r2 to /
1049135558: Started emerge on: Mar 31, 2003 11:32:38
1049135558:  *** emerge --buildpkg vanilla-sources
1049135558:  >>> emerge (1 of 1) sys-kernel/vanilla-sources-2.4.20 to /
1049136203:  >>> AUTOCLEAN: sys-kernel/vanilla-sources
1049136203:  --- AUTOCLEAN: Nothing unmerged.
1049136203:  ::: completed emerge (1 of 1) sys-kernel/vanilla-sources-2.4.20 to /
1049136211:  *** exiting successfully.
1049136953: Started emerge on: Mar 31, 2003 11:55:53
1049136953:  *** emerge --buildpkg net-misc/nforce-net
1049136953:  >>> emerge (1 of 1) net-misc/nforce-net-1.0.0248-r2 to /
1049136957:  >>> AUTOCLEAN: net-misc/nforce-net
1049136957:  --- AUTOCLEAN: Nothing unmerged.
1049136957:  ::: completed emerge (1 of 1) net-misc/nforce-net-1.0.0248-r2 to /
1049136960:  *** exiting successfully.
1049312225: Started emerge on: Apr 02, 2003 12:37:05
1049312225:  *** emerge --buildpkg dos2unix
1049312225:  >>> emerge (1 of 1) app-text/dos2unix-3.1 to /
1049312232:  >>> AUTOCLEAN: app-text/dos2unix
1049312232:  --- AUTOCLEAN: Nothing unmerged.
1049312232:  ::: completed emerge (1 of 1) app-text/dos2unix-3.1 to /
1049312236:  *** exiting successfully.

*****************************************************************************

Backtrace of a crash in Kwrite:

(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 7628)]

(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)...
0x411b2ad9 in wait4 () from /lib/libc.so.6
#0  0x411b2ad9 in wait4 () from /lib/libc.so.6
#1  0x4122e20c in __DTOR_END__ () from /lib/libc.so.6
#2  0x40fab8f3 in waitpid () from /lib/libpthread.so.0
#3  0x406bfd5e in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.1/lib/libkdecore.so.4
#4  <signal handler called>
#5  0x406fdc59 in KExtendedSocketLookup::freeresults(kde_addrinfo*) ()
   from /usr/kde/3.1/lib/libkdecore.so.4
#6  0x406fe838 in KExtendedSocket::~KExtendedSocket() ()
   from /usr/kde/3.1/lib/libkdecore.so.4
#7  0x41e329e0 in KMCupsManager::completePrinterShort(KMPrinter*) ()
   from /usr/kde/3.1/lib/kde3/kdeprint_cups.so
#8  0x41bbd763 in KPrintDialog::slotPrinterSelected(int) ()
   from /usr/kde/3.1/lib/libkdeprint.so.4
#9  0x41bbca32 in KPrintDialog::initialize(KPrinter*) ()
   from /usr/kde/3.1/lib/libkdeprint.so.4
#10 0x41bbfd44 in KPrintDialog::slotUpdatePossible(bool) ()
   from /usr/kde/3.1/lib/libkdeprint.so.4
#11 0x41bc0528 in KPrintDialog::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.1/lib/libkdeprint.so.4
#12 0x40a56f99 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#13 0x40a5735d in QObject::activate_signal_bool(int, bool) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#14 0x41b9e7a1 in KMManager::setUpdatePossible(bool) ()
   from /usr/kde/3.1/lib/libkdeprint.so.4
#15 0x41e39f76 in KMCupsManager::slotConnectionSuccess() ()
   from /usr/kde/3.1/lib/kde3/kdeprint_cups.so
#16 0x41e3aae6 in KMCupsManager::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.1/lib/kde3/kdeprint_cups.so
#17 0x40a56f99 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#18 0x40a56e3d in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#19 0x40d671fc in QSocket::connected() () from /usr/qt/3/lib/libqt-mt.so.3
#20 0x40c2742f in QSocket::tryConnection() () from /usr/qt/3/lib/libqt-mt.so.3
#21 0x40c2739c in QSocket::sn_write() () from /usr/qt/3/lib/libqt-mt.so.3
#22 0x40d673db in QSocket::qt_invoke(int, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#23 0x40a56f99 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#24 0x40a57075 in QObject::activate_signal(int, int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#25 0x40d37602 in QSocketNotifier::activated(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#26 0x40a73430 in QSocketNotifier::event(QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#27 0x409f93c6 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#28 0x409f8986 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#29 0x406326c9 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/3.1/lib/libkdecore.so.4
#30 0x409d4c8a in QEventLoop::activateSocketNotifiers() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#31 0x409b25b7 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#32 0x40a0d026 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#33 0x409f9671 in QApplication::enter_loop() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#34 0x40bbabf1 in QDialog::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#35 0x41bc1f5d in KPrinter::setup(QWidget*, QString const&, bool) ()
   from /usr/kde/3.1/lib/libkdeprint.so.4
#36 0x41ac30d2 in KateDocument::printDialog() ()
   from /usr/kde/3.1/lib/kde3/libkatepart.so
#37 0x41ac7ab4 in KateDocument::print() ()
   from /usr/kde/3.1/lib/kde3/libkatepart.so
#38 0x41ab9423 in KateDocument::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.1/lib/kde3/libkatepart.so
#39 0x40a56f99 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#40 0x40a56e3d in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#41 0x4041986b in KAction::slotActivated() ()
   from /usr/kde/3.1/lib/libkdeui.so.4
#42 0x4042ad22 in KAction::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.1/lib/libkdeui.so.4
#43 0x40a56f99 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#44 0x40d36652 in QSignal::signal(QVariant const&) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#45 0x40a710d8 in QSignal::activate() () from /usr/qt/3/lib/libqt-mt.so.3
#46 0x40b4361d in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#47 0x40a8affc in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#48 0x409f93c6 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#49 0x409f89d3 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#50 0x406326c9 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/3.1/lib/libkdecore.so.4
#51 0x4099f62d in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#52 0x4099d473 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#53 0x409b28ba in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#54 0x40a0d026 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#55 0x40a0cec8 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#56 0x409f9611 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#57 0x418b61c8 in main () from /usr/kde/3.1/lib/kwrite.so
#58 0x0804d177 in strcpy ()
#59 0x0804eae4 in strcpy ()
#60 0x0804dd2c in strcpy ()
#61 0x0804bf09 in strcpy ()
#62 0x4111ddb4 in __libc_start_main () from /lib/libc.so.6
Comment 1 Marko Daniel 2003-04-06 10:02:39 UTC
I can confirm this error. Anything that calls kprinter when using cups as the printing system causes this error on my system. Have googled around for it and found the following discussion in German:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&th=e80c2186395c0df8&rnum=1

with a link to the bug report at kde:

http://bugs.kde.org/show_bug.cgi?id=56263

Comment 2 Rick Jenkins 2003-06-04 15:15:37 UTC
The KDE guys have fixed this, after my last update CUPS works perfectly.
Comment 3 Thomas Raschbacher gentoo-dev 2003-06-19 04:02:17 UTC
will have a look .. sorry for the delay there was a problem with the mail alias so i didn't get the Bugzilla mails
Comment 4 Rick Jenkins 2003-06-19 08:21:32 UTC
Your delay was the best possible move - this bug is *fixed*. It was in KDE, and they sorted it out
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-15 08:13:41 UTC
was a kde bug...