Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash reported by maccollo #872

Closed
eggrobin opened this issue Feb 11, 2016 · 6 comments
Closed

Crash reported by maccollo #872

eggrobin opened this issue Feb 11, 2016 · 6 comments
Labels
Milestone

Comments

@eggrobin
Copy link
Member

FATAL:

Log file created at: 2016/02/11 21:50:46
Running on machine: DESKTOP-JDS1DLG
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
    @   8D764D4C    (No symbol) [0x8D764D4B]
    @   8D713F20    (No symbol) [0x8D713F1F]
    @   8D72664F    (No symbol) [0x8D72664E]
    @   8D6863A1    (No symbol) [0x8D6863A0]
    @   8D68A12E    (No symbol) [0x8D68A12D]
    @   8D69568F    (No symbol) [0x8D69568E]
F0211 21:50:46.492843 10980 continuous_trajectory_body.hpp:187] Check failed: t_min() <= time (+3.61430815794418042e+05 s vs. +3.61430577978739981e+05 s) 
@eggrobin eggrobin added the bug label Feb 11, 2016
@eggrobin
Copy link
Member Author

INFO file for a second crash: https://gist.github.com/eggrobin/aa32c5a4897073ad62c8, stack trace:

    @   97474D4C    (No symbol) [0x97474D4B]
    @   97423F20    (No symbol) [0x97423F1F]
    @   9743664F    (No symbol) [0x9743664E]
    @   973963A1    (No symbol) [0x973963A0]
    @   9739A12E    (No symbol) [0x9739A12D]
    @   973A568F    (No symbol) [0x973A568E]
F0211 21:58:56.040683 16864 continuous_trajectory_body.hpp:187] Check failed: t_min() <= time (+3.61433892772449064e+05 s vs. +3.61430577978739981e+05 s) 

@pleroy
Copy link
Member

pleroy commented Feb 11, 2016

From the journal and info log provided by maccollo:

The call being executed is:

I0211 22:54:59.772507 19320 method_body.hpp:78] FlightPlanRenderedSegment
in {
  plugin: 213537672
  vessel_guid: "6b68236e-6563-484b-a825-1598bfaed27a"
  sun_world_position {
    x: -118919908386.17902
    y: -56606248615.544792
    z: -65513742368.652527
  }
  index: 0
}

In FlightPlan::GetSegment the flight plan starts at 361430.57797873998 s and has one manoeuvre of duration 638.16081273744396 s. Note that the start time is the one for which we try to evaluate the continuous trajectories.

The three segments look like:

0x02cc25d8 {timeline_={ size=3722304989 } on_destroy_={...} }
0x07942c08 {timeline_={ size=3722304989 } on_destroy_={...} }
0x08db2f08 {timeline_={ size=3722304989 } on_destroy_={...} }

The alert reader will notice that 3722304989 = 0xDDDDDDDD. In other words, we stomped on memory.

@eggrobin
Copy link
Member Author

Another instance of this reported by Flord, resulting in

KSP.exe caused an Access Violation (0xc0000005)
  in module KSP.exe at 0023:0077f8d2.

Error occurred at 2016-02-13_190058.
D:\Programok\Steam\steamapps\common\Kerbal Space Program\KSP.exe, run by fuvesi_b.
68% memory in use.
0 MB physical memory [2571 MB free].
0 MB paging file [0 MB free].
0 MB user address space [1180 MB free].
Write to location 8c504a65 caused an access violation.

The stack trace is

D:\Programok\Steam\steamapps\common\Kerbal Space Program\GameData\Principia\principia.dll:principia.dll (8C500000), size: 1867776 (result: 0), SymType: '-exported-', PDB: 'D:\Programok\Steam\steamapps\common\Kerbal Space Program\GameData\Principia\principia.dll'
[...]
(0x8C51ED69) (principia): (filename not available): (function-name not available) + 0x0
(0x8C5255DE) (principia): (filename not available): principia__FlightPlanRenderedSegment + 0x157

Decoded stack trace:
ksp_plugin/flight_plan.cpp:127
ksp_plugin/interface_flight_plan.cpp:244

@eggrobin
Copy link
Member Author

And idem, ibidem,

Unknown caused an Access Violation (0xc0000005)
  in module Unknown at 0023:c0545722.

Error occurred at 2016-02-13_195342.
D:\Programok\Steam\steamapps\common\Kerbal Space Program\KSP.exe, run by fuvesi_b.
72% memory in use.
0 MB physical memory [2273 MB free].
0 MB paging file [0 MB free].
0 MB user address space [906 MB free].
Read from location 00000000 caused an access violation.

Stack:

D:\Programok\Steam\steamapps\common\Kerbal Space Program\GameData\Principia\principia.dll:principia.dll (B21B0000), size: 1867776 (result: 0), SymType: '-exported-', PDB: 'D:\Programok\Steam\steamapps\common\Kerbal Space Program\GameData\Principia\principia.dll'
[...]
(0xC0545722) ((module-name not available)): (filename not available): (function-name not available) + 0x0
(0xB21CED69) (principia): (filename not available): (function-name not available) + 0x0
(0xB21D55DE) (principia): (filename not available): principia__FlightPlanRenderedSegment + 0x157

Decodes identically to the above.

@eggrobin
Copy link
Member Author

@tuffzinator reports a crash that's probably another instance of this, https://gist.github.com/tuffzinator/3d4ddf6a5c9cf7cd9722.

eggrobin added a commit to eggrobin/Principia that referenced this issue Feb 19, 2016
eggrobin added a commit that referenced this issue Feb 20, 2016
Another attempt at fixing #872
eggrobin added a commit to eggrobin/Principia that referenced this issue Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants