Jump to content

Recommended Posts

Posted (edited)

This is the second flight I got a freeze when doing just a looping over the runway, using Viggen as the only aircraft in a simple single player mission (starting from the mission editor and taking off).

 

It happens when passing the vertical.

 

DCS freezes, and there is not other solution than killing the process via the task manager.

It happend several times in the last days, so now I have enough of it 🤨

 

Edit: had to change title, because it is not related to Marianas Islands only.

 

The LOG is attached.

dcs.log

Edited by TOViper

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted (edited)

I can reproduce the bug, happend just before. Let's see if I can make a video ...

https://www.youtube.com/watch?v=HPWkmNQgRSs

 

Edited by TOViper
link for video

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted

BTW: happens in Caucasus as well, just had a freeze two hours ago.

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted

Who in their right mind pulls up through vertical in the Viggen?  Get your nose back down in the mud where it belongs! 😁

  • Like 1

"Subsonic is below Mach 1, supersonic is up to Mach 5. Above Mach 5 is hypersonic. And reentry from space, well, that's like Mach a lot."

Posted
7 hours ago, Machalot said:

Who in their right mind pulls up through vertical in the Viggen?  Get your nose back down in the mud where it belongs! 😁

 

right?! :biggrin:

Intel i7-12700K @ 8x5GHz+4x3.8GHz + 32 GB DDR5 RAM + Nvidia Geforce RTX 2080 (8 GB VRAM) + M.2 SSD + Windows 10 64Bit

DCS Panavia Tornado (IDS) really needs to be a thing!

Tornado3 small.jpg

  • TOViper changed the title to Viggen freeze during looping
  • 1 month later...
Posted

This bug seems to be happening not only on my machine ... at least I am not alone in the dark.

@RagnarDa, plz help!!

 

https://forums.eagle.ru/topic/280625-viggen-crash-to-desktop/?tab=comments#comment-4760018

 

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted

I’ve had this loop-bug happen too; get to the top of a loop and crash.  Unfortunately the game crashes so hard there is no track-file or crash-log.

Turning the mirrors off seems to fix the problem.

I’ll be checking for the bug with a new computer, which is in the mail, this weekend and report back.

Posted
1 hour ago, Spanueh said:

I’ve had this loop-bug happen too; get to the top of a loop and crash.  Unfortunately the game crashes so hard there is no track-file or crash-log.

Turning the mirrors off seems to fix the problem.

I’ll be checking for the bug with a new computer, which is in the mail, this weekend and report back.

Can't confirm this, since I flew the sorties with mirrors off anyway.

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted
39 minutes ago, TOViper said:

Can't confirm this, since I flew the sorties with mirrors off anyway.

Agreed, that's my experience as well.

Viggen is love. Viggen is life.

7800X3D | RTX 4070 Ti S | 64GB 6000MHz RAM |

  • 2 weeks later...
Posted

Just a small update on the Loop-Crash.  With a new computer and my old video card gtx1070 (new card is defective), the crash/freeze does still happen.  Both with the mirrors on and off and the results are the same.

  • Thanks 1
Posted

Now, eventually after a few test flights today, I got a LOG file.

Single player, engine out, stalling the aircraft and pitching it violently in a strong nose down attitude (around -90° of pitch).

 

dcs.log

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted (edited)

New DCS update log from today:

 

  Fixed DCS Crash when looping the aircraft

 

Oh yeah baby yeah baby 🙂

Edited by TOViper

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted

Back to work: this is not fixed. Still got a freeze when going through 90° nose down during a looping.

Attached see log.

 

dcs.log

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted

Me too. Yesterday, 4YA Syria Open Beta server. Did a loop and DCS crashed. CTDs are usually very rare on my end.

i9 13900K @5.5GHz, Z790 Gigabyte Aorus Master, RTX4090 Waterforce, 64 GB DDR5 @5600, PSVR2, Pico 4 Ultra, HOTAS & Rudder: all Virpil with Rhino FFB base made by VPforce, DCS: all modules

  • 1 month later...
Posted (edited)

Confirmed as well after 3 half cuban eights, the fourth crashed.
edit: I was able to duplicate by flying level ->pull up slightly past vertical -> push forward to slightly past vertical. So level -> ~+95 degrees pitch change -> -6 degrees pitch change and the sim crashed.
I am also in the latest open beta
edit 2: checked the log:

