Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foobar2k crashes immediately when playing BGMs which stored in thbgm.dat #2

Closed
CarterLi opened this issue May 19, 2015 · 11 comments
Closed

Comments

@CarterLi
Copy link

Tested th13, th14 and th14.3. All of them crashes foobar2000.
But th13.5 and th14.5 works fine

Plugin downloaded from: http://bbs.nyasama.com/forum.php?mod=viewthread&tid=47702
Version: foobar2000 1.3.8 ( Chinesized by Asion ) with foobox 4.1

image

Crash log:

Illegal operation:
Code: C0000094h, flags: 00000000h, address: 6556C134h

Call path:
eslyric_loader::load_proc

Code bytes (6556C134h):
6556C0F4h:  F7 E1 C2 10 00 53 F7 E1 8B D8 8B 44 24 08 F7 64
6556C104h:  24 14 03 D8 8B 44 24 08 F7 E1 03 D3 5B C2 10 00
6556C114h:  CC CC CC CC CC CC CC CC CC CC CC CC 53 56 8B 44
6556C124h:  24 18 0B C0 75 18 8B 4C 24 14 8B 44 24 10 33 D2
6556C134h:  F7 F1 8B D8 8B 44 24 0C F7 F1 8B D3 EB 41 8B C8
6556C144h:  8B 5C 24 14 8B 54 24 10 8B 44 24 0C D1 E9 D1 DB
6556C154h:  D1 EA D1 D8 0B C9 75 F4 F7 F3 8B F0 F7 64 24 18
6556C164h:  8B C8 8B 44 24 14 F7 E6 03 D1 72 0E 3B 54 24 10

Stack (0D0EF70Ch):
0D0EF6ECh:  0D0EF710 6399C6B9 6558FA10 FFFFFFFF
0D0EF6FCh:  6558F96C FFFFFFFF 06A7E2B0 0D0EF8F0
0D0EF70Ch:  63A19808 06A7E2B8 6555E07A 013FBEC0
0D0EF71Ch:  00000000 00000000 00000000 06A7E2B0
0D0EF72Ch:  00000000 04783300 04783300 00000001
0D0EF73Ch:  63A19D38 6559B3CC 00000000 00000002
0D0EF74Ch:  0D0EF770 00000000 00000000 00000000
0D0EF75Ch:  00000000 0D0EF7C0 6FF61457 6FF60000
0D0EF76Ch:  06A71378 00000021 0D0EF790 6C342846
0D0EF77Ch:  06A7139B 013EE6D8 0D0EF7CC 63A07F5C
0D0EF78Ch:  0D0EF7CC 655860E0 FFFFFFFF 0D0EF7D8
0D0EF79Ch:  6398270A 00000001 0D0EF8F0 0D0EF818
0D0EF7ACh:  28218501 00000000 047832F8 04783300
0D0EF7BCh:  00000019 00000000 06A7E2B0 0D0EF7AC
0D0EF7CCh:  0D0EFAC4 63A080F5 00000002 0D0EFAD4
0D0EF7DCh:  6396C7FE 052B41F0 0D0EF8F0 0D0EF818
0D0EF7ECh:  28218529 00000000 0478A248 047832F8
0D0EF7FCh:  0478A248 63A14234 00000000 00000000
0D0EF80Ch:  00000000 047832F8 04783370 63A142D4
0D0EF81Ch:  0D0EF7E0 FFFDE000 77C9206C 00000000

Registers:
EAX: 00000000, EBX: 06A7E2B8, ECX: 00000000, EDX: 00000000
ESI: 63A19808, EDI: 0D0EF8F0, EBP: 0D0EF798, ESP: 0D0EF70C

Crash location:
Module: foo_thbgm
Offset: 1C134h
Symbol: "foobar2000_get_interface" (+94F4h)

