Bug 218998

Summary: Kopete crash after upgrade to 4.4 beta1 [qBadAlloc, q_check_ptr<QByteArray::Data>, qUncompress] (KPixmapCache related)
Product: [Unmaintained] kdelibs Reporter: Chris Rizzitello <rizzitello>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: 4ngelus85, andresbajotierra, cfeck, chreex, darktears31, florian.maeder, gapon007, grimm, haukeradtki, jim.hitch, marcus, mdb, mpyne, mtadeunet, squan, swami, westerdijk111
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Rizzitello 2009-12-16 23:25:50 UTC
Application: kopete (0.99.80)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Kopete ran for the first login after upgrade , then afterwards crashes. on every run

 -- Backtrace:
Application: Kopete (kopete), signal: Aborted
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00007f4eb8aa44b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f4eb8aa7f50 in *__GI_abort () at abort.c:92
#7  0x00007f4eb8ea8cc5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#8  0x00007f4eb8ea70f6 in ?? () from /usr/lib/libstdc++.so.6
#9  0x00007f4eb8ea7123 in std::terminate() () from /usr/lib/libstdc++.so.6
#10 0x00007f4eb8ea721e in __cxa_throw () from /usr/lib/libstdc++.so.6
#11 0x00007f4eb9df0042 in qBadAlloc () at global/qglobal.cpp:1980
#12 0x00007f4eb9dfbcd5 in q_check_ptr<QByteArray::Data> (data=<value optimized out>, nbytes=<value optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1695
#13 qUncompress (data=<value optimized out>, nbytes=<value optimized out>) at tools/qbytearray.cpp:543
#14 0x00007f4ebabe6b31 in qUncompress (this=0xe5de70, offset=<value optimized out>, pix=...) at /usr/include/qt4/QtCore/qbytearray.h:586
#15 KPixmapCache::Private::loadData (this=0xe5de70, offset=<value optimized out>, pix=...) at ../../kdeui/util/kpixmapcache.cpp:1344
#16 0x00007f4ebabe7f2e in KPixmapCache::find (this=0xe71b60, key=..., pix=...) at ../../kdeui/util/kpixmapcache.cpp:1307
#17 0x00007f4ebab393ba in KIconCache::find (this=0xe71b60, key=..., pix=..., path=0x0) at ../../kdeui/icons/kiconcache.cpp:277
#18 0x00007f4ebab2cd13 in KIconLoader::loadIcon (this=0xe5eb90, _name=..., group=<value optimized out>, size=16, state=<value optimized out>, overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1092
#19 0x00007f4ebab2eb2f in SmallIcon (name=..., force_size=0, state=0, overlays=...) at ../../kdeui/icons/kiconloader.cpp:1586
#20 0x00007f4ebb0f388d in KStatusBarOfflineIndicator (this=0xf0cb40, parent=<value optimized out>) at ../../kio/kio/kstatusbarofflineindicator.cpp:51
#21 0x0000000000421fcd in KopeteWindow (this=0xeb65e0, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kopete/kopete/kopetewindow.cpp:266
#22 0x00000000004155e6 in KopeteApplication (this=0x7fff6245d530) at ../../../kopete/kopete/kopeteapplication.cpp:64
#23 0x00000000004154dd in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:104

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-26 14:28:00 UTC
Another complete backtrace from bug 220136:
---

[KCrash Handler]
#6  0x00aad422 in __kernel_vsyscall ()
#7  0x00ad84d1 in *__GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x00adb932 in *__GI_abort () at abort.c:92
#9  0x005a64df in __gnu_cxx::__verbose_terminate_handler () at
../../../../src/libstdc++-v3/libsupc++/vterminate.cc:93
#10 0x005a4415 in __cxxabiv1::__terminate (handler=0x5a6390
<__gnu_cxx::__verbose_terminate_handler()>) at
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:38
#11 0x005a4452 in std::terminate () at
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#12 0x005a4591 in __cxa_throw (obj=0xb61004c8, tinfo=0x5d37fc, dest=0x5a4af0
<~bad_alloc>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:83
#13 0x01046a35 in qBadAlloc () at global/qglobal.cpp:1980
#14 0x01053dc5 in q_check_ptr<QByteArray::Data> (
    data=0x9bf8640
