DeaDBeeF-Player / deadbeef

DeaDBeeF Player
https://deadbeef.sourceforge.io/
Other
1.64k stars 178 forks source link

Crashes after removing tracks from playlist #2816

Closed kai3341 closed 2 years ago

kai3341 commented 2 years ago

Hello. I have a weird problem.

Steps to reproduce the problem

I removed some tracks from playlist

What's going on? Describe the problem in as much detail as possible.

Crashes. A lot of crashes. It have never happened before

Information about the software:

OS: Debian stable We had a crash. Will not resume the saved session to avoid a crash cycle. starting deadbeef 1.9.0 [static] server_start searching for GUI plugins in /home/kai/.local/lib64/deadbeef searching for GUI plugins in /home/kai/.local/lib/deadbeef searching for GUI plugins in /opt/deadbeef/lib/deadbeef load_plugin_dir /opt/deadbeef/lib/deadbeef: scandir found 55 files found gui plugin ddb_gui_GTK2.so added GTK2 gui plugin found gui plugin ddb_gui_GTK3.so added GTK3 gui plugin load gui plugin checking GUI plugin: GTK2 checking GUI plugin: GTK3 found selected GUI plugin: GTK3 loading plugin /opt/deadbeef/lib/deadbeef/ddb_gui_GTK3.so loading plugins from /home/kai/.local/lib64/deadbeef loading plugins from /home/kai/.local/lib/deadbeef loading plugins from /opt/deadbeef/lib/deadbeef load_plugin_dir /opt/deadbeef/lib/deadbeef: scandir found 55 files loading plugin /opt/deadbeef/lib/deadbeef/aac.so loading plugin /opt/deadbeef/lib/deadbeef/adplug.so loading plugin /opt/deadbeef/lib/deadbeef/alac.so loading plugin /opt/deadbeef/lib/deadbeef/alsa.so loading plugin /opt/deadbeef/lib/deadbeef/artwork.so loading plugin /opt/deadbeef/lib/deadbeef/cdda.so loading plugin /opt/deadbeef/lib/deadbeef/converter.so loading plugin /opt/deadbeef/lib/deadbeef/converter_gtk2.so loading plugin /opt/deadbeef/lib/deadbeef/converter_gtk3.so loading plugin /opt/deadbeef/lib/deadbeef/dca.so loading plugin /opt/deadbeef/lib/deadbeef/ddb_dumb.so loading plugin /opt/deadbeef/lib/deadbeef/ddb_mono2stereo.so loading plugin /opt/deadbeef/lib/deadbeef/ddb_shn.so loading plugin /opt/deadbeef/lib/deadbeef/ddb_soundtouch.so loading plugin /opt/deadbeef/lib/deadbeef/dsp_libsrc.so loading plugin /opt/deadbeef/lib/deadbeef/ffap.so loading plugin /opt/deadbeef/lib/deadbeef/ffmpeg.so loading plugin /opt/deadbeef/lib/deadbeef/flac.so loading plugin /opt/deadbeef/lib/deadbeef/gme.so loading plugin /opt/deadbeef/lib/deadbeef/hotkeys.so loading plugin /opt/deadbeef/lib/deadbeef/in_sc68.so loading plugin /opt/deadbeef/lib/deadbeef/lastfm.so loading plugin /opt/deadbeef/lib/deadbeef/m3u.so loading plugin /opt/deadbeef/lib/deadbeef/mms.so loading plugin /opt/deadbeef/lib/deadbeef/mp3.so loading plugin /opt/deadbeef/lib/deadbeef/musepack.so loading plugin /opt/deadbeef/lib/deadbeef/notify.so loading plugin /opt/deadbeef/lib/deadbeef/nullout.so loading plugin /opt/deadbeef/lib/deadbeef/opus.so loading plugin /opt/deadbeef/lib/deadbeef/oss.so loading plugin /opt/deadbeef/lib/deadbeef/pltbrowser_gtk2.so loading plugin /opt/deadbeef/lib/deadbeef/pltbrowser_gtk3.so loading plugin /opt/deadbeef/lib/deadbeef/psf.so loading plugin /opt/deadbeef/lib/deadbeef/pulse.so loading plugin /opt/deadbeef/lib/deadbeef/rg_scanner.so loading plugin /opt/deadbeef/lib/deadbeef/shellexec.so loading plugin /opt/deadbeef/lib/deadbeef/shellexecui_gtk2.so loading plugin /opt/deadbeef/lib/deadbeef/shellexecui_gtk3.so loading plugin /opt/deadbeef/lib/deadbeef/sid.so loading plugin /opt/deadbeef/lib/deadbeef/sndfile.so loading plugin /opt/deadbeef/lib/deadbeef/supereq.so loading plugin /opt/deadbeef/lib/deadbeef/tta.so loading plugin /opt/deadbeef/lib/deadbeef/vfs_curl.so loading plugin /opt/deadbeef/lib/deadbeef/vfs_zip.so loading plugin /opt/deadbeef/lib/deadbeef/vorbis.so loading plugin /opt/deadbeef/lib/deadbeef/vtx.so loading plugin /opt/deadbeef/lib/deadbeef/wavpack.so loading plugin /opt/deadbeef/lib/deadbeef/wildmidi.so loading plugin /opt/deadbeef/lib/deadbeef/wma.so starting plugin GTK3 user interface starting plugin AAC player starting plugin Adplug player starting plugin ALAC player starting plugin ALSA output plugin starting plugin Album Artwork starting plugin Audio CD player starting plugin Converter starting plugin Converter UI starting plugin Converter UI starting plugin dts decoder starting plugin DUMB module player starting plugin Mono to stereo starting plugin Shorten player starting plugin Soundtouch starting plugin Resampler (Secret Rabbit Code) starting plugin Monkey's Audio (APE) decoder starting plugin FLAC decoder starting plugin Game-Music-Emu player starting plugin Hotkey manager starting plugin SC68 player (Atari ST SNDH YM2149) starting plugin last.fm scrobbler starting plugin M3U and PLS support starting plugin mms vfs starting plugin MP3 player starting plugin MusePack decoder starting plugin OSD Notify starting plugin Null output plugin starting plugin Opus player starting plugin OSS output plugin starting plugin Playlist Browser starting plugin Playlist Browser starting plugin PSF player using Audio Overload SDK starting plugin PulseAudio output plugin starting plugin ReplayGain Scanner starting plugin Shell commands starting plugin Shellexec UI starting plugin Shellexec UI starting plugin SID player starting plugin WAV/PCM player starting plugin SuperEQ starting plugin tta decoder starting plugin cURL vfs starting plugin ZIP vfs starting plugin Ogg Vorbis decoder starting plugin VTX player starting plugin WavPack decoder starting plugin WildMidi player starting plugin WMA player starting plugin stdio vfs starting plugin FFMPEG audio player selected output plugin: PulseAudio output plugin resume: track 1648 pos 0.000000 playlist 0