Loaded modules:
foobar2000                       loaded at 01270000h - 0145F000h
ntdll                            loaded at 77B90000h - 77D10000h
kernel32                         loaded at 75A80000h - 75B90000h
KERNELBASE                       loaded at 75620000h - 75667000h
COMCTL32                         loaded at 73CD0000h - 73E6E000h
msvcrt                           loaded at 76010000h - 760BC000h
GDI32                            loaded at 77540000h - 775D0000h
USER32                           loaded at 758F0000h - 759F0000h
ADVAPI32                         loaded at 75DA0000h - 75E41000h
sechost                          loaded at 77730000h - 77749000h
RPCRT4                           loaded at 76120000h - 76210000h
SspiCli                          loaded at 75510000h - 75570000h
CRYPTBASE                        loaded at 75500000h - 7550C000h
LPK                              loaded at 77B60000h - 77B6A000h
USP10                            loaded at 75580000h - 7561D000h
SHLWAPI                          loaded at 77010000h - 77067000h
WINMM                            loaded at 75040000h - 75072000h
DSOUND                           loaded at 6AA60000h - 6AAD2000h
ole32                            loaded at 75BC0000h - 75D1C000h
POWRPROF                         loaded at 6AA30000h - 6AA55000h
SETUPAPI                         loaded at 75E70000h - 7600D000h
CFGMGR32                         loaded at 77760000h - 77787000h
OLEAUT32                         loaded at 77280000h - 7730F000h
DEVOBJ                           loaded at 758D0000h - 758E2000h
UxTheme                          loaded at 6EF80000h - 6F000000h
SHELL32                          loaded at 76220000h - 76E6B000h
zlib1                            loaded at 62E80000h - 62E9F000h
shared                           loaded at 6C340000h - 6C36D000h
imagehlp                         loaded at 75B90000h - 75BBB000h
dbghelp                          loaded at 6F3E0000h - 6F4CB000h
COMDLG32                         loaded at 75D20000h - 75D9B000h
CRYPT32                          loaded at 76EE0000h - 77001000h
MSASN1                           loaded at 75E50000h - 75E5C000h
Secur32                          loaded at 6F510000h - 6F518000h
gdiplus                          loaded at 6E2F0000h - 6E480000h
WINHTTP                          loaded at 6FA30000h - 6FA88000h
webio                            loaded at 6F9E0000h - 6FA2F000h
IMM32                            loaded at 77080000h - 770E0000h
MSCTF                            loaded at 770E0000h - 771AC000h
nvinit                           loaded at 752C0000h - 752EC000h
dwmapi                           loaded at 6EE50000h - 6EE63000h
foo_input_dvda                   loaded at 65C40000h - 65C9C000h
foo_upnp                         loaded at 65A30000h - 65C37000h
IPHLPAPI                         loaded at 75090000h - 750AC000h
NSI                              loaded at 775D0000h - 775D6000h
WINNSI                           loaded at 75080000h - 75087000h
WS2_32                           loaded at 771B0000h - 771E5000h
foo_covdow                       loaded at 659E0000h - 65A22000h
MSIMG32                          loaded at 6E890000h - 6E895000h
foo_input_dts                    loaded at 65970000h - 659D8000h
foo_albumlist                    loaded at 65910000h - 6596E000h
foo_freedb2                      loaded at 658B0000h - 65906000h
foo_uie_wsh_panel_mod_plus       loaded at 65790000h - 658A1000h
foo_unpack                       loaded at 65740000h - 6578E000h
foo_dsp_eq                       loaded at 65700000h - 65739000h
foo_dsp_std                      loaded at 72D70000h - 72DA9000h
foo_rgscan                       loaded at 65690000h - 656F1000h
foo_converter                    loaded at 65600000h - 6568D000h
foo_input_tak                    loaded at 655B0000h - 655F7000h
tak_deco_lib                     loaded at 00E30000h - 00E51000h
foo_thbgm                        loaded at 65550000h - 655A4000h
api-ms-win-core-synch-l1-2-0     loaded at 6EA20000h - 6EA23000h
foo_out_asio                     loaded at 10000000h - 10033000h
foo_uie_panel_splitter           loaded at 011B0000h - 0120D000h
foo_input_tta                    loaded at 00F60000h - 00FA3000h
foo_input_sacd                   loaded at 63AE0000h - 63BE3000h
foo_playcount                    loaded at 65510000h - 6554F000h
foo_cdda                         loaded at 654B0000h - 65502000h
foo_uie_eslyric                  loaded at 63950000h - 63A70000h
foo_uie_vis_channel_spectrum     loaded at 02B00000h - 02B3E000h
foo_out_wasapi                   loaded at 02A90000h - 02ABA000h
foo_uie_biography                loaded at 645C0000h - 64618000h
foo_input_std                    loaded at 637F0000h - 6394D000h
MSACM32                          loaded at 6EF60000h - 6EF74000h
avcodec-fb2k-56                  loaded at 63610000h - 637EE000h
avutil-fb2k-54                   loaded at 64470000h - 644FA000h
foo_ui_columns                   loaded at 04A20000h - 04BB2000h
urlmon                           loaded at 775E0000h - 7772A000h
api-ms-win-downlevel-ole32-l1-1  loaded at 77310000h - 77314000h
api-ms-win-downlevel-shlwapi-l1  loaded at 75E60000h - 75E64000h
api-ms-win-downlevel-advapi32-l  loaded at 77070000h - 77075000h
api-ms-win-downlevel-user32-l1-  loaded at 77750000h - 77754000h
api-ms-win-downlevel-version-l1  loaded at 75570000h - 75574000h
version                          loaded at 75350000h - 75359000h
api-ms-win-downlevel-normaliz-l  loaded at 77530000h - 77533000h
normaliz                         loaded at 76210000h - 76213000h
iertutil                         loaded at 75670000h - 758A2000h
WININET                          loaded at 77320000h - 774F3000h
USERENV                          loaded at 758B0000h - 758C7000h
profapi                          loaded at 760C0000h - 760CB000h
foo_ui_std                       loaded at 634D0000h - 6360B000h
foo_input_monkey                 loaded at 031B0000h - 031F9000h
foo_fileops                      loaded at 64420000h - 6446F000h
CLBCatQ                          loaded at 771F0000h - 77273000h
MMDevApi                         loaded at 699D0000h - 69A09000h
PROPSYS                          loaded at 72C70000h - 72D65000h
AUDIOSES                         loaded at 69A10000h - 69A46000h
WindowsCodecs                    loaded at 734C0000h - 735F1000h
apphelp                          loaded at 6F620000h - 6F66C000h
GROOVEEX                         loaded at 66CC0000h - 66E68000h
MSVCR100                         loaded at 70180000h - 7023F000h
MSVCP100                         loaded at 70110000h - 70179000h
ATL100                           loaded at 72B60000h - 72B86000h
msi                              loaded at 6DFD0000h - 6E215000h
GrooveIntlResource               loaded at 65F60000h - 667BD000h
TortoiseOverlays                 loaded at 6EA50000h - 6EA62000h
TortoiseGitStub32                loaded at 72DB0000h - 72DC6000h
TortoiseGit32                    loaded at 66FA0000h - 6701B000h
libgit232_tgit                   loaded at 66EF0000h - 66F93000h
zlib132_tgit                     loaded at 6EA30000h - 6EA45000h
MSVCR120                         loaded at 65E70000h - 65F5E000h
gitdll32                         loaded at 65CA0000h - 65E6C000h
MSVCP120                         loaded at 66E70000h - 66EE1000h
CRYPTSP                          loaded at 750F0000h - 75107000h
rsaenh                           loaded at 750B0000h - 750EB000h
EhStorShell                      loaded at 6E9B0000h - 6E9E1000h
SXS                              loaded at 6A490000h - 6A4EF000h
jscript                          loaded at 63420000h - 634C6000h
RpcRtRemote                      loaded at 73C90000h - 73C9E000h
msscript                         loaded at 6C320000h - 6C33A000h
vbscript                         loaded at 633A0000h - 6341F000h
sud                              loaded at 632E0000h - 6339B000h
ADVPACK                          loaded at 698B0000h - 698DE000h
DUI70                            loaded at 683B0000h - 68462000h
mswsock                          loaded at 74FA0000h - 74FDC000h
wshtcpip                         loaded at 74F90000h - 74F95000h
dhcpcsvc                         loaded at 74F10000h - 74F22000h
explorerframe                    loaded at 68470000h - 685DF000h
DUser                            loaded at 69750000h - 6977F000h
mscms                            loaded at 63260000h - 632D9000h
dhcpcsvc6                        loaded at 74F00000h - 74F0D000h
wship6                           loaded at 74F80000h - 74F86000h
DNSAPI                           loaded at 74F30000h - 74F74000h
rasadhlp                         loaded at 74EF0000h - 74EF6000h
fwpuclnt                         loaded at 6FF10000h - 6FF48000h
avrt                             loaded at 5E550000h - 5E557000h
msxml3                           loaded at 679B0000h - 67AE3000h
msado15                          loaded at 63160000h - 63259000h
MSDART                           loaded at 699B0000h - 699CF000h
msxml6                           loaded at 6FF60000h - 700B7000h

