From the Event Viewer.
Raider Corvette
- keiranhalcyon7
- Posts: 599
- Joined: Tue Jan 02, 2018 6:41 am
Windows used to just give this info out unsolicited. On my system (Windows 7), I had to choose the debug option in the crash dialog, then I could get the info out of visual studio (which has only been an option since I installed visual studio, which I did in order to dabble with hooks). I didn't see a way to get a stack trace, but I may just not have dug deep enough.
Edit: Huh, Event Viewer. Yeah, use that.
Upon further reflection, it seems more like a problem of something trying to access the recently-deallocated memory, rather than a problem with the deallocation per se.
Edit: Huh, Event Viewer. Yeah, use that.
Upon further reflection, it seems more like a problem of something trying to access the recently-deallocated memory, rather than a problem with the deallocation per se.
- JeremyaFr
- Posts: 4001
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
0x00597EFA is situated in the function L00597E5F which manipulates data allocated by xwa_hook_d3dinfos_textures or a static buffer (at 0x00662968) if the hook is not used.keiranhalcyon7 wrote: ↑Tue Mar 13, 2018 7:22 amNot sure if this helps, but I was able to extract this from three consecutive crashes:Code: Select all
Unhandled exception at 0x00597EFA in XwingAlliance.exe: 0xC0000005: Access violation writing location 0x1B500379. Unhandled exception at 0x00597EFA in XwingAlliance.exe: 0xC0000005: Access violation writing location 0x8100037E. Unhandled exception at 0x00597EFA in XwingAlliance.exe: 0xC0000005: Access violation writing location 0x00000090
- Driftwood
- Posts: 2174
- Joined: Wed Oct 22, 2003 11:01 pm
- Contact:
Okay, I think I have finally fixed it.
First, I got rid of the duplicate vertices, other than reducing the count, solved nothing.
Second, I imported the CRV model into blender and used it's positioning to re-center the Raider in the hitbox correctly.
Third, I imported the opt with default meshes, no engine glow, no hardpoints. Worked fine after about 20 tests consecutively with no issues.
Fourth, changed all the mesh types and added hardpoints. CTD on destruction.
Fifth, got rid of hardpoints. CTD on destruction.
Sixth, changed mesh types to default. Worked fine.
Came to the conclusion that it was a mesh type assignment that was causing problems.
Turns out changing default to main hull results in the CTD as far as I can tell. This so far does not seem to affect fighters, but does larger ships?
Seventh, I changed the meshes all to default, then changed the non-main hull components to what I wanted, added hardpoints, EG, ect.
So far no crashes. Please test and report any issues.
Version is 1.2
First, I got rid of the duplicate vertices, other than reducing the count, solved nothing.
Second, I imported the CRV model into blender and used it's positioning to re-center the Raider in the hitbox correctly.
Third, I imported the opt with default meshes, no engine glow, no hardpoints. Worked fine after about 20 tests consecutively with no issues.
Fourth, changed all the mesh types and added hardpoints. CTD on destruction.
Fifth, got rid of hardpoints. CTD on destruction.
Sixth, changed mesh types to default. Worked fine.
Came to the conclusion that it was a mesh type assignment that was causing problems.
Turns out changing default to main hull results in the CTD as far as I can tell. This so far does not seem to affect fighters, but does larger ships?
Seventh, I changed the meshes all to default, then changed the non-main hull components to what I wanted, added hardpoints, EG, ect.
So far no crashes. Please test and report any issues.
Version is 1.2
- Jaeven
- Posts: 578
- Joined: Mon Mar 30, 2015 3:18 am
It works! The Raider is now fully operational and able to be blown to pieces
Thanks for your hard work!
Thanks for your hard work!
- XDragon
- Posts: 119
- Joined: Tue Jan 29, 2008 12:01 am
- Contact:
Or more actually Jaeven, to crush the rebellion!
Thank you for all the work. I'll re download it! You're the best
Thank you for all the work. I'll re download it! You're the best
Founder of Z3R0 (Zero Command)
https://xdragon2688.wixsite.com/z3ro/
https://xdragon2688.wixsite.com/z3ro/