Bug 361190

Summary: amarok crashes everytime i try to scrobble to last.fm [@ lastfm::TrackData::~TrackData]
Product: [Applications] amarok Reporter: Unknown <null>
Component: Services/Last.fmAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: matej, sam
Priority: NOR    
Version First Reported In: 2.8.0   
Target Milestone: 2.9   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: the first amarok crash backtrace from when it first started happening

Description Unknown 2016-03-30 14:57:01 UTC
pretty much the same as the summary above. plug in ipod. connect ipod. auto sync to last.fm runs but doesn't complete. then amarok crashes at about 85% into sync. then i try to submit bug, but after the backtrace i just see old bugs i reported so i'm doing this one manually.

Reproducible: Always

Steps to Reproduce:
1. plug in ipod
2. connect ipod
3. auto sync to last.fm runs but doesn't complete
4. then amarok crashes at about 85% into sync

Actual Results:  
amarok crashes at about 85% into sync

Expected Results:  
about a week ago, when i first created account with last.fm, the first day it synced fine, then the second day up till now it just started crashing constantly, so it should have synced the way it did on the first day

no addt'l info that i can think of
Comment 1 Unknown 2016-03-30 14:59:02 UTC
Created attachment 98155 [details]
the first amarok crash backtrace from when it first started happening

the first amarok crash backtrace from when it first started happening
Comment 2 Myriam Schweingruber 2016-03-30 16:11:49 UTC
Backtrace from attachment, please always paste backtraces inline, else those are not searchable:

