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

VY/VX node not found flexbody error -> crash #1058

Closed
Michael10055 opened this Issue Jun 20, 2016 · 6 comments

Comments

Projects
None yet
5 participants
@Michael10055
Contributor

Michael10055 commented Jun 20, 2016

If you have a flexbody line with invalid forsets, the game will just crash with this line in the log:

12:29:55: FLEXBODY ERROR on mesh BK_73Suburban_RBump.mesh: VX node not found

In a older build I have (68f5b34), the error is ignored, Unfortunately I don't know of any released mods that have this error.

@ulteq ulteq added bug coding labels Oct 7, 2016

@ulteq

This comment has been minimized.

Show comment
Hide comment
@ulteq

ulteq Oct 7, 2016

Contributor

Needs to be retested one this one is merged: #1137

Contributor

ulteq commented Oct 7, 2016

Needs to be retested one this one is merged: #1137

@Michael10055

This comment has been minimized.

Show comment
Hide comment
@Michael10055

Michael10055 Oct 12, 2016

Contributor

Still crashes on the latest upstream.

Contributor

Michael10055 commented Oct 12, 2016

Still crashes on the latest upstream.

@AnotherFoxGuy

This comment has been minimized.

Show comment
Hide comment
@AnotherFoxGuy

AnotherFoxGuy Oct 12, 2016

Member
Id: 90 Current: Yes StackSize: 20
Function File(Line)
OgreMain ** - **
RoR!FlexBody::FlexBody f:/rigs-of-rods/source/main/physics/flex/flexbody.cpp(560)
RoR!RoR::FlexFactory::CreateFlexBody f:/rigs-of-rods/source/main/physics/flex/flexfactory.cpp(88)
RoR!RigSpawner::ProcessFlexbody f:/rigs-of-rods/source/main/physics/rigspawner.cpp(1868)
RoR!RigSpawner::SpawnRig f:/rigs-of-rods/source/main/physics/rigspawner_processcontrol.cpp(16707566)
RoR!Beam::LoadTruck f:/rigs-of-rods/source/main/physics/beam.cpp(5756)
RoR!Beam::Beam f:/rigs-of-rods/source/main/physics/beam.cpp(5468)
RoR!BeamFactory::CreateLocalRigInstance f:/rigs-of-rods/source/main/physics/beamfactory.cpp(215)
RoR!RoRFrameListener::updateEvents f:/rigs-of-rods/source/main/gameplay/rorframelistener.cpp(1308)
RoR!RoRFrameListener::frameStarted f:/rigs-of-rods/source/main/gameplay/rorframelistener.cpp(1571)
OgreMain -
OgreMain -
RoR!RoR::MainThread::EnterGameplayLoop f:/rigs-of-rods/source/main/mainthread.cpp(862)
RoR!RoR::MainThread::Go f:/rigs-of-rods/source/main/mainthread.cpp(439)
RoR!main f:/rigs-of-rods/source/main/main.cpp(250)
RoR!WinMain f:/rigs-of-rods/source/main/main.cpp(256)
RoR!__scrt_common_main_seh f:/dd/vctools/crt/vcstartup/src/startup/exe_common.inl(253)
kernel32!BaseThreadInitThunk -
ntdll!__RtlUserThreadStart -
ntdll!_RtlUserThreadStart -
Member

AnotherFoxGuy commented Oct 12, 2016

Id: 90 Current: Yes StackSize: 20
Function File(Line)
OgreMain ** - **
RoR!FlexBody::FlexBody f:/rigs-of-rods/source/main/physics/flex/flexbody.cpp(560)
RoR!RoR::FlexFactory::CreateFlexBody f:/rigs-of-rods/source/main/physics/flex/flexfactory.cpp(88)
RoR!RigSpawner::ProcessFlexbody f:/rigs-of-rods/source/main/physics/rigspawner.cpp(1868)
RoR!RigSpawner::SpawnRig f:/rigs-of-rods/source/main/physics/rigspawner_processcontrol.cpp(16707566)
RoR!Beam::LoadTruck f:/rigs-of-rods/source/main/physics/beam.cpp(5756)
RoR!Beam::Beam f:/rigs-of-rods/source/main/physics/beam.cpp(5468)
RoR!BeamFactory::CreateLocalRigInstance f:/rigs-of-rods/source/main/physics/beamfactory.cpp(215)
RoR!RoRFrameListener::updateEvents f:/rigs-of-rods/source/main/gameplay/rorframelistener.cpp(1308)
RoR!RoRFrameListener::frameStarted f:/rigs-of-rods/source/main/gameplay/rorframelistener.cpp(1571)
OgreMain -
OgreMain -
RoR!RoR::MainThread::EnterGameplayLoop f:/rigs-of-rods/source/main/mainthread.cpp(862)
RoR!RoR::MainThread::Go f:/rigs-of-rods/source/main/mainthread.cpp(439)
RoR!main f:/rigs-of-rods/source/main/main.cpp(250)
RoR!WinMain f:/rigs-of-rods/source/main/main.cpp(256)
RoR!__scrt_common_main_seh f:/dd/vctools/crt/vcstartup/src/startup/exe_common.inl(253)
kernel32!BaseThreadInitThunk -
ntdll!__RtlUserThreadStart -
ntdll!_RtlUserThreadStart -
@tritonas00

This comment has been minimized.

Show comment
Hide comment
@tritonas00

tritonas00 Oct 12, 2016

Collaborator

Still crashes on the latest upstream.

Liebherr-630-ECH seems to work here

2016-10-12-161715_1366x768_scrot

Collaborator

tritonas00 commented Oct 12, 2016

Still crashes on the latest upstream.

Liebherr-630-ECH seems to work here

2016-10-12-161715_1366x768_scrot

@AnotherFoxGuy

This comment has been minimized.

Show comment
Hide comment
@AnotherFoxGuy

AnotherFoxGuy Oct 22, 2016

Member

I think the VY/VX node not found flexbody crash is caused by this:
https://github.com/RigsOfRods/rigs-of-rods/blob/master/source/main/physics/flex/FlexBody.cpp#L550-L558

If the VY node isn't found the value gets set to -1 and after that the game tries to get the value of m_nodes[-1]

Member

AnotherFoxGuy commented Oct 22, 2016

I think the VY/VX node not found flexbody crash is caused by this:
https://github.com/RigsOfRods/rigs-of-rods/blob/master/source/main/physics/flex/FlexBody.cpp#L550-L558

If the VY node isn't found the value gets set to -1 and after that the game tries to get the value of m_nodes[-1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment