On Wed, 23 Jan 2019 22:24:46 +0100 Matteo Cypriani <m...@lm7.fr> wrote:
> Control: tags -1 unreproducible
> 
> On Sun, 16 Dec 2018 15:03:33 +0100
> bitfreak25 <bitfrea...@gmx.de> wrote:
> > Package: qmmp
> > Version: 1.2.2-1+b2
> > Severity: important
> > 
> > Dear Maintainer,
> > 
> >    * What led up to the situation?
> > 
> > I try to play a sound file by using qmmp.
> > 
> > 
> >    * What exactly did you do (or not do) that was effective (or
> >      ineffective)?
> >    * What was the outcome of this action?
> > 
> > The program doesn't play the accessed sound file. The GUI is still
> > reacting after that, so the program doesn't crash itself.
> > 
> > 
> >    * What outcome did you expect instead?
> > 
> > The program plays the sound file.
> > 
> > Further information:
> > The output when opening an mp3-file in the command-line like "qmmp
> > *.mp3" is attached.
> 
> Could you please try reproducing with version 1.2.6 that I just
> uploaded?
> 
> This looks like a misconfiguration of your audio output ("OutputALSA:
> Failed to find mixer element"), so if you still have the issue, maybe
> check your output plugin in the configuration. If you use PulseAudio,
> pick it instead of ALSA.
> 
> Thanks,
>   Matteo

Thanks for your response.

Now I can play a mp3-File with both versions (1.2.2-1+b2 and 1.2.6). I don't 
know what changed inbetween, but it works. There is also no difference if I 
choose ALSA or Pulseaudio as module.

But there is still a bug when opening a midi file. Qmmp quits with "free(): 
double free detected in tcache 2". A backtrace is attached. I've also tested 
with other midi files which have same behaviour.

Note:
I could still open the midi file with the program wildmidi directly.


Kind regards,
bitfreak25
GNU gdb (Debian 8.2-1) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from qmmp...Reading symbols from 
/usr/lib/debug/.build-id/a0/9030fe85080d1e26c0b5acae90e7b4a7dfcaeb.debug...done.
done.
(gdb) eliserun elise.mid 
Starting program: /usr/bin/qmmp elise.mid
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1a7c700 (LWP 5186)]
[New Thread 0x7fffeb4eb700 (LWP 5187)]
[New Thread 0x7fffeacea700 (LWP 5188)]
QMMPStarter: removed invalid socket file
QmmpPluginCache: loaded plugin libalsa.so
OutputALSA: setupMixer()
OutputALSA: Failed to find mixer element
QmmpUiPluginCache: error: Die Bibliothek 
/usr/lib/qmmp/qmmp/General/libhotkey.so kann nicht geladen werden: 
(/usr/lib/qmmp/qmmp/General/libhotkey.so: undefined symbol: _ZTV13HotkeyManager)
QmmpUiPluginCache: unknown plugin type: /usr/lib/qmmp/qmmp/General/libhotkey.so
QmmpUiPluginCache: loaded plugin libskinned.so
MainWindow: detected wm: Xfwm4
Skin: using :/glare
Skin: cannot find region.txt. Transparency disabled
Visual: loaded plugin libanalyzer.so
[New Thread 0x7fffe280b700 (LWP 5189)]
[New Thread 0x7fffe1ec9700 (LWP 5190)]
[New Thread 0x7fffe16c8700 (LWP 5191)]
[New Thread 0x7fffe0ec7700 (LWP 5192)]
[New Thread 0x7fffc3fff700 (LWP 5193)]
[New Thread 0x7fffc37fe700 (LWP 5194)]
[New Thread 0x7fffbbfff700 (LWP 5195)]
[New Thread 0x7fffc2ffd700 (LWP 5196)]
[New Thread 0x7fffc27fc700 (LWP 5197)]
[New Thread 0x7fffc1ffb700 (LWP 5198)]
[New Thread 0x7fffc17fa700 (LWP 5199)]
[New Thread 0x7fffc0ff9700 (LWP 5200)]
[New Thread 0x7fffbb7fe700 (LWP 5201)]
[New Thread 0x7fffbaffd700 (LWP 5202)]
[New Thread 0x7fffba7fc700 (LWP 5203)]
[New Thread 0x7fffb9ffb700 (LWP 5204)]
[New Thread 0x7fffb97fa700 (LWP 5205)]
[New Thread 0x7fffb8ff9700 (LWP 5206)]
[New Thread 0x7fff8bfff700 (LWP 5207)]
[New Thread 0x7fff8b7fe700 (LWP 5208)]
WindowSystem: setting sticky state of window 0x4800006 to false.
QmmpPluginCache: loaded plugin libhttp.so
QmmpPluginCache: loaded plugin libmms.so
QmmpPluginCache: loaded plugin libaac.so
QmmpPluginCache: loaded plugin libarchive.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 libffmpeg.so
QmmpPluginCache: loaded plugin libmplayer.so
[New Thread 0x7fff76e22700 (LWP 5210)]
PlayListParser: loaded plugin libm3uplaylistformat.so
PlayListParser: loaded plugin libplsplaylistformat.so
PlayListParser: loaded plugin libxspfplaylistformat.so
[Thread 0x7fff76e22700 (LWP 5210) exited]
OutputALSA: setupMixer()
OutputALSA: Failed to find mixer element
InputSource: using file transport
QmmpAudioEngine: selected decoder: wildmidi
free(): double free detected in tcache 2