Thread 1 (Thread 0xb0a51980 (LWP 1220)):
[KCrash Handler]
#7  0x00000010 in ?? ()
#8  0xb4873c84 in lastfm::TrackData::~TrackData (this=0x98261c8, __in_chrg=<optimized out>) at /build/buildd/liblastfm-1.0.8/src/Track.cpp:200
#9  0xb4873f90 in ~QExplicitlySharedDataPointer (this=0xe4830bc, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:166
#10 lastfm::Track::~Track (this=0xe4830b8, __in_chrg=<optimized out>) at /build/buildd/liblastfm-1.0.8/src/Track.cpp:392
#11 0xb4873fdc in lastfm::Track::~Track (this=0xe4830b8, __in_chrg=<optimized out>) at /build/buildd/liblastfm-1.0.8/src/Track.cpp:394
#12 0xb489224f in node_destruct (this=<optimized out>, to=0xb70b994, from=0xb70b914) at /usr/include/qt4/QtCore/qlist.h:431
#13 QList<lastfm::Track>::free (data=0xb70b900, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:757
#14 0xb4893fef in operator= (l=..., this=0x939ce08) at /usr/include/qt4/QtCore/qlist.h:443
#15 QList<lastfm::Track>::clear (this=0x939ce08) at /usr/include/qt4/QtCore/qlist.h:766
#16 0xb4897468 in lastfm::Audioscrobbler::onTrackScrobbleReturn (this=this@entry=0x95c5004) at /build/buildd/liblastfm-1.0.8/src/Audioscrobbler.cpp:200
#17 0xb48bb454 in lastfm::Audioscrobbler::qt_static_metacall (_o=_o@entry=0x95c5004, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfe4d6c8) at /build/buildd/liblastfm-1.0.8/obj-i686-linux-gnu/src/moc_Audioscrobbler.cpp:77
#18 0xb5c080f7 in QMetaObject::activate (sender=0xe4bec38, m=0xb569b364 <QNetworkReply::staticMetaObject>, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3539
#19 0xb56484c5 in QNetworkReply::finished() () from /usr/lib/i386-linux-gnu/libQtNetwork.so.4
#20 0xb56486f0 in ?? () from /usr/lib/i386-linux-gnu/libQtNetwork.so.4
#21 0xb5bfb9f4 in QMetaMethod::invoke (this=this@entry=0xbfe4d934, object=0xe4bec38, connectionType=<optimized out>, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#22 0xb5bfdfd3 in QMetaObject::invokeMethod (obj=obj@entry=0xe4bec38, member=member@entry=0xb5322f35 "finished", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#23 0xb5192228 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=type@entry=Qt::AutoConnection, member=0xb5322f35 "finished", obj=0xe4bec38) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#24 KDEPrivate::AccessManagerReply::emitFinished (this=this@entry=0xe4bec38, state=state@entry=true, type=type@entry=Qt::AutoConnection) at ../../kio/kio/accessmanagerreply_p.cpp:485
#25 0xb51941b4 in KDEPrivate::AccessManagerReply::slotResult (this=0xe4bec38, kJob=0xe4b97c0) at ../../kio/kio/accessmanagerreply_p.cpp:427
#26 0xb5194cb9 in KDEPrivate::AccessManagerReply::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfe4dd38, _c=<optimized out>) at ./accessmanagerreply_p.moc:60
#27 0xb5c080f7 in QMetaObject::activate (sender=sender@entry=0xe4b97c0, m=m@entry=0xb600d4cc <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfe4dd38) at kernel/qobject.cpp:3539
#28 0xb5e69095 in KJob::result (this=this@entry=0xe4b97c0, _t1=_t1@entry=0xe4b97c0) at ./kjob.moc:207
#29 0xb5e690e2 in KJob::emitResult (this=this@entry=0xe4b97c0) at ../../kdecore/jobs/kjob.cpp:318
#30 0xb51d4fd1 in KIO::SimpleJob::slotFinished (this=0xe4b97c0) at ../../kio/kio/job.cpp:496
#31 0xb51d63d9 in KIO::TransferJob::slotFinished (this=0xe4b97c0) at ../../kio/kio/job.cpp:1110
#32 0xb51d6fe0 in KIO::TransferJob::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfe4df38, _c=<optimized out>) at ./jobclasses.moc:387
#33 0xb5c080f7 in QMetaObject::activate (sender=sender@entry=0xabf27b0, m=m@entry=0xb539b480 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#34 0xb52810a5 in KIO::SlaveInterface::finished (this=this@entry=0xabf27b0) at ./slaveinterface.moc:184
#35 0xb5282aed in KIO::SlaveInterface::dispatch (this=0xabf27b0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#36 0xb527fe6e in KIO::SlaveInterface::dispatch (this=0xabf27b0) at ../../kio/kio/slaveinterface.cpp:92
#37 0xb5273490 in KIO::Slave::gotInput (this=this@entry=0xabf27b0) at ../../kio/kio/slave.cpp:344
#38 0xb527363c in KIO::Slave::qt_static_metacall (_o=_o@entry=0xabf27b0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfe4e188) at ./slave.moc:56
#39 0xb5c080f7 in QMetaObject::activate (sender=sender@entry=0xe3f3c68, m=m@entry=0xb5398190 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#40 0xb519c3b5 in KIO::Connection::readyRead (this=0xe3f3c68) at ./connection.moc:105
#41 0xb519cb60 in KIO::ConnectionPrivate::dequeue (this=0xe2c59f8) at ../../kio/kio/connection.cpp:82
#42 0xb5c048aa in QMetaCallEvent::placeMetaCall (this=0xabdd428, object=0xe3f3c68) at kernel/qobject.cpp:524
#43 0xb5c0c6fb in QObject::event (this=0xe3f3c68, e=0xabdd428) at kernel/qobject.cpp:1194
#44 0xb614e7f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#45 0xb61552d3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#46 0xb74921f4 in KApplication::notify (this=0xbfe4e84c, receiver=0xe3f3c68, event=0xabdd428) at ../../kdeui/kernel/kapplication.cpp:311
#47 0xb5bf2e4a in QCoreApplication::notifyInternal (this=0xbfe4e84c, receiver=receiver@entry=0xe3f3c68, event=event@entry=0xabdd428) at kernel/qcoreapplication.cpp:953
#48 0xb5bf670d in sendEvent (event=0xabdd428, receiver=0xe3f3c68) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8b1a130) at kernel/qcoreapplication.cpp:1577
#50 0xb5bf6c1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#51 0xb5c2323e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=0x8bc44a8) at kernel/qeventdispatcher_glib.cpp:287
#53 0xb46771e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0xb4677468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb4677528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0xb5c2293b in QEventDispatcherGlib::processEvents (this=0x8b1aeb8, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#57 0xb62035de in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#58 0xb5bf1823 in QEventLoop::processEvents (this=this@entry=0xbfe4e788, flags=...) at kernel/qeventloop.cpp:149
#59 0xb5bf1b49 in QEventLoop::exec (this=this@entry=0xbfe4e788, flags=...) at kernel/qeventloop.cpp:204
#60 0xb5bf78fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#61 0xb614ca24 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#62 0x0804f775 in main (argc=1, argv=0xbfe4e934) at ../../src/main.cpp:329
Comment 3 Myriam Schweingruber 2016-03-30 16:24:39 UTC
This is a known upstream bug

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