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: Foobar crashes when deleting files from File Operations (Read 817 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Foobar crashes when deleting files from File Operations

Hello, all! Fb2k has been driving me nuts lately. After I convert some files from WAV to FLAC and then using File Operations -> Delete Files, it crashes after deleting a few files. I am forced to shut it down via Task Manager, then redo the same process for the remaining files. It usually doesn't crash after the second or third attempt. I've been having this problem since version 1.5; I use the latest 1.6.6 beta 2 and the problem persists. I have the latest Free Encoder Pack.

Re: Foobar crashes when deleting files from File Operations

Reply #1
Did you submit the foobar2000 crash logs?
Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith.

Re: Foobar crashes when deleting files from File Operations

Reply #2
Did you submit the foobar2000 crash logs?

Sorry, I should have said "freezes" instead of "crashes". It doesn't show me the "foobar has crashed" window that allows me to submit crash logs, nor are there any files on my "crash reports" folder. It just freezes and I have to shut it down with Task Manager.

Re: Foobar crashes when deleting files from File Operations

Reply #3
It would help if you could right click on the process in Task Manager and save a dump from the process where it's locked up, then share it.

Re: Foobar crashes when deleting files from File Operations

Reply #4
Also see the debug info at the end of pinned support topic.

Re: Foobar crashes when deleting files from File Operations

Reply #5
It would help if you could right click on the process in Task Manager and save a dump from the process where it's locked up, then share it.

I just made one, and it's 800MB...

Re: Foobar crashes when deleting files from File Operations

Reply #6
It would help if you could right click on the process in Task Manager and save a dump from the process where it's locked up, then share it.

I just made one, and it's 800MB...

Removed a bunch of unnecessary components. It still crashes, but the dump is now 667MB.

Re: Foobar crashes when deleting files from File Operations

Reply #7
How many files are you attempting to delete at once? Hundreds to thousands or just a couple of dozen?

Re: Foobar crashes when deleting files from File Operations

Reply #8
To my knowledge memory dump created with 64-bit Task Manager won't be debuggable. If you wish Peter to debug the hang cause, you need to use 32-bit task manager. There are instructions for that here.

Re: Foobar crashes when deleting files from File Operations

Reply #9
I have a similar ongoing issue for some time now. It doesn't crash/lock me however, so I've just lived with it.

When I delete via FO, usually more than 50 at a time, I can see the files disappearing from the playlist and then a progress window will appear, with the bar progressing until just before the end when it stops and the window remains on screen. Cancel/close do not function on the window.

The files will be gone and I can continue using FB normally, but need to restart to remove the "processing files" window.

Occasionally the same thing happens when I rename many files (100s).

Nothing via console or log.

Re: Foobar crashes when deleting files from File Operations

Reply #10
Sorry for the late reply. Here is the crash dump (160MB .7z, almost 800MB when uncompressed). Or should I send it to Peter directly?

How many files are you attempting to delete at once? Hundreds to thousands or just a couple of dozen?

It happens either when I try to delete hundreds of files or only a few.


Re: Foobar crashes when deleting files from File Operations

Reply #11
Thanks for the details.

The operation seems to be stuck in DeleteFileW(), the Windows function that deletes a file from your disk.
This seems like a problem with your system, there's not much I can do about it, other than special fixes around it so it can't freeze the entire foobar2000 application.

As a workaround, I recommend setting foobar2000 to recycle instead of delete:
Preferences / Advanced / Tools / File Operations / Deletion Type

Re: Foobar crashes when deleting files from File Operations

Reply #12
As a workaround, I recommend setting foobar2000 to recycle instead of delete:
Preferences / Advanced / Tools / File Operations / Deletion Type

Thank you very much! I will do that!

 
SimplePortal 1.0.0 RC1 © 2008-2021