Bug 68528 - Semi-random crashes in KIconEffect::fingerPrint
Summary: Semi-random crashes in KIconEffect::fingerPrint
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 3.5
Platform: unspecified Linux
: NOR major
Target Milestone: ---
Assignee: Maksim Orlovich
URL:
Keywords:
: 68916 69306 70543 71001 71508 72702 76857 79195 79262 83566 84238 84856 86035 86451 86812 91111 91814 92548 93472 94517 95967 96408 97651 98573 98681 99323 99677 100083 100375 100851 106839 117906 124925 144835 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-18 22:08 UTC by Teemu Rytilahti
Modified: 2009-05-08 03:11 UTC (History)
33 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (1.95 KB, patch)
2005-06-20 22:10 UTC, Maksim Orlovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Teemu Rytilahti 2003-11-18 22:08:17 UTC
Version:           tuntematon (using KDE 3.1.93 (CVS >= 20031111), compiled sources)
Compiler:          gcc version 3.2.3 (Debian)
OS:          Linux (i686) release 2.6.0-test9

The page was readdir() functions, but I don't know what else should I say here..

Backtrace:
[New Thread 1099162880 (LWP 618)]
0x414d730e in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#0  0x414d730e in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#1  0x40798fad in KCrash::defaultCrashHandler(int) ()
   from /home/tpr/kdecvshead/lib/libkdecore.so.4
#2  <signal handler called>
#3  0x4075532c in KIconEffect::fingerprint(int, int) const ()
   from /home/tpr/kdecvshead/lib/libkdecore.so.4
#4  0x407688fb in KIconFactory::createPixmap(QIconSet const&, QIconSet::Size, QIconSet::Mode, QIconSet::State) () from /home/tpr/kdecvshead/lib/libkdecore.so.4
#5  0x40cb1807 in QIconSetPrivate::icon(QIconSet const*, QIconSet::Size, QIconSet::Mode, QIconSet::State) (this=0x8435040, iconSet=0xbfffe9b0, size=Small, 
    mode=Active, state=Off) at kernel/qiconset.cpp:195
#6  0x40cb201e in QIconSet::pixmap(QIconSet::Size, QIconSet::Mode, QIconSet::State) const (this=0xbfffe9b0, size=Small, mode=Active, state=Off)
    at kernel/qiconset.cpp:520
#7  0x405678f6 in KToolBarButton::drawButton(QPainter*) ()
   from /home/tpr/kdecvshead/lib/libkdeui.so.4
#8  0x40da7560 in QButton::paintEvent(QPaintEvent*) (this=0x845ab30)
    at widgets/qbutton.cpp:870
#9  0x40d39e9f in QWidget::event(QEvent*) (this=0x845ab30, e=0xbfffed10)
    at kernel/qwidget.cpp:4529
#10 0x40c8287b in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff730, receiver=0x845ab30, e=0xbfffed10)
    at kernel/qapplication.cpp:2582
#11 0x40c8248a in QApplication::notify(QObject*, QEvent*) (this=0xbffff730, 
    receiver=0x845ab30, e=0xbfffed10) at kernel/qapplication.cpp:2470
#12 0x406f249e in KApplication::notify(QObject*, QEvent*) ()
   from /home/tpr/kdecvshead/lib/libkdecore.so.4
#13 0x40c440af in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x845ab30, event=0xbfffed10) at qapplication.h:492
#14 0x40c4033f in QWidget::repaint(int, int, int, int, bool) (this=0x845ab30, 
    x=0, y=0, w=28, h=27, erase=false) at kernel/qwidget_x11.cpp:1486
#15 0x40d3bbde in QWidget::repaint(QRect const&, bool) (this=0x845ab30, 
    r=@0xbfffedb0, erase=false) at qwidget.h:813
#16 0x40d3b714 in QWidget::repaint(bool) (this=0x845ab30, erase=false)
    at kernel/qwidget.cpp:5825
#17 0x4056756f in KToolBarButton::enterEvent(QEvent*) ()
   from /home/tpr/kdecvshead/lib/libkdeui.so.4
#18 0x40d39e61 in QWidget::event(QEvent*) (this=0x845ab30, e=0xbffff070)
    at kernel/qwidget.cpp:4518
#19 0x40c8287b in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff730, receiver=0x845ab30, e=0xbffff070)
    at kernel/qapplication.cpp:2582
#20 0x40c8248a in QApplication::notify(QObject*, QEvent*) (this=0xbffff730, 
    receiver=0x845ab30, e=0xbffff070) at kernel/qapplication.cpp:2470
#21 0x406f249e in KApplication::notify(QObject*, QEvent*) ()
   from /home/tpr/kdecvshead/lib/libkdecore.so.4
#22 0x40c440af in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x845ab30, event=0xbffff070) at qapplication.h:492
#23 0x40c84924 in qt_dispatchEnterLeave(QWidget*, QWidget*) (enter=0x845ab30, 
    leave=0x82f1a70) at kernel/qapplication.cpp:3551
