[15.0] Crash when zooming in from the map on: "d3d_draw_bitmap_region_optimised"

This subforum contains all the issues which we already resolved.
Post Reply
mikub3
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Apr 24, 2017 5:40 pm
Contact:

[15.0] Crash when zooming in from the map on: "d3d_draw_bitmap_region_optimised"

Post by mikub3 »

Just got unexpected error when zooming in from the map, happened already 3 times.

Game logs attached, since it was on freshly started game I don´t have the saves.
Attachments
factorio-current_2.txt
2nd one
(2.11 KiB) Downloaded 155 times
factorio-current.log
the log when 1st happened
(9.18 KiB) Downloaded 135 times

Loewchen
Global Moderator
Global Moderator
Posts: 8319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15]Crash when zooming in from the map

Post by Loewchen »

Code: Select all

   0.004 2017-04-24 19:24:05; Factorio 0.15.0 (build 29027, win64, alpha)
   0.004 Operating system: Windows 10 (version 1607) 
   0.004 Program arguments: "M:\JAKUB\hry\Factorio 0.15\bin\x64\factorio.exe" 
   0.004 Read data path: M:/JAKUB/hry/Factorio 0.15/data
   0.005 Write data path: C:/Users/Mirek/AppData/Roaming/Factorio
   0.005 Binaries path: M:/JAKUB/hry/Factorio 0.15/bin
   0.012 System info: [CPU:         Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz, 4 cores, RAM: 8082MB]
   0.013 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.014 Available display adapters: 1
   0.014  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics {0x8000005, [0,0], 1920x1200, 32bit, 59Hz}
   0.014 Create display on adapter 0. Size 1280x720 at position [310, 222].
   0.043 Initialised Direct3D:[0] Intel(R) HD Graphics; driver: igdumdim64.dll 10.18.10.4358
   0.051     Video memory size (dedicated video/dedicated system/shared system/available): 32/0/1760/1788 MB
   0.100 DSound: Starting _dsound_update thread
   0.100 DSound: Enter _dsound_update; tid=9456
   0.101 Device reset internal.
   0.104 Desktop composition is active.
   0.105 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.469 Loading mod core 0.0.0 (data.lua)
   0.480 Loading mod base 0.15.0 (data.lua)
   0.672 Loading mod base 0.15.0 (data-updates.lua)
   0.790 Checksum for core: 3378387764
   0.790 Checksum of base: 2731413614
   1.017 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493054631
   1.017 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   1.192 Loaded shader file M:/JAKUB/hry/Factorio 0.15/data/core/graphics/shaders/game.cso
   1.194 Loaded shader file M:/JAKUB/hry/Factorio 0.15/data/core/graphics/shaders/zoom-to-world.cso
   1.213 Initial atlas bitmap size is 8192
   1.221 Created atlas bitmap 8192x8124
   1.224 Created atlas bitmap 8192x8188
   1.238 Created atlas bitmap 8192x8191
   1.244 Created atlas bitmap 8192x8184
   1.244 Created atlas bitmap 8192x4458
   1.245 Created atlas bitmap 4096x3980
   1.245 Created atlas bitmap 4096x3648
   5.470 Error AtlasSystem.cpp:939: Loading sprites failed: Sprite cropping failed. Captured bitmap data for sprite "__base__/graphics/entity/car/hr-car-3.png" was null.
   5.470 Info AtlasSystem.cpp:784: Direct3D device lost during loading of sprites
   5.909 Device reset internal.
   6.479 Info AtlasSystem.cpp:784: Direct3D device lost during loading of sprites
   6.483 Device reset internal.
   6.887 Info AtlasSystem.cpp:784: Direct3D device lost during loading of sprites
   6.928 Device reset external.
   6.929 Device reset internal.
   8.829 Info AtlasSystem.cpp:792: Direct3D device found
   9.822 Info AtlasSystem.cpp:792: Direct3D device found
  10.223 Info AtlasSystem.cpp:792: Direct3D device found
  10.633 Info AtlasSystem.cpp:792: Direct3D device found
  11.034 Info AtlasSystem.cpp:792: Direct3D device found
  42.824 Sprites loaded
  42.824 Convert atlas 4096x3980 to: trilinear-filtering 
  43.077 Convert atlas 4096x3648 to: mipmap 
  43.896 Loading sounds...
  48.389 Custom inputs active: 0
  48.393 Info Updater.cpp:743: Downloading https://updater.factorio.com/get-available-versions?username=mikub3&token=<private>&apiVersion=2
  49.120 0 packages available to download (experimental updates disabled).
  49.213 Device reset internal.
  50.196 Factorio initialised
 271.360 Loading Level.dat: 827793 bytes.
 271.360 Info Scenario.cpp:133: Map version 0.15.0-99
 271.434 Checksum for script C:/Users/Mirek/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1622069129
 377.415 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
 377.415 Info ServerMultiplayerManager.cpp:663: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
 377.416 Info ServerMultiplayerManager.cpp:663: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
 377.417 Loading Level.dat: 998190 bytes.
 377.417 Info Scenario.cpp:133: Map version 0.15.0-99
 377.482 Checksum for script C:/Users/Mirek/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1622069129
 377.483 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
 377.484 Hosting game at 0.0.0.0:34197
 377.484 Info ServerMultiplayerManager.cpp:663: mapTick(0) changing state from(CreatingGame) to(InGame)
 377.484 Info UDPSocket.cpp:39: Opening socket for broadcast
 377.498 Info GameActionHandler.cpp:3213: MapTick (0) processed PlayerJoinGame peerID(0) playerIndex(0) mode(create ) 
 398.886 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(25.56.198.21:57231)
 398.886 Info ServerRouter.cpp:387: Replying to connectionRequest for address(25.56.198.21:57231).
 398.886 Info ServerSynchronizer.cpp:521: nextHeartbeatSequenceNumber(563) adding peer(1)
 398.904 Info ServerMultiplayerManager.cpp:663: mapTick(1284) changing state from(InGame) to(InGameSavingMap)
 398.937 Info ServerMultiplayerManager.cpp:747: mapTick(1284) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
 399.080 Info ServerMultiplayerManager.cpp:801: MapTick(1284) Serving map(C) for peer(1) size(802792) crc(137363624)
 399.080 Info ServerMultiplayerManager.cpp:663: mapTick(1284) changing state from(InGameSavingMap) to(InGame)
 399.180 Info ServerMultiplayerManager.cpp:747: mapTick(1289) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
 400.467 Info ServerMultiplayerManager.cpp:747: mapTick(1367) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
 401.057 Info ServerMultiplayerManager.cpp:747: mapTick(1402) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
 401.248 Info ServerMultiplayerManager.cpp:747: mapTick(1414) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
 401.248 Info GameActionHandler.cpp:3213: MapTick (1414) processed PlayerJoinGame peerID(1) playerIndex(1) mode(create ) 
 401.318 Info ServerMultiplayerManager.cpp:747: mapTick(1418) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
 454.935 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-qnaoih\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-qnaoih\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-qnaoih\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-qnaoih\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-qnaoih\src\util\crashhandler.cpp (235): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (117): `thread_start<unsigned int (__cdecl*)(void * __ptr64)>'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF62537B028)
00007FF62537B028 (factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC25CBAB9D)
00007FFC25CBAB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC25C59913)
00007FFC25C59913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC25CB9CBA)
00007FFC25CB9CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-qnaoih\libraries\allegro\src\win\d3d_bmp.cpp (897): d3d_draw_bitmap_region_optimised
c:\cygwin64\tmp\factorio-qnaoih\src\graphics\spritedraworder.cpp (241): SpriteDrawOrder::renderInternal
c:\cygwin64\tmp\factorio-qnaoih\src\graphics\spritedraworder.cpp (154): SpriteDrawOrder::render
c:\cygwin64\tmp\factorio-qnaoih\src\graphics\drawqueue.cpp (1082): DrawQueue::renderSprites
c:\cygwin64\tmp\factorio-qnaoih\src\graphics\tilerenderer.cpp (122): TileRenderer::render
c:\cygwin64\tmp\factorio-qnaoih\src\graphics\gamerenderer.cpp (187): GameRenderer::render
c:\cygwin64\tmp\factorio-qnaoih\src\gameview.cpp (909): GameView::render
c:\cygwin64\tmp\factorio-qnaoih\src\mainloop.cpp (875): MainLoop::render
c:\cygwin64\tmp\factorio-qnaoih\src\mainloop.cpp (405): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-qnaoih\src\mainloop.cpp (227): MainLoop::run
c:\cygwin64\tmp\factorio-qnaoih\src\main.cpp (881): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC25AA8364)
00007FFC25AA8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC25C770D1)
00007FFC25C770D1 (ntdll): (filename not available): RtlUserThreadStart
 459.211 Error CrashHandler.cpp:106: Map tick at moment of crash: 4614
 459.211 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.

fwyrl
Inserter
Inserter
Posts: 27
Joined: Fri Jul 01, 2016 10:54 pm
Contact:

Re: [15.0] Crash when zooming in from the map on: "d3d_draw_bitmap_region_optimised"

Post by fwyrl »

Just had this same issue and was able to isolate an exact way to cause it:

If you have your alternate zoom keys bound to something other than default, using the scroll wheel does not let you zoom in further than max map zoom, and using the key to zoom in there crashes you.

Steps:
Open up a world
Change your alternate zoom keys to something non-default
Try zooming in on the map, past the point where it switches to local mode in an area where you have local vision.

On a related note: if you have your zoom and alternate zoom keys on different settings, on the keys your alt zoom is bound to can zoom into or outof local view (test this by changing the zoom keys to - and = on the keyboard, try zooming in with the keys, then with the scroll wheel).

CharitableClas
Inserter
Inserter
Posts: 29
Joined: Tue May 19, 2015 5:42 pm
Contact:

Re: [15.0] Crash when zooming in from the map on: "d3d_draw_bitmap_region_optimised"

Post by CharitableClas »

I get the same thing I can't use my mouse wheel so I use my UP and DOWN arrow keys to zoom and use shift plus those keys for the alternate zoom and on the map i use the alternate zoom to zoom in from the map to the game screen and immediately crash and I am playing single player right now.
Attachments
factorio-current.log
Log file
(2.19 KiB) Downloaded 171 times
_autosave2.zip
Most Recent Save
(1.79 MiB) Downloaded 134 times

dpy
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Apr 25, 2017 11:13 am
Contact:

Re: [15.0] Crash when zooming in from the map on: "d3d_draw_bitmap_region_optimised"

Post by dpy »

Having the same crash (but different error) on 0.15.1. Alternate zoom is mapped to PGUP/PGDN. Mouse wheel zooms fine (but can't zoom to world). PGUP/PGDN zoom fine until I try to zoom all the way in, then crashes.
Attachments
factorio-current.log
(6.98 KiB) Downloaded 170 times
_autosave3.zip
(3.88 MiB) Downloaded 141 times

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [15.0] Crash when zooming in from the map on: "d3d_draw_bitmap_region_optimised"

Post by posila »

Hi, thanks for the reports.
It is fixed for 0.15.2

Until then, I suggest to bind Alternative zoom to something you won't use, and use just Zoom binding to prevent accidental crash.

Post Reply

Return to “Resolved Problems and Bugs”