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: fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44 (Read 3116 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Hey,

I have added a new path to my music library. When fb2k finished loading all data (no more HDD access) it began to fully utilize one of my CPU cores and hasn't stopped since. I've been waiting for over 12 hours and also tried to restart it (had to kill the process since it didn't quit).

Here is the stack trace of the problematic thread:
Code: [Select]
zlib1.dll!get_crc_table+0x10
foo_unpack.dll!foobar2000_get_interface+0x2a44
foo_unpack.dll!foobar2000_get_interface+0x2fbc
foo_unpack.dll+0x3b89
foobar2000.exe+0x3d2eb
foobar2000.exe+0x3cd8a
foobar2000.exe+0x3d5ba
foobar2000.exe+0x3e264
foobar2000.exe+0x3e281
foobar2000.exe+0x3fa44
foobar2000.exe+0x4040c
foobar2000.exe+0x40ad2
foobar2000.exe+0x402bb
foobar2000.exe+0x401e9
foobar2000.exe+0x42d8c
foobar2000.exe+0x42dbb
foobar2000.exe+0x103c65
foobar2000.exe+0x103cef
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36

The top most stack frame changes a lot so I guess it loops in foo_unpack.dll!foobar2000_get_interface+0x2a44. Or maybe I just have too many archives?

The log says nothing of value:
Code: [Select]
Watching: C:\music
Album List refreshed in: 0:00.124589
Startup time : 0:00.346887


I'm running Windows 7 with fb2k v1.1.13

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #1
When it does that, I suggest you use Process Monitor, restricted to logging just process name foobar2000.exe, to see what it's reading. It's definitely doing something, just not what you expect.

I would advise you keep any large archives outside of your Media Library paths, as those need to be scanned the first time they're noticed, and when they're scanned, each file they contain is unpacked completely to memory, processed, then freed. The unpacker itself also has a minimum amount of memory that it will consume for the duration of processing the entire archive file.

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #2
Thanks for your reply. I've checked and it's not accessing anything except the audio file I currently play. It's not a real problem but it seems to be a bug nonetheless.

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #3
Thanks for the report, in fact it's two distinct bugs that we have here: apparent infinite loop accessing a zip file and deadlock detection feature not enabled properly for media library threads.

It would be most useful if you could isolate the zip file being accessed (should be easy using process explorer or alike) and make it available to me.

If it is not feasible to send the offending file over, please try running the latest foobar2000 beta version instead, get it to lock up, try to close it and wait a few minutes - it should notice the lockup, commit suicide and give you an option to send a bug report.
Microsoft Windows: We can't script here, this is bat country.

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #4
You can find the file here. Please let me know when you've downloaded it so I can delete it.

It seems to have something to do with the archive. When I extract it (using PeaZip) and re-zip it, it works in fb2k. Also the archive test in PeaZip didn't turn up any errors.

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #5
File downloaded and being looked into, thanks a lot for the report.
Microsoft Windows: We can't script here, this is bat country.

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #6
FYI it looks like the last file has the second half of it null'd, at least when extracted with WinRAR; the tags are missing/unreadable as a result of that.
Microsoft Windows: We can't script here, this is bat country.

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #7
Thanks for the update! It seems like 2 whole tracks are missing. I suspect the end of the archive was just cut off.

Still it would be great if FB2k would handle such faulty data gracefully.

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #8
The next fb2k version will unpack this file with results identical to WinRAR. Crashing or locking up on invalid files is not an acceptable behavior.
Microsoft Windows: We can't script here, this is bat country.

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #9
Great, thanks for your support!

 

fb2k hangs in foo_unpack.dll!foobar2000_get_interface+0x2a44

Reply #10
Version 1.1.14 out, fix included.
Microsoft Windows: We can't script here, this is bat country.