#24 0x40bf8154 in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff730, 
    event=0xbffff3b0) at kernel/qapplication_x11.cpp:3762
#25 0x40c15cbb in QEventLoop::processEvents(unsigned) (this=0x8132680, flags=4)
    at kernel/qeventloop_x11.cpp:192
#26 0x40c9c7da in QEventLoop::enterLoop() (this=0x8132680)
    at kernel/qeventloop.cpp:198
#27 0x40c9c6f6 in QEventLoop::exec() (this=0x8132680)
    at kernel/qeventloop.cpp:145
#28 0x40c82a4d in QApplication::exec() (this=0xbffff730)
    at kernel/qapplication.cpp:2705
#29 0x419073a1 in kdemain ()
   from /home/tpr/kdecvshead/lib/libkdeinit_konqueror.so
#30 0x409068f6 in kdeinitmain (argc=21, argv=0x15) at konqueror_dummy.cc:2
#31 0x0804cf9a in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#32 0x0804de80 in handle_launcher_request(int) ()
#33 0x0804e38c in handle_requests(int) ()
#34 0x0804f2db in main ()
Comment 1 George Staikos 2003-11-29 23:42:58 UTC
*** Bug 68916 has been marked as a duplicate of this bug. ***
Comment 2 George Staikos 2003-11-29 23:43:13 UTC
*** Bug 69306 has been marked as a duplicate of this bug. ***
Comment 3 Thiago Macieira 2003-12-22 01:53:18 UTC
*** Bug 70543 has been marked as a duplicate of this bug. ***
Comment 4 Thiago Macieira 2003-12-22 01:53:37 UTC
*** Bug 71001 has been marked as a duplicate of this bug. ***
Comment 5 Thiago Macieira 2003-12-22 01:54:07 UTC
Bug #71001 has debugging symbols and line numbers.
Comment 6 George Staikos 2003-12-30 18:31:27 UTC
*** Bug 71508 has been marked as a duplicate of this bug. ***
Comment 7 George Staikos 2003-12-30 18:32:38 UTC
This bug has been plaguing us for about a year now, maybe more.  There is something seriously wrong.
Comment 8 Dirk Mueller 2004-01-11 17:30:30 UTC
its not really konquerors fault though. 
Comment 9 Stephan Kulow 2004-01-15 21:05:33 UTC
*** Bug 72702 has been marked as a duplicate of this bug. ***
Comment 10 Stephan Kulow 2004-01-24 16:24:47 UTC
we  still have no sign how to reproduce it ;(
Comment 11 Tommi Tervo 2004-04-06 22:35:25 UTC
*** Bug 79195 has been marked as a duplicate of this bug. ***
Comment 12 Malte S. Stretz 2004-05-25 10:40:17 UTC
No idea how to reproduce it but I think I just encountered it, too. What I did was: Open Konqueror (I have a shortuct key on my keyboard for that), as soon as the window appeared, I quickly hacked "dot.kde.org" into the address bar (the completion list appeared and all, I don't know where my mouse pointer was at that time) and pressed return. Then it crashed. Maybe a race condition if something gets repainted very quickly? This is KDE_3_2_BRANCH from maybe a week ago.

My backtrace:
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 24980)]
0x412723e8 in waitpid () from /lib/libpthread.so.0
#0  0x412723e8 in waitpid () from /lib/libpthread.so.0
#1  0x4086a014 in __JCR_LIST__ () from /usr/kde/cvs/lib/libkdecore.so.4
#2  0x407b01b0 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#3  0x412711b3 in __pthread_sighandler () from /lib/libpthread.so.0
#4  <signal handler called>
#5  0x40e57c99 in QString::QString(QString const&) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#6  0x4077b54e in KIconEffect::fingerprint(int, int) const (this=0x8a24644, 
    group=2, state=0) at kiconeffect.cpp:139
#7  0x40788c01 in KIconFactory::createPixmap(QIconSet const&, QIconSet::Size, QIconSet::Mode, QIconSet::State) (this=0x8bbfc18, mode_P=28)
    at kiconloader.cpp:1169
#8  0x40b5b904 in QIconSetPrivate::icon(QIconSet const*, QIconSet::Size, QIconSet::Mode, QIconSet::State) () from /usr/qt/3/lib/libqt-mt.so.3
#9  0x40b5c2e7 in QIconSet::pixmap(QIconSet::Size, QIconSet::Mode, QIconSet::State) const () from /usr/qt/3/lib/libqt-mt.so.3
#10 0x40582593 in KToolBarButton::drawButton(QPainter*) (this=0x8af8eb8, 
    _painter=0x8af3b50) at ktoolbarbutton.cpp:474
#11 0x40c215d5 in QButton::paintEvent(QPaintEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#12 0x08af3b50 in ?? ()
Comment 13 Malte S. Stretz 2004-05-25 12:17:39 UTC
Weird. I never ran into that buge before and now twice a day. What I did this time was simply going through the links in the mail linked below one by one, closing the browser after each one. Konqueror crashed before the window was displayed.

