The online racing simulator
Lfs crashes when a server loads a layout [SOLVED]
Hello all,
ive found that every time Any server loads a new layout Lfs crashes.

Also recently when i have been making layouts,
when i am almost done it crashes and i have to start again


I dont want to cause the dev team to much trouble because of the amount of work that they have put in to lfs.

But maybe its my connection?
idk. :/
That is something I would take quite seriously, of course. But I don't know how to reproduce it. A quick test shows that I can load a layout in multiplayer mode. If someone can find some steps you can take to make this happen reliably, then I can fix it for sure.

You are not the first to mention it, Flame CZE did too :
http://www.lfsforum.net/showthread.php?p=1610524#post1610524

Flame : I couldn't get anything from that crash offset - it didn't seem to make sense. I'm not sure if a proper address rather than an offset might help. But it might be a bug where I need a call stack or a reproduction method.

eddy678 : Can you try to get a crash address when this happens? So I know where in the program it crashed.
The problem is that the error dialog doesn't display antything more than I posted in that thread. Maybe there is a kind of log somewhere but I don't know about it.
Problem Event Name: APPCRASH
Application Name: LFS.exe
Application Version: 0.0.0.0
Application Timestamp: 4dfb4e32
Fault Module Name: LFS.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4dfb4e32
Exception Code: c0000005
Exception Offset: 000acc96
OS Version: 6.0.6002.2.2.0.768.3
Locale ID: 2057
Additional Information 1: 64ea
Additional Information 2: cce9f653dd0f8eec446de52154d2f82d
Additional Information 3: 0bee
Additional Information 4: 0e4e3afeafe33d5b5e10f079f54df6c2




For Scawen.
Thanks. I think I can see the line where the crash happens, but I can't understand why it would crash at that point.

It would be great if I could catch it in the debugger, then I'd be able to see exactly what's going wrong.

Maybe this only comes up with some layouts? Do you get the crash every time you load a particular layout? If so, would it be possible to upload it here so I can see if I can reproduce the crash?
It Crashes on every layout on every server...
But ill upload a layout anyway:

[attach]115567[/attach]

Btw Scawen,
it happens on single player aswell

Thanks
Thanks, but I just don't get a crash. I've just gone into BL1X, loaded your layout, loaded it again, no problem comes up. How exactly do you get tre crash, is it when you load a layout in SHIFT+U mode, or does it also happen if you load one in the track selection screen?

I'm wondering if your installation (or LFS.exe) might be corrupted in some way, because there haven't been any other reports of crashing when loading a layout, except for Flame's one.

Would you mind doing a fresh install of LFS in another folder, and see if you can load layouts in that one without a crash? I've added another unlock for you.
The crash I reported happened only once to me. And even when I tried to load it again, nothing strange happened.
It happens in Shift+u mode and when an admin enters the code for loaing a layout on a server.

I will reinstall Lfs and see what happens i will give you an update Scawen weather it works or still crashes.

Btw thanks for the unlock
Ive just installed a fresh copy of Lfs and It doesnt crash when i load a layout
Thanks for all of your help Scawen
Great, thanks for the test!

FGED GREDG RDFGDR GSFDG