simplewall icon indicating copy to clipboard operation
simplewall copied to clipboard

[Bug] Could not load profile crash

Open dethknite opened this issue 4 months ago • 8 comments

Checklist

  • [x] I have used the search function to see if someone else has already submitted the same bug report.
  • [x] I will describe the problem with as much detail as possible.

App version

3.8.7

Windows version

Win11 Pro 24H2 (10.0.26100.4770)

Steps to reproduce

Had 3.8.6.1 installed. Installed 3.8.7 and upon launch, received "Could not load profile!" error -- Status: -1073741762 (0xC000003E).

Debug log: "Error","8/8/2025 9:33:28 AM","_app_profile_load","0xC000003E","(null)","3.8.7","10.0 build 26100"

After working through error, simplewall loads with empty profile. Attempting to import a backup throws errors (seems there may be an incompatibility with the profile.xml or profile_internal.xml)

Expected behavior

No response

Actual behavior

Image

Logs

simplewall_debug.log

dethknite avatar Aug 08 '25 14:08 dethknite

you on arm?

henrypp avatar Aug 08 '25 15:08 henrypp

No, x64 (amd)

Image

dethknite avatar Aug 08 '25 15:08 dethknite

Perhaps it has something to do with my settings (profile type --> encrypted). I am going to attempt to change that to plain or compressed and try. Otherwise, maybe Use dark theme setting?

dethknite avatar Aug 08 '25 16:08 dethknite

profile type --> encrypted

only this, use plain

Otherwise, maybe Use dark theme setting?

where is the logic?

henrypp avatar Aug 08 '25 16:08 henrypp

Well.. I got it to work. I deleted the profile_internal.xml, and set the profile type --> plain. Not sure which helped.. but the profile_internal.xml no longer exists and was not recreated either. (The profile_internal.xml was encrypted, so I am not sure what was in it, but setting profile type --> plain did not change the profile_internal.xml, only the main profile.xml)

dethknite avatar Aug 08 '25 16:08 dethknite

Same issue after latest update.

kohded avatar Aug 09 '25 16:08 kohded

I delete “profile.xml” file, and change "profile type" to "plain". Now it works well

yaoqs avatar Aug 11 '25 09:08 yaoqs

Yeah, seems to be a problem related to profile type encryption. In case you want to restore it - Simplewall created profile.xml.bak file in C://Program Files/Simplewall. All you need to do is to:

  • kill the process
  • replace the new "profile.xml" (created after crash) with "profile.xml.bak" (delete the new file and cut .bak from the backup)
  • install previous version of the program in the same location
  • launch Simplewall.exe and change profile type to Plain
  • update the app to latest version

A bit tricky, but what a relief once it worked man..

nvllz avatar Aug 24 '25 19:08 nvllz

A bit late, but the same had happened to me just now. The workaround works, however.

kyelbek avatar Dec 17 '25 20:12 kyelbek

0xC000003E (STATUS_DATA_ERROR) returns when no data in profile.xml (could not find xml tag): https://github.com/henrypp/simplewall/blob/795b106f5fa992b3fea9559961cd0e59369adba9/src/db.c#L813

ps: tomorow i handle this

henrypp avatar Dec 20 '25 21:12 henrypp