http://article.gmane.org/gmane.comp.kde.devel.pim/10711

The backtrace this time was:
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 17426)]
0x412723e8 in waitpid () from /lib/libpthread.so.0
#0  0x412723e8 in waitpid () from /lib/libpthread.so.0
#1  0x4086a014 in __JCR_LIST__ () from /usr/kde/cvs/lib/libkdecore.so.4
#2  0x407b01b0 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#3  0x412711b3 in __pthread_sighandler () from /lib/libpthread.so.0
#4  <signal handler called>
#5  0x40e57c99 in QString::QString(QString const&) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#6  0x4077b54e in KIconEffect::fingerprint(int, int) const (this=0x88f89ec, 
    group=2, state=0) at kiconeffect.cpp:139
#7  0x40785ddc in KIconLoader::loadIcon(QString const&, KIcon::Group, int, int, QString*, bool) const (this=0x8843bc8, _name=@0x18, group=MainToolbar, 
    size=22, state=0, path_store=0x0, canReturnNull=false)
    at kiconloader.cpp:652
#8  0x40788b9d in KIconFactory::createPixmap(QIconSet const&, QIconSet::Size, QIconSet::Mode, QIconSet::State) (this=0x8938af8, mode_P=24)
    at kiconloader.cpp:1175
#9  0x40b5b904 in QIconSetPrivate::icon(QIconSet const*, QIconSet::Size, QIconSet::Mode, QIconSet::State) () from /usr/qt/3/lib/libqt-mt.so.3
#10 0x40b5c2e7 in QIconSet::pixmap(QIconSet::Size, QIconSet::Mode, QIconSet::State) const () from /usr/qt/3/lib/libqt-mt.so.3
#11 0x40582593 in KToolBarButton::drawButton(QPainter*) (this=0x893fab0, 
    _painter=0x8a87738) at ktoolbarbutton.cpp:474
#12 0x40c215d5 in QButton::paintEvent(QPaintEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#13 0x08a87738 in ?? ()
Comment 14 Maksim Orlovich 2004-06-08 04:16:24 UTC
Naming it accurately
Comment 15 Maksim Orlovich 2004-06-08 04:16:46 UTC
*** Bug 83008 has been marked as a duplicate of this bug. ***
Comment 16 Tommi Tervo 2004-06-28 19:54:16 UTC
*** Bug 83566 has been marked as a duplicate of this bug. ***
Comment 17 Tommi Tervo 2004-06-30 09:04:05 UTC
*** Bug 84238 has been marked as a duplicate of this bug. ***
Comment 18 Maksim Orlovich 2004-07-02 17:19:31 UTC
#84345 likely contains information on the cause
Comment 19 Maksim Orlovich 2004-07-02 17:20:04 UTC
*** Bug 76857 has been marked as a duplicate of this bug. ***
Comment 20 Tommi Tervo 2004-07-10 12:04:06 UTC
*** Bug 84856 has been marked as a duplicate of this bug. ***
Comment 21 Stephan Kulow 2004-07-26 20:52:46 UTC
*** Bug 79262 has been marked as a duplicate of this bug. ***
Comment 22 Stephan Kulow 2004-07-26 20:54:31 UTC
*** Bug 86035 has been marked as a duplicate of this bug. ***
Comment 23 Luis Miguel García 2004-07-29 10:25:58 UTC
any of you fixed this?

I think this don't happen anymore, at least in konqueror.
Comment 24 Maksim Orlovich 2004-08-02 20:29:42 UTC
*** Bug 86451 has been marked as a duplicate of this bug. ***
Comment 25 George Staikos 2004-08-09 01:01:05 UTC
*** Bug 86812 has been marked as a duplicate of this bug. ***
Comment 26 George Staikos 2004-08-09 01:02:24 UTC
This is definitely still a problem.  I ahve seen it recently, and others continue to report it.
Comment 27 Stephan Kulow 2004-08-09 09:58:56 UTC
most reports lately were from unclean installations. I.e. installing over running KDE sessions.
Comment 28 illogic-al 2004-08-09 18:49:37 UTC
or mixing of gcc versions... 
<-- guilty :/
Comment 29 Tommi Tervo 2004-10-11 13:33:27 UTC
*** Bug 91111 has been marked as a duplicate of this bug. ***
Comment 30 Tommi Tervo 2004-10-21 15:43:17 UTC
*** Bug 91814 has been marked as a duplicate of this bug. ***
Comment 31 Tommi Tervo 2004-11-02 12:09:09 UTC
*** Bug 92548 has been marked as a duplicate of this bug. ***
Comment 32 Stephan Kulow 2004-11-18 17:34:33 UTC
*** Bug 93472 has been marked as a duplicate of this bug. ***
Comment 33 Tommi Tervo 2004-12-07 09:58:26 UTC
*** Bug 94517 has been marked as a duplicate of this bug. ***
Comment 34 Maksim Orlovich 2004-12-29 20:51:10 UTC
*** Bug 95967 has been marked as a duplicate of this bug. ***
Comment 35 Mathieu Jobin 2004-12-30 01:50:56 UTC
it is weird eh ? I hope my stacktrace may help on bug #95967

