Skip to content

Fix crash in amifilemagic (MMD0) [CORRECTIVE]

Thread 18 Crashed:
0   libuade.dylib                 	       0x101729ec4 uade_filemagic + 5496 (amifilemagic.c:1147)
1   libuade.dylib                 	       0x101729dc8 patterntest + 12 (amifilemagic.c:262) [inlined]
2   libuade.dylib                 	       0x101729dc8 chk_id_offset + 56 (amifilemagic.c:1307) [inlined]
3   libuade.dylib                 	       0x101729dc8 uade_filemagic + 5244 (amifilemagic.c:1135)
4   libuade.dylib                 	       0x10172b660 uade_analyze_eagleplayer + 192 (eagleplayer.c:180)
5   libuade.dylib                 	       0x101730f7c get_eagleplayer + 24 (uadestate.c:1266) [inlined]
6   libuade.dylib                 	       0x101730f7c uade_play_internal + 340 (uadestate.c:1327)
7   uade.so                       	       0x10135c7e4 UADEPlugin::read_tag(char const*, VFSFile&, Tuple&, Index<char>*) + 300 (plugin.cc:392)
8   libaudcore.5.dylib            	       0x1010c4054 aud_file_read_tag(char const*, PluginHandle*, VFSFile&, Tuple&, Index<char>*, String*) + 200 (probe.cc:209)
9   libaudcore.5.dylib            	       0x101072f14 add_file(PlaylistAddItem&&, bool (*)(char const*, void*), void*, AddResult*, bool) + 616 (adder.cc:201)
10  libaudcore.5.dylib            	       0x1010735e4 add_folder(char const*, bool (*)(char const*, void*), void*, AddResult*, bool) + 1096 (adder.cc:360)
11  libaudcore.5.dylib            	       0x101073720 add_folder(char const*, bool (*)(char const*, void*), void*, AddResult*, bool) + 1412 (adder.cc:367)
12  libaudcore.5.dylib            	       0x101072388 add_generic(PlaylistAddItem&&, bool (*)(char const*, void*), void*, AddResult*, bool, bool) + 676 (adder.cc:409)
13  libaudcore.5.dylib            	       0x101071cf0 add_worker() + 648 (adder.cc:530)
14  libaudcore.5.dylib            	       0x101077f5c decltype(static_cast<void (*>(fp)()) std::__1::__invoke<void (*)()>(void (*&&)()) + 28 (type_traits:3918)
15  libaudcore.5.dylib            	       0x101077ef4 void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)()>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)()>&, std::__1::__tuple_indices<>) + 32 (thread:287)
16  libaudcore.5.dylib            	       0x1010776d4 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)()> >(void*) + 84 (thread:298)
17  libsystem_pthread.dylib       	       0x1b0c8a06c _pthread_start + 148
18  libsystem_pthread.dylib       	       0x1b0c84e2c thread_start + 8
Edited by Matti Tiainen

Merge request reports