2021-10-29 05:20:26.653 ERROR   VIGGEN: HeatBlur: Assert failed: Value out of range. -. Was nan. Expected between 0.000000 and 6.283185 @ e:\dcs\viggen git\ajs_5\trunk\viggennew\sources\flightmodel\flightdataunit.cpp:695


Tacview-20211028-221902-DCS-04 - AJS37 Training Basic Navigation.txt.acmidcs.log

Edited by CaptCrash
  • Like 1
Posted (edited)
On 10/28/2021 at 9:58 PM, CaptCrash said:

Confirmed as well after 3 half cuban eights, the fourth crashed.
edit: I was able to duplicate by flying level ->pull up slightly past vertical -> push forward to slightly past vertical. So level -> ~+95 degrees pitch change -> -6 degrees pitch change and the sim crashed.
I am also in the latest open beta
edit 2: checked the log:

2021-10-29 05:20:26.653 ERROR   VIGGEN: HeatBlur: Assert failed: Value out of range. -. Was nan. Expected between 0.000000 and 6.283185 @ e:\dcs\viggen git\ajs_5\trunk\viggennew\sources\flightmodel\flightdataunit.cpp:695


Tacview-20211028-221902-DCS-04 - AJS37 Training Basic Navigation.txt.acmi 128 kB · 0 downloads dcs.log 63.5 kB · 1 download

 

The expected range of some variable is given as 0 to 2 pi.  I would bet money there is an issue with calculating the yaw, pitch, and roll Euler angles at vertical.  Based on the values 0 to 2 pi, it's likely yaw.  (Pitch is typically -pi/2 to +pi/2, and roll is typically -pi to +pi.)

There is a known singularity in the math at +/-90 deg pitch angle.  A "nan" result could be from trying to divide by zero [which is cos(90°), and appears in the denominator of the yaw equation] or by taking the inverse trig function of a value outside the range [-1, 1]. Both of those operations can appear in the relevant Euler angle equations, depending how they're written. The range exceedance could be the result of floating point rounding error.  These things should only occur very close to 90 deg pitch, which is why sometimes you don't get the crash, and sometimes you do. 

My own hypothesis, anyway.  That's where I would start debugging. 

Edited by Machalot

"Subsonic is below Mach 1, supersonic is up to Mach 5. Above Mach 5 is hypersonic. And reentry from space, well, that's like Mach a lot."

Posted
3 hours ago, Machalot said:

The expected range of some variable is given as 0 to 2 pi.  I would bet money there is an issue with calculating the yaw, pitch, and roll Euler angles at vertical.  Based on the values 0 to 2 pi, it's likely yaw.  (Pitch is typically -pi/2 to +pi/2, and roll is typically -pi to +pi.)

There is a known singularity in the math at +/-90 deg pitch angle.  A "nan" result could be from trying to divide by zero [which is cos(90°), and appears in the denominator of the yaw equation] or by taking the inverse trig function of a value outside the range [-1, 1]. Both of those operations can appear in the relevant Euler angle equations, depending how they're written. The range exceedance could be the result of floating point rounding error.  These things should only occur very close to 90 deg pitch, which is why sometimes you don't get the crash, and sometimes you do. 

My own hypothesis, anyway.  That's where I would start debugging. 

 

My guess is that the attitude indicator is what is causing the nan since DCS would be using quaternions for the flight model

Posted (edited)
8 hours ago, CaptCrash said:

My guess is that the attitude indicator is what is causing the nan since DCS would be using quaternions for the flight model

I agree. The error is occurring in flightdataunit.cpp, which seems like a plausible name for some avionics and instrument model(s).

Edited by Machalot

"Subsonic is below Mach 1, supersonic is up to Mach 5. Above Mach 5 is hypersonic. And reentry from space, well, that's like Mach a lot."

  • 4 weeks later...
Posted

Seems gone with update OB 2.7.8.16140.
Can someone confirm?

 

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

Posted

I can not unfortunately. Just had a crash from it after 30 sec of testing.

Viggen is love. Viggen is life.

7800X3D | RTX 4070 Ti S | 64GB 6000MHz RAM |

Posted

Yep, wrong alert. After 1 hour of flying a few sorties I got the freeze again.

2021-11-26 21:04:19.949 ERROR   VIGGEN: HeatBlur: Assert failed: Value out of range. -. Was nan. Expected between 0.000000 and 6.283185 @ e:\dcs\viggen git\ajs_5\trunk\viggennew\sources\flightmodel\flightdataunit.cpp:695

DAMN

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

  • Recently Browsing   0 members

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