Comment 36 Lubos Lunak 2005-01-12 17:29:55 UTC
*** Bug 96408 has been marked as a duplicate of this bug. ***
Comment 37 Lubos Lunak 2005-01-12 17:37:24 UTC
CVS commit by lunakl: 

Add check for the mysterious #68528 crash that should detect it when it
happens again and point at the bad plugin causing it. I just wonder how
many people will also include the error output from the application
with the backtrace.
CCBUG: 68528


  M +1 -7      kiconeffect.cpp   1.50
  M +91 -1     kiconloader.cpp   1.224
  M +1 -1      kinstance.cpp   1.44



Comment 38 Maksim Orlovich 2005-01-22 16:35:57 UTC
*** Bug 97651 has been marked as a duplicate of this bug. ***
Comment 39 Maksim Orlovich 2005-02-06 15:08:54 UTC
*** Bug 98681 has been marked as a duplicate of this bug. ***
Comment 40 Maksim Orlovich 2005-02-18 15:23:57 UTC
*** Bug 99677 has been marked as a duplicate of this bug. ***
Comment 41 Tommi Tervo 2005-02-23 15:18:27 UTC
*** Bug 100083 has been marked as a duplicate of this bug. ***
Comment 42 Maksim Orlovich 2005-02-24 01:56:09 UTC
*** Bug 100132 has been marked as a duplicate of this bug. ***
Comment 43 George Staikos 2005-02-25 06:31:43 UTC
*** Bug 98573 has been marked as a duplicate of this bug. ***
Comment 44 Thiago Macieira 2005-02-27 15:43:26 UTC
*** Bug 100375 has been marked as a duplicate of this bug. ***
Comment 45 George Staikos 2005-03-05 00:18:28 UTC
*** Bug 100851 has been marked as a duplicate of this bug. ***
Comment 46 Maksim Orlovich 2005-06-05 18:03:07 UTC
*** Bug 106839 has been marked as a duplicate of this bug. ***
Comment 47 Carsten Lohrke 2005-06-18 03:32:01 UTC
Well, the crash is slighgtly different in KDE 3.4.1, but it's reproducable: 

1. Open Konqueror ( welcome screen)
2. Click on the home icon
3 Immideatly after 2. do either:
  a) click wild around on the toolbar
  b) click on the window title bar button to maximize the Konqueror window.
  

#5  0x415d79f1 in kill () from /lib/libc.so.6
#6  0x414498c0 in pthread_kill () from /lib/libpthread.so.0
#7  0x41449c9b in raise () from /lib/libpthread.so.0
#8  0x415d7466 in raise () from /lib/libc.so.6
#9  0x415d8e1a in abort () from /lib/libc.so.6
#10 0x40843c96 in KIconFactory::createPixmap (this=0x85a6da0, mode_P=Active)
    at kiconloader.cpp:1255
#11 0x40c8e79a in QIconSetPrivate::icon () from /usr/qt/3/lib/libqt-mt.so.3
#12 0x40c8fd9b in QIconSet::pixmap () from /usr/qt/3/lib/libqt-mt.so.3
#13 0x405dd620 in KToolBarButton::drawButton (this=0x84659d8, 
    _painter=0x855cf50) at ktoolbarbutton.cpp:511
#14 0x40d5b896 in QButton::paintEvent () from /usr/qt/3/lib/libqt-mt.so.3
#15 0x40cfe945 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#16 0x40c62d6f in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#17 0x40c62f0c in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#18 0x407df4f5 in KApplication::notify (this=0xbfffe750, receiver=0x84659d8, 
    event=0xbfffda10) at kapplication.cpp:549
#19 0x40c2f7d0 in QWidget::repaint () from /usr/qt/3/lib/libqt-mt.so.3
#20 0x40cfa292 in QWidget::repaint () from /usr/qt/3/lib/libqt-mt.so.3
#21 0x405dede4 in KToolBarButton::enterEvent (this=0xbfffda10)
    at ktoolbarbutton.cpp:401
#22 0x40cfe913 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#23 0x40c62d6f in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#24 0x40c62f0c in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#25 0x407df4f5 in KApplication::notify (this=0xbfffe750, receiver=0x84659d8, 
    event=0xbfffdf20) at kapplication.cpp:549
#26 0x40c642ab in qt_dispatchEnterLeave () from /usr/qt/3/lib/libqt-mt.so.3
#27 0x40bf9cfa in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#28 0x40c0db86 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#29 0x40c79470 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#30 0x40c793c6 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#31 0x40c61f1f in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#32 0x41a06e4f in kdemain () from /usr/kde/3.4/lib/libkdeinit_konqueror.so
#33 0x419b97f4 in kdeinitmain () from /usr/kde/3.4/lib/kde3/konqueror.so
#34 0x0804f561 in launch (argc=1, _name=0x8125a44 "konqueror", 
    args=0x8125a4e "\001", cwd=0x0, envc=1, envs=0x8125a5f "", 
    reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x0)
    at kinit.cpp:625
