[0.15.5] Crash in Scenario::savePreviewPicture

This subforum contains all the issues which we already resolved.
r0mai
Burner Inserter
Burner Inserter
Posts: 18
Joined: Tue Feb 28, 2017 8:26 pm
Contact:

[0.15.5] Crash in Scenario::savePreviewPicture

Post by r0mai »

Last autosave attached. (I'm player r0mai)
No mods used.
Crash log: https://gist.github.com/r0mai/8dbb2e43a ... e92709149b

I was opening roboports and moving robots from the roboports to my inventory when the crash happened. I reloaded the save and did pretty much the same thing I did when the crash happened, but it did not reproduce.
Attachments
_autosave1.zip
(8.15 MiB) Downloaded 89 times
Loewchen
Global Moderator
Global Moderator
Posts: 9273
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.5] Crash in Scenario::savePreviewPicture

Post by Loewchen »

Code: Select all

   0.001 2017-05-01 15:38:33; Factorio 0.15.5 (build 29304, mac, steam)
   0.001 Operating system: Mac OS X 10.11.6
   0.001 Program arguments: "/Users/r0mai/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app" 
   0.001 Read data path: /Users/r0mai/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.001 Write data path: /Users/r0mai/Library/Application Support/factorio
   0.001 Binaries path: /Users/r0mai/Library/Application Support/Steam/steamapps/common
   0.014 System info: [CPU: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz, 8 cores, RAM: 16384MB]
   0.053 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.068 Available display adapters: 1
   0.069  [0]: resolution 1440x900px at [0,0]
   0.088 Create display on adapter 0. Size 1280x720 at position [70, 72].
   0.593 Initialised OpenGL:[0] Intel Iris Pro OpenGL Engine; driver: 2.1 INTEL-10.14.73
   0.660 Graphics settings preset: medium
   0.660 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.745 Loading mod core 0.0.0 (data.lua)
   0.756 Loading mod base 0.15.5 (data.lua)
   0.891 Loading mod base 0.15.5 (data-updates.lua)
   1.004 Checksum for core: 2926038370
   1.004 Checksum of base: 2698305660
   1.240 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493642822
   1.240 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1493467681
   1.356 Loaded shader file /Users/r0mai/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data/core/graphics/shaders/game.glsl
   1.358 Loaded shader file /Users/r0mai/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data/core/graphics/shaders/zoom-to-world.glsl
   1.372 Initial atlas bitmap size is 16384
   1.392 Created atlas bitmap 16384x16371
   1.392 Created atlas bitmap 16384x1721
   1.392 Created atlas bitmap 4096x3980
   1.405 Created atlas bitmap 4096x3656
  32.283 Sprites loaded
  32.283 Convert atlas 4096x3980 to: trilinear-filtering 
  32.567 Convert atlas 4096x3656 to: mipmap 
  32.819 Loading sounds...
  35.564 Custom inputs active: 0
  35.629 Factorio initialised
  41.063 Loading map /Users/r0mai/Library/Application Support/factorio/saves/15_tyuri_01.zip: 8153957 bytes.
  41.064 Error FileUtil.cpp:291: Can't remove /Users/r0mai/Library/Application Support/factorio/temp/currently-playing: No such file or directory
  41.075 Loading Level.dat: 19233751 bytes.
  41.080 Info Scenario.cpp:133: Map version 0.15.5-1
  41.795 Loading script.dat: 190 bytes.
  41.799 Checksum for script /Users/r0mai/Library/Application Support/factorio/temp/currently-playing/control.lua: 76911248
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x000000010087b5b2 in Logger::logStacktrace(StackTraceInfo*) (in factorio) (Logger.cpp:408)
#1  0x000000010086c99d in CrashHandler::writeStackTrace() (in factorio) (CrashHandler.cpp:106)
#2  0x000000010086c92e in CrashHandler::SignalHandler(int) (in factorio) (CrashHandler.cpp:237)
#3  0x00007fff9e36f52a in 0x00007fff9e36f52a
#4  (nil) in 0x0
#5  0x00007fff8d2886df in 0x00007fff8d2886df
#6  0x00007fff91623e5c in 0x00007fff91623e5c
#7  0x00000001144a7d4b in 0x00000001144a7d4b
#8  0x00007fff91625204 in 0x00007fff91625204
#9  0x00000001140033f2 in 0x00000001140033f2
#10 0x00000001140f0849 in 0x00000001140f0849
#11 0x00000001144b4cda in 0x00000001144b4cda
#12 0x00007fff9c31a22f in 0x00007fff9c31a22f
#13 0x00007fff9d0cdbd5 in 0x00007fff9d0cdbd5
#14 0x0000000100cbcbe4 in _al_ogl_lock_region_new (in factorio) (ogl_lock.c:330)
#15 0x0000000100c5fd32 in al_lock_bitmap_region (in factorio) (bitmap_lock.c:108)
#16 0x0000000100c5fe00 in al_lock_bitmap (in factorio) (bitmap_lock.c:129)
#17 0x0000000100c5f2b7 in al_draw_halved_bitmap_hq (in factorio) (bitmap_draw.c:259)
#18 0x00000001002f3bab in RenderUtil::takeScreenshot(Sprite&, Surface&, RealPosition const&, RealPosition const&, double, Player*, bool, bool, bool, bool) (in factorio) (RenderUtil.cpp:532)
#19 0x000000010075263a in Scenario::savePreviewPicture(boost::filesystem::path const&, Player*) (in factorio) (PackageWriterPath.cpp:31)
#20 0x0000000100752454 in ParallelScenarioSaver::ParallelScenarioSaver(std::__1::function<void ()>, Scenario*, boost::filesystem::path const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, SaveType, bool) (in factorio) (ParallelScenarioSaver.cpp:73)
#21 0x000000010005c0f4 in ParallelScenarioSaver::save(std::__1::function<void ()>, Scenario*, boost::filesystem::path const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, SaveType, bool) (in factorio) (functional:1847)
#22 0x000000010005be25 in InSavingGameBox::InSavingGameBox(boost::filesystem::path const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, InfoBoxPosition const&, bool, bool, bool) (in factorio) (AppManagerStates.cpp:1373)
#23 0x0000000100043098 in AppManager::process() (in factorio) (AppManagerStates.cpp:1426)
#24 0x00000001006588e2 in MainLoop::mainLoopStep(WorkerThread&, MainLoop::HeavyMode) (in factorio) (MainLoop.cpp:304)
#25 0x000000010065617e in MainLoop::run(boost::filesystem::path const&, boost::filesystem::path const&, bool, bool, bool, std::__1::function<void ()>, boost::filesystem::path const&, MainLoop::HeavyMode) (in factorio) (MainLoop.cpp:227)
#26 0x00000001006526f1 in _al_mangled_main (in factorio) (Main.cpp:881)
#27 0x0000000100cedae7 in +[AllegroAppDelegate app_main:] (in factorio) (osx_app_delegate.m:218)
#28 0x00007fff92e93e64 in 0x00007fff92e93e64
#29 0x00007fff88d1099d in 0x00007fff88d1099d
#30 0x00007fff88d1091a in 0x00007fff88d1091a
#31 0x00007fff88d0e351 in 0x00007fff88d0e351
3736.499 Error CrashHandler.cpp:106: Map tick at moment of crash: 4154401
3736.499 Error Util.cpp:76: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14341
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.5] Crash in Scenario::savePreviewPicture

Post by Rseding91 »

This should be fixed for then next version of 0.15 (0.15.11)
If you want to get ahold of me I'm almost always on Discord.
r0mai
Burner Inserter
Burner Inserter
Posts: 18
Joined: Tue Feb 28, 2017 8:26 pm
Contact:

Re: [0.15.5] Crash in Scenario::savePreviewPicture

Post by r0mai »

Awesome, thanks!
Post Reply

Return to “Resolved Problems and Bugs”