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

Game froze the moment craft launched #2173

Closed
yafeshan opened this issue May 18, 2019 · 2 comments
Closed

Game froze the moment craft launched #2173

yafeshan opened this issue May 18, 2019 · 2 comments
Labels

Comments

@yafeshan
Copy link

https://gist.github.com/yafeshan/68ae0c4263bc42ca3e31fc1b94968291

I included Info file just before freeze, persistent save file and Fatal file created for freeze.

Game is frozen the moment i started engine and loose clamps. It crashed after a minutes or so. There is no problem as long as craft stays on launchpad.

@pleroy
Copy link
Member

pleroy commented May 19, 2019

For our information, decoded stack:

QP const main_body_degrees_of_freedom) {
journal::Method<journal::SetPartApparentDegreesOfFreedom> m(
{plugin, part_id, degrees_of_freedom, main_body_degrees_of_freedom});
CHECK_NOTNULL(plugin);
plugin->SetPartApparentDegreesOfFreedom(
DegreesOfFreedom<World> const& main_body_degrees_of_freedom) {
// Define |ApparentBubble| as the reference frame with the axes of
// |Barycentric| centred on the current main body.
RigidMotion<World, ApparentBubble> world_to_apparent_bubble{
RigidTransformation<World, ApparentBubble>{
main_body_degrees_of_freedom.position(),
ApparentBubble::origin,
OrthogonalMap<Barycentric, ApparentBubble>::Identity() *
renderer_->WorldToBarycentric(PlanetariumRotation())},
renderer_->BarycentricToWorld(PlanetariumRotation())(
-angular_velocity_of_world_),
main_body_degrees_of_freedom.velocity()};
not_null<Vessel*> vessel = FindOrDie(part_id_to_vessel_, part_id);
CHECK(is_loaded(vessel));
not_null<Part*> const part = vessel->part(part_id);
CHECK(part->is_piled_up());
part->containing_pile_up()->SetPartApparentDegreesOfFreedom(

void PileUp::SetPartApparentDegreesOfFreedom(
not_null<Part*> const part,
DegreesOfFreedom<ApparentBubble> const& degrees_of_freedom) {
PartTo<DegreesOfFreedom<ApparentBubble>>::iterator it;
bool inserted;
std::tie(it, inserted) =
apparent_part_degrees_of_freedom_.emplace(part, degrees_of_freedom);
CHECK(inserted) << "Duplicate part " << part << " at "

@pleroy
Copy link
Member

pleroy commented May 19, 2019

From the INFO log:

I0519 02:17:05.609725 10040 part.cpp:137] Adding part KJRsensor1 (00000000) to the pile up at 00000000F9623110

A part with an id of 0 is extremely suspicious. Seems to come from KJR next. Use KJR continued until @ferram4 returns.

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