#35 0x0804fc59 in handle_launcher_request (sock=8) at kinit.cpp:1189
#36 0x08050216 in handle_requests (waitForPid=0) at kinit.cpp:1392
#37 0x080509a7 in main (argc=2, argv=0xbfffee54, envp=0x0) at kinit.cpp:1848
Comment 48 Lubos Lunak 2005-06-20 19:45:29 UTC
Whoever gets this crash please also provide the debug output (last couple of lines from the end of ~/.xsession-errors).
Comment 49 Carsten Lohrke 2005-06-20 20:20:58 UTC
I don't have a .xsession-errors file. Hope the shell output helps you:

$ konqueror
kio (KSycoca): Trying to open ksycoca from /home/carsten/.kde3.4/cache-iglu/ksycoca
kio (KTrader): query for Browser/View : returning 35 offers
kparts: MainWindow::createGUI, part=(nil)
kio (KTrader): query for KonqAboutPage, KParts/ReadOnlyPart : returning 1 offers
kparts: found KParts Plugin : /usr/kde/3.4/share/apps/khtml/kpartplugins/kget_plug_in.rc
kparts: found KParts Plugin : /usr/kde/3.4/share/apps/khtml/kpartplugins/khtmlkttsd.rc
kparts: load plugin khtml_kget
kparts: load plugin khtmlkttsdplugin
kio (KTrader): query for DCOP/Text-to-Speech : returning 1 offers
kparts: 0x81c7848 emitting activePartChanged 0x82d1bd8
kparts: MainWindow::createGUI, part=0x82d1bd8 KonqAboutPage
kio (KTrader): query for KURIFilter/Plugin : returning 4 offers
kio (KTrader): query for inode/directory, Application : returning 3 offers
kio (KTrader): query for inode/directory, KParts/ReadOnlyPart : returning 14 offers
kparts: found KParts Plugin : /usr/kde/3.4/share/apps/konqiconview/kpartplugins/kremoteencodingplugin.rc
kparts: found KParts Plugin : /usr/kde/3.4/share/apps/konqiconview/kpartplugins/kshellcmdplugin.rc
kparts: load plugin
kparts: load plugin
kio (KTrader): query for ThumbCreator : returning 15 offers
kio (KDirLister): +KDirLister
kio (KDirListerCache): +KDirListerCache
kio (KDirWatch): Can't use FAM (fam daemon not running?)
kio (KDirWatch): Available methods: Stat, DNotify
kparts: 0x81c7848 emitting activePartChanged 0x8517db8
kparts: MainWindow::createGUI, part=0x8517db8 KonqKfmIconView
kparts: deactivating GUI for 0x82d1bd8 KonqAboutPage
kparts: 0x82bd758 emitting activePartChanged (nil)
kparts: Part::~Part 0x82d1bd8
kparts: deleting widget [KHTMLView pointer (0x82c5880) to widget view widget, geometry=696x359+0+0] view widget
kio (KDirLister): [virtual bool KDirLister::openURL(const KURL&, bool, bool)] file:///home/carsten keep=false reload=false
kio (KDirListerCache): [void KDirListerCache::listDir(KDirLister*, const KURL&, bool, bool)] 0x856baf8 url=file:///home/carsten keep=false reload=false
kio (KDirListerCache): [void KDirListerCache::stop(KDirLister*)] lister: 0x856baf8
kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*)] 0x856baf8
kio (KTrader): query for ThumbCreator : returning 15 offers
kio (KTrader): query for ThumbCreator : returning 15 offers
kio (KDirListerCache): listDir: Entry not in cache or reloaded: file:///home/carsten
kio (KDirWatch): Added Dir /home/carsten [KDirWatch-1]
kio (KDirWatch):  Setup DNotify (fd 128) for /home/carsten
konqueror: WARNING: Using already destroyed KIconLoader for loading an icon!
konqueror: WARNING: Appname:khtml, icon:find
konqueror: WARNING: Deleted at:
konqueror: WARNING: [
0: /usr/kde/3.4/lib/libkdecore.so.4(_Z11kdBacktracei+0x38) [0x409c3878]
1: /usr/kde/3.4/lib/libkdecore.so.4(_Z11kdBacktracev+0x2a) [0x409c3b4a]
2: /usr/kde/3.4/lib/libkdecore.so.4(_ZN11KIconLoaderD1Ev+0xb2) [0x40a19122]
3: /usr/kde/3.4/lib/libkdecore.so.4(_ZN9KInstanceD0Ev+0x12f) [0x40a58aff]
4: /usr/kde/3.4/lib/libkhtml.so.4(_ZN12KHTMLFactoryD0Ev+0x188) [0x41ef8cc8]
5: /usr/kde/3.4/lib/libkhtml.so.4(_ZN12KHTMLFactory5derefEv+0x48) [0x41ef8788]
6: /usr/kde/3.4/lib/libkhtml.so.4(_ZN12KHTMLFactory14deregisterPartEP9KHTMLPart+0x5f) [0x41ef94ff]
7: /usr/kde/3.4/lib/libkhtml.so.4(_ZN9KHTMLPartD2Ev+0x1c9) [0x41edf1e9]
8: /usr/kde/3.4/lib/kde3/konq_aboutpage.so(_ZN13KonqAboutPageD0Ev+0x95) [0x41d20de5]
9: /usr/kde/3.4/lib/libkdeinit_konqueror.so(_ZN8KonqView10switchViewER15KonqViewFactory+0xab) [0x40072e3b]
10: /usr/kde/3.4/lib/libkdeinit_konqueror.so(_ZN8KonqView14changeViewModeERK7QStringS2_b+0x31f) [0x40075c2f]
11: /usr/kde/3.4/lib/libkdeinit_konqueror.so(_ZN14KonqMainWindow8openViewE7QStringRK4KURLP8KonqViewR18KonqOpenURLRequest+0x857) [0x400bfcb7]
12: /usr/kde/3.4/lib/libkdeinit_konqueror.so(_ZN14KonqMainWindow7openURLEP8KonqViewRK4KURLRK7QStringR18KonqOpenURLRequestb+0x736) [0x400c2326]
13: /usr/kde/3.4/lib/libkdeinit_konqueror.so(_ZN14KonqMainWindow15openFilteredURLERK7QStringRK18KonqOpenURLRequest+0x304) [0x400c5214]
14: /usr/kde/3.4/lib/libkdeinit_konqueror.so(_ZN14KonqMainWindow15openFilteredURLERK7QStringbb+0xb7) [0x400c54b7]
15: /usr/kde/3.4/lib/libkdeinit_konqueror.so(_ZN14KonqMainWindow8slotHomeEN7KAction16ActivationReasonEN2Qt11ButtonStateE+0x2e8) [0x400c62e8]
16: /usr/kde/3.4/lib/libkdeinit_konqueror.so(_ZN14KonqMainWindow9qt_invokeEiP8QUObject+0x927) [0x400ce6c7]
17: /usr/qt/3/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x134) [0x40e9a954]
18: /usr/kde/3.4/lib/libkdeui.so.4(_ZN7KAction9activatedENS_16ActivationReasonEN2Qt11ButtonStateE+0xcf) [0x406ed6df]
19: /usr/kde/3.4/lib/libkdeui.so.4(_ZN7KAction17slotButtonClickedEiN2Qt11ButtonStateE+0x88) [0x406ed788]
20: /usr/kde/3.4/lib/libkdeui.so.4(_ZN7KAction9qt_invokeEiP8QUObject+0xab) [0x406f139b]
21: /usr/qt/3/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x134) [0x40e9a954]
22: /usr/kde/3.4/lib/libkdeui.so.4(_ZN14KToolBarButton13buttonClickedEiN2Qt11ButtonStateE+0xd5) [0x407b2a25]
23: /usr/kde/3.4/lib/libkdeui.so.4(_ZN14KToolBarButton17mouseReleaseEventEP11QMouseEvent+0xc5) [0x407b2bf5]
24: /usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x5b6) [0x40ed3be6]
25: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x8f) [0x40e37d0f]
26: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x2b3) [0x40e380d3]
27: /usr/kde/3.4/lib/libkdecore.so.4(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x225) [0x409b44f5]
28: /usr/qt/3/lib/libqt-mt.so.3(_ZN9QETWidget19translateMouseEventEPK7_XEvent+0xda2) [0x40dd0482]
29: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xc01) [0x40dced51]
30: /usr/qt/3/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x106) [0x40de2b26]
31: /usr/qt/3/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x50) [0x40e4e410]
32: /usr/qt/3/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x26) [0x40e4e366]
33: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x1f) [0x40e36ebf]
34: /usr/kde/3.4/lib/libkdeinit_konqueror.so(kdemain+0x50f) [0x40063e4f]
35: konqueror [0x804872e]
36: /lib/libc.so.6(__libc_start_main+0xc0) [0x41797470]
37: konqueror [0x8048671]
]
konqueror:
konqueror: WARNING: Current:
konqueror: WARNING: [
0: /usr/kde/3.4/lib/libkdecore.so.4(_Z11kdBacktracei+0x38) [0x409c3878]
1: /usr/kde/3.4/lib/libkdecore.so.4(_Z11kdBacktracev+0x2a) [0x409c3b4a]
2: /usr/kde/3.4/lib/libkdecore.so.4(_ZN12KIconFactory12createPixmapERK8QIconSetNS0_4SizeENS0_4ModeENS0_5StateE+0x4ff) [0x40a18fff]
3: /usr/qt/3/lib/libqt-mt.so.3(_ZN15QIconSetPrivate4iconEPK8QIconSetNS0_4SizeENS0_4ModeENS0_5StateE+0x14a) [0x40e6373a]
4: /usr/qt/3/lib/libqt-mt.so.3(_ZNK8QIconSet6pixmapENS_4SizeENS_4ModeENS_5StateE+0x6b) [0x40e64d3b]
5: /usr/kde/3.4/lib/libkdeui.so.4(_ZN14KToolBarButton10drawButtonEP8QPainter+0x4e0) [0x407b1620]
6: /usr/qt/3/lib/libqt-mt.so.3(_ZN7QButton10paintEventEP11QPaintEvent+0x66) [0x40f30826]
7: /usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x2b5) [0x40ed38e5]
8: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x8f) [0x40e37d0f]
9: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x8c) [0x40e37eac]
10: /usr/kde/3.4/lib/libkdecore.so.4(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x225) [0x409b44f5]
11: /usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget7repaintEiiiib+0x250) [0x40e04770]
12: /usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget7repaintEb+0x72) [0x40ecf232]
13: /usr/kde/3.4/lib/libkdeui.so.4(_ZN14KToolBarButton10enterEventEP6QEvent+0x74) [0x407b2de4]
14: /usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x283) [0x40ed38b3]
15: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x8f) [0x40e37d0f]
16: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x8c) [0x40e37eac]
17: /usr/kde/3.4/lib/libkdecore.so.4(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x225) [0x409b44f5]
18: /usr/qt/3/lib/libqt-mt.so.3(_Z21qt_dispatchEnterLeaveP7QWidgetS0_+0x20b) [0x40e3924b]
19: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xb4a) [0x40dcec9a]
20: /usr/qt/3/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x106) [0x40de2b26]
21: /usr/qt/3/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x50) [0x40e4e410]
22: /usr/qt/3/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x26) [0x40e4e366]
23: /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x1f) [0x40e36ebf]
24: /usr/kde/3.4/lib/libkdeinit_konqueror.so(kdemain+0x50f) [0x40063e4f]
25: konqueror [0x804872e]
26: /lib/libc.so.6(__libc_start_main+0xc0) [0x41797470]
27: konqueror [0x8048671]
]
konqueror:
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 24944
Comment 50 Maksim Orlovich 2005-06-20 21:32:42 UTC
Thank you, this is very helpful. One option for a fix is to force lazy loaded icon to be loaded when doing removeItemDelayed, don't see a nice way of doing it though. Seli?
Comment 51 Maksim Orlovich 2005-06-20 21:42:41 UTC
BTW, to Carten Lohrke: can you reproduce this easily/reliably? Do you have a source build?
Comment 52 Carsten Lohrke 2005-06-20 21:48:13 UTC
Maksim: Yes and yes.
Comment 53 Maksim Orlovich 2005-06-20 22:10:16 UTC
Created attachment 11532 [details]
patch

