Crash when starting playback

Maximilian Kossick mkossick at gmx.de
Thu Mar 15 19:36:02 CET 2007


Hi Ovy

I've noticed various crashes in the last few days too. Below is the backtrace 
of the most recent one. The crashes usually happen when I try to play a song 
or shortly after, sometimes i can hear the first second or so of the song. I 
remember at least one backtrace which mentioned qatomic. This one doesn't, 
but maybe it's helpful. My tree is not identical to SVN, but there are no 
changes which would trigger these crashes.

Cheers, Max

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1318716512 (LWP 24932)]
0xb7efaa1d in QString::realloc (this=0xb165f0fc, alloc=1) at 
tools/qstring.cpp:946
946             ::memcpy(x->array, d->data, x->size * sizeof(QChar));
(gdb) bt
#0  0xb7efaa1d in QString::realloc (this=0xb165f0fc, alloc=1) at 
tools/qstring.cpp:946
#1  0xb7eff42b in QString::replace (this=0xb165f0fc, before=@0xb165f09c, 
after=@0xb165f104,
    cs=Qt::CaseSensitive) at tools/qstring.cpp:1497
#2  0xb7eff875 in QString::replace (this=0xb165f0fc, ch={ucs = 39}, 
after=@0xb165f104,
    cs=Qt::CaseSensitive) at tools/qstring.cpp:1599
#3  0xb724d099 in CollectionDB::exactCondition (right=@0xb165f20c)
    at /home/kdedev/trunk/extragear/multimedia/amarok/src/collectiondb.h:257
#4  0xb72566fb in CollectionDB::IDFromExactValue (this=0xb75affc0, 
table=@0xb165f210,
    value=@0xb165f20c, autocreate=true, temporary=false)
    
at /home/kdedev/trunk/extragear/multimedia/amarok/src/collectiondb.cpp:4455
#5  0xb725c7c7 in CollectionDB::artistID (this=0xb75affc0, value=@0xb165f374, 
autocreate=true,
    temporary=false, exact=true)
    
at /home/kdedev/trunk/extragear/multimedia/amarok/src/collectiondb.cpp:1341
#6  0xb72c8c22 in CurrentTrackJob::doJob (this=0x8e95ec0)
    
at /home/kdedev/trunk/extragear/multimedia/amarok/src/contextbrowser.cpp:3123
#7  0xb74f22d9 in ThreadManager::Thread::run (this=0x8458618)
    
at /home/kdedev/trunk/extragear/multimedia/amarok/src/threadmanager.cpp:280
#8  0xb7ec35e9 in QThreadPrivate::start (arg=0x8458618) at 
thread/qthread_unix.cpp:146
#9  0xb7e7c504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb5c8051e in clone () from /lib/tls/i686/cmov/libc.so.6


On Thursday 15 March 2007, Ovidiu Gheorghioiu wrote:
> Hi Mark,
>
> I haven't been able to reproduce this. I've done a svn up, and tried
> both debug and optimized builds. They work fine. Is your tree
> identical to SVN?
>
> A change that was introduced in this patch is that crashes related to
> invalid usage of a freed or NULL AtomicString are now likely to trace
> back to qatomic.h rather than elsewhere in QString. But the patch
> should not cause a crash where there was none previously.
>
> Ovy
>
> On 3/15/07, Mark Kretschmann <markey at web.de> wrote:
> > Hey Ovy,
> >
> > I'm getting a crash anytime I try to play a track with trunk. Could this
> > be related to AtomicString? Please have a look at the backtrace:
> >
> >
> > #0  MetaBundle::exactText (this=0xb3f2dca0, column=2, ensureCached=false)
> >
> > at
> > /home/kdedev/qt-copy/include/QtCore/../../src/corelib/arch/qatomic_i386.h
> >:70 #1  0xb737819b in PlaylistItem::text (this=0xb3f2dca0, column=2)
> >
> > at
> > /home/kdedev/kdesvn/extragear/multimedia/amarok/src/playlistitem.cpp:129
> > #2  0xb73755e4 in PlaylistItem::paintCell (this=0xb3f2dca0,
> > painter=0xbfccf704, cg=@0xbfccf5c4, column=2, width=99, align=1)
> >
> > at
> > /home/kdedev/kdesvn/extragear/multimedia/amarok/src/playlistitem.cpp:532
> > #3  0xb5f59473 in Q3ListView::drawContentsOffset (this=0x8171b10,
> > p=0xbfccf704, ox=0, oy=0, cx=0, cy=0, cw=274, ch=751)
> >     at itemviews/q3listview.cpp:2880
> > #4  0xb5fbe60b in Q3ScrollView::viewportPaintEvent (this=0x8171b10,
> > pe=0xbfcd0010) at widgets/q3scrollview.cpp:1691
> > #5  0xb6c0bc67 in K3ListView::viewportPaintEvent (this=0x8171b10,
> > e=0xbfcd0010)
> >     at /home/kdedev/kdesvn/kdelibs/kdeui/itemviews/k3listview.cpp:1909
> > #6  0xb72fd47d in Playlist::viewportPaintEvent (this=0x8171b10,
> > e=0xbfcd0010) at
> > /home/kdedev/kdesvn/extragear/multimedia/amarok/src/playlist.cpp:2525
> >
> > --
> > Mark
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20070315/ac372732/attachment.pgp 


More information about the Amarok-devel mailing list