Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: "Application error" / Metadb_handle leak on shutdown (Read 3463 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

"Application error" / Metadb_handle leak on shutdown

Hi,

I installed foobar v0.9.4 last week, and I really have to compliment the programmers on creating such a great piece of software! Beats anything I have used so far.

I do encounter a bug in 90% of all cases when I shut down the program (usually after using the program for an extended period of time): I first get an "application error" message, then a warning "metadb_handle leaks: 1 object".

Error report below.

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 012A77A7h
Access violation, operation: read, address: 019F4008h
Call path:

This is the first crash logged by this instance.
Code bytes (012A77A7h):
012A7767h:  CC CC CC CC CC CC CC CC CC 6A FF 68 38 7A 2B 01
012A7777h:  64 A1 00 00 00 00 50 51 56 A1 F4 F7 2B 01 33 C4
012A7787h:  50 8D 44 24 0C 64 A3 00 00 00 00 8B F1 89 74 24
012A7797h:  08 8B 4E 08 85 C9 C7 44 24 14 00 00 00 00 74 06
012A77A7h:  8B 01 8B 10 FF D2 C7 46 04 FC 94 2B 01 C7 06 28
012A77B7h:  95 2B 01 8B 4C 24 0C 64 89 0D 00 00 00 00 59 5E
012A77C7h:  83 C4 10 C3 CC CC CC CC CC 8B 44 24 08 8B 10 3B
012A77D7h:  15 D0 B6 2B 01 75 47 8B 50 04 3B 15 D4 B6 2B 01
Stack (0012FC80h):
0012FC60h:  4456446E 6365527C 6564726F 6F487C72
0012FC70h:  5420656D 74616568 417C7265 4D4D4954
0012FC80h:  395FE031 00000001 012BF17C 0012FCB8
0012FC90h:  012B7A38 00000000 012AE911 395FE07D
0012FCA0h:  00000000 00000000 012A0000 012E20E8
0012FCB0h:  0012FC9C 0012F8A8 0012FD20 012AE1F0
0012FCC0h:  3866D0E5 00000000 0012FCF0 012AE98F
0012FCD0h:  00000000 00000000 00000001 012AB094
0012FCE0h:  00000001 00000000 012A0000 00000001
0012FCF0h:  0012FD30 012AB1C7 012A0000 00000000
0012FD00h:  00000001 395FE185 00000000 0012FD4C
0012FD10h:  00253C68 00000001 0012FD04 0012F8A8
0012FD20h:  0012FDCC 012AE1F0 3866D73D 00000000
0012FD30h:  0012FD58 012AB231 012A0000 7C9411A7
0012FD40h:  012A0000 00000000 00000001 00253C68
0012FD50h:  00000000 00253D30 0012FDDC 7C963F31
0012FD60h:  012AB214 012A0000 00000000 00000001
0012FD70h:  00000000 7C94E88E 00000000 00000014
0012FD80h:  00000001 00000000 0015EF10 00000000
0012FD90h:  7C950D5C 009F0000 7C950E91 009F0608
Registers:
EAX: 0012FC8C, EBX: 012A0000, ECX: 019F4008, EDX: 012E0608
ESI: 012BF17C, EDI: 012E20B0, EBP: 0012FCC8, ESP: 0012FC80
Crash location: "foo_playcount", loaded at 012A0000h - 012C8000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C940000h - 7C9DD000h
kernel32                        loaded at 7C800000h - 7C931000h
COMCTL32                        loaded at 77160000h - 77263000h
msvcrt                          loaded at 77BC0000h - 77C18000h
ADVAPI32                        loaded at 77D80000h - 77E29000h
RPCRT4                          loaded at 77E30000h - 77EC1000h
GDI32                            loaded at 77ED0000h - 77F17000h
USER32                          loaded at 77CF0000h - 77D7F000h
SHLWAPI                          loaded at 77F20000h - 77F96000h
SHELL32                          loaded at 7D5B0000h - 7DDAE000h
ole32                            loaded at 76970000h - 76AAD000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 76300000h - 76348000h
IMM32                            loaded at 762E0000h - 762FD000h
LPK                              loaded at 60740000h - 60749000h
USP10                            loaded at 73F80000h - 73FEB000h
uxtheme                          loaded at 58730000h - 58768000h
MSCTF                            loaded at 74660000h - 746AB000h
SynTPFcs                        loaded at 63000000h - 63013000h
VERSION                          loaded at 77BB0000h - 77BB8000h
msctfime                        loaded at 73620000h - 7364E000h
imjp81                          loaded at 4EDC0000h - 4EE16000h
imjp81k                          loaded at 648F0000h - 649C0000h
foo_abx                          loaded at 00B40000h - 00B73000h
foo_albumlist                    loaded at 00BA0000h - 00BE7000h
OLEAUT32                        loaded at 770D0000h - 7715C000h
foo_autoplaylist                loaded at 00C10000h - 00C40000h
foo_browser                      loaded at 00C60000h - 00C9B000h
foo_cdda                        loaded at 00CC0000h - 00CF6000h
foo_common                      loaded at 00D20000h - 00D5A000h
foo_converter                    loaded at 00D80000h - 00DE9000h
foo_dbsearch                    loaded at 00E10000h - 00E6C000h
foo_dsp_std                      loaded at 00E90000h - 00ED1000h
foo_explorer                    loaded at 00F00000h - 00F18000h
foo_freedb2                      loaded at 00F40000h - 00F80000h
foo_infobox                      loaded at 00FA0000h - 00FE0000h
foo_input_shorten                loaded at 01000000h - 0102E000h
foo_input_std                    loaded at 01050000h - 01164000h
foo_lnk                          loaded at 01190000h - 011A9000h
foo_masstag                      loaded at 011D0000h - 01220000h
foo_osd                          loaded at 01240000h - 01272000h
foo_playcount                    loaded at 012A0000h - 012C8000h
foo_playlist_manager            loaded at 012F0000h - 01336000h
foo_pqview                      loaded at 01360000h - 0137C000h
foo_random                      loaded at 013A0000h - 013DF000h
foo_rgscan                      loaded at 01400000h - 01448000h
foo_sendtodevice                loaded at 01470000h - 01483000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_tradersfriend                loaded at 014B0000h - 014ED000h
foo_uie_albumart                loaded at 01510000h - 01546000h
gdiplus                          loaded at 4AF10000h - 4B0B3000h
foo_uie_albumlist                loaded at 01580000h - 015BF000h
foo_uie_console                  loaded at 015E0000h - 015FC000h
foo_uie_quicksearch              loaded at 01620000h - 01668000h
foo_uie_trackinfo                loaded at 01690000h - 016BE000h
foo_ui_columns                  loaded at 016E0000h - 0177B000h
foo_ui_std                      loaded at 017A0000h - 017F7000h
foo_unpack                      loaded at 01820000h - 0184E000h
foo_utils                        loaded at 01870000h - 018A9000h
IMJPCD                          loaded at 3B100000h - 3B11B000h
Hook                            loaded at 41240000h - 4124B000h
MFC42                            loaded at 73D10000h - 73E0E000h
MFC42LOC                        loaded at 5F700000h - 5F70D000h
DSOUND                          loaded at 73E50000h - 73EAC000h
WINMM                            loaded at 76AF0000h - 76B1B000h
DrvTrNTm                        loaded at 6BC00000h - 6BC17000h
DrvTrNTl                        loaded at 6BC20000h - 6BC3C000h
WINTRUST                        loaded at 76BE0000h - 76C0E000h
CRYPT32                          loaded at 765C0000h - 76653000h
MSASN1                          loaded at 77C40000h - 77C52000h
IMAGEHLP                        loaded at 76C40000h - 76C68000h
wdmaud                          loaded at 72C70000h - 72C79000h
msacm32                          loaded at 72C60000h - 72C68000h
MSACM32                          loaded at 77B90000h - 77BA5000h
midimap                          loaded at 77B80000h - 77B87000h
KsUser                          loaded at 73E20000h - 73E24000h
DBGHELP                          loaded at 67930000h - 679D1000h

Stack dump analysis:
Address: 012BF17Ch, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012B7A38h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012AE911h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012A0000h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012AE1F0h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012AE98Fh, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012AB094h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012A0000h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012AB1C7h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012A0000h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012AE1F0h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012AB231h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012A0000h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 7C9411A7h, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "LdrInitializeThunk" (+00000029h)
Address: 012A0000h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 7C963F31h, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "LdrShutdownProcess" (+00000142h)
Address: 012AB214h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 012A0000h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 7C94E88Eh, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "ZwTerminateProcess" (+00000000h)
Address: 7C950D5Ch, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "wcsncpy" (+000002CDh)
Address: 7C950E91h, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C950945h, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "RtlAcquirePebLock" (+00000028h)
Address: 7C95094Eh, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "RtlAcquirePebLock" (+00000031h)
Address: 012AB214h, location: "foo_playcount", loaded at 012A0000h - 012C8000h
Address: 7C94EE18h, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "strchr" (+00000117h)
Address: 7C963E98h, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "LdrShutdownProcess" (+000000A9h)
Address: 7C81CD76h, location: "kernel32", loaded at 7C800000h - 7C931000h
Symbol: "IsValidLocale" (+000008EBh)
Address: 0101056Dh, location: "foo_input_shorten", loaded at 01000000h - 0102E000h
Address: 010100EAh, location: "foo_input_shorten", loaded at 01000000h - 0102E000h
Address: 7C94EE18h, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "strchr" (+00000117h)
Address: 7C950570h, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 7C95056Dh, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 0049372Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C94F0AAh, location: "ntdll", loaded at 7C940000h - 7C9DD000h
Symbol: "RtlAnsiStringToUnicodeString" (+0000005Eh)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C931000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C80E630h, location: "kernel32", loaded at 7C800000h - 7C931000h
Symbol: "GetModuleHandleW" (+000001F3h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C931000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C81CDB0h, location: "kernel32", loaded at 7C800000h - 7C931000h
Symbol: "IsValidLocale" (+00000925h)
Address: 7C81CDEEh, location: "kernel32", loaded at 7C800000h - 7C931000h
Symbol: "ExitProcess" (+00000014h)
Address: 77E8F3B0h, location: "RPCRT4", loaded at 77E30000h - 77EC1000h
Symbol: "RpcAsyncRegisterInfo" (+00004CC7h)
Address: 004969D3h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496BD9h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496CE0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496BFEh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496153h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496CE0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C816FD7h, location: "kernel32", loaded at 7C800000h - 7C931000h
Symbol: "RegisterWaitForInputIdle" (+00000049h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C931000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C816FE0h, location: "kernel32", loaded at 7C800000h - 7C931000h
Symbol: "RegisterWaitForInputIdle" (+00000052h)
Address: 004961ADh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B0063h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00410072h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004D002Eh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0044002Eh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0044002Eh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00410072h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0044002Eh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004D002Eh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0044002Eh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00410072h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004D002Eh, location: "foobar2000", loaded at 00400000h - 004F3000h

Version info:
foobar2000 v0.9.4
UNICODE

Additional info:
Live show tagger 0.6.1  (foo_tradersfriend)
Columns UI 0.1.3 beta 1v5  (foo_ui_columns)
Standard DSP array 1.0  (foo_dsp_std)
On-Screen Display 1.52  (foo_osd)
Special file info box 2.0.3  (foo_infobox)
Shell link resolver 1.1  (foo_lnk)
Common services 0.1  (foo_common)
Play Count 1.9.2  (foo_playcount)
Masstagger 1.6  (foo_masstag)
Album List 3.2.0  (foo_albumlist)
Playlist tools 0.5.7  (foo_utils)
Randomized playlist entry 1.2.3  (foo_random)
CD Audio Decoder 2.1.1  (foo_cdda)
foo_explorer 1.31  (foo_explorer)
Send to Device 1.0.4 [May 17 2006 - 13:21:17]  (foo_sendtodevice)
Track info panel 0.8  (foo_uie_trackinfo)
Music Browser 1.2.2c [Jul  6 2006 - 09:42:02]  (foo_browser)
FLAC decoder 1.1.0  (foo_input_std)
Standard Input Array 1.0  (foo_input_std)
Database search 1.3.1 beta 11  (foo_dbsearch)
Album Art Panel 0.2.4.1  (foo_uie_albumart)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Album list panel 0.2.1 beta 4  (foo_uie_albumlist)
Shorten decoder 0.4.2a  (foo_input_shorten)
foobar2000 core v0.9.4  (Core)
Console panel 0.2  (foo_uie_console)
Autoplaylist Manager 1.0  (foo_autoplaylist)
WMA Decoder 1.1  (foo_input_std)
RAR reader 1.1  (foo_unpack)
Converter 1.0.1  (foo_converter)
ABX Comparator 1.3.1  (foo_abx)
Default User Interface 0.9acc  (foo_ui_std)
ZIP/GZIP reader 1.0  (foo_unpack)
Quick Search Toolbar 2.8i  (foo_uie_quicksearch)
freedb Tagger 0.5.2a  (foo_freedb2)
Playlist Manager 1.0  (foo_playlist_manager)

"Application error" / Metadb_handle leak on shutdown

Reply #1
As you see in the crash log foo_playcount is the culprit, use the official playcount instead which is here.

EDIT: "This question has been asked many times already, please search the forum before posting." © Yotsuya

"Application error" / Metadb_handle leak on shutdown

Reply #2
Thanks, thuan! Seems to work fine now. Sorry that I overlooked the earlier postings.