[0.9.2] crash when loading save with "Test mode" mod

This subforum contains all the issues which we already resolved.
sparr
Smart Inserter
Smart Inserter
Posts: 1445
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

[0.9.2] crash when loading save with "Test mode" mod

Post by sparr »

I can't attach a save because it's too large, but here's the crash:

Thread 3 Crashed:
0 com.factorio.factorio 0x00000001000a439e CustomGui::setElementPosition(CustomGuiElement*, CustomGui::Position) + 286
1 com.factorio.factorio 0x00000001000a46f9 CustomGui::updateRootElementsPosition() + 217
2 com.factorio.factorio 0x00000001000a3f98 CustomGuiElement::buildWidgetRecursively() + 328
3 com.factorio.factorio 0x00000001000a3f8f CustomGuiElement::buildWidgetRecursively() + 319
4 com.factorio.factorio 0x00000001000a3f8f CustomGuiElement::buildWidgetRecursively() + 319
5 com.factorio.factorio 0x00000001000a3d59 CustomGui::loadWidgets() + 73
6 com.factorio.factorio 0x000000010006d58c Scenario::setupAfterGameWasCreated() + 76
7 com.factorio.factorio 0x00000001000696ab AppManager::processLoadGameDialog() + 347
8 com.factorio.factorio 0x000000010006634f AppManager::process(bool&) + 511
9 com.factorio.factorio 0x00000001002b8363 tickStep(boost::timer::cpu_timer&, boost::timer::cpu_timer&, bool) + 83
10 com.factorio.factorio 0x00000001002b90b1 run(char*, bool) + 305
11 com.factorio.factorio 0x00000001002ba857 _al_mangled_main + 4551
12 com.factorio.factorio 0x0000000100670747 +[AllegroAppDelegate app_main:] + 23
13 com.apple.Foundation 0x00007fff9093170b __NSThread__main__ + 1318
14 libsystem_pthread.dylib 0x00007fff92421899 _pthread_body + 138
15 libsystem_pthread.dylib 0x00007fff9242172a _pthread_start + 137
16 libsystem_pthread.dylib 0x00007fff92425fc9 thread_start + 13
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.9.2] crash when loading save with "Test mode" mod

Post by kovarex »

Thank you for the report, it is caused by our fix of the repositioning the script based gui elements correctly.

It is now fixed in 0.9.3
MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: [0.9.2] crash when loading save with "Test mode" mod

Post by MF- »

How come he has such nice backtraces with names, while
all linux backtraces I've seen / made are only numbers?

EDIT: I guess that's a factorio-produced crash log instead of a segfault?
sparr
Smart Inserter
Smart Inserter
Posts: 1445
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Post by sparr »

MF- wrote:How come he has such nice backtraces with names, while
all linux backtraces I've seen / made are only numbers?

EDIT: I guess that's a factorio-produced crash log instead of a segfault?
That's an OSX crash log. Unless they are building with fewer debugging symbols on linux you should be able to get just as nice of a report from a core dump or a debugger on linux.
MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: [0.9.2] crash when loading save with "Test mode" mod

Post by MF- »

I guess that could be the case.
DRBLN
Filter Inserter
Filter Inserter
Posts: 411
Joined: Sat Mar 23, 2013 12:44 pm
Contact:

Re: [0.9.2] crash when loading save with "Test mode" mod

Post by DRBLN »

Please, could you share a hotfix?
User avatar
N3X15
Inserter
Inserter
Posts: 24
Joined: Sat Oct 26, 2013 11:44 pm
Contact:

Re: [0.9.2] crash when loading save with "Test mode" mod

Post by N3X15 »

DRBLN wrote:Please, could you share a hotfix?
This error appears to be coming from the C++ code, so I don't think a lua-based workaround ("hotfix") would be possible.
User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: [0.9.2] crash when loading save with "Test mode" mod

Post by rk84 »

"Activate" command can be used to toggle gui off, before saving.

Code: Select all

remote.call("testmode","activate")
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Post Reply

Return to “Resolved Problems and Bugs”