Totally odd kde vs print problem

Gene Heskett gene.heskett at verizon.net
Tue Jun 29 09:27:56 CEST 2004


On Tuesday 29 June 2004 02:54, Goffioul Michael wrote:
>> [root at coyote root]# gcc --version
>> gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
>
>There was a similar problem (SIGALARM signal) with code compiled
>with gcc-2.9x, but this isn't your case. At this moment, I don't
>have any idea. Can you try to start a KDE program using gdb and
>produce a backtrace? For example:
>
># gdb $KDEDIR/bin/kcmshell
># (gdb) run printmgr
>... (=> let the program crash)
># (gdb) bt
>
>As a temporary workaround, you can try to put this into your
>kdeprintrc file:
>
>[General]
>PrintSystem=lpr
>
I did the edit after restoreing those two files to the 
~/kde3.2.3/config dir, and got this for the backtrace:

gdb) run printmgr
Starting program: /root/kde3.2.3/bin/kcmshell printmgr
(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)...
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)...(no debugging symbols found)...[Thread 
debugging using libthread_db enabled]
[New Thread 1094566432 (LWP 5466)]
kio (KSycoca): Trying to open ksycoca 
from /var/tmp/kdecache-root/ksycoca
kcmshell: 
[KCModuleInfo::KCModuleInfo(KSharedPtr<KService>)] /usr/share/applications/kde-printmgr.desktop
kdeui (KCModule): KCModule kcmprintmgr
kdeprint: kdeprint: registering 0x80ceb5c, number of objects = 1
kdeprint: kdeprint: registering 0x80e015c, number of objects = 2
kdeprint: kdeprint: registering 0x8111ec0, number of objects = 3
kdeprint: kdeprint: registering 0x813f0a0, number of objects = 4
kdeprint: kdeprint: registering 0x813efc8, number of objects = 5
kdeprint: kdeprint: registering 0x817a33c, number of objects = 6
kcmshell: KMMainView::slotChangeView
kdeprint: Checking for update possible
kdeprint: Starting async connect
kdeprint: Connection success, trying to send a request...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1094566432 (LWP 5466)]
0x407c8317 in fREe () from /root/kde3.2.3/lib/libkdecore.so.4
(gdb) bt
#0  0x407c8317 in fREe () from /root/kde3.2.3/lib/libkdecore.so.4
#1  0x407c7725 in free () from /root/kde3.2.3/lib/libkdecore.so.4
#2  0x41b1de3e in httpClose () from /usr/lib/libcups.so.2
#3  0x41adc153 in IppRequest::doFileRequest(QString const&, QString 
const&) ()
   from /root/kde3.2.3/lib/kde3/kdeprint_cups.so
#4  0x41ae7431 in KMCupsManager::slotConnectionSuccess() ()
   from /root/kde3.2.3/lib/kde3/kdeprint_cups.so
#5  0x41ae8195 in KMCupsManager::qt_invoke(int, QUObject*) ()
---Type <return> to continue, or q <return> to quit---
   from /root/kde3.2.3/lib/kde3/kdeprint_cups.so
#6  0x40afadbe in QObject::activate_signal(QConnectionList*, 
QUObject*) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#7  0x40afac20 in QObject::activate_signal(int) () 
from /root/kde3.2.3/lib/libqt-mt.so.3
#8  0x40dde05e in QSocket::connected() () 
from /root/kde3.2.3/lib/libqt-mt.so.3
#9  0x40cb155e in QSocket::tryConnection() () 
from /root/kde3.2.3/lib/libqt-mt.so.3
#10 0x40cb14dd in QSocket::sn_write() () 
from /root/kde3.2.3/lib/libqt-mt.so.3
#11 0x40dde1dc in QSocket::qt_invoke(int, QUObject*) ()
---Type <return> to continue, or q <return> to quit---
   from /root/kde3.2.3/lib/libqt-mt.so.3
#12 0x40afadbe in QObject::activate_signal(QConnectionList*, 
QUObject*) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#13 0x40afaef1 in QObject::activate_signal(int, int) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#14 0x40db9c89 in QSocketNotifier::activated(int) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#15 0x40b12d54 in QSocketNotifier::event(QEvent*) ()
---Type <return> to continue, or q <return> to quit---
   from /root/kde3.2.3/lib/libqt-mt.so.3
#16 0x40aa96c9 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#17 0x40aa8d4c in QApplication::notify(QObject*, QEvent*) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#18 0x406ad1c6 in KApplication::notify(QObject*, QEvent*) ()
   from /root/kde3.2.3/lib/libkdecore.so.4
#19 0x40a9aa74 in QEventLoop::activateSocketNotifiers() ()
---Type <return> to continue, or q <return> to quit---
   from /root/kde3.2.3/lib/libqt-mt.so.3
#20 0x40a5ce4c in QEventLoop::processEvents(unsigned) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#21 0x40aba52d in QEventLoop::processEvents(unsigned, int) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#22 0x40aa9816 in QApplication::processEvents(int) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#23 0x40aa97e8 in QApplication::processEvents() () 
from /root/kde3.2.3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
#24 0x41939fd2 in MessageWindow::slotTimer() () 
from /root/kde3.2.3/lib/libkdeprint.so.4
#25 0x4193a44d in MessageWindow::qt_invoke(int, QUObject*) ()
   from /root/kde3.2.3/lib/libkdeprint.so.4
#26 0x40afadbe in QObject::activate_signal(QConnectionList*, 
QUObject*) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#27 0x40db9266 in QSignal::signal(QVariant const&) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#28 0x40b10ea1 in QSignal::activate() () 
from /root/kde3.2.3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
#29 0x40b1754b in QSingleShotTimer::event(QEvent*) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#30 0x40aa96c9 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#31 0x40aa8d4c in QApplication::notify(QObject*, QEvent*) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#32 0x406ad1c6 in KApplication::notify(QObject*, QEvent*) ()
   from /root/kde3.2.3/lib/libkdecore.so.4
---Type <return> to continue, or q <return> to quit---
#33 0x40a9a8ac in QEventLoop::activateTimers() () 
from /root/kde3.2.3/lib/libqt-mt.so.3
#34 0x40a5ce98 in QEventLoop::processEvents(unsigned) ()
   from /root/kde3.2.3/lib/libqt-mt.so.3
#35 0x40aba49f in QEventLoop::enterLoop() () 
from /root/kde3.2.3/lib/libqt-mt.so.3
#36 0x40aa991c in QApplication::enter_loop() () 
from /root/kde3.2.3/lib/libqt-mt.so.3
#37 0x40c4ff04 in QDialog::exec() () 
from /root/kde3.2.3/lib/libqt-mt.so.3
#38 0x40029291 in kdemain () 
from /root/kde3.2.3/lib/libkdeinit_kcmshell.so
#39 0x0804864b in main ()
(gdb)

Which means nothing to me this time of the morning, its too late here.
But, I do still have the half drawn window, which may go away when I 
quit gdb. Umm no, I'd clicked on the exit button, and now I had an 
advisory that it wasn't responding, should I kill it or something 
similar, and when I clicked yes it did clean up the screen.


>Michael.
>_______________________________________________
>kde-print mailing list
>kde-print at kde.org
>https://mail.kde.org/mailman/listinfo/kde-print

-- 
Cheers, Gene
There are 4 boxes to be used in defense of liberty. 
Soap, ballot, jury, and ammo.
Please use in that order, starting now.  -Ed Howdershelt, Author
Additions to this message made by Gene Heskett are Copyright 2004, 
Maurice E. Heskett, all rights reserved.


More information about the kde-print mailing list