Help - Search - Members - Calendar
Full Version: Foobar Crash when Opening .ape Album
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
somasatellite
I have an album encoded with monkey's audio 3.97, and every time I right click on the folder to enqueue it, foobar starts to queue the files, then crashes. This also happens when I try to enqueue from inside the program. This doesn't happen with any other .apes, or mp3's. Here is the log:

CODE
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 009090C6h
Access violation, operation: read, address: 00EF2000h
Call path:
playlist_loader_callback_dialog::threadproc=>playlist_loader::process_path=>playlist_loader::process_path
This is the first crash logged by this instance.
Code bytes (009090C6h):
00909086h:  00 00 00 E8 50 DE 00 00 83 C4 04 8D 4C 24 10 8B
00909096h:  F8 C7 44 24 18 01 00 00 00 C7 44 24 10 00 00 00
009090A6h:  00 E8 84 E6 FF FF B8 01 00 00 00 89 44 24 18 89
009090B6h:  44 24 14 89 7C 24 10 8B CB 8B D1 C1 E9 02 03 F5
009090C6h:  F3 A5 88 84 24 38 04 00 00 8B 84 24 48 04 00 00
009090D6h:  8B CA 83 E1 03 03 EB 85 C0 F3 A4 74 02 89 28 8B
009090E6h:  44 24 28 8B 4C 24 10 8B 54 24 1C 50 53 51 8B 4C
009090F6h:  24 38 52 E8 C2 02 00 00 8B F0 8B 44 24 18 85 C0
Stack (0154F638h):
0154F618h:  77D445A1 0012F94C FFFFFE55 FFFFFF4E
0154F628h:  00000000 001629D0 0012F964 77D445BE
0154F638h:  00000000 0000008E 00ED04E8 00000000
0154F648h:  10010020 00000001 00000001 008965E8
0154F658h:  00000001 00000001 ED83A787 00ED04E8
0154F668h:  AF9DF9C4 D616B4CC 353093B7 6F06FB8D
0154F678h:  EB136D2C 4C46D3A3 21B07A4A 0AD19996
0154F688h:  9D057061 AD8A9A28 3FEED1F9 A8AFCED0
0154F698h:  A0658C2E 5E96C0EE E08BCBA1 F0C61CF5
0154F6A8h:  B308D058 FE0FB7FD 1C89B0C0 1213C751
0154F6B8h:  00046699 77FA88F0 77F53870 FFFFFFFF
0154F6C8h:  77F944A8 77F57D70 77F58A3A 00000000
0154F6D8h:  00EF1BC0 00000000 00000000 00000000
0154F6E8h:  00000000 00000000 00000000 00000000
0154F6F8h:  00000000 00000000 00000000 00000000
0154F708h:  00000000 00000000 00000000 00000000
0154F718h:  00000000 00000000 00000000 00000000
0154F728h:  0154F75C 00890000 77F944A8 00000008
0154F738h:  00890808 00890000 00000000 0154F734
0154F748h:  00000000 0154F97C 77FA88F0 77F53870
Registers:
EAX: 00000001, EBX: 324E3A8A, ECX: 0C938C3B, EDX: 324E3A8A
ESI: 00EF2000, EDI: 100109BC, EBP: 0000005C, ESP: 0154F638
Crash location: "foo_ape", loaded at 00900000h - 0091F000h
Symbol: "FillWaveHeader" (+000041E6h)

