Fwd: crash in Debug::dbgstream ?

Kevin Funk krf at gmx.de
Sat Nov 13 10:40:42 CET 2010


Hey guys,

Mikko C. sent me some weird backtrace where an assert in QString is triggered.

Assert is triggered here:
#11 0x00007f9651d39f5b in replaceArgEscapes (s=<value optimized out>, 
d=<value optimized out>, field_width=<value optimized out>, arg=<value 
optimized out>, larg=<value optimized out>, fillChar=...) at 
tools/qstring.cpp:6434

Relevant debug() call in Amarok is here:
#16 0x00007f961524939c in SqlScanResultProcessor::commitTrack 
(this=0x438e1d0, track=0x5f1d5a0, directoryId=3793, albumId=4370) at 
/home/mikko/amarok/src/core-
impl/collections/db/sql/SqlScanResultProcessor.cpp:122

I neither have an idea why it crashes Amarok nor have enough time to 
investigate further.

Please check, might be related to Ralf Engels in-memory stuff.

Greets

----------  Weitergeleitete Nachricht  ----------

Betreff: crash in Debug::dbgstream ?
Datum: Donnerstag 11 November 2010, 22:48:14
Von: "Mikko C." <mikko.cal at gmail.com>
An: krf at electrostorm.net

Hi,
I was rescanning my collection and amarok crashed.
The backtrace indicates an assert in qstring.

[ ... ]
amarok SRP::commitAlbum on "Our Worn Shadow" artist "Manyfingers" 
compilation false
amarok SRP::commitTrack on  "/mnt/mybook/Mp3/M/Manyfingers - [2006] Our 
Worn Shadow/01 - Some Shield.mp3" for album 4369
amarok [WARNING] [MountPointManager] Device  0  not in database, this 
should never happen!
amarok SRP::commitTrack on  "/mnt/mybook/Mp3/M/Manyfingers - [2006] Our 
Worn Shadow/02 - For Measured Shores.mp3" for album 4369
amarok [WARNING] [MountPointManager] Device  0  not in database, this 
should never happen!
amarok SRP::commitTrack on  "/mnt/mybook/Mp3/M/Manyfingers - [2006] Our 
Worn Shadow/03 - This Tar Won't Hold.mp3" for album 4369
amarok [WARNING] [MountPointManager] Device  0  not in database, this 
should never happen!
amarok SRP::commitTrack on  "/mnt/mybook/Mp3/M/Manyfingers - [2006] Our 
Worn Shadow/04 - 3 Forms.mp3" for album 4369
amarok [WARNING] [MountPointManager] Device  0  not in database, this 
should never happen!
amarok SRP::commitTrack on  "/mnt/mybook/Mp3/M/Manyfingers - [2006] Our 
Worn Shadow/05 - No Opera.mp3" for album 4369
amarok [WARNING] [MountPointManager] Device  0  not in database, this 
should never happen!
amarok SRP::commitTrack on  "/mnt/mybook/Mp3/M/Manyfingers - [2006] Our 
Worn Shadow/06 - Our Worn Shadow.mp3" for album 4369
amarok [WARNING] [MountPointManager] Device  0  not in database, this 
should never happen!
amarok SRP::commitTrack on  "/mnt/mybook/Mp3/M/Manyfingers - [2006] Our 
Worn Shadow/07 - A Remark.mp3" for album 4369
amarok [WARNING] [MountPointManager] Device  0  not in database, this 
should never happen!
amarok SRP::commitTrack on  "/mnt/mybook/Mp3/M/Manyfingers - [2006] Our 
Worn Shadow/08 - Tsunami.mp3" for album 4369
amarok [WARNING] [MountPointManager] Device  0  not in database, this 
should never happen!
amarok BEGIN: virtual void Dynamic::BiasedPlaylist::invalidate()
amarok   BEGIN: virtual void Dynamic::BiasedPlaylist::recalculate()
amarok   END__: virtual void Dynamic::BiasedPlaylist::recalculate() 
[Took: 0s]
amarok END__: virtual void Dynamic::BiasedPlaylist::invalidate() [Took: 0s]
amarok BEGIN: void 
CollectionTreeItemModelBase::handleCompilations(CollectionTreeItem*) const
amarok END__: void 
CollectionTreeItemModelBase::handleCompilations(CollectionTreeItem*) 
const [Took: 0s]
amarok SRP::commitAlbum on "Afterglow" artist "Sarah McLachlan" 
compilation false
amarok SRP::commitTrack on  "/mnt/mybook/Mp3/S/Sarah McLachlan - [2003] 
Afterglow/01 - Fallen.mp3" for album 4370
amarok [WARNING] [MountPointManager] Device  0  not in database, this 
should never happen!
amarok BEGIN: void 
CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, 
Collections::QueryMaker*, const Meta::DataList&)
amarok   [CollectionTreeItemModelBase] Received special data:  33
amarok END__: void 
CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, 
Collections::QueryMaker*, const Meta::DataList&) [Took: 0.003s]
amarok BEGIN: virtual void CollectionTreeItemModelBase::queryDone()
amarok END__: virtual void CollectionTreeItemModelBase::queryDone() 
[Took: 0s]
amarok BEGIN: virtual void CollectionTreeItemModelBase::queryDone()
amarok END__: virtual void CollectionTreeItemModelBase::queryDone() 
[Took: 0s]
amarok BEGIN: virtual void CollectionTreeItemModelBase::queryDone()
ASSERT: "rc - result_buff == result_len" in file tools/qstring.cpp, line 
6434
amarok END__: virtual void CollectionTreeItemModelBase::queryDone() 
[Took: 0s]
amarok BEGIN: virtual void CollectionTreeItemModelBase::queryDone()
amarok END__: virtual void CollectionTreeItemModelBase::queryDone() 
[Took: 0s]
amarok: Fatal IO error: client killed
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = amarok path = /usr/bin pid = 3173
KCrash: Arguments: /usr/bin/amarok --nocrashhandler -d


