[Bug 176800] Amarok crashes with certain mp3s

Adriano Kaiser adikaiser at gmx.de
Sun Dec 16 22:02:13 UTC 2007


Public bug reported:

Since i was forced(Feisty Fawn -> Gutsy upgrade) to use Xine as engine, Amarok crashes with some mp3. However not all mp3 causes the crash.
Other Xine-based player(gxine, totem-xine, kaffeine-xine, xine-ui) can play these mp3 without problems. Only Amarok always crashes.
The crash occur right after i click the file to play, not after 2 or 5 or 20 seconds.
Im using Ubuntu Gutsy Gibbon release.

I have also purged Amarok from my system and compiled the original(1.4.7.) tarball from http://amarok.kde.org
This worked. Amarok now plays those mp3s which should crash it.

Therefore it must be something from with the package.

Here is the GDB trace from the Ubuntu packages.
With valgrind amarok plays those mp3 which should crash Amarok.

GDB Trace:

ravertier at hoipoi:~/incoming$ gdb amarokapp
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/amarokapp
(no debugging symbols found)

[Thread debugging using libthread_db enabled]
[New Thread -1263020320 (LWP 18399)]
(no debugging symbols found)

(no debugging symbols found)
Qt: gdb: -nograb added to command-line options.
         Use the -dograb option to enforce grabbing.
X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode:  149
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode:  149
  Minor opcode:  3
  Resource id:  0x0
Failed to open device

(no debugging symbols found)
[New Thread -1267811440 (LWP 18402)]
[Thread -1267811440 (LWP 18402) exited]
[New Thread -1276204144 (LWP 18403)]
[Thread -1276204144 (LWP 18403) exited]
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x81a3150 ): KAccel object already contains an action name "play_pause"
QLayout "unnamed" added to QVBox "unnamed", which already has a layout

(no debugging symbols found)
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x81a3150 ): KAccel object already contains an action name "play_pause"
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
QObject::connect: Incompatible sender/receiver arguments
        StarManager::ratingsColorsChanged() --> ContextBrowser::ratingOrScoreOrLabelsChanged(const QString&)

(no debugging symbols found)
[New Thread -1276204144 (LWP 18404)]
[Thread -1276204144 (LWP 18404) exited]
(no debugging symbols found)

(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)

(no debugging symbols found)
[New Thread -1276204144 (LWP 18412)]
(no debugging symbols found)
[New Thread -1267811440 (LWP 18413)]
[New Thread -1297024112 (LWP 18414)]
[New Thread -1307305072 (LWP 18415)]
[New Thread -1315697776 (LWP 18416)]
STARTUP

