[0.14.21]Game crashes with message "invalid string position"

Bugs that are actually features.
Post Reply
Graveeater
Burner Inserter
Burner Inserter
Posts: 19
Joined: Thu Jul 07, 2016 8:00 pm
Contact:

[0.14.21]Game crashes with message "invalid string position"

Post by Graveeater »

Using experimental branch, Factorio 0.14.21 (build 25327, win64, steam)
Game crashes with message "invalid string position".
This happens sometimes when just starting the application and sometimes after a while playing. The message is always the same but the timestamp of course varies.
This is quite random: Reloading an autosave never triggered the problem again at the same time.
The frequency is annoying but I is still playable.

The actual message in the log is.
2830.356 Error Util.cpp:57: invalid string position
Is there a way to increase debug output?
This may be related to a mod, or not, but the error seems to be in the cpp source code. It feels like an assertion violation.
If you could tell me what happens in Util.cpp:57 I might be able to investigate more.

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.14.21]Game crashes with message "invalid string position"

Post by daniel34 »

Please post the complete Log file.
You can also enable Verbose logging in Options --> Other, but it probably doesn't generate useful extra output in this case.
quick links: log file | graphical issues | wiki

Graveeater
Burner Inserter
Burner Inserter
Posts: 19
Joined: Thu Jul 07, 2016 8:00 pm
Contact:

Re: [0.14.21]Game crashes with message "invalid string position"

Post by Graveeater »

Another round, same problem, full log file this time.