Could you please test this?
Comment 54 Maksim Orlovich 2005-06-20 22:12:37 UTC
Ick, actually, the w->blockSignals(true) should be before the added block in the added block in ktoolbar.cpp
Comment 55 Carsten Lohrke 2005-06-29 19:23:07 UTC
Applied it a few days ago and it looks like this hack for a hack fixes the problem. Thanks.
Comment 56 Carsten Lohrke 2005-07-09 17:42:25 UTC
Chances to have get the fix into KDE 3.4.2? :)
Comment 57 Stephan Kulow 2005-07-12 10:58:47 UTC
I'm not even sure it's in trunk
Comment 58 Carsten Lohrke 2005-07-12 14:48:08 UTC
Right, it's not. But it seems to work fine. Gentoo users who run testing, have this patch in conjunction with the one for bug 101188 and the ntlm authentication fix applied for two days now and I got no related bug report yet, either.
Comment 59 Maksim Orlovich 2005-07-12 15:14:48 UTC
Let me give a bit of a summary then. First of all, many thanks for the testing
1)First of all, if the patch helps, then problems should occur only in debug build, since the debug machinery already catches this case, and tries to quash it when not debugging (but when debugging, it assert-fails)

2)The patch itself isn't quite right, and I need advice from a person currently on vacation to get it right. 
Comment 60 Carsten Lohrke 2005-07-12 15:50:51 UTC
Thanks for the information Maksim.

