Bug 253791 - Kopete crashes on exit or when minimizing to Systray (related to Skype) [malloc_printerr, QList*, QProcess::execute, ~SkypeConnection]
Summary: Kopete crashes on exit or when minimizing to Systray (related to Skype) [mall...
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: Skype Plugin (show other bugs)
Version: 1.0.80
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 230076 237975 254197 254305 269154 270884 272444 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-10 23:28 UTC by Thilo-Alexander Ginkel
Modified: 2021-01-12 04:34 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thilo-Alexander Ginkel 2010-10-10 23:28:47 UTC
Application: kopete (1.0.80)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

Closed the Kopete window to minimize it to the Systray. This reliably causes it to crash with the attached backtrace.

The crash can be reproduced every time.

-- Backtrace:
Application: Kopete (kopete), signal: Aborted
[Current thread is 1 (Thread 0x7f5650c6e760 (LWP 4445))]

Thread 5 (Thread 0x7f5639c1a710 (LWP 4453)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f564d0431dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f564d041c78 in __libc_free (mem=0x7f564d342e40) at malloc.c:3736
#3  0x00007f564e745601 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f564727266a in g_main_context_check (context=0x1d61170, max_priority=2147483647, fds=<value optimized out>, n_fds=-1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2658
#5  0x00007f5647273023 in g_main_context_iterate (context=0x1d61170, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2777
#6  0x00007f564727345c in g_main_context_iteration (context=0x1d61170, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#7  0x00007f564e7451e6 in QEventDispatcherGlib::processEvents (this=0x1a48590, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#8  0x00007f564e717a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f564e717dec in QEventLoop::exec (this=0x7f5639c19db0, flags=) at kernel/qeventloop.cpp:201
#10 0x00007f564e6222fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#11 0x00007f564e6f75f8 in QInotifyFileSystemWatcherEngine::run (this=0x1ec22e0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f564e62527e in QThreadPrivate::start (arg=0x1ec22e0) at thread/qthread_unix.cpp:266
#13 0x00007f564c371971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f564d0aa92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f563a824710 (LWP 4454)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f564d0431dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f564d041c78 in __libc_free (mem=0x7f564d342e40) at malloc.c:3736
#3  0x00007f564726ec3b in g_source_unref_internal (source=0x1df1a70, context=0x1df92b0, have_lock=0) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:1529
#4  0x00007f564e745d33 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x1ca4150, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:369
#5  0x00007f564e624ac4 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302
#6  0x00007f564e625286 in ~__pthread_cleanup_class (arg=0x7f564ea4af40) at /usr/include/pthread.h:545
#7  QThreadPrivate::start (arg=0x7f564ea4af40) at thread/qthread_unix.cpp:271
#8  0x00007f564c371971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f564d0aa92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f562e5fc710 (LWP 4460)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f564d0431dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f564d041c78 in __libc_free (mem=0x7f564d342e40) at malloc.c:3736
#3  0x00007f564c86ac8d in cleanup (this=0x1fdb8c0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#4  ~QScopedPointer (this=0x1fdb8c0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#5  QHostAddress::~QHostAddress (this=0x1fdb8c0, __in_chrg=<value optimized out>) at kernel/qhostaddress.cpp:565
#6  0x00007f5634eed626 in ~Info (this=<value optimized out>, data=0x80) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/irisnetplugin.h:54
#7  node_destruct (this=<value optimized out>, data=0x80) at /usr/include/qt4/QtCore/qlist.h:418
#8  QList<XMPP::NetInterfaceProvider::Info>::free (this=<value optimized out>, data=0x80) at /usr/include/qt4/QtCore/qlist.h:741
#9  0x00007f5634f24ef7 in XMPP::UnixNet::poll() () from /usr/lib/kde4/kopete_jabber.so
#10 0x00007f5634f23310 in check (this=0x2170610, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface_unix.cpp:402
#11 XMPP::UnixNet::qt_metacall (this=0x2170610, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./netinterface_unix.moc:73
#12 0x00007f564e730b27 in QMetaObject::activate (sender=0x2170628, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#13 0x00007f564e72a8f9 in QObject::event (this=0x2170628, e=0x80) at kernel/qobject.cpp:1183
#14 0x00007f564d804fdc in QApplicationPrivate::notify_helper (this=0x17d75d0, receiver=0x2170628, e=0x7f562e5fbb90) at kernel/qapplication.cpp:4396
#15 0x00007f564d80aaed in QApplication::notify (this=0x7fff1b1a5650, receiver=0x2170628, e=0x7f562e5fbb90) at kernel/qapplication.cpp:4277
#16 0x00007f564f13a4d6 in KApplication::notify (this=0x7fff1b1a5650, receiver=0x2170628, event=0x7f562e5fbb90) at ../../kdeui/kernel/kapplication.cpp:310
#17 0x00007f564e718cdc in QCoreApplication::notifyInternal (this=0x7fff1b1a5650, receiver=0x2170628, event=0x7f562e5fbb90) at kernel/qcoreapplication.cpp:732
#18 0x00007f564e7486f2 in sendEvent (this=0x21709a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QTimerInfoList::activateTimers (this=0x21709a0) at kernel/qeventdispatcher_unix.cpp:602
#20 0x00007f564e7454c8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#21 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#22 0x00007f564726f342 in g_main_dispatch (context=0x217b230) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#23 g_main_context_dispatch (context=0x217b230) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#24 0x00007f56472732a8 in g_main_context_iterate (context=0x217b230, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#25 0x00007f564727345c in g_main_context_iteration (context=0x217b230, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#26 0x00007f564e745193 in QEventDispatcherGlib::processEvents (this=0x1fda820, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#27 0x00007f564e717a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007f564e717dec in QEventLoop::exec (this=0x1fc7530, flags=) at kernel/qeventloop.cpp:201
#29 0x00007f5634eed575 in XMPP::SyncThread::run (this=0x21842b0) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#30 0x00007f564e62527e in QThreadPrivate::start (arg=0x21842b0) at thread/qthread_unix.cpp:266
#31 0x00007f564c371971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#32 0x00007f564d0aa92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#33 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f562ddfb710 (LWP 4461)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f564d0431dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f564d041c78 in __libc_free (mem=0x7f564d342e40) at malloc.c:3736
#3  0x00007f564e745e3a in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x1f1fca0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:392
#4  0x00007f564e624ac4 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302
#5  0x00007f564e625286 in ~__pthread_cleanup_class (arg=0x1d26600) at /usr/include/pthread.h:545
#6  QThreadPrivate::start (arg=0x1d26600) at thread/qthread_unix.cpp:271
#7  0x00007f564c371971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#8  0x00007f564d0aa92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5650c6e760 (LWP 4445)):
[KCrash Handler]
#6  0x00007f564cff7ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f564cffb6b0 in abort () at abort.c:92
#8  0x00007f564d03143b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f564d03b4b6 in malloc_printerr (action=3, str=0x7f564d10f258 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f564d03f781 in _int_malloc (av=0x7f564d342e40, bytes=40) at malloc.c:4308
#11 0x00007f564d04038e in __libc_malloc (bytes=40) at malloc.c:3660
#12 0x00007f564e6440b1 in QListData::detach_grow (this=0x242ddc8, idx=0x7fff1b1a49ec, num=<value optimized out>) at tools/qlist.cpp:85
#13 0x00007f564e62bf4c in detach_helper_grow (this=0x115d, t=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:663
#14 QList<QByteArray>::append (this=0x115d, t=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:496
#15 0x00007f564e6b56cb in operator<< (this=0x242dbe0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:321
#16 QRingBuffer (this=0x242dbe0) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:65
#17 QProcessPrivate::QProcessPrivate (this=0x242dbe0) at io/qprocess.cpp:731
#18 0x00007f564e6b5d6e in QProcess::QProcess (this=0x7fff1b1a4ab0, parent=0x0) at io/qprocess.cpp:1115
#19 0x00007f564e6b75a3 in QProcess::execute (program=...) at io/qprocess.cpp:2153
#20 0x00007f563459e94d in SkypeConnection::~SkypeConnection (this=0x1d9bd30, __in_chrg=<value optimized out>) at ../../../../kopete/protocols/skype/libskype/skypedbus/skypeconnection.cpp:75
#21 0x00007f56345a6b3f in ~SkypePrivate (this=0x1d9bbd0, __in_chrg=<value optimized out>) at ../../../../kopete/protocols/skype/libskype/skype.cpp:57
#22 Skype::~Skype (this=0x1d9bbd0, __in_chrg=<value optimized out>) at ../../../../kopete/protocols/skype/libskype/skype.cpp:142
#23 0x00007f56345ba48e in ~SkypeAccountPrivate (this=0x1ed04a0, __in_chrg=<value optimized out>) at ../../../../kopete/protocols/skype/skypeaccount.cpp:48
#24 SkypeAccount::~SkypeAccount (this=0x1ed04a0, __in_chrg=<value optimized out>) at ../../../../kopete/protocols/skype/skypeaccount.cpp:183
#25 0x00007f564e72ac08 in QObject::event (this=0x1ed04a0, e=0x115d) at kernel/qobject.cpp:1202
#26 0x00007f564d804fdc in QApplicationPrivate::notify_helper (this=0x17d75d0, receiver=0x1ed04a0, e=0x1e2bcd0) at kernel/qapplication.cpp:4396
#27 0x00007f564d80aaed in QApplication::notify (this=0x7fff1b1a5650, receiver=0x1ed04a0, e=0x1e2bcd0) at kernel/qapplication.cpp:4277
#28 0x00007f564f13a4d6 in KApplication::notify (this=0x7fff1b1a5650, receiver=0x1ed04a0, event=0x1e2bcd0) at ../../kdeui/kernel/kapplication.cpp:310
#29 0x00007f564e718cdc in QCoreApplication::notifyInternal (this=0x7fff1b1a5650, receiver=0x1ed04a0, event=0x1e2bcd0) at kernel/qcoreapplication.cpp:732
#30 0x00007f564e71bc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1787bd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1787bd0) at kernel/qcoreapplication.cpp:1373
#32 0x00007f564e745653 in sendPostedEvents (s=0x17d9d90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x17d9d90) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007f564726f342 in g_main_dispatch (context=0x17d9cb0) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#35 g_main_context_dispatch (context=0x17d9cb0) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#36 0x00007f56472732a8 in g_main_context_iterate (context=0x17d9cb0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#37 0x00007f564727345c in g_main_context_iteration (context=0x17d9cb0, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#38 0x00007f564e745193 in QEventDispatcherGlib::processEvents (this=0x1787320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#39 0x00007f564d8b7a4e in QGuiEventDispatcherGlib::processEvents (this=0x115d, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f564e717a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f564e717dec in QEventLoop::exec (this=0x7fff1b1a55a0, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f564e71bebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x0000000000414432 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:105

Possible duplicates by query: bug 237975, bug 237913, bug 236519, bug 232041, bug 231483.

Reported using DrKonqi
Comment 1 Thilo-Alexander Ginkel 2010-10-10 23:36:47 UTC
Correction: Seems to happen on exit, not on minimize to Systray (which seems to have been disabled by the recent dist-upgrade).
Comment 2 Gabriele Tozzi 2010-10-26 08:29:57 UTC
I have exactly same problem.
The software crash is on exit: minimize to systray was disabled by dist-upgrade.

This is a very annoying bug. Please fix.
Comment 3 Lamarque V. Souza 2011-04-14 05:56:50 UTC
*** Bug 254305 has been marked as a duplicate of this bug. ***
Comment 4 Lamarque V. Souza 2011-04-14 05:57:19 UTC
*** Bug 270884 has been marked as a duplicate of this bug. ***
Comment 5 Lamarque V. Souza 2011-04-14 05:58:14 UTC
*** Bug 254197 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2011-05-08 23:55:08 UTC
[Comment from a bug triager]
From bug 269154 (KDE SC 4.4.5):
-- Information about the crash:
I created a Skype account in Kopete. When I quit Kopete it crashes every time
if the skype account is not logged in. It did not crash when I had no skype
account configured.
It is not a critical bug 'cause the crash happens when I quit the application.
I use skype version beta 2.1.0.81
The crash can be reproduced every time.
Comment 7 Dario Andres 2011-05-08 23:55:16 UTC
*** Bug 230076 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2011-05-08 23:55:38 UTC
*** Bug 237975 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2011-05-08 23:55:39 UTC
*** Bug 269154 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2011-05-08 23:55:41 UTC
*** Bug 272444 has been marked as a duplicate of this bug. ***
Comment 11 Justin Zobel 2020-12-13 02:36:41 UTC
Thank you for the crash reports.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 12 Bug Janitor Service 2020-12-28 04:34:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Bug Janitor Service 2021-01-12 04:34:06 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!