Code: Select all

     0.002 2016-12-23 17:48:43; Factorio 0.14.21 (build 25327, win64, steam)
   0.002 Operating system: Windows 7 Service Pack 1
   0.002 Program arguments: "C:\mnt\steam\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "4244" 
   0.002 Read data path: C:/mnt/steam/SteamLibrary/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/fabian/AppData/Roaming/Factorio
   0.002 Binaries path: C:/mnt/steam/SteamLibrary/steamapps/common/Factorio/bin
   0.015 System info: [CPU: Intel Xeon E312xx (Sandy Bridge), 4 cores, RAM: 8191MB]
   0.016 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.017 Available display adapters: 2
   0.017  [0]: \\.\DISPLAY1 - AMD Radeon R9 200 Series {0x8080001, [1920,0], 1920x1080, 32bit, 60Hz}
   0.017  [1]: \\.\DISPLAY2 - AMD Radeon R9 200 Series {0x8080005, [0,0], 1920x1080, 32bit, 60Hz}
   0.018 Create display on adapter 1. Size 1280x720 at position [310, 162].
   0.124 Initialised Direct3D:[0] AMD Radeon R9 200 Series; driver: aticfx64.dll 8.17.10.1333
   0.128     Video memory size (dedicated video/dedicated system/shared system/available): 2027/0/3839/1759 MB
   0.170 DSound: Starting _dsound_update thread
   0.170 DSound: Enter _dsound_update; tid=3208
   0.172 Device reset internal.
   0.218 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.378 Loading mod core 0.0.0 (data.lua)
   0.386 Loading mod base 0.14.21 (data.lua)
   0.515 Loading mod what-is-it-used-for 1.1.5 (data.lua)
   0.627 Loading mod aai-signals 0.1.3 (data.lua)
   0.685 Loading mod aai-vehicles-chaingunner 0.1.2 (data.lua)
   0.782 Loading mod aai-vehicles-flame-tumbler 0.1.3 (data.lua)
   0.857 Loading mod aai-vehicles-hauler 0.1.1 (data.lua)
   0.919 Loading mod aai-vehicles-laser-tank 0.1.2 (data.lua)
   0.994 Loading mod aai-vehicles-miner 0.1.4 (data.lua)
   1.066 Loading mod aai-zones 0.1.5 (data.lua)
   1.165 Loading mod Algaculture 1.0.1 (data.lua)
   1.264 Loading mod alien-artifact-loot 0.14.4 (data.lua)
   1.361 Loading mod Arborium 0.0.4 (data.lua)
   1.434 Loading mod bobinserters 0.14.3 (data.lua)
   1.515 Loading mod bullet-trails 0.1.2 (data.lua)
   1.602 Loading mod CharcoalBurner 1.0.5 (data.lua)
   1.679 Loading mod chem_flip 0.14.0 (data.lua)
   1.756 Loading mod Flow Control 2.1.2 (data.lua)
   1.850 Loading mod fluid-barrel 1.1.2 (data.lua)
   1.932 Loading mod Foreman 1.1.3 (data.lua)
   2.013 Loading mod Laser_Beam_Turrets 0.1.8 (data.lua)
   2.115 Loading mod moweather 0.3.91 (data.lua)
   2.197 Loading mod Orbital Ion Cannon 1.4.5 (data.lua)
   2.280 Loading mod personal-roboport-switch 0.1.4 (data.lua)
   2.383 Loading mod Sane-Concrete 1.1.0 (data.lua)
   2.469 Loading mod SmartSplitters 1.0.1 (data.lua)
   2.562 Loading mod Suit-Plug 0.1.2 (data.lua)
   2.667 Loading mod VersepellesChunkMarkers 2.1.0 (data.lua)
   2.773 Loading mod ZRecycling 0.14.1 (data.lua)
   2.864 Loading mod aai-programmable-structures 0.1.10 (data.lua)
   2.955 Loading mod EvoGUI 0.4.108 (data.lua)
   3.064 Loading mod hardCrafting 0.5.1 (data.lua)
   3.175 Loading mod smaller-inventories 1.0.0 (data.lua)
   3.270 Loading mod aai-programmable-vehicles 0.1.12 (data.lua)
   3.384 Loading mod rso-mod 2.2.9 (data-updates.lua)
   3.477 Loading mod aliom 0.1.2 (data-updates.lua)
   3.479 Script data-updates.lua:21: Infinite copper ore: minimum / normal = 762 / 4000
   3.479 Script data-updates.lua:21: Infinite iron ore: minimum / normal = 762 / 4000
   3.479 Script data-updates.lua:21: Infinite coal: minimum / normal = 762 / 4000
   3.479 Script data-updates.lua:21: Infinite stone: minimum / normal = 616 / 4000
   3.479 Script data-updates.lua:21: Infinite rich copper ore: minimum / normal = 522 / 4000
   3.479 Script data-updates.lua:21: Infinite rich iron ore: minimum / normal = 522 / 4000
   3.576 Loading mod Arborium 0.0.4 (data-updates.lua)
   3.689 Loading mod bobinserters 0.14.3 (data-updates.lua)
   3.794 Loading mod bullet-trails 0.1.2 (data-updates.lua)
   3.905 Loading mod chem_flip 0.14.0 (data-updates.lua)
   4.022 Loading mod clean-pumps 1.0.0 (data-updates.lua)
   4.120 Loading mod no-drain 1.0.0 (data-updates.lua)
   4.252 Loading mod Orbital Ion Cannon 1.4.5 (data-updates.lua)
   4.361 Loading mod small-roboports 1.0.0 (data-updates.lua)
   4.461 Loading mod hardCrafting 0.5.1 (data-updates.lua)
   4.585 Loading mod aai-programmable-vehicles 0.1.12 (data-updates.lua)
   4.708 Loading mod new-evolution 1.0.0 (data-updates.lua)
   4.814 Loading mod always-show-recipe-products 0.1.2 (data-final-fixes.lua)
   4.938 Loading mod data-raw-prototypes 0.1.3 (data-final-fixes.lua)
   5.665 Loading mod detached-gun-sounds 0.1.1 (data-final-fixes.lua)
   5.811 Loading mod no-hand-mining 0.14.2 (data-final-fixes.lua)
   5.930 Loading mod off-grid-effects 0.1.1 (data-final-fixes.lua)
   6.060 Loading mod personal-roboport-switch 0.1.4 (data-final-fixes.lua)
   6.211 Loading mod unminable-logistic-robots 1.0.0 (data-final-fixes.lua)
   6.333 Loading mod UsefulMapColors 1.1.5 (data-final-fixes.lua)
   6.461 Loading mod ZRecycling 0.14.1 (data-final-fixes.lua)
   7.006 Loading mod algacultureProdFix 1.0.0 (data-final-fixes.lua)
   7.132 Loading mod hardCrafting 0.5.1 (data-final-fixes.lua)
   7.272 Loading mod hardCraftingProdFix 1.0.0 (data-final-fixes.lua)
   7.432 Checksum for core: 1291735968
   7.432 Checksum for mod base: 786624017
   7.432 Checksum for mod rso-mod: 1617313105
   7.432 Checksum for mod what-is-it-used-for: 3913150713
   7.432 Checksum for mod aai-signals: 2774144805
   7.432 Checksum for mod aai-vehicles-chaingunner: 243964841
   7.432 Checksum for mod aai-vehicles-flame-tumbler: 1568588338
   7.432 Checksum for mod aai-vehicles-hauler: 2293705256
   7.432 Checksum for mod aai-vehicles-laser-tank: 2283640240
   7.432 Checksum for mod aai-vehicles-miner: 3245737008
   7.432 Checksum for mod aai-zones: 3168984812
   7.432 Checksum for mod Algaculture: 3486221222
   7.432 Checksum for mod alien-artifact-loot: 1612245348
   7.432 Checksum for mod aliom: 1241505656
   7.432 Checksum for mod always-show-recipe-products: 3061006009
   7.432 Checksum for mod Arborium: 1671624045
   7.432 Checksum for mod artifact-deconstuctor: 0
   7.432 Checksum for mod bobinserters: 2966285250
   7.432 Checksum for mod bullet-trails: 3097468026
   7.432 Checksum for mod CharcoalBurner: 2811892453
   7.432 Checksum for mod chem_flip: 2279586730
   7.432 Checksum for mod clean-pumps: 3970914149
   7.432 Checksum for mod data-raw-prototypes: 3101574283
   7.432 Checksum for mod detached-gun-sounds: 3993994084
   7.432 Checksum for mod Flow Control: 4066479824
   7.432 Checksum for mod fluid-barrel: 1218850941
   7.432 Checksum for mod Foreman: 889675380
   7.432 Checksum for mod Laser_Beam_Turrets: 3880469623
   7.432 Checksum for mod moweather: 932975314
   7.432 Checksum for mod NaturalTreeExpansion: 0
   7.432 Checksum for mod no-drain: 2880640929
   7.432 Checksum for mod no-hand-mining: 2206915160
   7.432 Checksum for mod off-grid-effects: 3897479745
   7.432 Checksum for mod Orbital Ion Cannon: 3754045421
   7.432 Checksum for mod personal-roboport-switch: 3321314030
   7.432 Checksum for mod Sane-Concrete: 547573724
   7.432 Checksum for mod small-roboports: 951344144
   7.432 Checksum for mod SmartSplitters: 2283819806
   7.432 Checksum for mod Suit-Plug: 1622578991
   7.432 Checksum for mod unminable-logistic-robots: 2149074285
   7.432 Checksum for mod UsefulMapColors: 1938303628
   7.432 Checksum for mod VersepellesChunkMarkers: 2875109694
   7.432 Checksum for mod ZRecycling: 1895680605
   7.432 Checksum for mod aai-programmable-structures: 3600608449
   7.432 Checksum for mod algacultureProdFix: 2365652860
   7.432 Checksum for mod EvoGUI: 1040096666
   7.432 Checksum for mod hardCrafting: 3015349407
   7.432 Checksum for mod smaller-inventories: 108612512
   7.432 Checksum for mod aai-programmable-vehicles: 4162052641
   7.432 Checksum for mod hardCraftingProdFix: 657055272
   7.432 Checksum for mod new-evolution: 3693823078
   8.213 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1482511723
   8.213 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1482076535
   8.407 Initial atlas bitmap size is 16384
   8.410 Created atlas bitmap 16384x7270
   8.411 Created atlas bitmap 4096x1188
   8.411 Created atlas bitmap 4096x3652
  29.424 Sprites loaded
  29.424 Convert atlas 4096x1188 to: trilinear-filtering 
  29.449 Convert atlas 4096x3652 to: mipmap 
  29.717 Loading sounds...
  31.514 Custom inputs active: 10
  31.562 Factorio initialised
  42.317 Loading map C:\Users\fabian\AppData\Roaming\Factorio\saves\test.zip
  42.401 Info Scenario.cpp:152: Map version 0.14.21-0
  42.894 Checksum for script C:/Users/fabian/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1827419726
  42.905 Checksum for script __rso-mod__/control.lua: 1083025376
  42.906 Checksum for script __what-is-it-used-for__/control.lua: 293016820
  42.907 Checksum for script __aai-vehicles-chaingunner__/control.lua: 3256950094
  42.908 Checksum for script __aai-vehicles-flame-tumbler__/control.lua: 1582363225
  42.909 Checksum for script __aai-vehicles-laser-tank__/control.lua: 455772927
  42.910 Checksum for script __aai-vehicles-miner__/control.lua: 1482799437
  42.913 Checksum for script __aai-zones__/control.lua: 78234736
  42.914 Checksum for script __Algaculture__/control.lua: 0
  42.915 Checksum for script __aliom__/control.lua: 1808171200
  42.917 Checksum for script __artifact-deconstuctor__/control.lua: 3645274775
  42.919 Checksum for script __bobinserters__/control.lua: 733646391
  42.920 Checksum for script __CharcoalBurner__/control.lua: 665590146
  42.921 Checksum for script __chem_flip__/control.lua: 1633498809
  42.922 Checksum for script __data-raw-prototypes__/control.lua: 3938907402
  42.923 Checksum for script __Flow Control__/control.lua: 3027294436
  42.938 Checksum for script __Foreman__/control.lua: 734625933
  42.943 Checksum for script __moweather__/control.lua: 2714964819
  42.945 Checksum for script __NaturalTreeExpansion__/control.lua: 1496032682
  42.946 Checksum for script __no-hand-mining__/control.lua: 188711205
  42.949 Checksum for script __Orbital Ion Cannon__/control.lua: 2973220427
  42.952 Checksum for script __personal-roboport-switch__/control.lua: 2389511377
  42.954 Checksum for script __SmartSplitters__/control.lua: 2631927698
  42.956 Checksum for script __Suit-Plug__/control.lua: 48872642
  42.957 Checksum for script __VersepellesChunkMarkers__/control.lua: 1238076279
  42.958 Checksum for script __ZRecycling__/control.lua: 1010285741
  42.961 Checksum for script __aai-programmable-structures__/control.lua: 3396978122
  42.965 Checksum for script __EvoGUI__/control.lua: 3075659584
  42.970 Checksum for script __hardCrafting__/control.lua: 184196379
  42.975 Checksum for script __aai-programmable-vehicles__/control.lua: 2527203849
  42.977 Checksum for script __new-evolution__/control.lua: 701254026
  47.482 Device reset internal.
 469.675 Error Util.cpp:57: invalid string position
 473.922 DSound: Stopping voice
 473.922 DSound: Joining thread
 473.925 DSound: Exit _dsound_update; tid=3208
 473.926 DSound: Waiting for voice to stop ... signaled
 473.926 DSound: Joined thread
 473.926 DSound: Destroying thread
 473.926 DSound: Thread destroyed
 473.926 DSound: Releasing buffer
 473.926 DSound: Voice stopped
 473.926 DSound: Deallocating voice
 473.926 DSound: Deallocated voice
 473.975 Steam API shutdown.
 473.977 Goodbye
