Crash on startup in Youtube applet
Alex Merry
kde at randomguy3.me.uk
Mon Sep 21 16:46:39 CEST 2009
Well, I'm guessing it's happening at the line "delete item" (266) in
VideoclipEngine::resultYoutube, but I can't see why that would be causing a
double-free.
Of course, it could be the glib-borked-memory-management bug: are you running
a 64-bit system? KDE apps that use glib anywhere (ie: all KDE apps if your Qt
use the glib event loop) on 64 bit systems occasionally crash with memory
corruption errors when the _MEM_CHECK environment variable is set to anything
other than 0 (startkde sets this variable).
Alex
On Monday 21 September 2009 13:15:21 you wrote:
> Hi all,
>
> got this crash today in the Youtube applet. Happened on startup, and
> the backtrace is very crappy. Can anyone make sense of it?
>
> Here goes:
>
>
> amarok: BEGIN: void VideoclipEngine::resultDailymotion(KJob*)
> amarok: Dailymotion fetch : 0 songs
> amarok: END__: void VideoclipEngine::resultDailymotion(KJob*) - Took
> 0.00016s
> amarok: BEGIN: void VideoclipEngine::resultYoutube(KJob*)
> *** glibc detected *** amarok: double free or corruption (!prev):
> 0x000000000544e1f0 ***
> ======= Backtrace: =========
> /lib/libc.so.6[0x7f6349e3ddd6]
> /lib/libc.so.6(cfree+0x6c)[0x7f6349e4270c]
> /home/mark/kde/lib/kde4/amarok_data_engine_videoclip.so[0x7f63250e8c35]
> /home/mark/kde/lib/kde4/amarok_data_engine_videoclip.so[0x7f63250e3750]
> /home/mark/kde/lib/kde4/amarok_data_engine_videoclip.so[0x7f63250e892e]
> /usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x429)[0x7f634aa3a049]
> /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6Q
> Event+0xac)[0x7f634b5b9efc]
> /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x37e)[0
> x7f634b5c11ce]
> /usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x36)[0x
> 7f634cb6ddb6]
> /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6Q
> Event+0x8c)[0x7f634aa2ab7c]
> /usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7Q
> ObjectiP11QThreadData+0x2ba)[0x7f634aa2b75a]
> /usr/lib/libQtCore.so.4[0x7f634aa53483]
> /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x22e)[0x7f63432bac4e]
> /usr/lib/libglib-2.0.so.0[0x7f63432be618]
> /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x80)[0x7f63432be740]
> /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN1
> 0QEventLoop17ProcessEventsFlagEE+0x66)[0x7f634aa530f6]
> /usr/lib/libQtGui.so.4[0x7f634b64e3de]
> /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17Process
> EventsFlagEE+0x32)[0x7f634aa29482]
> /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFla
> gEE+0xd4)[0x7f634aa29854]
> /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xb9)[0x7f634aa2ba09]
> amarok[0x405949]
> /lib/libc.so.6(__libc_start_main+0xfd)[0x7f6349de6abd]
> amarok[0x4002a9]
> ======= Memory map: ========
> 00400000-0040a000 r-xp 00000000 08:08 271308
> /home/mark/kde/bin/amarok
> 0040a000-0040b000 r--p 0000a000 08:08 271308
> /home/mark/kde/bin/amarok
> 0040b000-0040c000 rw-p 0000b000 08:08 271308
> /home/mark/kde/bin/amarok
> 0096d000-0550f000 rw-p 00000000 00:00 0
> [heap] 4046c000-4046e000 rwxp 00000000 00:0f 1450
> /dev/zero
> 7f63056c7000-7f6305737000 r--p 00000000 08:07 35019
> /usr/share/fonts/truetype/freefont/FreeSans.ttf
> 7f6305737000-7f6305953000 r--p 00000000 08:07 35165
> /usr/share/fonts/truetype/unfonts/UnDotum.ttf
> 7f6305953000-7f6305cfc000 r--p 00000000 08:07 166027
> /usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf
> 7f6305cfc000-7f6307111000 r--p 00000000 08:07 35014
> /usr/share/fonts/truetype/arphic/uming.ttc
> 7f6307111000-7f6308526000 r--p 00000000 08:07 35014
> /usr/share/fonts/truetype/arphic/uming.ttc
> 7f6308526000-7f6308527000 ---p 00000000 00:00 0
> 7f6308527000-7f6308d27000 rwxp 00000000 00:00 0
> 7f6308d27000-7f6308d45000 r-xp 00000000 08:07 106278
> /usr/lib/libmad.so.0.2.1
> 7f6308d45000-7f6308f45000 ---p 0001e000 08:07 106278
> /usr/lib/libmad.so.0.2.1
> 7f6308f45000-7f6308f46000 r--p 0001e000 08:07 106278
> /usr/lib/libmad.so.0.2.1
> 7f6308f46000-7f6308f47000 rw-p 0001f000 08:07 106278
> /usr/lib/libmad.so.0.2.1
> 7f6308f47000-7f6308f49000 r-xp 00000000 08:07 36288
> /usr/lib/xine/plugins/1.26/xineplug_decode_mad.so
> 7f6308f49000-7f6309148000 ---p 00002000 08:07 36288
> /usr/lib/xine/plugins/1.26/xineplug_decode_mad.so
> 7f6309148000-7f6309149000 r--p 00001000 08:07 36288
> /usr/lib/xine/plugins/1.26/xineplug_decode_mad.so
> 7f6309149000-7f630914a000 rw-p 00002000 08:07 36288
> /usr/lib/xine/plugins/1.26/xineplug_decode_mad.so
> 7f630914a000-7f630914b000 r-xp 00000000 08:07 60095
> /usr/lib/xine/plugins/1.26/xineplug_dmx_yuv_frames.so
> 7f630914b000-7f630934b000 ---p 00001000 08:07 60095
> /usr/lib/xine/plugins/1.26/xineplug_dmx_yuv_frames.so
> 7f630934b000-7f630934c000 r--p 00001000 08:07 60095
> /usr/lib/xine/plugins/1.26/xineplug_dmx_yuv_frames.so
> 7f630934c000-7f630934d000 rw-p 00002000 08:07 60095
> /usr/lib/xine/plugins/1.26/xineplug_dmx_yuv_frames.so
> 7f630934d000-7f6309354000 r-xp 00000000 08:07 60040
> /usr/lib/xine/plugins/1.26/xineplug_dmx_sputext.so
> 7f6309354000-7f6309553000 ---p 00007000 08:07 60040
> /usr/lib/xine/plugins/1.26/xineplug_dmx_sputext.so
> 7f6309553000-7f6309554000 r--p 00006000 08:07 60040
> /usr/lib/xine/plugins/1.26/xineplug_dmx_sputext.so
> 7f6309554000-7f6309555000 rw-p 00007000 08:07 60040
> /usr/lib/xine/plugins/1.26/xineplug_dmx_sputext.so
> 7f6309555000-7f630957b000 r-xp 00000000 08:07 7667
> /usr/lib/libwavpack.so.1.0.3
> 7f630957b000-7f630977b000 ---p 00026000 08:07 7667
> /usr/lib/libwavpack.so.1.0.3
> 7f630977b000-7f630977c000 r--p 00026000 08:07 7667
> /usr/lib/libwavpack.so.1.0.3
> 7f630977c000-7f630977d000 rw-p 00027000 08:07 7667
> /usr/lib/libwavpack.so.1.0.3
> 7f630977d000-7f6309780000 r-xp 00000000 08:07 60406
> /usr/lib/xine/plugins/1.26/xineplug_wavpack.so
> 7f6309780000-7f6309980000 ---p 00003000 08:07 60406
> /usr/lib/xine/plugins/1.26/xineplug_wavpack.so
> 7f6309980000-7f6309981000 r--p 00003000 08:07 60406
> /usr/lib/xine/plugins/1.26/xineplug_wavpack.so
> 7f6309981000-7f6309982000 rw-p 00004000 08:07 60406
> /usr/lib/xine/plugins/1.26/xineplug_wavpack.so
> 7f6309982000-7f6309984000 r-xp 00000000 08:07 36294
> /usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_elem.so
> 7f6309984000-7f6309b83000 ---p 00002000 08:07 36294
> /usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_elem.so
> 7f6309b83000-7f6309b84000 r--p 00001000 08:07 36294
> /usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_elem.so
> 7f6309b84000-7f6309b85000 rw-p 00002000 08:07 36294
> /usr/lib/xine/plugins/1.26/xineplug_dmx_mpeg_elem.so
> 7f6309b85000-7f6309b88000 r-xp 00000000 08:07 60305
> /usr/lib/xine/plugins/1.26/xineplug_flac.so
> 7f6309b88000-7f6309d87000 ---p 00003000 08:07 60305
> /usr/lib/xine/plugins/1.26/xineplug_flac.so
> 7f6309d87000-7f6309d88000 r--p 00002000 08:07 60305
> /usr/lib/xine/plugins/1.26/xineplug_flac.so
> 7f6309d88000-7f6309d89000 rw-p 00003000 08:07 60305
> /usr/lib/xine/plugins/1.26/xineplug_flac.so
> 7f6309d89000-7f6309d8b000 r-xp 00000000 08:07 56196
> /usr/lib/xine/plugins/1.26/xineplug_dmx_rawdv.so
> 7f6309d8b000-7f6309f8a000 ---p 00002000 08:07 56196
> /usr/lib/xine/plugins/1.26/xineplug_dmx_rawdv.so
> 7f6309f8a000-7f6309f8b000 r--p 00001000 08:07 56196
> /usr/lib/xine/plugins/1.26/xineplug_dmx_rawdv.so
> 7f6309f8b000-7f6309f8c000 rw-p 00002000 08:07 56196
> /usr/lib/xine/plugins/1.26/xineplug_dmx_rawdv.soKCrash: Application
> 'amarok' crashing...
> sock_file=/home/mark/.kde/socket-hyperion/kdeinit4__0
>
--
Why have I got six monitors? Because I haven't got room for eight.
-- Terry Pratchett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20090921/9c361c55/attachment-0001.sig
More information about the Amarok-devel
mailing list