Event ENGINE_AUTO_SHUTDOWN causes CDT...!

Hello everyone, Everything is in the title: During different tests of the use
of the Events quoted (>K:ENGINE_AUTO_SHUTDOWN), I systematically find myself
with a CTD! It’s a total shutdoun…! I should point out that this occurs on a
small jet. I used this Event on a propeller plane with a standard engine
without any problem… Could the Asobo team examine the problem so that this
Event only stops the engine…? Thanks in advance, and good flights!

Hello @ChrisSMS Can you follow the guidelines
given here and provide us with a full dump file please?
[http://devsupport.flightsimulator.com/t/how-to-report-a-bug-or-
crash/77](https://devsupport.flightsimulator.com/t/how-to-report-a-bug-or-
crash/77) Where do you trigger that event? Behavior file? Wasm gauge? Regards,
Sylvain

Hi Sylvain (@FlyingRaccoon), Glad to see you are still here…! The dump file
(24392) is an engine shutdown after loading the plane on a runway… It can be
downloaded on the following link:
https://1drv.ms/u/s!AsjJseRxO7gQqgAHmNqXqTIUjHhg?e=uA8a8e Let me know when
you have downloaded this file on OneDrive! I can give you a link to another
dump file, which I couldn’t put on OneDrive because of space constraints. This
second dump file is a reactor shutdown after an automatic start (Ctrl+E),
because I want to be able to manage a startup my way! In both cases, it is
simply an RPN code that is outside the Behavior file, in an xml gauge.
Personally I prefer to have my RPN code in separate gauges from the Behavior,
because I find it easier to find my way around due to the complexity of the
code. Thank you for continuing to help us! Chris

Could be you missing the engine parameter to execute the shutdown? R.

What parameters…?

Well you want to shutdown an engine, it is a jet… which engine? I believe you
have to pass this… try passing the engine number or using the ENGINE event
first with an engine number followed by the shutdown… in passing looks like
the documentation here is missing something…

R.

You have also the ignition switches… for each engine… try those

Raul, I just tried your first suggestion: CDT…! I specify that on a
propeller engine, with carburetor, old model, the ENGINE_AUTO_SHUTDOWN command
works without problem, and without any preparation. Moreover, if I have to do
a lot of manipulation with a shutdown…, it is not automatic anymore…! But
thanks for your help! I will wait for the result of the dump sent to
Sylvain…

Hi Sylvain, Did you already download my dump…? I need space on OneDrive!

Hi @ChrisSMS I got your dump, you can clear it. :slight_smile:
Thank you. Can you send me the xml gauge file or your package so I can try to
reproduce the crash please? The dump file confirms it happens in an XML gauge
evaluation but I miss a bit of context. Regards, Sylvain

Wouldn’t this be a situation where having a log file would help having the
context of what is happening, in which order, and causing what outcome? re:
https://devsupport.flightsimulator.com/t/3085

Hi Sylvain, Here is the very simple code:

      1.   2.   
  3.      
  4.       
  5.       (L:HautePression, bool) 0 == 
  6.       (A:GENERAL ENG COMBUSTION:1, bool) 1 == and 
  7.       if{
  8.         (>K:ENGINE_AUTO_SHUTDOWN)
  9.  
  10.         
  11.         (L:ReductionRapide, bool) 1 == 
  12.         if{ 
  13.           0 (>L:ReductionRapide, bool)
  14.           0 (>L:CheckRPM, bool)
  15.         } 
  16.       }
  17.  
  18.     
  19.   
  20.

If you want, I can send you the package…, knowing that it’s really a work in
progress. But I won’t give the link here…! How could I send you that?

@ChrisSMS I just tested this by creating an XML
gauge for the SDK GaugeAircraft sample and didn’t encounter any issue. The
engine shut down as expected. So I’ll need your package sources to see if
something else is causing the issue here. Regards, Sylvain

OK… ! Give me two hours to prepare the package for you…, with the
necessary explanations!

My explanations…, in French (my mother tongue), or in English?

In french, it’s fine :slight_smile:

If the dump file Sylvain looked at is not enough to identify the issue
precisely, I doubt a log file would help a lot. Best regards, Eric / Asobo

I agree with you and I never doubt that with a dmp and the pdb(s), you’d be
able to, and certainly better than any of us! I meant for us only, 3rd party
devs, especially if these types of CTDs can be due to conflicting mods or
malformed entries, and if the log file would show what was loaded prior and
what operation was taking place prior.

We will consider dumping what’s displayed in the devmode console in a file.
Doesn’t hurt anyone and it can be useful in a few cases. But I doubt it will
be of any use in the case of end user CTD. Regards, Sylvain