Last edited by Smarty on Fri Dec 23, 2016 5:49 pm, edited 1 time in total.
Reason: changed from quote to code tags Makes it easier to read

Rseding91
Factorio Staff
Factorio Staff
Posts: 13175
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.21]Game crashes with message "invalid string position"

Post by Rseding91 »

Can you post a save file and the mods and some way to reproduce the issue?
If you want to get ahold of me I'm almost always on Discord.

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.14.21]Game crashes with message "invalid string position"

Post by daniel34 »

Graveeater wrote:This happens sometimes when just starting the application and sometimes after a while playing. The message is always the same but the timestamp of course varies.
This might be a long shot, but

Code: Select all

   0.002 Read data path: C:/mnt/steam/SteamLibrary/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/fabian/AppData/Roaming/Factorio
   0.002 Binaries path: C:/mnt/steam/SteamLibrary/steamapps/common/Factorio/bin
is C:/mnt/steam an actual folder on your C: drive or a symlink (junction point) to some other directory, on another drive maybe?
quick links: log file | graphical issues | wiki

Graveeater
Burner Inserter
Burner Inserter
Posts: 19
Joined: Thu Jul 07, 2016 8:00 pm
Contact:

Re: [0.14.21]Game crashes with message "invalid string position"

Post by Graveeater »

I think the problem was on my side: After a couple of attempts to get a minimal example I had the idea to let steam "verify the integrit of game cache" and 5 files failed to validate. Since then this has not happened again.
So the problem was probabably a corrupt factorio installation.

As you guessed correctly, C:/mnt/steam is a mount point to another disk (containing the steam library), but that has worked fine for a long time and works fine at the moment.

Post Reply

Return to “Not a bug”