Bug 3947

Summary: qmmp: core dump with .m4a files
Product: Fedora Reporter: Support <rpfusionbugzilla>
Component: qmmp-plugins-freeworldAssignee: Karel Volný <kvolny>
Status: RESOLVED EXPIRED    
Severity: major CC: sergio
Priority: P5    
Version: 23   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Attachments: STRACE of a crash

Description Support 2016-01-21 10:01:19 CET
Created attachment 1548 [details]
STRACE of a crash

QMMP crashes with a core dump, when forced to playback a .m4a file.


Reproduction Steps : 

1. Download a m4a file from youtube.com, thats audio only.
2. try to play it.


Installed Packages : 

qmmp-0.9.6-1.fc23.x86_64
qmmp-plugin-pack-0.9.3-1.fc23.x86_64
qmmp-plugins-freeworld-0.9.6-1.fc23.x86_64

STRACE:

see attachment.


Additional notes: 

for obviose copyright reasons, i can't supply a testfile here.
Comment 1 Karel Volný 2016-01-21 17:39:08 CET
(In reply to comment #0)
> Reproduction Steps : 
> 1. Download a m4a file from youtube.com, thats audio only.
> 2. try to play it.

I cannot reproduce ... by any chance, isn't tied to running from Nautilus (duplicate of bug 3939)?

> Additional notes: 
> 
> for obviose copyright reasons, i can't supply a testfile here.

probably
$ youtube-dl -k https://www.youtube.com/watch?v=wA-NRyWoYII
or
$ youtube-dl -f 141 https://www.youtube.com/watch?v=wA-NRyWoYII

could do the trick ...?
Comment 2 Karel Volný 2016-01-21 17:55:04 CET
(In reply to comment #1)
> I cannot reproduce ... by any chance, isn't tied to running from Nautilus
> (duplicate of bug 3939)?

FTR, I cannot reproduce even trying with Nautilus
Comment 3 Support 2016-01-21 18:07:15 CET
Seems to work, in form of a crash : 

# qmmp '/home/.../Theme from Police Academy (extended version) by Robert Folk-wA-NRyWoYII.m4a' 
QMMPStarter: removed invalid socket file
QmmpUiPluginCache: loaded plugin libfileops.so
QmmpUiPluginCache: loaded plugin libstreambrowser.so
QmmpUiPluginCache: loaded plugin libtrackchange.so
QmmpUiPluginCache: loaded plugin libudisks2.so
UDisks2Plugin: added device: "/org/freedesktop/UDisks2/block_devices/sr0"
QmmpUiPluginCache: loaded plugin libskinned.so
MainWindow: detected wm: GNOME Shell
Skin: using /home/..../.qmmp/cache/skin
Skin: cannot find region.txt. Transparency disabled
Visual: loaded plugin libanalyzer.so
Visual: loaded plugin libprojectm.so
WindowSystem: setting sticky state of window 0x3a00003 to false.
PlayListParser: loaded plugin libm3uplaylistformat.so
PlayListParser: loaded plugin libplsplaylistformat.so
PlayListParser: loaded plugin libxspfplaylistformat.so
QmmpPluginCache: loaded plugin libhttp.so
QmmpPluginCache: loaded plugin libmms.so
QmmpPluginCache: loaded plugin libaac.so
QmmpPluginCache: loaded plugin libcdaudio.so
QmmpPluginCache: loaded plugin libcue.so
QmmpPluginCache: loaded plugin libflac.so
QmmpPluginCache: loaded plugin libgme.so
QmmpPluginCache: loaded plugin libmad.so
QmmpPluginCache: loaded plugin libmodplug.so
QmmpPluginCache: loaded plugin libmpc.so
QmmpPluginCache: loaded plugin libopus.so
QmmpPluginCache: loaded plugin libsid.so
QmmpPluginCache: loaded plugin libsndfile.so
QmmpPluginCache: loaded plugin libvorbis.so
QmmpPluginCache: loaded plugin libwavpack.so
QmmpPluginCache: loaded plugin libwildmidi.so
QmmpPluginCache: loaded plugin libffap.so
QmmpPluginCache: loaded plugin libffmpeg.so
QmmpPluginCache: loaded plugin libxmp.so
QmmpPluginCache: loaded plugin libmplayer.so
InputSource: using file transport
ReplayGain: disabled
QmmpAudioEngine: selected decoder: ffmpeg
DecoderFFmpeg: detected format: QuickTime / MOV
=mov,mp4,m4a,3gp,3g2,mj2=
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '(null)':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf56.40.101
  Duration: 00:06:12.66, start: 0.000000, bitrate: 254 kb/s
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 253 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Decoder: using internal channel order
DecoderFFmpeg: initialize succes
total time = 372658 
QmmpPluginCache: loaded plugin libsrconverter.so
QmmpPluginCache: loaded plugin libbs2b.so
QmmpPluginCache: loaded plugin libladspa.so
QmmpPluginCache: loaded plugin libstereo.so
QmmpPluginCache: loaded plugin libpulseaudio.so
OutputWriter: [pulse] 48000 Hz, {FL,FR}, s32le ==> 48000 Hz, {FL,FR}, s32le
StateHandler: Current state: Buffering; previous state: Stopped
ReplayGain: disabled
StateHandler: Current state: Playing; previous state: Buffering
===== metadata ======
ARTIST = 
TITLE = 
ALBUMARTIST = 
ALBUM = 
COMMENT = 
GENRE = 
YEAR = 
TRACK = 
== end of metadata ==
OutputPulseAudio: pa_simple_write() failed: Ungültiger Parameter
StateHandler: Current state: Stopped; previous state: Playing
Speicherzugriffsfehler (Speicherabzug geschrieben)
[marius@eve ~]$ 

*** Error in `qmmp': munmap_chunk(): invalid pointer: 0x000055c6e3f27f30 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x77da5)[0x7f554f77cda5]
/lib64/libc.so.6(cfree+0x1a8)[0x7f554f788e08]
/usr/lib64/qmmp/Effect/libsrconverter.so(_ZN11SRConverter11applyEffectEP6Buffer+0x154)[0x7f551fbb2c34]
/lib64/libqmmp.so.0(_ZN15QmmpAudioEngine12produceSoundEPcxj+0xbc)[0x7f55506ce90c]
/lib64/libqmmp.so.0(_ZN15QmmpAudioEngine5flushEb+0x167)[0x7f55506ceb47]
/lib64/libqmmp.so.0(_ZN15QmmpAudioEngine3runEv+0x55b)[0x7f55506cfccb]
/lib64/libQtCore.so.4(+0x8c37c)[0x7f555099137c]
/lib64/libpthread.so.0(+0x760a)[0x7f554f4ec60a]
/lib64/libc.so.6(clone+0x6d)[0x7f554f807a4d]
======= Memory map: ========
Comment 4 Support 2016-01-21 18:08:56 CET
can i force it to make a corefile ?
Comment 5 Sérgio Basto 2016-07-26 02:56:12 CEST
(In reply to comment #0)

> Installed Packages : 
> 
> qmmp-0.9.6-1.fc23.x86_64
> qmmp-plugin-pack-0.9.3-1.fc23.x86_64
> qmmp-plugins-freeworld-0.9.6-1.fc23.x86_64

you also have :
qmmp-plugin-pack-freeworld-0.9.3-1.fc23.src.rpm

you may debug with: 
gdb qmmp
run 
bt (after crash) and post here the result .
Comment 6 Emmanuel Seyman 2016-12-21 09:27:20 CET
Fedora 23 has been EOL-ed and RPMFusion will no longer be releasing updates for this version of Fedora. This bug will be set to RESOLVED:EXPIRED at the end of the week to reflect this.

If the problem persists after upgrading to the latest version of Fedora, please
update the version field of this bug (and re-open it if it has been closed).
Comment 7 Emmanuel Seyman 2016-12-26 10:49:05 CET
RPMFusion no longer releases updates for Fedora 23.