Fwd: crash in Debug::dbgstream ?

Kevin Funk krf at gmx.de
Sat Nov 13 21:57:28 CET 2010


Saturday 13 November 2010, Kevin Funk <krf at gmx.de>:
> 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  ----------
> 

(snip)

Okay, self-replying to my mail,

Possible fix:

commit e50149e9ef903b54f5b69105cc424351938d94c3
branch master
Author: Kevin Funk <krf at electrostorm.net>
Date:   Sat Nov 13 21:37:52 2010 +0100

    Fix possible crash in debugging system
    
    Do not hold a reference to a shared resource after leaving the critical
    region.
    
    Thanks for the good catch, Rick.


Please check, Mikko.

Greets

-- 
Kevin Funk


More information about the Amarok-devel mailing list