(no debugging symbols found)
[New Thread -1325888624 (LWP 18420)]
*** glibc detected *** amarokapp: double free or corruption (out): 0x0874cfc0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb66e4d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb66e8800]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb68acd81]
/usr/lib/libamarok.so.0(_ZNSt10_List_baseIPN6TagLib5ID3v25FrameESaIS3_EE8_M_clearEv+0x2c)[0xb7c30c7c]
/usr/lib/libamarok.so.0(_ZN6TagLib4ListIPNS_5ID3v25FrameEED1Ev+0x6d)[0xb7c31bfd]
/usr/local/lib/libtag.so.1(_ZN6TagLib5ID3v23TagD0Ev+0x5c)[0xb6c03e5c]
/usr/local/lib/libtag.so.1(_ZN6TagLib4MPEG4FileD0Ev+0x3a)[0xb6bf670a]
/usr/local/lib/libtag.so.1(_ZN6TagLib7FileRefD1Ev+0x3f)[0xb6bf4e3f]
/usr/lib/libamarok.so.0(_ZN10MetaBundle8readTagsEN6TagLib15AudioProperties9ReadStyleEP10QValueListINS_13EmbeddedImageEE+0xfc)[0xb7c27cdc]
/usr/lib/libamarok.so.0(_ZN10MetaBundleC1ERK4KURLbN6TagLib15AudioProperties9ReadStyleEP10QValueListINS_13EmbeddedImageEE+0x239)[0xb7c2a3e9]
/usr/lib/libamarok.so.0(_ZN12CollectionDB13bundlesByUrlsERKN4KURL4ListE+0xe8f)[0xb7b1d44f]
/usr/lib/libamarok.so.0(_ZN9UrlLoader5doJobEv+0x399)[0xb7ce15e9]
/usr/lib/libamarok.so.0(_ZN13ThreadManager6Thread3runEv+0x169)[0xb7d60199]
/usr/lib/libqt-mt.so.3(_ZN15QThreadInstance5startEPv+0xb1)[0xb6130069]
/lib/tls/i686/cmov/libpthread.so.0[0xb6b3846b]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb674e6de]
======= Memory map: ========
08048000-0806d000 r-xp 00000000 08:06 1140616    /usr/bin/amarokapp
0806d000-0806e000 rw-p 00024000 08:06 1140616    /usr/bin/amarokapp
0806e000-087e4000 rw-p 0806e000 00:00 0          [heap]
b0788000-b0789000 ---p b0788000 00:00 0
b0789000-b0f89000 rwxp b0789000 00:00 0
b0f89000-b0fce000 r-xp 00000000 08:06 1190238    /usr/lib/libFLAC.so.8.0.1
b0fce000-b0fcf000 rw-p 00045000 08:06 1190238    /usr/lib/libFLAC.so.8.0.1
b0fe7000-b1007000 r-xp 00000000 08:06 1191854    /usr/lib/libwavpack.so.1.0.1
b1007000-b100c000 rw-p 00020000 08:06 1191854    /usr/lib/libwavpack.so.1.0.1
b101f000-b1020000 rw-p b101f000 00:00 0
b1020000-b1023000 r-xp 00000000 08:06 180891     /usr/lib/xine/plugins/1.1.8/xineplug_flac.so
b1023000-b1024000 rw-p 00002000 08:06 180891     /usr/lib/xine/plugins/1.1.8/xineplug_flac.so
b1024000-b1027000 r-xp 00000000 08:06 180892     /usr/lib/xine/plugins/1.1.8/xineplug_wavpack.so
b1027000-b1028000 rw-p 00002000 08:06 180892     /usr/lib/xine/plugins/1.1.8/xineplug_wavpack.so
b1028000-b1029000 r-xp 00000000 08:06 180890     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_yuv_frames.so
b1029000-b102a000 rw-p 00000000 08:06 180890     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_yuv_frames.so
b102a000-b1030000 r-xp 00000000 08:06 180888     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_sputext.so
b1030000-b1031000 rw-p 00006000 08:06 180888     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_sputext.so
b1031000-b1032000 r-xp 00000000 08:06 180821     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_mpeg_elem.so
b1032000-b1033000 rw-p 00000000 08:06 180821     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_mpeg_elem.so
b1033000-b1035000 r-xp 00000000 08:06 180885     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_rawdv.so
b1035000-b1036000 rw-p 00001000 08:06 180885     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_rawdv.so
b1036000-b103b000 r-xp 00000000 08:06 180344     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_mpeg.so
b103b000-b103c000 rw-p 00004000 08:06 180344     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_mpeg.so
b103c000-b1040000 r-xp 00000000 08:06 180820     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_mpeg_block.so
b1040000-b1041000 rw-p 00003000 08:06 180820     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_mpeg_block.so
b1041000-b1043000 r-xp 00000000 08:06 180889     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_yuv4mpeg2.so
b1043000-b1044000 rw-p 00001000 08:06 180889     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_yuv4mpeg2.so
b1044000-b1046000 r-xp 00000000 08:06 180887     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_slave.so
b1046000-b1047000 rw-p 00001000 08:06 180887     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_slave.so
b1047000-b104c000 r-xp 00000000 08:06 180886     /usr/lib/xine/plugins/1.1.8/xineplug_dmx_
Program received signal SIGABRT, Aborted.
[Switching to Thread -1325888624 (LWP 18420)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb66a5875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb66a7201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb66dce5c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0x00000016 in ?? ()
#5  0xb0f87244 in ?? ()
#6  0x00000400 in ?? ()
#7  0xb67a70c8 in ?? () from /lib/tls/i686/cmov/libc.so.6
#8  0x00000017 in ?? ()
#9  0xbfc4f982 in ?? ()
#10 0x00000009 in ?? ()
#11 0xb67a70e1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#12 0x00000002 in ?? ()
#13 0xb67a7180 in ?? () from /lib/tls/i686/cmov/libc.so.6
#14 0x0000001f in ?? ()
#15 0xb67a70e5 in ?? () from /lib/tls/i686/cmov/libc.so.6
#16 0x00000004 in ?? ()
#17 0xb0f877bb in ?? ()
#18 0x00000008 in ?? ()
#19 0xb67a70eb in ?? () from /lib/tls/i686/cmov/libc.so.6
#20 0x00000005 in ?? ()
#21 0x782469df in ?? ()
#22 0xfe34bff6 in ?? ()
#23 0x69e4afbf in ?? ()
#24 0x6668a818 in ?? ()
#25 0xee744b31 in ?? ()
#26 0xb9a788f4 in ?? ()
#27 0xb67a70eb in ?? () from /lib/tls/i686/cmov/libc.so.6
#28 0x00000005 in ?? ()
#29 0xb0f87190 in ?? ()
#30 0x00000025 in ?? ()
#31 0xb8607e4e in ?? ()
#32 0x4dc24d4a in ?? ()
#33 0xc9f32791 in ?? ()
#34 0x911911be in ?? ()
#35 0xb0f877bb in ?? ()
#36 0x00000008 in ?? ()
#37 0xb0f871a0 in ?? ()
#38 0x41110047 in ?? ()
#39 0xb67a70e5 in ?? () from /lib/tls/i686/cmov/libc.so.6
#40 0x00000004 in ?? ()
#41 0xb0f871c0 in ?? ()
#42 0xb66dccf9 in ?? () from /lib/tls/i686/cmov/libc.so.6
#43 0xb67a70e6 in ?? () from /lib/tls/i686/cmov/libc.so.6
#44 0x00000025 in ?? ()
#45 0xa7439681 in ?? ()
#46 0x3f43292e in ?? ()
#47 0xb67a7180 in ?? () from /lib/tls/i686/cmov/libc.so.6
#48 0x0000001f in ?? ()
#49 0xb0f871e0 in ?? ()
#50 0xb67a7180 in ?? () from /lib/tls/i686/cmov/libc.so.6
#51 0xffeba49e in ?? ()
#52 0xbf37c719 in ?? ()
#53 0xc29da1bb in ?? ()
#54 0x00000004 in ?? ()
#55 0xb67a70e1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#56 0x00000002 in ?? ()
#57 0xb0f87200 in ?? ()
---Type <return> to continue, or q <return> to quit---
#58 0x00000025 in ?? ()
#59 0xb66a7d7d in getenv () from /lib/tls/i686/cmov/libc.so.6
#60 0xb66e4d65 in ?? () from /lib/tls/i686/cmov/libc.so.6
#61 0x00000002 in ?? ()
#62 0xb67a70c8 in ?? () from /lib/tls/i686/cmov/libc.so.6
#63 0xbfc4f982 in ?? ()
#64 0xb67a7180 in ?? () from /lib/tls/i686/cmov/libc.so.6
#65 0xb0f877bb in ?? ()
#66 0xb79e1df8 in ?? () from /usr/lib/libamarok.so.0
#67 0xb0f877bb in ?? ()
#68 0x0874cfb8 in ?? ()
#69 0x00000000 in ?? ()
(gdb) y
Undefined command: "y".  Try "help".
(gdb) quit
The program is running.  Exit anyway? (y or n) y
ravertier at hoipoi:~/incoming$

** Affects: amarok (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Amarok crashes with certain mp3s
https://bugs.launchpad.net/bugs/176800
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for amarok in ubuntu.




More information about the kubuntu-bugs mailing list