Rigs-of-rods: manitou 731 loading problems

Created on 8 Jan 2016  路  22Comments  路  Source: RigsOfRods/rigs-of-rods

Download http://www.rigsofrods.com/repository/download/2215

Load simple terrain and search for manitou. You can see only three items, loading any of these causes segfault.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff73831d0 in Ogre::NedPoolingImpl::deallocBytes(void*) () from /opt/ror-next/lib/libOgreMain.so.1.8.1

Now load mitcity http://www.rigsofrods.com/repository/download/4932 and do the same. You can see seven items each one loading fine without crash.

bug crash

All 22 comments

With latest master, you can see all 7 items in simple terrain too. Now it crashes in mitcity, but not in NeoQueretaro

Also an error in spawner log:

08:57:07: == RigSpawner: ERROR (Keyword slidenodes) No beam between nodes indexed '80' and '72'

@tritonas00 please re-test with current upstream. The mesh handling changes might have fixed this.

nope still crashes

do you want a gdb output?

here it is anyway https://pastebin.com/g0gae7cF :smile:

@tritonas00 can you get me a new download link for the vehicle? The one in first post is dead.

I tested the link above. I get just one item in the Loader window: "Manitou-MRT-Telehandler". It seems to spawn just fine:
obrazek

@tritonas00 Please test again. Also check if we're using the same ZIP

debugging revealed it's the same error as I just fixed here: https://github.com/RigsOfRods/rigs-of-rods/pull/1365 馃槅
obrazek

Still valid for me: https://pastebin.com/RNdTgqcG

maybe an ogre 1.8 issue?

Strangely though it works in certain maps (nhelens):
2017-08-13-204059_1920x1080_scrot

but it crashes in simple terrain... How could you explain that?:stuck_out_tongue_winking_eye:

The trace you posted shows memory allocation issue (with OGRe's cusstom 'nedmalloc' allocator) when processing OpenGL texture from some prop. However, since everything worked smoothly for you so far, the custom allocator probably isn't the issue.

I think this is something between Manitou731's textures and your graphics driver - reminds me of the case where Futurotrack's 'mini' image crashed the game for disloyalpick: https://github.com/RigsOfRods/rigs-of-rods/issues/1156

I don't think its the graphics driver because it crashes also in vbox using just vesa generic driver

Let me test with ogre 1.9

VBox on what host (your archlinux, I presume) and with acceleration disabled?

In my understanding, VBox with acceleration disable should be incapable of running anything 3D, unless the OS comes with a software OpenGL rasterizer. But I'm not certain.

try removing props from the vehicle and then add them back one by one to find out which one causes the issue. --- and yes, OGRE 1.9 is also a good option.

VBox on what host (your archlinux, I presume) and with acceleration disabled?

Yes. You can do basic 3d, the game runs, slow, but runs.

But why it loads fine in certain maps?

Removed props -> crash gone

I will locate the bad one

Found it: 21,10,20, 0,0,0, 90,180,0, 2c97UID-seat.mesh

Mesh: Loading 2c97UID-seat.mesh.
WARNING: 2c97UID-seat.mesh is an older format ([MeshSerializer_v1.40]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
Texture: 2c97UID-seat_base.dds: Loading 1 faces(PF_DXT1,512x512x1) with 5 generated mipmaps from Image. Internal format is PF_DXT1,512x512x1.
Texture: 2c97UID-timberseat.dds: Loading 1 faces(PF_A8R8G8B8,256x512x1) with 8 custom mipmaps from Image. Internal format is PF_A8R8G8B8,256x512x1.
Segmentation fault (core dumped)

Removing 2c97UID-timberseat.dds from managedmaterials also fixes the issue

I get the same crash with ogre 1.9

The troublesome texture in Futurotrack was also DDS. I guess the only way forward is to install archlinux in a virtualbox machine and debug from there. But I won't have time for that in any close future.

i can create a vbox image for you :smile:

@tritonas00 For a Win7-x64 host? I think I'll accept the offer 馃槃

However, take your time, I won't be able to work with it until sunday 26 Aug, anyway.

Fixed in https://github.com/RigsOfRods/rigs-of-rods/pull/1365, closing.

@tritonas00 Regarding the crash you're getting: https://github.com/RigsOfRods/rigs-of-rods/pull/1365#issuecomment-322283414

Was this page helpful?
0 / 5 - 0 ratings

Related issues

WillyB1337 picture WillyB1337  路  4Comments

tritonas00 picture tritonas00  路  9Comments

CuriousMike56 picture CuriousMike56  路  6Comments

tritonas00 picture tritonas00  路  10Comments

only-a-ptr picture only-a-ptr  路  5Comments