Loaded modules:
foobar2000                       loaded at 00400000h - 00451000h
ntdll                            loaded at 77F50000h - 77FF7000h
kernel32                         loaded at 77E60000h - 77F46000h
USER32                           loaded at 77D40000h - 77DCC000h
GDI32                            loaded at 77C70000h - 77CB0000h
ADVAPI32                         loaded at 77DD0000h - 77E5D000h
RPCRT4                           loaded at 78000000h - 78086000h
ole32                            loaded at 771B0000h - 772D1000h
COMCTL32                         loaded at 71950000h - 71A34000h
msvcrt                           loaded at 77C10000h - 77C63000h
SHLWAPI                          loaded at 70A70000h - 70AD5000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F5000h
SHELL32                          loaded at 773D0000h - 77BC2000h
foo_abx                          loaded at 008D0000h - 008DA000h
foo_ac3                          loaded at 008E0000h - 008F0000h
foo_albumlist                    loaded at 008F0000h - 008FA000h
foo_ape                          loaded at 00900000h - 0091F000h
foo_burninate                    loaded at 00920000h - 0092B000h
VERSION                          loaded at 77C00000h - 77C07000h
foo_cdda                         loaded at 00930000h - 0093E000h
foo_clienc                       loaded at 00940000h - 0094B000h
foo_console                      loaded at 00950000h - 00958000h
foo_diskwriter                   loaded at 00960000h - 00972000h
WINMM                            loaded at 76B40000h - 76B6C000h
foo_dsp_extra                    loaded at 00A00000h - 00A15000h
foo_flac                         loaded at 00A20000h - 00A36000h
foo_freedb                       loaded at 00A40000h - 00A6E000h
WS2_32                           loaded at 71AB0000h - 71AC5000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_id3v2                        loaded at 00A70000h - 00A96000h
MSVCP60                          loaded at 55900000h - 55961000h
foo_input_std                    loaded at 00AA0000h - 00B39000h
MSACM32                          loaded at 77BE0000h - 77BF4000h
foo_masstag                      loaded at 00B40000h - 00B50000h
foo_matroska                     loaded at 00B50000h - 00B8F000h
foo_neromp4                      loaded at 00B90000h - 00B9E000h
MFC42                            loaded at 73DD0000h - 73EC2000h
foo_oggpreview                   loaded at 00BA0000h - 00C9D000h
foo_output_std                   loaded at 00CA0000h - 00CA9000h
foo_out_dsound_ex                loaded at 00CB0000h - 00CB9000h
DSOUND                           loaded at 73F10000h - 73F65000h
foo_read_http                    loaded at 00CD0000h - 00CD9000h
foo_rgscan                       loaded at 00CE0000h - 00CEB000h
foo_shn                          loaded at 00CF0000h - 00CFE000h
foo_shuffle                      loaded at 00D00000h - 00D0E000h
foo_speex                        loaded at 00D10000h - 00D28000h
foo_text                         loaded at 00D30000h - 00D43000h
foo_ui_std                       loaded at 00D50000h - 00D67000h
foo_unpack                       loaded at 00D70000h - 00DA1000h
OLEAUT32                         loaded at 77120000h - 771AB000h
foo_vis_manager                  loaded at 00DB0000h - 00DB8000h
foo_vorbisenc                    loaded at 00DC0000h - 00EBA000h
foo_wavpack                      loaded at 00EC0000h - 00ECB000h
SynTPFcs                         loaded at 63000000h - 63014000h
UxTheme                          loaded at 5AD70000h - 5ADA4000h
imagehlp                         loaded at 76C90000h - 76CB2000h
DBGHELP                          loaded at 6D510000h - 6D58D000h

Stack dump analysis:
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F53870h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F57D70h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000001C2h)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F53870h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F57D70h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000001C2h)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 77F59BAAh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAcquirePebLock" (+00000028h)
Address: 77F59BB3h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAcquirePebLock" (+00000031h)
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F53870h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F57D70h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000001C2h)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 77F59BAAh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAcquirePebLock" (+00000028h)
Address: 77F59BB3h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAcquirePebLock" (+00000031h)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F59BF9h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlReleasePebLock" (+0000000Fh)
Address: 77FC49E0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F5A323h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlReleasePebLock" (+00000739h)
Address: 77F5A32Bh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlReleasePebLock" (+00000741h)
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F53870h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F57D70h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000001C2h)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F5D760h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlGetFullPathName_U" (+000001EEh)
Address: 77F59BF9h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlReleasePebLock" (+0000000Fh)
Address: 77FC49E0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F58497h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000008E9h)
Address: 77F57F98h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000003EAh)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F53870h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F57D70h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000001C2h)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 0044005Ch, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 77F5C244h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "ZwSetInformationFile" (+0000000Ch)
Address: 77E7F0CEh, location: "kernel32", loaded at 77E60000h - 77F46000h
Symbol: "SetFilePointer" (+000000A0h)
Address: 77F5BFB4h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "NtReadFile" (+0000000Ch)
Address: 77E7ABBDh, location: "kernel32", loaded at 77E60000h - 77F46000h
Symbol: "ReadFile" (+0000006Fh)
Address: 77E7ABDCh, location: "kernel32", loaded at 77E60000h - 77F46000h
Symbol: "ReadFile" (+0000008Eh)
Address: 77E94809h, location: "kernel32", loaded at 77E60000h - 77F46000h
Symbol: "SetThreadExecutionState" (+00000097h)
Address: 77E83B00h, location: "kernel32", loaded at 77E60000h - 77F46000h
Symbol: "OpenConsoleW" (+000016AEh)

Version info:
foobar2000 v0.8
UNICODE
somasatellite
Also, the .ape files decompress fine into wav's, which play perfectly in foobar. But when I re-encode, there is the same problem. There is also a problem during encoding if I put these wav's into flac. Here is that error:


CODE
flac 1.1.0, Copyright (C) 2000,2001,2002,2003 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3
01. Untitled.wav: 99% complete, ratio=0.63701. Untitled.wav: WARNING: skipping u
nknown sub-chunk 'ndie'
01. Untitled.wav: WARNING: skipping unknown sub-chunk 'Year'
01. Untitled.wav: wrote 26428532 bytes, ratio=0.633
-------------------------------------------------------------------------------

Press any key to continue . . .


What does this mean?
Peter
Seems like internal tag reader in monkeyaudio library is exploitable (bah, its resutls aren't ever used in fb2k).
Try this - http://foobar2000.org/temp/foo_ape.zip - it has the crashing code disabled (shouldn't have any harmful effects).
somasatellite
QUOTE(zZzZzZz @ Mar 14 2004, 02:59 PM)
Seems like internal tag reader in monkeyaudio library is exploitable (bah, its resutls aren't ever used in fb2k).
Try this - http://foobar2000.org/temp/foo_ape.zip - it has the crashing code disabled (shouldn't have any harmful effects).

Thanks, Peter. :]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.