Jump to content

[2.0.3] CtD on X-Plane 12.07r1 with assertion "dr->writable" failed


Recommended Posts

Posted

As the title says, I get a bizarre CTD with 2.0.3 - when loading the aircraft, X-Plane crashes, and I find this in the log:

2023-11-15 17:05:50 [LES DC3 Systems]: [dr.c:135]: assertion "dr->writable" failed: dataref "sim/flightmodel/weight/m_fuel_total" is not writable (dc3.c:153: &fuel_qty_total)
--=={This application has crashed because of the plugin: LES DC3v2}==--

AFAIR this data never was writable in any X-Plane version before; the writable one is sim/flightmodel/weight/m_fuel (array with 9 floats, one for each tank).

Log.txt

Posted (edited)
24 minutes ago, daemotron said:

As the title says, I get a bizarre CTD with 2.0.3 - when loading the aircraft, X-Plane crashes, and I find this in the log:

2023-11-15 17:05:50 [LES DC3 Systems]: [dr.c:135]: assertion "dr->writable" failed: dataref "sim/flightmodel/weight/m_fuel_total" is not writable (dc3.c:153: &fuel_qty_total)
--=={This application has crashed because of the plugin: LES DC3v2}==--

AFAIR this data never was writable in any X-Plane version before; the writable one is sim/flightmodel/weight/m_fuel (array with 9 floats, one for each tank).

Log.txt 181.09 kB · 0 downloads

Hm, yes... that's wrong, though it is called only if DRM has failed.

Edited by airfighter
Posted

Ah, that would explain it - I installed the update and tried to load the DC-3 first. After the crash, I loaded XP with a different aircraft, entered the X-A credentials, and now I can load the DC-3.

Posted
24 minutes ago, daemotron said:

Ah, that would explain it - I installed the update and tried to load the DC-3 first. After the crash, I loaded XP with a different aircraft, entered the X-A credentials, and now I can load the DC-3.

I will make a 2.0.4 update to fix this, and a few more stuff in the next days. Seems libacfutils are not forgiving to such errors! :D

 

  • Like 2

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...