Oleksiy-Yakovenko commented 2 years ago

Could you please run deadbeef from terminal, reproduce the crash, and post the crash log / backtrace? From the information you provided, there's nothing that can help me to reproduce the crash.

kai3341 commented 2 years ago
kai@asus-ux360c:~$ /opt/deadbeef/bin/deadbeef 
starting deadbeef 1.9.0 [static]
server_start
searching for GUI plugins in /home/kai/.local/lib64/deadbeef
searching for GUI plugins in /home/kai/.local/lib/deadbeef
searching for GUI plugins in /opt/deadbeef/lib/deadbeef
load_plugin_dir /opt/deadbeef/lib/deadbeef: scandir found 55 files
found gui plugin ddb_gui_GTK2.so
added GTK2 gui plugin
found gui plugin ddb_gui_GTK3.so
added GTK3 gui plugin
load gui plugin
checking GUI plugin: GTK2
checking GUI plugin: GTK3
found selected GUI plugin: GTK3
loading plugin /opt/deadbeef/lib/deadbeef/ddb_gui_GTK3.so
loading plugins from /home/kai/.local/lib64/deadbeef
loading plugins from /home/kai/.local/lib/deadbeef
loading plugins from /opt/deadbeef/lib/deadbeef
load_plugin_dir /opt/deadbeef/lib/deadbeef: scandir found 55 files
loading plugin /opt/deadbeef/lib/deadbeef/aac.so
loading plugin /opt/deadbeef/lib/deadbeef/adplug.so
loading plugin /opt/deadbeef/lib/deadbeef/alac.so
loading plugin /opt/deadbeef/lib/deadbeef/alsa.so
loading plugin /opt/deadbeef/lib/deadbeef/artwork.so
loading plugin /opt/deadbeef/lib/deadbeef/cdda.so
loading plugin /opt/deadbeef/lib/deadbeef/converter.so
loading plugin /opt/deadbeef/lib/deadbeef/converter_gtk2.so
loading plugin /opt/deadbeef/lib/deadbeef/converter_gtk3.so
loading plugin /opt/deadbeef/lib/deadbeef/dca.so
loading plugin /opt/deadbeef/lib/deadbeef/ddb_dumb.so
loading plugin /opt/deadbeef/lib/deadbeef/ddb_mono2stereo.so
loading plugin /opt/deadbeef/lib/deadbeef/ddb_shn.so
loading plugin /opt/deadbeef/lib/deadbeef/ddb_soundtouch.so
loading plugin /opt/deadbeef/lib/deadbeef/dsp_libsrc.so
loading plugin /opt/deadbeef/lib/deadbeef/ffap.so
loading plugin /opt/deadbeef/lib/deadbeef/ffmpeg.so
loading plugin /opt/deadbeef/lib/deadbeef/flac.so
loading plugin /opt/deadbeef/lib/deadbeef/gme.so
loading plugin /opt/deadbeef/lib/deadbeef/hotkeys.so
loading plugin /opt/deadbeef/lib/deadbeef/in_sc68.so
loading plugin /opt/deadbeef/lib/deadbeef/lastfm.so
loading plugin /opt/deadbeef/lib/deadbeef/m3u.so
loading plugin /opt/deadbeef/lib/deadbeef/mms.so
loading plugin /opt/deadbeef/lib/deadbeef/mp3.so
loading plugin /opt/deadbeef/lib/deadbeef/musepack.so
loading plugin /opt/deadbeef/lib/deadbeef/notify.so
loading plugin /opt/deadbeef/lib/deadbeef/nullout.so
loading plugin /opt/deadbeef/lib/deadbeef/opus.so
loading plugin /opt/deadbeef/lib/deadbeef/oss.so
loading plugin /opt/deadbeef/lib/deadbeef/pltbrowser_gtk2.so
loading plugin /opt/deadbeef/lib/deadbeef/pltbrowser_gtk3.so
loading plugin /opt/deadbeef/lib/deadbeef/psf.so
loading plugin /opt/deadbeef/lib/deadbeef/pulse.so
loading plugin /opt/deadbeef/lib/deadbeef/rg_scanner.so
loading plugin /opt/deadbeef/lib/deadbeef/shellexec.so
loading plugin /opt/deadbeef/lib/deadbeef/shellexecui_gtk2.so
loading plugin /opt/deadbeef/lib/deadbeef/shellexecui_gtk3.so
loading plugin /opt/deadbeef/lib/deadbeef/sid.so
loading plugin /opt/deadbeef/lib/deadbeef/sndfile.so
loading plugin /opt/deadbeef/lib/deadbeef/supereq.so
loading plugin /opt/deadbeef/lib/deadbeef/tta.so
loading plugin /opt/deadbeef/lib/deadbeef/vfs_curl.so
loading plugin /opt/deadbeef/lib/deadbeef/vfs_zip.so
loading plugin /opt/deadbeef/lib/deadbeef/vorbis.so
loading plugin /opt/deadbeef/lib/deadbeef/vtx.so
loading plugin /opt/deadbeef/lib/deadbeef/wavpack.so
loading plugin /opt/deadbeef/lib/deadbeef/wildmidi.so
loading plugin /opt/deadbeef/lib/deadbeef/wma.so
starting plugin GTK3 user interface
starting plugin AAC player
starting plugin Adplug player
starting plugin ALAC player
starting plugin ALSA output plugin
starting plugin Album Artwork
starting plugin Audio CD player
starting plugin Converter
starting plugin Converter UI
starting plugin Converter UI
starting plugin dts decoder
starting plugin DUMB module player
starting plugin Mono to stereo
starting plugin Shorten player
starting plugin Soundtouch
starting plugin Resampler (Secret Rabbit Code)
starting plugin Monkey's Audio (APE) decoder
starting plugin FLAC decoder
starting plugin Game-Music-Emu player
starting plugin Hotkey manager
starting plugin SC68 player (Atari ST SNDH YM2149)
starting plugin last.fm scrobbler
starting plugin M3U and PLS support
starting plugin mms vfs
starting plugin MP3 player
starting plugin MusePack decoder
starting plugin OSD Notify
starting plugin Null output plugin
starting plugin Opus player
starting plugin OSS output plugin
starting plugin Playlist Browser
starting plugin Playlist Browser
starting plugin PSF player using Audio Overload SDK
starting plugin PulseAudio output plugin
starting plugin ReplayGain Scanner
starting plugin Shell commands
starting plugin Shellexec UI
starting plugin Shellexec UI
starting plugin SID player
starting plugin WAV/PCM player
starting plugin SuperEQ
starting plugin tta decoder
starting plugin cURL vfs
starting plugin ZIP vfs
starting plugin Ogg Vorbis decoder
starting plugin VTX player
starting plugin WavPack decoder
starting plugin WildMidi player
starting plugin WMA player
starting plugin stdio vfs
starting plugin FFMPEG audio player
selected output plugin: PulseAudio output plugin
INFO: from file /home/kai/.config/deadbeef/playlists/0.dbpl
INFO: from file /home/kai/.config/deadbeef/playlists/1.dbpl
convgui: gtkui plugin not found
shellexecui: can't find gtkui plugin
resume: track 373 pos 56.331848 playlist 0
gtkui plugin compiled for gtk version: 3.10.8
connecting button tray signals
Segmentation Fault
backtrace() returned 7 addresses
/opt/deadbeef/bin/deadbeef() [0x41e387]
/lib/x86_64-linux-gnu/libc.so.6(+0x3bd60) [0x7f91bc431d60]
/opt/deadbeef/bin/deadbeef() [0x40e894]
/opt/deadbeef/bin/deadbeef() [0x42a9a7]
/opt/deadbeef/lib/deadbeef/pulse.so(+0x16e4) [0x7f91b38ba6e4]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8ea7) [0x7f91bc9d9ea7]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f91bc4f3def]
kai3341 commented 2 years ago

Aha... There is not track removing is a failure reason. It happens because of fast track switching. It doesn't reproduce when i push Next button. But I reproduce it when i select particular tracks manually one by one

Oleksiy-Yakovenko commented 2 years ago

@kai3341 can you try the latest nightly? I fixed a bunch of issues in the last week which may have been causing crashes during track switching. https://sourceforge.net/projects/deadbeef/files/travis/linux/master/deadbeef-static_devel-1_x86_64.tar.bz2/download

Oleksiy-Yakovenko commented 2 years ago

The callstack is exact duplicate from https://github.com/DeaDBeeF-Player/deadbeef/issues/2813 Closing