solemnwarning / rehex

Reverse Engineers' Hex Editor
https://rehex.solemnwarning.net/
GNU General Public License v2.0
2.3k stars 113 forks source link

ReHex v0.62 gets crashing on Windows XP SP3 #239

Closed LordGarfio closed 1 month ago

LordGarfio commented 1 month ago

Versions 0.61.0 and 0.61.1 load without problems on Windows XP SP3 32Bits, however, version 0.62.0 fails.

rehex-0.61.0-win-i686.zip rehex-0 61 0-win-i686_2024-07-22_162130

rehex-0.61.1-win-i686.zip rehex-0 61 1-win-i686_2024-07-22_162457

rehex-0.62.0-win-x86.zip rehex-0 62 0-win-x86_2024-07-22_162647_ rehex-0 62 0-win-x86_2024-07-22_162706_2

Error Report Contents The following information about your process will be reported "<?xml version="1.0" encoding="UTF-16"?>

" Regards.
solemnwarning commented 1 month ago

So much for the new toolchain I switched to for the 32-bit build having better compatibility :facepalm:

Does the crash happen as soon as you start the application? It seems to work in my Windows XP VM (also SP3).

solemnwarning commented 1 month ago

Assuming I'm using the tools correctly, the 339750 offset is pointing at wxAuiPaneInfo::wxAuiPaneInfo()... nothing in there looks very crashable, so there might be some memory corruption happening earlier in the stack.

Could you send me a crash dump? From what I've read, Process Explorer can be used to generate one on Windows XP while the "foo.exe has encountered a problem and needs to close" dialog is open.

LordGarfio commented 1 month ago

So much for the new toolchain I switched to for the 32-bit build having better compatibility 🤦

Does the crash happen as soon as you start the application? It seems to work in my Windows XP VM (also SP3).

Yes, the error occurs as soon as rehex.exe is started.

Mini Dump minidump.dmp

Thanks.

solemnwarning commented 1 month ago

Thanks for the crash dump, it looks like the way I have the toolchain set up is targeting newer than intended CPUs (SSE4 level, specifically), which worked for me since I'm virtualising Windows XP on a fairly modern Ryzen system, I'm guessing you're running it on an older CPU?

rehex-i686.zip

Can you give this exe a try and let me know if it works for you?

Thanks

solemnwarning commented 1 month ago

Ignore my last post, this one should have even better compatibility.

rehex-mmx.zip

LordGarfio commented 1 month ago

Thanks for the crash dump, it looks like the way I have the toolchain set up is targeting newer than intended CPUs (SSE4 level, specifically), which worked for me since I'm virtualising Windows XP on a fairly modern Ryzen system, I'm guessing you're running it on an older CPU?

rehex-i686.zip

Can you give this exe a try and let me know if it works for you?

Thanks

This fixed one works on Intel Core 2 Duo T2300.

ReHex x32 v0 62 0 Win_rehex-i686_fixed

LordGarfio commented 1 month ago

Ignore my last post, this one should have even better compatibility.

rehex-mmx.zip

MMX works on Intel Core 2 Duo T2300 too.

Thanks you.

ReHex x32 v0 62 0 Win_rehex-mmx