Stack dump analysis:
Address: 63A19808h (foo_uie_eslyric+C9808h)
Address: 6555E07Ah (foo_thbgm+E07Ah)
Address: 013FBEC0h (foobar2000+18BEC0h)
Address: 63A19D38h (foo_uie_eslyric+C9D38h)
Address: 6559B3CCh (foo_thbgm+4B3CCh), symbol: "foobar2000_get_interface" (+3878Ch)
Address: 6FF61457h (msxml6+1457h)
Address: 6FF60000h (msxml6+0h)
Address: 6C342846h (shared+2846h), symbol: "uPrintCrashInfo_OnEvent" (+B9h)
Address: 013EE6D8h (foobar2000+17E6D8h)
Address: 63A07F5Ch (foo_uie_eslyric+B7F5Ch)
Address: 655860E0h (foo_thbgm+360E0h), symbol: "foobar2000_get_interface" (+234A0h)
Address: 6398270Ah (foo_uie_eslyric+3270Ah)
Address: 63A080F5h (foo_uie_eslyric+B80F5h)
Address: 6396C7FEh (foo_uie_eslyric+1C7FEh)
Address: 63A14234h (foo_uie_eslyric+C4234h)
Address: 63A142D4h (foo_uie_eslyric+C42D4h)
Address: 77C9206Ch (ntdll+10206Ch), symbol: "NlsAnsiCodePage" (+205Ch)
Address: 77BC952Ch (ntdll+3952Ch), symbol: "RtlAllocateActivationContextStack" (+1A9h)
Address: 77BC94DAh (ntdll+394DAh), symbol: "RtlAllocateActivationContextStack" (+157h)
Address: 6FF6133Ch (msxml6+133Ch)
Address: 77C90214h (ntdll+100214h), symbol: "NlsAnsiCodePage" (+204h)
Address: 77C01A05h (ntdll+71A05h), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77BC94CAh (ntdll+394CAh), symbol: "RtlAllocateActivationContextStack" (+147h)
Address: 77BB1E21h (ntdll+21E21h), symbol: "ZwTestAlert" (+15h)
Address: 77BC9251h (ntdll+39251h), symbol: "RtlDecodePointer" (+10Ch)
Address: 77C01A05h (ntdll+71A05h), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77BAFF4Eh (ntdll+1FF4Eh), symbol: "NtContinue" (+12h)
Address: 63A19808h (foo_uie_eslyric+C9808h)
Address: 77C01A05h (ntdll+71A05h), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77BC3CF3h (ntdll+33CF3h), symbol: "RtlImageNtHeader" (+B3Fh)
Address: 77BC3D1Eh (ntdll+33D1Eh), symbol: "RtlImageNtHeader" (+B6Ah)
Address: 75626A60h (KERNELBASE+6A60h), symbol: "InterlockedIncrement" (+0h)
Address: 77BC3CF3h (ntdll+33CF3h), symbol: "RtlImageNtHeader" (+B3Fh)
Address: 75D076C0h (ole32+1476C0h), symbol: "WdtpInterfacePointer_UserFree" (+2B8Fh)
Address: 75D07688h (ole32+147688h), symbol: "WdtpInterfacePointer_UserFree" (+2B57h)
Address: 75C0179Dh (ole32+4179Dh), symbol: "CoCreateGuid" (+1C8h)
Address: 75D064C0h (ole32+1464C0h), symbol: "WdtpInterfacePointer_UserFree" (+198Fh)
Address: 77BB2310h (ntdll+22310h), symbol: "RtlEnterCriticalSection" (+0h)
Address: 75D076C0h (ole32+1476C0h), symbol: "WdtpInterfacePointer_UserFree" (+2B8Fh)
Address: 75C01738h (ole32+41738h), symbol: "CoCreateGuid" (+163h)
Address: 75C0EB7Fh (ole32+4EB7Fh), symbol: "CoTaskMemAlloc" (+133h)
Address: 75D076D8h (ole32+1476D8h), symbol: "WdtpInterfacePointer_UserFree" (+2BA7h)
Address: 75D076C0h (ole32+1476C0h), symbol: "WdtpInterfacePointer_UserFree" (+2B8Fh)
Address: 6C342846h (shared+2846h), symbol: "uPrintCrashInfo_OnEvent" (+B9h)
Address: 63A14B04h (foo_uie_eslyric+C4B04h)
Address: 63A0BAD0h (foo_uie_eslyric+BBAD0h)
Address: 63962106h (foo_uie_eslyric+12106h)
Address: 63A06851h (foo_uie_eslyric+B6851h)
Address: 639622B2h (foo_uie_eslyric+122B2h)
Address: 639F6023h (foo_uie_eslyric+A6023h)
Address: 639F80D0h (foo_uie_eslyric+A80D0h)
Address: 639F60ADh (foo_uie_eslyric+A60ADh)
Address: 75A9337Ah (kernel32+1337Ah), symbol: "BaseThreadInitThunk" (+12h)
Address: 77BC92E2h (ntdll+392E2h), symbol: "RtlInitializeExceptionChain" (+63h)
Address: 75AB76F7h (kernel32+376F7h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 75AB76F7h (kernel32+376F7h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 77C01A05h (ntdll+71A05h), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77BC92B5h (ntdll+392B5h), symbol: "RtlInitializeExceptionChain" (+36h)
Address: 639F6049h (foo_uie_eslyric+A6049h)
Address: 639F6049h (foo_uie_eslyric+A6049h)

Environment:
App: foobar2000 v1.3.8
UI: 分栏用户界面 0.3.8.8

Components:
Core (2015-03-28 13:39:24 UTC)
    foobar2000 核心 1.3.8
foo_albumlist.dll (2015-03-28 13:36:08 UTC)
    专辑列表 4.5
foo_cdda.dll (2015-03-28 13:36:12 UTC)
    CD 音频解码器 3.0
foo_converter.dll (2015-03-28 13:36:32 UTC)
    转换器 1.5
foo_covdow.dll (2014-04-25 12:53:38 UTC)
    封面下载器 0.8.0 Beta
foo_dsp_eq.dll (2015-03-28 13:35:56 UTC)
    均衡器 1.0
foo_dsp_std.dll (2015-03-28 13:36:22 UTC)
    标准 DSP 组 1.3.1
foo_fileops.dll (2015-03-28 13:36:14 UTC)
    文件操作 2.2.1
foo_freedb2.dll (2015-03-28 13:36:00 UTC)
    在线标签获取器 0.7
foo_input_dts.dll (2014-04-14 12:05:40 UTC)
    DTS 解码器 0.3.3
foo_input_dvda.dll (2013-04-22 08:43:08 UTC)
    DVD-Audio 解码器和水印检测器 0.4.11
foo_input_monkey.dll (2013-04-15 02:20:36 UTC)
    Monkey's Audio 解码器 2.1.7
foo_input_sacd.dll (2015-03-28 13:36:36 UTC)
    Super Audio CD 解码器 0.7.7
foo_input_std.dll (2015-03-28 13:36:26 UTC)
    标准输入组 1.0
foo_input_tak.dll (2013-06-26 14:50:10 UTC)
    TAK 解码器 0.4.7
foo_input_tta.dll (2010-12-27 01:14:18 UTC)
    TTA 解码器 3.2
foo_out_asio.dll (2012-06-16 01:50:32 UTC)
    ASIO 支持 2.1.2
foo_out_wasapi.dll (2013-04-25 02:52:04 UTC)
    WASAPI 输出支持 3.2.3
foo_playcount.dll (2014-12-11 08:20:30 UTC)
    播放统计信息 3.0.2
foo_rgscan.dll (2015-03-28 13:36:18 UTC)
    播放增益扫描器 2.2.1
foo_thbgm.dll (2015-05-19 12:12:28 UTC)
    ThBGM Player 2.0
foo_ui_columns.dll (2011-04-08 05:51:06 UTC)
    分栏用户界面 0.3.8.8
foo_ui_std.dll (2015-03-28 13:36:28 UTC)
    默认用户界面 0.9.5
foo_uie_biography.dll (2012-12-08 15:22:58 UTC)
    简介查看器 0.4.2.4
foo_uie_eslyric.dll (2015-03-28 13:36:42 UTC)
    ESLyric 0.3.1 beta2
foo_uie_panel_splitter.dll (2009-12-13 01:22:44 UTC)
    面板栈分离器 0.3.8.3(alpha)
foo_uie_vis_channel_spectrum.dll (2009-09-30 16:00:00 UTC)
    声道频谱面板 0.17.2
foo_uie_wsh_panel_mod_plus.dll (2014-09-29 16:26:16 UTC)
    WSH Panel Mod Plus 1.5.6.1002
foo_unpack.dll (2015-03-28 13:36:04 UTC)
    ZIP/GZIP/RAR 读取器 1.7.1
foo_upnp.dll (2014-08-12 06:04:52 UTC)
    UPnP/DLNA 渲染器, 服务器, 控制点 0.99.48

Recent events:
WSH Panel Mod Plus (Foobox Multi-Language Center): initialized in 5 ms
WSH Panel Mod Plus (foobox WSH Playlist Manager): initialized in 8 ms
WSH Panel Mod Plus (Foobox WSH Library Panel v1.0 by Vo Thanh Dat, ttsping, dreamawake): initialized in 4 ms
WSH Panel Mod Plus (Foobox WSH Splitter Left): initialized in 5 ms
WSH Panel Mod Plus (Search Toolbar panel v1.3 by Br3tt, mod by dreamawake (foobox== revision)): initialized in 14 ms
WSH Panel Mod Plus (Foobox WSH Playlist Top Tools): initialized in 5 ms
WSH Panel Mod Plus (WSH Cover Panel v2.0.1 by Jensen): initialized in 10 ms
WSH Panel Mod Plus (Foobox WSH Margin-Right): initialized in 0 ms
WSH Panel Mod Plus (Foobox WSH Rating & Track Info by dreamawake): initialized in 2 ms
WSH Panel Mod Plus (Foobox WSH Splitter Low): initialized in 2 ms
WSH Panel Mod Plus (Foobox WSH Margin-Right): initialized in 0 ms
WSH Panel Mod Plus (Foobox WSH Splitter Right): initialized in 6 ms
WSH Panel Mod Plus (Foobox WSH Splitter Mid): initialized in 2 ms
WSH Panel Mod Plus (Foobox WSH Splitter Main): initialized in 2 ms
WSH Panel Mod Plus (Foobox playback & seekbar by dreamawake): initialized in 9 ms
用户界面初始化用时:0:00.446610
Processing commandline
initquit::init entry
WSH Panel Mod Plus (CoverFlow View v1.4 for foobox v1.4.0 by Br3tt, mod by dreamawake): initialized in 4 ms
文件/新建播放列表 
WSH Panel Mod Plus (WSH Playlist Viewer for foobx 3.x vbased on 2.0.1 by Br3tt, mod by dreamawake): initialized in 16 ms
foo_upnp: 成功加载文件 D:\Program Files (x86)\foobar2000\foo_upnp.xml
foo_upnp: created 227 path registry entries in 0.003s
foo_upnp: 初始化用时 0.014s
自动播放列表初始化 : 0:00.000039
"媒体库" : 0:00.000026
initquit::init exit
启动用时 : 0:11.460307
foo_upnp: loaded Media Library tree in 0.007s
打开用于播放的音轨: "G:\game\th143 - 弹幕天邪鬼\弾幕アマノジャク.thxml" / index: 1


Machine specifications:
OS: Windows 6.1.7601 Service Pack 1 x64
CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, features: MMX SSE SSE2 SSE3 SSE4.1 SSE4.2
CPU threads: 4
Audio: 扬声器/耳机 (IDT High Definition Audio CODEC); 扬声器 (EPSON Projector UD Audio Device); 通讯耳机 (IDT High Definition Audio CODEC)
@CarterLi CarterLi changed the title Crash immediately when playing BGMs which stored in thbgm.dat Foobar2k crashes immediately when playing BGMs which stored in thbgm.dat May 19, 2015
@CarterLi
Copy link
Author

Seems that this plugin doesn't like ESLyric. The music plays fine if I disable "foo_uie_eslyric.dll"

But... What's happenning with the progress bar?

@nyfair
Copy link
Owner

nyfair commented May 19, 2015

foo_thbgm will hook the progress bar because all touhou BGM's can loop
It's a main feature of foo_thbgm

@CarterLi
Copy link
Author

Can I disable the inf-looping feature?
Any idea with the compatibility of ESLyric?

@nyfair
Copy link
Owner

nyfair commented May 19, 2015

sure, you can set loop_count to 1 in the playback menu

@nyfair
Copy link
Owner

nyfair commented May 19, 2015

Aha, finally i found the issue about ESLyric.

That crazy plugin will try to iterate all other plugin's get_info interface when playing musics. This is very hackish and may conflict with many other plugins.
I also checked with the source code of several other lyrics plugins. They never to this and will cache music's information when loading the music files.

You can also see in the stack dump.
foo_uie_eslyric can't parse the return data from foo_thbgm because it can't recognize ZUN's particular WAVE head. Thus cause the crash.

Anyway, if you really need to use ESLyric, I can also do a test build for you to forbid ESLyric visiting foo_thbgm's interface.

@CarterLi
Copy link
Author

Anyway, if you really need to use ESLyric, I can also do a test build for you to forbid ESLyric visiting foo_thbgm's interface.

Good! But instead of "forbiding ESLyric visiting foo_thbgm's interface", could you return some data which is not THAT special, to make ESLyric ignore it safely. It's always not a good idea to hack code for some specified things since other plugins may have the same issue

@nyfair
Copy link
Owner

nyfair commented May 20, 2015

Yes, I'll do these work this weekend, only because the modification has no downsides.
I still don't know why a lyrics plugin need to call other plugin's interface directly.

@CarterLi
Copy link
Author

dump file uploaded:
http://pan.baidu.com/s/1mgqYACS
PWD: 5dd9

@CarterLi
Copy link
Author

Detail information updated on the thread of Eslyric in Baidu Tieba
http://tieba.baidu.com/p/2370754361?pid=68658226844&cid=68687715638#68687715638

@nyfair
Copy link
Owner

nyfair commented May 20, 2015

now Eslyric can read music data properly and will no longer conflict with each other, plz check the latest build and confirm

@CarterLi
Copy link
Author

Confirmed, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants