Bug 225674 - Amarok reliably crashes at display of new track notification via KNotification
Summary: Amarok reliably crashes at display of new track notification via KNotification
Status: RESOLVED DUPLICATE of bug 224673
Alias: None
Product: amarok
Classification: Applications
Component: Notifications (show other bugs)
Version: 2.3-GIT
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 23:43 UTC by Frank Steinmetzger
Modified: 2010-02-08 10:34 UTC (History)
1 user (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 Frank Steinmetzger 2010-02-05 23:43:16 UTC
Version:           2.2-GIT (using KDE 4.3.5)
Compiler:          gcc-4.3.4 
OS:                Linux
Installed from:    Gentoo Packages

But only if the previous notification (from playing the first track after startup) has not yet vanished.

last line in Amarok's debug output:
amarok: BEGIN: void Amarok::KNotificationBackend::showCurrentTrack()

Backtrace:
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb78355f1 in Amarok::KNotificationBackend::showCurrentTrack (this=0x8d5ce60) at /home/frank/programmieren/amarok/src/KNotificationBackend.cpp:103
#2  0xb7835953 in Amarok::KNotificationBackend::qt_metacall (this=0x8d5ce60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffd820) at /home/frank/programmieren/amarok/build/src/KNotificationBackend.moc:75
#3  0xb6f085d0 in QMetaObject::metacall (object=0x0, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfffd820) at kernel/qmetaobject.cpp:237
#4  0xb6f16beb in QMetaObject::activate (sender=0x8aa8b68, m=0xb70105a4, local_signal_index=<value optimized out>, argv=0x8b3cdf8) at kernel/qobject.cpp:3267
#5  0xb6f6237f in QTimer::timeout (this=0x8aa8b68) at .moc/release-shared/moc_qtimer.cpp:134
#6  0xb6f1dcc7 in QTimer::timerEvent (this=0x8aa8b68, e=0xbfffddcc) at kernel/qtimer.cpp:271
#7  0xb6f13cbb in QObject::event (this=0x8aa8b68, e=0xbfffddcc) at kernel/qobject.cpp:1204
#8  0xb66048dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#9  0x08aa8b68 in ?? ()
#10 0xbfffddcc in ?? ()
#11 0xbfffddcc in ?? ()
#12 0xb66048dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#13 0x082014a8 in ?? ()
#14 0x9e145d00 in ?? ()
#15 0x08aa8b68 in ?? ()
#16 0xb6dacff4 in ?? () from /usr/lib/qt4/libQtGui.so.4
#17 0x08161af0 in ?? ()
#18 0xbfffe2f0 in ?? ()
#19 0xbfffddcc in ?? ()
#20 0xb660dcec in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#21 0x08161af0 in ?? ()
#22 0x082014a8 in ?? ()
#23 0x9e145d00 in ?? ()
#24 0xb5f7cb57 in QAbstractSocketEngine::readNotification (this=0x8b068b23) at socket/qabstractsocketengine.cpp:154
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 1 Frank Steinmetzger 2010-02-05 23:44:05 UTC
Ooops, it's not installed by gentoo package, but manually by git tree.
Comment 2 Kevin Funk 2010-02-06 10:42:24 UTC
How old is your checkout? Please test with current Git if possible.
Comment 3 Myriam Schweingruber 2010-02-06 13:18:30 UTC
Changing version and status
Comment 4 Frank Steinmetzger 2010-02-06 15:27:54 UTC
I just pulled from git and compiled again - same result.
BTW I’m running KDE 4.3.5 on Gentoo from normal packages.
Comment 5 Myriam Schweingruber 2010-02-06 16:01:39 UTC
Thank you for the feedback.
Comment 6 Kevin Funk 2010-02-08 09:47:33 UTC
commit 1065a277ea7794808486ac27a8d62d23abbb5d4c
Author:     Martin Aumأ�ller <aumuell@reserv.at>
AuthorDate: Mon Feb 8 02:02:05 2010 +0100
Commit:     Martin Aumأ�ller <aumuell@reserv.at>
CommitDate: Mon Feb 8 02:03:58 2010 +0100

    don't crash if KNotification backend is enabled
    
    KNotifications call deleteLater() on their own, which makes the stored m_notify invalid
Comment 7 Kevin Funk 2010-02-08 10:34:53 UTC

*** This bug has been marked as a duplicate of bug 224673 ***