HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: jakedean22 on 2024-04-18 11:52:56

Title: Foobar 2.1.4 Crash
Post by: jakedean22 on 2024-04-18 11:52:56
Hi All,

i was using 2.1.3 after upgrading my portable installation from 1.6 i thought it was time to try the newest version. My music is stored on a network drive and whenever i was changing tags or moving files it would randomly crash. i could never figure out what specifically. i ignored it, updated to 2.1.4 and within 5 mins crashes again. i have had about 4 tonight. i want to stay on 2k but i can only stop the crashes when using 1.6.

i updated over the top of my existing installation but also tried a completely fresh one, that didnt work either. i searched other crashes and saw turning off hardware acceleration was an option, turns out mines already off. please see attached crash, if someone can interpret the violation i would be very appreciative. i also send the logs within Foobar.
Title: Re: Foobar 2.1.4 Crash
Post by: Case on 2024-04-18 12:21:48
Looks like it can't open sqlite databases. The sqlite error 14 means SQLITE_CANTOPEN and the win32 error 2 means ERROR_FILE_NOT_FOUND. And you get the exact same problem with a clean portable install?
Title: Re: Foobar 2.1.4 Crash
Post by: Musique-Rabbit on 2024-04-19 01:28:55
I got another kind of problem for the same version but not the previous.
Every time it starts...
Title: Re: Foobar 2.1.4 Crash
Post by: Case on 2024-04-19 06:42:29
@Musique-Rabbit, have you perhaps extracted the player files from the installer manually?
Unless you modify Windows settings, files downloaded from the internet are marked with a hidden alternative stream file marking them as potentially dangerous. The installer removes this marking from the installed files, but if you bypass the installer the marking can stay with the files. Which would cause the OS to keep treating the files as dangerous internet sourced files.
Title: Re: Foobar 2.1.4 Crash
Post by: Musique-Rabbit on 2024-04-19 11:09:05
Thanks, Case.

I used a "portable" package from VideoHelp so that I can move around with my settings.
Title: Re: Foobar 2.1.4 Crash
Post by: marc2k3 on 2024-04-19 11:16:44
3rd parties are not supposed to distribute portable packages. It against the terms of the license*.

Also, the official installers have had portable mode since forever.

*Plenty of half wits on this forum also do it. And they're usally stupid enough to bundle their entire folder totallng hundreds of megabytes when the required files are probably 10-20MB max. :/
Title: Re: Foobar 2.1.4 Crash
Post by: Musique-Rabbit on 2024-04-19 13:51:29
Also, the official installers have had portable mode since forever.
Thanks. Will use this option from now on.
Title: Re: Foobar 2.1.4 Crash
Post by: jakedean22 on 2024-04-24 11:03:38
Looks like it can't open sqlite databases. The sqlite error 14 means SQLITE_CANTOPEN and the win32 error 2 means ERROR_FILE_NOT_FOUND. And you get the exact same problem with a clean portable install?
Sorry for the late reply, i humoured you the other day and started from scratch again, all was working well for 5 days. today i installed  foo_playcount (Playback Statistics - by Peter) and instantly crashes came back. recovered from a backup, no issues at all so i think its the plugin causing it. i have fresh crash dumps if you are interested.
Title: Re: Foobar 2.1.4 Crash
Post by: Case on 2024-04-24 11:44:34
Care to share the "N:\Software\Foobar\Foobar2000 - Downloads\profile\metadb.sqlite" file? Attempt to open it seem to cause all the problems again. I see BitDefender interfering in the call stack for some reason. I wonder if it is the cause of these problems.
Title: Re: Foobar 2.1.4 Crash
Post by: jakedean22 on 2024-04-24 11:52:14
sure, here it is. had to zip it.
F'ing Bitdefender...
Title: Re: Foobar 2.1.4 Crash
Post by: jakedean22 on 2024-04-24 11:56:54
Wait i am an idiot thats not the right one, the recent install with the crash is 0bytes for the metadb?
Title: Re: Foobar 2.1.4 Crash
Post by: Case on 2024-04-24 12:01:01
Ok. The file you shared didn't cause any crashing here and sqlite's integrity check also said it's ok. But after your updated post I truncated my metadb.sqlite file to 0 bytes. It caused zero issues for foobar2000 startup.
Can you try excluding foobar2000 from BitDefender?
Title: Re: Foobar 2.1.4 Crash
Post by: jakedean22 on 2024-04-24 12:03:32
yeah absolutely, appreciate your time i will try look at BitDefender as the culprit, gives me something to look into as before i wasnt sure what it was. thanks man.
Title: Re: Foobar 2.1.4 Crash
Post by: jakedean22 on 2024-04-25 06:10:22
Hi @Case would you mind checking out these dumps please? this is after disabling Bitdefender, still got the crash. i have narrowed it down slighlty, it appears to crash after file operations like moving songs from downloads to my all music folder within Foobar. i am a bit lost on what is happening.
Title: Re: Foobar 2.1.4 Crash
Post by: Case on 2024-04-25 06:56:05
Error with SQLite again. I assume you still have foobar2000 stored on the N: drive that is a NAS device of some sort. SQLite's documentation (https://www.sqlite.org/useovernet.html) mentions multiple possible problems with having the database on a network drive, reliability can't be guaranteed.
Older foobar2000 versions prior to 2.0 did not use SQLite databases and they only wrote configuration to the disk once at the end. Since 2.0 configuration, media library and related metadata are all SQLite backed and the files are always kept up-to-date.
Move your foobar2000 away from the network drive and try again.