Hello all,
I've registered to send a bug report for foo_upnp when used with OptimFROG files. foobar2000 always crashes when I try to play an OptimFROG (.OFR) file transcoded to WAV from an iPad with the nPlayer 2.6.5 app (using UPnP/DLNA). This issue ONLY exists when the transcoding to WAV option is ON and only with the OptimFROG codec. The foo_upnp logging was enabled with WARNING level and the log is very short (no error is shown):
initialized in 0.078s
created 2 path registry entries in 0.000s
loaded Media Library tree in 0.031s
opened 'file://H:\FLAC_MUSIC\Ambient\Raphael-Angels_Of_The_Deep\07-raphael-gnossienne_no._3_(satie).ofr' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
Below you can read the foobar2000 crash report (sorry for the huge length, I didn't find any option to attach files):
I hope this helps and thank you in advance,
HU
foobar2000 crash report
=======================
Illegal operation:
Code: C0000005h, flags: 00000000h, address: C25DE58Bh
Access violation, operation: read, address: C25DE58Bh
Call path:
FbMediaWavInputStream::queue_fill=>input_decoder::run
Stack (02F5FA60h):
02F5FA40h: 0000041C 000003F4 00000000 00000000
02F5FA50h: 0295FD20 00012047 0295FD38 000000F8
02F5FA60h: 00505E22 02F5FA90 0050C52F 01724DA8
02F5FA70h: 02F5FA90 0050C54A 01724DA8 00004000
02F5FA80h: 02C60CA8 000927C0 00001000 01724DA8
02F5FA90h: 02F5FAA8 016B3B3D 01724DA8 00004000
02F5FAA0h: 02F5FC9C 01365BAC 00000000 016EF21F
02F5FAB0h: 01736580 01724DA8 00004000 00000001
02F5FAC0h: 01708FE4 00000001 01724DA8 02D1E2A0
02F5FAD0h: 00001F80 02D1E8A0 0000000C 00000100
02F5FAE0h: 016EF2BC 01724DA8 00004000 02B60060
02F5FAF0h: 02C31008 7C9209F5 0000057D 02063418
02F5FB00h: 01BA0000 016E352F 01724DA8 00004000
02F5FB10h: 00000001 01724A90 02B600C4 02B60060
02F5FB20h: 02B600C4 016E3784 00000001 0000647A
02F5FB30h: 01724AC0 016E3944 000001FA 00000002
02F5FB40h: 02B600C4 01724AC0 016E3ACC 02B600C4
02F5FB50h: 000001FA 01724A90 02C31010 02B600C4
02F5FB60h: 027F09B8 00000007 00000000 01720178
02F5FB70h: 00000000 02F5FC48 00EA0178 02F5FC48
Registers:
EAX: 016963C8, EBX: 02C60CA8, ECX: 02F5FC9C, EDX: 00000000
ESI: 00003000, EDI: 01365BAC, EBP: 02F5FA70, ESP: 02F5FA60
Unable to identify crash location!
Loaded modules:
foobar2000 loaded at 00400000h - 005CC000h
ntdll loaded at 7C910000h - 7C9C8000h
kernel32 loaded at 7C800000h - 7C903000h
COMCTL32 loaded at 773A0000h - 774A3000h
msvcrt loaded at 77BE0000h - 77C38000h
ADVAPI32 loaded at 77DA0000h - 77E4C000h
RPCRT4 loaded at 77E50000h - 77EE3000h
Secur32 loaded at 77FC0000h - 77FD1000h
GDI32 loaded at 77EF0000h - 77F39000h
USER32 loaded at 7E390000h - 7E421000h
SHLWAPI loaded at 77F40000h - 77FB6000h
WINMM loaded at 76B00000h - 76B2E000h
DSOUND loaded at 73E90000h - 73EEC000h
ole32 loaded at 774B0000h - 775EE000h
VERSION loaded at 77BD0000h - 77BD8000h
UxTheme loaded at 5AD70000h - 5ADA8000h
SHELL32 loaded at 7E6A0000h - 7EEC2000h
zlib1 loaded at 62E80000h - 62E9F000h
shared loaded at 10000000h - 1002D000h
imagehlp loaded at 76C50000h - 76C78000h
dbghelp loaded at 5D4B0000h - 5D551000h
COMDLG32 loaded at 76360000h - 763AA000h
CRYPT32 loaded at 77A50000h - 77AE6000h
MSASN1 loaded at 77AF0000h - 77B02000h
gdiplus loaded at 4EBA0000h - 4ED4B000h
WINHTTP loaded at 4D550000h - 4D5A9000h
IMM32 loaded at 76340000h - 7635D000h
MSCTF loaded at 746B0000h - 746FC000h
msctfime loaded at 75160000h - 7518E000h
foo_freedb2 loaded at 014A0000h - 014EF000h
foo_dsp_delta loaded at 01500000h - 0151F000h
foo_fileops loaded at 01540000h - 0158D000h
foo_rgscan loaded at 015B0000h - 0160E000h
foo_dsp_eq loaded at 01630000h - 01666000h
foo_input_ofr loaded at 01690000h - 016CF000h
OptimFROG loaded at 016E0000h - 0171D000h
foo_input_std loaded at 01740000h - 0189B000h
MSACM32 loaded at 77BB0000h - 77BC5000h
avcodec-fb2k-56 loaded at 669C0000h - 66B94000h
avutil-fb2k-54 loaded at 6B540000h - 6B5AC000h
foo_verifier loaded at 018C0000h - 01902000h
foo_upnp loaded at 01930000h - 01B37000h
IPHLPAPI loaded at 76D20000h - 76D39000h
WS2_32 loaded at 71A30000h - 71A47000h
WS2HELP loaded at 71A20000h - 71A28000h
foo_cdda loaded at 01BB0000h - 01C00000h
foo_albumlist loaded at 01C20000h - 01C7A000h
foo_dsp_std loaded at 01CA0000h - 01CD6000h
foo_input_monkey loaded at 01D00000h - 01D48000h
foo_ui_std loaded at 01D70000h - 01E7D000h
MSIMG32 loaded at 76330000h - 76335000h
mswsock loaded at 719D0000h - 71A10000h
hnetcfg loaded at 66740000h - 66799000h
wshtcpip loaded at 71A10000h - 71A18000h
OLEAUT32 loaded at 770F0000h - 7717B000h
appHelp loaded at 77B10000h - 77B32000h
CLBCATQ loaded at 76F90000h - 7700F000h
COMRes loaded at 77010000h - 770E0000h
cscui loaded at 779F0000h - 77A45000h
CSCDLL loaded at 765B0000h - 765CD000h
browseui loaded at 75F30000h - 7602D000h
USERENV loaded at 76630000h - 766E5000h
SETUPAPI loaded at 778F0000h - 779E7000h
ntshrui loaded at 76950000h - 76976000h
ATL loaded at 76AE0000h - 76AF1000h
NETAPI32 loaded at 597F0000h - 59846000h
MPR loaded at 71AA0000h - 71AB2000h
drprov loaded at 75F10000h - 75F17000h
ntlanman loaded at 71BB0000h - 71BBE000h
NETUI0 loaded at 71C70000h - 71C87000h
NETUI1 loaded at 71C30000h - 71C70000h
NETRAP loaded at 71C20000h - 71C27000h
SAMLIB loaded at 71B90000h - 71BA3000h
davclnt loaded at 75F20000h - 75F2A000h
MLANG loaded at 75DD0000h - 75E61000h
shdocvw loaded at 7E210000h - 7E383000h
CRYPTUI loaded at 76890000h - 76914000h
WININET loaded at 77180000h - 7722B000h
WINTRUST loaded at 76BF0000h - 76C1E000h
WLDAP32 loaded at 76F20000h - 76F4D000h
Stack dump analysis:
Address: 00505E22h (foobar2000+105E22h)
Address: 0050C52Fh (foobar2000+10C52Fh)
Address: 0050C54Ah (foobar2000+10C54Ah)
Address: 016B3B3Dh (foo_input_ofr+23B3Dh)
Address: 016EF21Fh (OptimFROG+F21Fh)
Address: 01708FE4h (OptimFROG+28FE4h)
Address: 016EF2BCh (OptimFROG+F2BCh)
Address: 7C9209F5h (ntdll+109F5h), symbol: "wcsncpy" (+41Ch)
Address: 016E352Fh (OptimFROG+352Fh)
Address: 016E3784h (OptimFROG+3784h)
Address: 016E3944h (OptimFROG+3944h)
Address: 016E3ACCh (OptimFROG+3ACCh)
Address: 016E3D2Ch (OptimFROG+3D2Ch)
Address: 016EAE75h (OptimFROG+AE75h)
Address: 016EB1D0h (OptimFROG+B1D0h)
Address: 7C91E920h (ntdll+E920h), symbol: "strchr" (+113h)
Address: 7C9201E0h (ntdll+101E0h), symbol: "RtlAllocateHeap" (+11Ch)
Address: 7C9201DBh (ntdll+101DBh), symbol: "RtlAllocateHeap" (+117h)
Address: 01707470h (OptimFROG+27470h)
Address: 016E1AA2h (OptimFROG+1AA2h)
Address: 01706CA0h (OptimFROG+26CA0h)
Address: 016E2258h (OptimFROG+2258h), symbol: "OptimFROG_read" (+18h)
Address: 016925A4h (foo_input_ofr+25A4h)
Address: 016966BAh (foo_input_ofr+66BAh)
Address: 016963C8h (foo_input_ofr+63C8h)
Address: 01695A1Ah (foo_input_ofr+5A1Ah)
Address: 019C7D23h (foo_upnp+97D23h)
Address: 01A54869h (foo_upnp+124869h)
Address: 0199A4D8h (foo_upnp+6A4D8h)
Address: 719D597Ch (mswsock+597Ch)
Address: 01A64AE8h (foo_upnp+134AE8h)
Address: 01A54519h (foo_upnp+124519h)
Address: 01997464h (foo_upnp+67464h)
Address: 01A5CC54h (foo_upnp+12CC54h)
Address: 7C8024C7h (kernel32+24C7h), symbol: "ReleaseMutex" (+10h)
Address: 01A53E50h (foo_upnp+123E50h)
Address: 01997C78h (foo_upnp+67C78h)
Address: 01A0A780h (foo_upnp+DA780h)
Address: 019F5085h (foo_upnp+C5085h)
Address: 01A58ED3h (foo_upnp+128ED3h)
Address: 019F5298h (foo_upnp+C5298h)
Address: 01A4C578h (foo_upnp+11C578h)
Address: 019F42A8h (foo_upnp+C42A8h)
Address: 7C802601h (kernel32+2601h), symbol: "WaitForSingleObjectEx" (+B1h)
Address: 01A58D1Bh (foo_upnp+128D1Bh)
Address: 019D897Ah (foo_upnp+A897Ah)
Address: 01A369DFh (foo_upnp+1069DFh)
Address: 01A31B45h (foo_upnp+101B45h)
Address: 019FAD2Ah (foo_upnp+CAD2Ah)
Address: 01A0542Fh (foo_upnp+D542Fh)
Address: 01A33E46h (foo_upnp+103E46h)
Address: 01A2D4D0h (foo_upnp+FD4D0h)
Address: 01A33ED0h (foo_upnp+103ED0h)
Address: 7C80B729h (kernel32+B729h), symbol: "GetModuleFileNameA" (+1BAh)
Address: 7C839A90h (kernel32+39A90h), symbol: "ValidateLocale" (+2B0h)
Address: 7C80B730h (kernel32+B730h), symbol: "GetModuleFileNameA" (+1C1h)
Address: 01A33E6Ch (foo_upnp+103E6Ch)
Address: 01708D6Ch (OptimFROG+28D6Ch)
Environment:
App: foobar2000 v1.3.7
UI: Default User Interface 0.9.5
Components:
Core (2015-01-14 10:28:10 UTC)
foobar2000 core 1.3.7
foo_albumlist.dll (2015-01-14 10:22:14 UTC)
Album List 4.5
foo_cdda.dll (2015-01-14 10:20:12 UTC)
CD Audio Decoder 3.0
foo_dsp_delta.dll (2015-02-19 15:01:12 UTC)
Noise Sharpening DSP 1.0.0
foo_dsp_eq.dll (2015-01-14 10:22:30 UTC)
Equalizer 1.0
foo_dsp_std.dll (2015-01-14 10:21:54 UTC)
Standard DSP Array 1.3.1
foo_fileops.dll (2015-01-14 10:21:20 UTC)
File Operations 2.2.1
foo_freedb2.dll (2015-01-14 10:21:36 UTC)
Online Tagger 0.7
foo_input_monkey.dll (2015-03-01 17:57:50 UTC)
Monkey's Audio Decoder 2.1.7
foo_input_ofr.dll (2011-02-11 09:47:20 UTC)
OptimFROG Lossless/DualStream Decoder 1.30
foo_input_std.dll (2015-01-14 10:28:10 UTC)
Standard Input Array 1.0
foo_rgscan.dll (2015-01-14 10:26:12 UTC)
ReplayGain Scanner 2.2.1
foo_ui_std.dll (2015-01-14 10:28:10 UTC)
Default User Interface 0.9.5
foo_upnp.dll (2015-03-19 13:25:00 UTC)
UPnP/DLNA Renderer, Server, Control Point 0.99.49
foo_verifier.dll (2015-01-17 20:01:30 UTC)
File Integrity Verifier 1.1.2
Recent events:
Pre component load
Loading DLL: F:\foobar2000\components\foo_freedb2.dll
Loading DLL: F:\foobar2000\user-components\foo_dsp_delta\foo_dsp_delta.dll
Loading DLL: F:\foobar2000\components\foo_fileops.dll
Loading DLL: F:\foobar2000\components\foo_rgscan.dll
Loading DLL: F:\foobar2000\components\foo_dsp_eq.dll
Loading DLL: F:\foobar2000\user-components\foo_input_ofr\foo_input_ofr.dll
Loading DLL: F:\foobar2000\components\foo_input_std.dll
Loading DLL: F:\foobar2000\user-components\foo_verifier\foo_verifier.dll
Loading DLL: F:\foobar2000\user-components\foo_upnp\foo_upnp.dll
Loading DLL: F:\foobar2000\components\foo_cdda.dll
Loading DLL: F:\foobar2000\components\foo_albumlist.dll
Loading DLL: F:\foobar2000\components\foo_dsp_std.dll
Loading DLL: F:\foobar2000\user-components\foo_input_monkey\foo_input_monkey.dll
Loading DLL: F:\foobar2000\components\foo_ui_std.dll
Components loaded in: 0:00.542612
Pre config read
Configuration read in: 0:00.049899
Starting playlist loading
Album List refreshed in: 0:00.007058
User Interface initialized in: 0:00.232818
Processing commandline
initquit::init entry
foo_upnp: succesfully loaded file F:\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.078s
initquit::init exit
Startup time : 0:01.009450
foo_upnp: created 2 path registry entries in 0.000s
foo_upnp: loaded Media Library tree in 0.031s
foo_upnp: opened 'file://H:\FLAC_MUSIC\Ambient\Raphael-Angels_Of_The_Deep\07-raphael-gnossienne_no._3_(satie).ofr' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
Machine specifications:
OS: Windows 5.1.2600 Service Pack 3 x86
CPU: AMD Phenom II X4 955 Processor, features: 3DNow!ex MMX SSE SSE2 SSE3
CPU threads: 4
Audio: Realtek HD Audio output