Closed molecular closed 1 year ago
As you already noticed, your backtrace is useless without debug symbols, so please write a new bug report as soon as you are able to provide useful information.
sure
I comnpiled Music Player Daemon 0.24 (v0.23.12-745-gc69b9780d)
and the problem doesn't occur with that.
just for completeness:
backtrace (differnt file, an mp3, just assuming it's same issue, to do with ape tags):
update: reading m/jochen/Gemischte Formate (flac wav mp3)/Steely Dan 10 Cd 1972 2003 By Carlo 33333/Steely Dan/1976 The Royal Scam/07-Haitian Divorce.mp3
mad: detected LAME version 3.92 ("LAME3.92 ")
mad: LAME peak found: 0.000000
mad: encoder delay is 576, encoder padding is 1320
Thread 4 "update" received signal SIGBUS, Bus error.
[Switching to Thread 0xecbfea80 (LWP 23484)]
0x000848e0 in tag_ape_scan(InputStream&, std::function<bool (unsigned long, char const*, StringView)> const&) (is=..., callback=...) at ../../src/tag/ApeLoader.cxx:79
79 unsigned long flags = FromLE32(*(const uint32_t *)p);
(gdb) bt
#0 0x000848e0 in tag_ape_scan(InputStream&, std::function<bool (unsigned long, char const*, StringView)> const&) (is=..., callback=...) at ../../src/tag/ApeLoader.cxx:79
#1 0x00083aec in tag_ape_scan2(InputStream&, TagHandler&) (is=..., handler=...) at ../../src/tag/ApeTag.cxx:82
#2 0x00083568 in ScanGenericTags(InputStream&, TagHandler&) (is=..., handler=...) at ../../src/tag/Generic.cxx:35
#3 0x00083698 in ScanGenericTags(Path, TagHandler&) (path=..., path@entry=..., handler=...) at /usr/include/c++/10/bits/unique_ptr.h:173
#4 0x000440e0 in ScanFileTagsWithGeneric(Path, TagBuilder&, AudioFormat*) (path=..., builder=..., audio_format=audio_format@entry=0xecbfdd48) at ../../src/TagFile.cxx:102
#5 0x00042250 in Song::UpdateFile(Storage&) (this=this@entry=0xe2948b28, storage=...) at ../../src/util/StringPointer.hxx:52
#6 0x00042384 in Song::LoadFile(Storage&, char const*, Directory&) (storage=..., path_utf8=path_utf8@entry=0xe3d77f50 "07-Haitian Divorce.mp3", parent=...) at ../../src/SongUpdate.cxx:59
#7 0x000b9458 in UpdateWalk::UpdateSongFile2(Directory&, char const*, char const*, StorageFileInfo const&)
(this=this@entry=0x171928, directory=..., name=name@entry=0xe3d77f50 "07-Haitian Divorce.mp3", suffix=suffix@entry=0xe3d77f63 "mp3", info=...) at ../../src/db/update/UpdateSong.cxx:65
#8 0x000b96c0 in UpdateWalk::UpdateSongFile(Directory&, char const*, char const*, StorageFileInfo const&)
(this=this@entry=0x171928, directory=..., name=name@entry=0xe3d77f50 "07-Haitian Divorce.mp3", suffix=suffix@entry=0xe3d77f63 "mp3", info=...) at ../../src/db/update/UpdateSong.cxx:107
#9 0x000b8d8c in UpdateWalk::UpdateRegularFile(Directory&, char const*, StorageFileInfo const&) (info=..., name=0xe3d77f50 "07-Haitian Divorce.mp3", directory=..., this=0x171928)
at ../../src/db/update/Walk.cxx:218
#10 UpdateWalk::UpdateDirectoryChild(Directory&, ExcludeList const&, char const*, StorageFileInfo const&) (
this=this@entry=0x171928, directory=..., exclude_list=..., name=name@entry=0xe3d77f50 "07-Haitian Divorce.mp3", info=...) at ../../src/db/update/Walk.cxx:231
#11 0x000b8ac8 in UpdateWalk::UpdateDirectory(Directory&, ExcludeList const&, StorageFileInfo const&) (this=this@entry=0x171928, directory=..., exclude_list=..., info=...) at ../../src/db/update/Walk.cxx:408
#12 0x000b8d34 in UpdateWalk::UpdateDirectoryChild(Directory&, ExcludeList const&, char const*, StorageFileInfo const&)
(this=this@entry=0x171928, directory=..., exclude_list=..., name=name@entry=0xe3d77c48 "1976 The Royal Scam", info=...) at ../../src/db/update/Walk.cxx:245
#13 0x000b8ac8 in UpdateWalk::UpdateDirectory(Directory&, ExcludeList const&, StorageFileInfo const&) (this=this@entry=0x171928, directory=..., exclude_list=..., info=...) at ../../src/db/update/Walk.cxx:408
#14 0x000b8d34 in UpdateWalk::UpdateDirectoryChild(Directory&, ExcludeList const&, char const*, StorageFileInfo const&)
(this=this@entry=0x171928, directory=..., exclude_list=..., name=name@entry=0xe3d778dc "Steely Dan", info=...) at ../../src/db/update/Walk.cxx:245
#15 0x000b8ac8 in UpdateWalk::UpdateDirectory(Directory&, ExcludeList const&, StorageFileInfo const&) (this=this@entry=0x171928, directory=..., exclude_list=..., info=...) at ../../src/db/update/Walk.cxx:408
#16 0x000b8d34 in UpdateWalk::UpdateDirectoryChild(Directory&, ExcludeList const&, char const*, StorageFileInfo const&)
(this=this@entry=0x171928, directory=..., exclude_list=..., name=name@entry=0xe3d7c058 "Steely Dan 10 Cd 1972 2003 By Carlo 33333", info=...) at ../../src/db/update/Walk.cxx:245
#17 0x000b8ac8 in UpdateWalk::UpdateDirectory(Directory&, ExcludeList const&, StorageFileInfo const&) (this=this@entry=0x171928, directory=..., exclude_list=..., info=...) at ../../src/db/update/Walk.cxx:408
#18 0x000b8d34 in UpdateWalk::UpdateDirectoryChild(Directory&, ExcludeList const&, char const*, StorageFileInfo const&)
(this=this@entry=0x171928, directory=..., exclude_list=..., name=name@entry=0xe3c13220 "Gemischte Formate (flac wav mp3)", info=...) at ../../src/db/update/Walk.cxx:245
assuming this was the fix: https://github.com/MusicPlayerDaemon/MPD/commit/fb8d8242abdbb0001012c5b91b4e2ca69553b166
Bug report
Describe the bug
I migrated my music collection and mpd to an rpi4.
When scanning the music files, mpd throws a SIGBUS signal (output
Bus Error
on stdout/stderr) when trying to scan .wv or .mpc files and exits.Expected Behavior
Scan the file without exiting.
Actual Behavior
SIGBUS, mpd exits
Version
Music Player Daemon 0.22.6 (0.22.6)
Configuration
Log
unfortunately, by mpd binary is stripped.
this is gdb output at crash time
Thoughts
I will try to compile from source to pinpoint the issue, but it will take a while because I need to upgrade the system for the compile tools and it's busy with other stuff I don't want to interrup.