Thread 12 (Thread 0x7f9613679710 (LWP 3180)):

[KCrash Handler]

#6 0x00007f96506a1175 in raise () from /lib/libc.so.6

#7 0x00007f96506a2590 in abort () from /lib/libc.so.6

#8 0x00007f9651ce6964 in qt_message_output (msgType=QtFatalMsg, 
buf=<value optimized out>) at global/qglobal.cpp:2282

#9 0x00007f9651ce6afe in qt_message(QtMsgType, const char *, typedef 
__va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f9651e5c8f0 
"ASSERT: \"%s\" in file %s, line %d", ap=0x7f96136781f0) at 
global/qglobal.cpp:2328

#10 0x00007f9651ce6cb5 in qFatal (msg=0xc6c <Address 0xc6c out of 
bounds>) at global/qglobal.cpp:2511

#11 0x00007f9651d39f5b in replaceArgEscapes (s=<value optimized out>, 
d=<value optimized out>, field_width=<value optimized out>, arg=<value 
optimized out>, larg=<value optimized out>, fillChar=...) at 
tools/qstring.cpp:6434

#12 0x00007f9651d3e655 in QString::arg (this=0x7f9613678430, a=..., 
fieldWidth=0, fillChar=...) at tools/qstring.cpp:6482

#13 0x00007f96532f4c53 in Debug::dbgstream (level=Debug::KDEBUG_INFO) at 
/home/mikko/amarok/src/core/support/Debug.cpp:136

#14 0x00007f96152488c3 in Debug::dbgstreamwrapper 
(level=Debug::KDEBUG_INFO) at /home/mikko/amarok/src/core/support/Debug.h:99

#15 0x00007f96152488ec in Debug::debug () at 
/home/mikko/amarok/src/core/support/Debug.h:103

#16 0x00007f961524939c in SqlScanResultProcessor::commitTrack 
(this=0x438e1d0, track=0x5f1d5a0, directoryId=3793, albumId=4370) at 
/home/mikko/amarok/src/core-
impl/collections/db/sql/SqlScanResultProcessor.cpp:122

#17 0x00007f9615249048 in SqlScanResultProcessor::commitAlbum 
(this=0x438e1d0, album=0x9921a60, directoryId=3793) at 
/home/mikko/amarok/src/core-
impl/collections/db/sql/SqlScanResultProcessor.cpp:89

#18 0x00007f9615204e54 in ScanResultProcessor::commitDirectory 
(this=0x438e1d0, dir=0x42141f0) at 
/home/mikko/amarok/src/core-impl/collections/db/ScanResultProcessor.cpp:109

#19 0x00007f9615204b02 in ScanResultProcessor::commit (this=0x438e1d0) 
at 
/home/mikko/amarok/src/core-impl/collections/db/ScanResultProcessor.cpp:65

#20 0x00007f9615248cbe in SqlScanResultProcessor::commit 
(this=0x438e1d0) at 
/home/mikko/amarok/src/core-
impl/collections/db/sql/SqlScanResultProcessor.cpp:69

#21 0x00007f9615200da0 in XmlParseJob::run (this=0x44ee010) at 
/home/mikko/amarok/src/core-impl/collections/db/ScanManager.cpp:587

#22 0x00007f964df46603 in ThreadWeaver::JobRunHelper::runTheJob 
(this=0x7f9613678d70, th=0x2f8a220, job=0x44ee010) at 
/var/tmp/paludis/kde-base-
kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:106

#23 0x00007f964df467c2 in ThreadWeaver::Job::execute (this=0x44ee010, 
th=0x2f8a220) at 
/var/tmp/paludis/kde-base-
kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:135

#24 0x00007f964df45bdf in ThreadWeaver::ThreadRunHelper::run 
(this=0x7f9613678e10, parent=0x2f8dc90, th=0x2f8a220) at 
/var/tmp/paludis/kde-base-
kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:95

#25 0x00007f964df45d34 in ThreadWeaver::Thread::run (this=0x2f8a220) at 
/var/tmp/paludis/kde-base-
kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:142

#26 0x00007f9651cf0467 in QThreadPrivate::start (arg=0x2f8a220) at 
thread/qthread_unix.cpp:285

#27 0x00007f964eb7c944 in start_thread () from /lib/libpthread.so.0

#28 0x00007f965074019d in clone () from /lib/libc.so.6



Is this something useful?

-------------------------------------------------------------


More information about the Amarok-devel mailing list