Version: (using KDE KDE 3.4.2) Installed from: Gentoo Packages Compiler: gcc 3.3.5 OS: Linux I have a local cupsd running, which has a remote cups printer configured. kdeprint is configured to use the local cups server. However, if the network of the remote printer is unreachable, kdeprint hangs. I left it running for about 30min, no timeout! Print dialogs work, until I e.g. try to create a preview of a printing using the unreachable printer. I found several similar bugs, but all were pre-qt-3.3 problems or have been fixed in kde 3.3 already. gdb, kcmshell printmgr, ctrl-c, bt: (gdb) backtrace #0 0xffffe410 in __kernel_vsyscall () #1 0x488bb801 in connect () from /lib/tls/libpthread.so.0 #2 0xb7c800fc in httpReconnect () from /usr/lib/libcups.so.2 #3 0xb7c7ff0e in httpConnectEncrypt () from /usr/lib/libcups.so.2 #4 0xb7c8ee42 in cupsGetPPD2 () from /usr/lib/libcups.so.2 #5 0xb7c8e964 in cupsGetPPD () from /usr/lib/libcups.so.2 #6 0xb7cc3633 in downloadDriver () from /usr/kde/3.4/lib/kde3/kdeprint_cups.so #7 0xb7cbd694 in KMCupsManager::completePrinter () from /usr/kde/3.4/lib/kde3/kdeprint_cups.so #8 0x499df134 in KMMainView::slotPrinterSelected () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #9 0x499e2536 in KMMainView::qt_invoke () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #10 0x48ea392c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #11 0x48ea3dcd in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #12 0x499e38a4 in KMPrinterView::printerSelected () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #13 0x499e3ac9 in KMPrinterView::qt_emit () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #14 0x48ea38db in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #15 0x48ea3dcd in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #16 0x499d8485 in KMIconView::printerSelected () from /usr/kde/3.4/lib/libkdeprint_management.so.4 ---Type <return> to continue, or q <return> to quit--- #17 0x499d805d in KMIconView::slotSelectionChanged () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #18 0x499d852b in KMIconView::qt_invoke () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #19 0x48ea392c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #20 0x48ea3754 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #21 0x4921144b in QIconView::selectionChanged () from /usr/qt/3/lib/libqt-mt.so.3 #22 0x49062dc6 in QIconViewItem::setSelected () from /usr/qt/3/lib/libqt-mt.so.3 #23 0x4906785e in QIconView::setSelected () from /usr/qt/3/lib/libqt-mt.so.3 #24 0x499d81cc in KMIconView::setPrinter () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #25 0x499d8214 in KMIconView::setPrinter () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #26 0x499e3545 in KMPrinterView::setPrinter () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #27 0x499deac0 in KMMainView::slotTimer () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #28 0x499e2403 in KMMainView::qt_invoke () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #29 0x48ea38a6 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #30 0x48ea3754 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 ---Type <return> to continue, or q <return> to quit--- #31 0x491e81eb in QTimer::timeout () from /usr/qt/3/lib/libqt-mt.so.3 #32 0x499f5fb8 in KMTimer::releaseTimer () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #33 0x499f5f57 in KMTimer::release () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #34 0x499e1d58 in KMMainView::slotUpdatePossible () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #35 0x499e25ca in KMMainView::qt_invoke () from /usr/kde/3.4/lib/libkdeprint_management.so.4 #36 0x48ea392c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #37 0x48ea3f60 in QObject::activate_signal_bool () from /usr/qt/3/lib/libqt-mt.so.3 #38 0x4a0a092a in KMManager::updatePossible () from /usr/kde/3.4/lib/libkdeprint.so.4 #39 0x4a0a07a0 in KMManager::setUpdatePossible () from /usr/kde/3.4/lib/libkdeprint.so.4 #40 0xb7cc2eb2 in KMCupsManager::slotConnectionSuccess () from /usr/kde/3.4/lib/kde3/kdeprint_cups.so #41 0xb7cc3858 in KMCupsManager::qt_invoke () from /usr/kde/3.4/lib/kde3/kdeprint_cups.so #42 0x48ea392c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #43 0x48ea3754 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #44 0x492159ac in QSocket::connected () from /usr/qt/3/lib/libqt-mt.so.3 ---Type <return> to continue, or q <return> to quit--- #45 0x490a121c in QSocket::tryConnection () from /usr/qt/3/lib/libqt-mt.so.3 #46 0x490a118c in QSocket::sn_write () from /usr/qt/3/lib/libqt-mt.so.3 #47 0x49215b9b in QSocket::qt_invoke () from /usr/qt/3/lib/libqt-mt.so.3 #48 0x48ea392c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #49 0x48ea3a8d in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #50 0x491e6e22 in QSocketNotifier::activated () from /usr/qt/3/lib/libqt-mt.so.3 #51 0x48ec0220 in QSocketNotifier::event () from /usr/qt/3/lib/libqt-mt.so.3 #52 0x48e46eef in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 #53 0x48e46225 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 #54 0x494bff15 in KApplication::notify () from /usr/kde/3.4/lib/libkdecore.so.4 #55 0x48e3663a in QEventLoop::activateSocketNotifiers () from /usr/qt/3/lib/libqt-mt.so.3 #56 0x48df025d in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3 #57 0x48e59398 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 #58 0x48e471a1 in QApplication::enter_loop () from /usr/qt/3/lib/libqt-mt.so.3 #59 0x4902ec40 in QDialog::exec () from /usr/qt/3/lib/libqt-mt.so.3 #60 0x48aee4a5 in kdemain () from /usr/kde/3.4/lib/libkdeinit_kcmshell.so #61 0x0804872b in ?? () #62 0x00000002 in ?? () #63 0xbfb6f114 in ?? () #64 0xbfb6f0e8 in ?? () ---Type <return> to continue, or q <return> to quit--- #65 0x4868f0d2 in __libc_start_main () from /lib/tls/libc.so.6 #66 0x4868f0d2 in __libc_start_main () from /lib/tls/libc.so.6 #67 0x08048661 in ?? () QT version: 3.3.4
To be exact, the CUPS library call hangs. Something that will probably be difficult to avoid... Michael.
Hm, if it is a cups bug, mark it as invalid. Otherwise, kdeprint shouldn't hang :-/
Btw, I use cups 1.1.23, are you able to reproduce it?
Not able to reproduce it. Kevin, does this still happen to you when you use KDE 3.5.5? (Feel free to re-open this bug if this is the case).
Closing old Resolved status bug.