> First of all, if the patch helps, then problems should occur only in debug build.

Well, I have a debug build of kdelibs-3.4.1 + patches running here.
Comment 61 Carsten Lohrke 2005-10-18 16:56:07 UTC
This bug is still valid for KDE 3.4.3, did not test 3.5 beta yet.
Comment 62 Carsten Lohrke 2005-12-12 17:36:14 UTC
Still unfixed in KDE 3.5.
Comment 63 Frank Osterfeld 2006-09-09 01:20:21 UTC
*** Bug 124925 has been marked as a duplicate of this bug. ***
Comment 64 Frank Osterfeld 2006-09-09 01:36:54 UTC
*** Bug 117906 has been marked as a duplicate of this bug. ***
Comment 65 Frank Osterfeld 2006-09-09 01:42:28 UTC
*** Bug 117906 has been marked as a duplicate of this bug. ***
Comment 66 Leo Spalteholz 2006-09-09 22:40:49 UTC
Is the person who knows back from vacation?  He must be very tanned after a year... :)
Comment 67 Carsten Lohrke 2007-01-29 23:16:00 UTC
Still a problem with KDE 3.5.6.


#6  0xb7efd410 in __kernel_vsyscall ()
#7  0xb67995b0 in raise () from /lib/libc.so.6
#8  0xb679ac10 in abort () from /lib/libc.so.6
#9  0xb77c8cb7 in KIconFactory::createPixmap (this=0x86486b0, mode_P=Active)
    at kiconloader.cpp:1266
