Debugging help

Freeform discussion about anything related to modding Transcendence.
Post Reply
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

There's a crash happening which seemed to be caused by corruption inside the TLisp engine.

It doesn't happen in vanilla (as far as I can tell) and it seems to go away eventually, probably after a modder fixes some bit of code.

My theory is that the crash is triggered by some kind of TLisp code, but I can't figure out which one.

Here are the crashes I'm talking about. If you can shed any light on the kind of TLisp code that might cause it, please post a response.

https://ministry.kronosaur.com/record.hexm?id=5311
https://ministry.kronosaur.com/record.hexm?id=4382
https://ministry.kronosaur.com/record.hexm?id=4381
https://ministry.kronosaur.com/record.hexm?id=4378
https://ministry.kronosaur.com/record.hexm?id=4377
https://ministry.kronosaur.com/record.hexm?id=4376
https://ministry.kronosaur.com/record.hexm?id=4251
https://ministry.kronosaur.com/record.hexm?id=3316
Shaman
Commonwealth Pilot
Commonwealth Pilot
Posts: 95
Joined: Fri Sep 20, 2013 2:03 pm

Found some things. I followed my instincts that DynSys was incompatible:
Also I checked the debug files which all have in common these weird numbers right after game start.
I recognized them from my Java-book. You get similar numbers if you use 16-bit data types to express a 32-bit type (say "int" as "short" - that doesn't fit). these should be the correct terms..I just started learning
1.
It's Dynamic Systems V4 Vanilla Override. Produces the same kind of error:
http://paste.neurohack.com/view/YRuY4/

2.
As I went through the .xml I thought that value of sun damage was way to high. 4,000,000 +- an order of magnitude
-reduced to 40 I got this:
http://paste.neurohack.com/view/YSxuS/
Same weird numbers but the log is MUCH shorter.

Maybe I find something else. I let you know.
EDIT:
Only thing worth mentioning is that (most times) Transcendence crashes saying about "SystemCreateObject in System C9 or C8a "which should be the Ungoverned Territories. What does change there? Could be nebulars, or do they first happen by Sanctuary? Not sure.
EDIT2:
I wrote this under sleep deprivation and I'm still not sure whether this is helpful or just plain obvious.
Last edited by Shaman on Sat Jul 11, 2015 9:26 pm, edited 1 time in total.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Shaman wrote:Found some things. I followed my instincts that DynSys was incompatible:
Thank you!

DynSys did indeed turn out to be the trigger. There was a bad error path in shpInstallDevice. I think there is a bug in DynSys which tries to install devices improperly (install a device that doesn't exist on the ship). When that happens, the engine goes into an error path and corrupts the entire TLisp system.

I've fixed this in the next release. Thank you!
Post Reply