"\355\235\a\234U\305\025\377\317\276\267\273\017\024\024)R\024Y\020)\n\210
R\004\244\203\064\351\nHS\260\267\250\304\336\025E\215\261\305\336\305\022\273`Ib\357%\306\222\030[4FM\242\061\232\330\377\375s\377\347;3gw\366\372\226\262\373\266\200\\?Gv\337\336{\337\275\363;}\316\231\021\331xl<6\270\243(P&\242l5)\276GQD\033\217\372?b\234\r\257\222@\245J9\245F\201\032\a\332d\035\310\256i\024\356\225\v\367\345\376\305R\231?6\362E\355\037\061\326\214\277\341\334H\266\226n2P\306\312b9F\216\226er\203<
\367\312\063r\277\322\207\362\225\376\227\310\067J\337)\375\017\245\377\245\364\177\224"...,
nbytes=30876) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1695
#15 qUncompress (
    data=0x9bf8640
"\355\235\a\234U\305\025\377\317\276\267\273\017\024\024)R\024Y\020)\n\210
R\004\244\203\064\351\nHS\260\267\250\304\336\025E\215\261\305\336\305\022\273`Ib\357%\306\222\030[4FM\242\061\232\330\377\375s\377\347;3gw\366\372\226\262\373\266\200\\?Gv\337\336{\337\275\363;}\316\231\021\331xl<6\270\243(P&\242l5)\276GQD\033\217\372?b\234\r\257\222@\245J9\245F\201\032\a\332d\035\310\256i\024\356\225\v\367\345\376\305R\231?6\362E\355\037\061\326\214\277\341\334H\266\226n2P\306\312b9F\216\226er\203<
\367\312\063r\277\322\207\362\225\376\227\310\067J\337)\375\017\245\377\245\364\177\224"...,
nbytes=30876) at tools/qbytearray.cpp:543
#16 0x0092922e in qUncompress (this=0x9bd34d8, offset=273411, pix=...) at
/usr/include/qt4/QtCore/qbytearray.h:579
#17 KPixmapCache::Private::loadData (this=0x9bd34d8, offset=273411, pix=...) at
../../kdeui/util/kpixmapcache.cpp:1351
#18 0x0092a544 in KPixmapCache::find (this=0x9bd2da0, key=..., pix=...) at
../../kdeui/util/kpixmapcache.cpp:1314
#19 0x00878e9b in KIconCache::find (this=0x9bd2da0, key=..., pix=...) at
../../kdeui/icons/kiconcache.cpp:292
#20 0x0087a130 in KIconCache::find (this=0x9bd2da0, key=..., pix=..., path=0x0)
at ../../kdeui/icons/kiconcache.cpp:277
#21 0x0086cb55 in KIconLoader::loadIcon (this=0x9b53b58, _name=...,
group=KIconLoader::Desktop, size=128, state=0, overlays=..., path_store=0x0,
canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1083
...
Comment 2 Dario Andres 2009-12-26 14:28:10 UTC
*** Bug 220136 has been marked as a duplicate of this bug. ***
Comment 3 Pascal 2009-12-29 19:08:06 UTC
I have the same problem, after upgrade to 4.4 beta 2 kopete doesn't work.
It crahes on start.

I have kubuntu 9.10 2.6.31-17-generic

kopete(1938)/kdeui (KNotification) KStatusNotifierItemDBus::KStatusNotifierItemDBus: service is "org.kde.StatusNotifierItem-1938-1"
kopete(1938)/kdeui (KNotification) KStatusNotifierItemPrivate::registerToDaemon: Registering a client interface to the KStatusNotifierWatcher
kopete(1938)/libkopete KopeteSystemTray::KopeteSystemTray:
kopete: symbol lookup error: kopete: undefined symbol: _ZN19KStatusNotifierItem17setAttentionMovieEP6QMovie
kopete(1937): Communication problem with  "kopete" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

Thanks Pascal.
Comment 4 Dario Andres 2009-12-29 19:10:15 UTC
@Pascal: your problem is a different one. Ensure that you updated the kdelibs package to the same version (4.4beta2). Regards
Comment 5 Pascal 2009-12-29 19:17:39 UTC
That's fast!

I have version: 4:4.3.85.

Pascal.
Comment 6 Pascal 2009-12-29 19:45:57 UTC
My kopete is version: 4:4.3.80.

Maybe that is the problem?
Comment 7 Dario Andres 2009-12-29 20:37:55 UTC
@Pascal: yes, that is 4.4beta1. Both kdelibs and kdenetwork(kopete) should be at the same version... Do not add more comments in this bug report as it is an unrelated issue. Thanks
Comment 8 Chris Rizzitello 2009-12-30 01:29:44 UTC
i noticed that i only had this problem when i had a dual monitor set up, 
after droping the second monitor kopete started to work again. and this was before the 4.4 beta2 release.
Comment 9 Dario Andres 2010-02-10 13:23:04 UTC
*** Bug 226044 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-02-19 23:37:40 UTC
*** Bug 227572 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-02-26 18:53:21 UTC
*** Bug 228631 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2010-03-14 13:22:57 UTC
*** Bug 230681 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-03-14 13:38:33 UTC
*** Bug 230521 has been marked as a duplicate of this bug. ***
Comment 14 Tobias Koenig 2010-03-16 13:03:07 UTC

*** This bug has been marked as a duplicate of bug 209263 ***
Comment 15 Dario Andres 2010-03-16 13:58:32 UTC
*** Bug 229460 has been marked as a duplicate of this bug. ***
Comment 16 Dario Andres 2010-03-16 13:59:16 UTC
*** Bug 228584 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2010-03-19 13:20:15 UTC
Workaround for this crash:
Remove the contents of the folder "/var/tmp/kdecache-$USERNAME/kpc/" (which stores the (corrupted) pixmap cache)
Comment 18 Dario Andres 2010-03-27 14:25:04 UTC
*** Bug 232327 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2010-04-11 14:21:06 UTC
*** Bug 234011 has been marked as a duplicate of this bug. ***
Comment 20 Frank Reininghaus 2010-04-27 12:49:18 UTC
*** Bug 235401 has been marked as a duplicate of this bug. ***
Comment 21 Frank Reininghaus 2010-04-27 13:06:20 UTC
*** Bug 234676 has been marked as a duplicate of this bug. ***
Comment 22 Jonathan Thomas 2010-05-27 20:33:01 UTC
*** Bug 236849 has been marked as a duplicate of this bug. ***