#10 0xb7181e02 in QIconSetPrivate::icon () from /usr/qt/3/lib/libqt-mt.so.3
#11 0xb7182889 in QIconSet::pixmap () from /usr/qt/3/lib/libqt-mt.so.3
#12 0xb7acc6cb in KToolBarButton::drawButton (this=0x8464d10, 
    _painter=0x8608c68) at ktoolbarbutton.cpp:511
#13 0xb7245cf6 in QButton::paintEvent () from /usr/qt/3/lib/libqt-mt.so.3
#14 0xb71ec9ae in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#15 0xb7ace7ae in KToolBarButton::event (this=0x8464d10, e=0xbf847a24)
    at ktoolbarbutton.cpp:651
#16 0xb7156687 in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#17 0xb7157201 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#18 0xb776ed56 in KApplication::notify (this=0xbf848544, receiver=0x8464d10, 
    event=0xbf847d24) at kapplication.cpp:550
#19 0xb712963a in QWidget::repaint () from /usr/qt/3/lib/libqt-mt.so.3
#20 0xb71eac37 in QWidget::repaint () from /usr/qt/3/lib/libqt-mt.so.3
#21 0xb7acbf1c in KToolBarButton::enterEvent (this=0x1e)
    at ktoolbarbutton.cpp:401
#22 0xb71ec9e0 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#23 0xb7ace7ae in KToolBarButton::event (this=0xbf8480e4, e=0x8464d10)
    at ktoolbarbutton.cpp:651
#24 0xb7156687 in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#25 0xb7157201 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#26 0xb776ed56 in KApplication::notify (this=0xbf848544, receiver=0x8464d10, 
    event=0xbf8480e4) at kapplication.cpp:550
#27 0xb7158660 in qt_dispatchEnterLeave () from /usr/qt/3/lib/libqt-mt.so.3
#28 0xb70f63bb in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#29 0xb71062a1 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#30 0xb716cd30 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#31 0xb716cbb6 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#32 0xb715611f in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#33 0xb646ae94 in kdemain (argc=1, argv=0x80c2ad0) at konq_main.cc:206
#34 0xb65d6854 in kdeinitmain (argc=1, argv=0x80c2ad0) at konqueror_dummy.cc:3
#35 0x0804e6a1 in launch (argc=1, _name=0x80cba5c "konqueror", 
    args=0x80cba66 "\001", cwd=0x0, envc=1, envs=0x80cba6a "DISPLAY=:0.0", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80cba7b "iglu;1170105808;112051;8252_TIME1874703496")
    at kinit.cpp:673
#36 0x0804f3ed in handle_launcher_request (sock=9) at kinit.cpp:1240
#37 0x0804f967 in handle_requests (waitForPid=0) at kinit.cpp:1443
#38 0x080501ba in main (argc=5, argv=0xbf848f14, envp=0xbf848f2c)
    at kinit.cpp:1909
#39 0xb678687c in __libc_start_main () from /lib/libc.so.6
#40 0x0804b991 in _start ()
Comment 68 Tommi Tervo 2007-04-30 07:28:54 UTC
*** Bug 144835 has been marked as a duplicate of this bug. ***
Comment 69 Rafał Rzepecki 2007-08-05 05:29:21 UTC
Can't seem to reproduce on the trunk. Could anyone confirm?
Comment 70 George Goldberg 2008-08-04 20:07:56 UTC
@comment #69
I've tried using every trick mentioned in the other comments, and I can't reproduce this with trunk (going towards KDE 4.2). Perhaps the evolution of KDE 4 has accidentally fixed this bug? but I'll defer to someone who knows for sure to actually close it. SadEagle?
Comment 71 Michael Pyne 2009-01-02 01:50:32 UTC
comment 69 and comment 70, I've taken a look at the current KDE 4 code for KToolBar (there is no KDE3 support library version of it) and I see no use of delayed icon loading anywhere, so it looks like the cause of the crash went away in the conversion to KDE 4.  I believe the bug is therefore limited to KDE 3 -> marking as KDE 3.5.
Comment 72 Dario Andres 2009-05-08 03:11:24 UTC
If this is fixed in KDE4 I'm marking as UNMAINTAINED