Thread 1 "qmmp" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht 
gefunden.
(gdb) bt
#0  0x00007ffff67b085b in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff679b535 in __GI_abort () at abort.c:79
#2  0x00007ffff67f2728 in __libc_message (action=action@entry=do_abort, 
fmt=fmt@entry=0x7ffff68fd28d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff67f8e4a in malloc_printerr (str=str@entry=0x7ffff68fef58 
"free(): double free detected in tcache 2") at malloc.c:5341
#4  0x00007ffff67fa92d in _int_free (av=0x7fff70000020, p=0x7fff700099e0, 
have_lock=<optimized out>) at malloc.c:4193
#5  0x00007fff88920d64 in _WM_GLOBAL_ERROR (func=func@entry=0x7fff88936ba8 
<__FUNCTION__.3831> "_WM_BufferFile", lne=216, wmerno=<optimized out>, 
wmfor=0x5555559d0b40 "/usr/share/sounds/sf2/%font.pat", error=2) at 
./src/wm_error.c:79
#6  0x00007fff88921177 in _WM_BufferFile (filename=<optimized out>, 
filename@entry=0x5555559d0b40 "/usr/share/sounds/sf2/%font.pat", 
size=size@entry=0x7fffffffd2cc) at ./src/file_io.c:228
#7  0x00007fff8892a36c in _WM_load_gus_pat (filename=0x5555559d0b40 
"/usr/share/sounds/sf2/%font.pat", fix_release=<optimized out>) at 
./src/gus_pat.c:731
#8  0x00007fff88933a7a in _WM_load_sample 
(sample_patch=sample_patch@entry=0x7fff7004f0e0) at ./src/sample.c:126
#9  0x00007fff8892f948 in _WM_load_patch (mdi=mdi@entry=0x555556211d50, 
patchid=patchid@entry=0) at ./src/patches.c:84
#10 0x00007fff8892de6f in _WM_initMDI () at ./src/internal_midi.c:1890
#11 0x00007fff8893120d in _WM_ParseNewMidi (midi_data=0x555556177a4e "MTrk", 
midi_size=14250) at ./src/f_midi.c:146
#12 0x00007fff88923c15 in WildMidi_Open (midifile=<optimized out>) at 
./src/wildmidi_lib.c:1669
#13 0x00007fff88baf03b in DecoderWildMidi::initialize() (this=0x555555b51f20) 
at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:206
#14 0x00007ffff7f1303b in QmmpAudioEngine::enqueue(InputSource*) 
(this=0x555555b2d180, source=0x555555af0030) at 
./src/qmmp/qmmpaudioengine.cpp:153
#15 0x00007ffff7f18267 in AbstractEngine::create(InputSource*, QObject*) 
(s=0x555555af0030, parent=0x5555557c2b50) at ./src/qmmp/abstractengine.cpp:76
#16 0x00007ffff7f0bd8b in SoundCore::startNextSource() (this=0x5555557c2b50) at 
./src/qmmp/soundcore.cpp:279
#17 0x00007ffff7f2caed in SoundCore::qt_static_metacall(QObject*, 
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, 
_id=<optimized out>, _a=0x7fffffffd7d0)
    at 
./obj-x86_64-linux-gnu/src/qmmp/libqmmp_autogen/EWIEGA46WW/moc_soundcore.cpp:221
#18 0x00007ffff6d6d6cb in QMetaObject::activate(QObject*, int, int, void**) () 
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff7f1d109 in FileInputSource::initialize() (this=<optimized out>) 
at ./src/qmmp/fileinputsource.cpp:36
#20 0x00007ffff7f0ba41 in SoundCore::play(QString const&, bool, long long) 
(this=0x5555557c2b50, source=..., queue=<optimized out>, offset=<optimized 
out>) at ./src/qmmp/soundcore.cpp:84
#21 0x00007ffff7de1a59 in MediaPlayer::play(long long) (this=0x55555576bab0, 
offset=-1) at ./src/qmmpui/mediaplayer.cpp:96
#22 0x00007ffff6d6d6cb in QMetaObject::activate(QObject*, int, int, void**) () 
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff7e25ec2 in PlayListModel::trackAdded(PlayListTrack*) 
(this=this@entry=0x5555557618e0, _t1=<optimized out>, _t1@entry=0x7fff7000f340) 
at 
./obj-x86_64-linux-gnu/src/qmmpui/qmmpui_autogen/EWIEGA46WW/moc_playlistmodel.cpp:405
#24 0x00007ffff7dd79e1 in PlayListModel::add(QList<PlayListTrack*>) 
(this=0x5555557618e0, tracks=...) at ./src/qmmpui/playlistmodel.cpp:137
#25 0x00007ffff7dd7b19 in PlayListModel::insert(PlayListItem*, 
QList<PlayListTrack*>) (this=this@entry=0x5555557618e0, before=<optimized out>, 
tracks=...) at ./src/qmmpui/playlistmodel.cpp:216
#26 0x00007ffff7e27b1d in PlayListModel::qt_static_metacall(QObject*, 
QMetaObject::Call, int, void**) (_o=0x5555557618e0, _c=<optimized out>, 
_id=<optimized out>, _a=0x7fff7000ea20)
    at 
./obj-x86_64-linux-gnu/src/qmmpui/qmmpui_autogen/EWIEGA46WW/moc_playlistmodel.cpp:262
#27 0x00007ffff6d6df82 in QObject::event(QEvent*) () at 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ffff7860491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff7867ad0 in QApplication::notify(QObject*, QEvent*) () at 
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff6d44479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) 
() at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff6d4746b in QCoreApplicationPrivate::sendPostedEvents(QObject*, 
int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ffff6d96b23 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff5bd3e0e in g_main_context_dispatch () at 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff5bd40a8 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff5bd413c in g_main_context_iteration () at 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff6d96153 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007ffff31dd861 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#38 0x00007ffff6d4314b in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ffff6d4b2c2 in QCoreApplication::exec() () at 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x000055555555c01c in main(int, char**) (argc=<optimized out>, 
argv=<optimized out>) at ./src/app/main.cpp:70
(gdb) equit
A debugging session is active.

        Inferior 1 [process 5182] will be killed.

Quit anyway? (y or n) y

Reply via email to