[0.17.7] Crash during bluetooth speaker disconect

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
maxo11x
Burner Inserter
Burner Inserter
Posts: 7
Joined: Thu Mar 07, 2019 12:55 am
Contact:

[0.17.7] Crash during bluetooth speaker disconect

Post by maxo11x »

game crashed with error report whilst I disconected my bluetooth headphones

replication:
  • play factorio with a bluetooth speaker connected
  • game running fine
  • bluetooth speaker running low on power, needs charging
  • turn bluetooth speaker off (via speaker not via pc)
  • BOOM game crash
want an error report? here's an error report:
factorio-current.log
factorio log (note have since loaded up game so may not be 100% accurate, copy of exact error report in post)
(4.85 KiB) Downloaded 70 times

Code: Select all

0.003 2019-03-06 22:25:58; Factorio 0.17.7 (build 43421, win64, steam)
0.003 Operating system: Windows 10 (version 1803) 
0.003 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
0.003 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.004 Write data path: C:/Users/alex_/AppData/Roaming/Factorio [224377/761978MB]
0.004 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.035 System info: [CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz, 4 cores, RAM: 6085/12152 MB, page: 9030/22568 MB, virtual: 4327/134217727 MB, extended virtual: 0 MB]
0.037 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.051 Available displays: 2
0.051 [1]: \\.\DISPLAY2 - Intel(R) HD Graphics 520 {0x05, [0,0], 1920x1080, 32bit, 59Hz}
0.051 [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 520 {0x01, [-1920,0], 1920x1080, 32bit, 60Hz}
0.268 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
0.569 Initialised Direct3D[0]: Intel(R) HD Graphics 520; id: 8086-1916; driver: igdumdim64.dll 21.20.16.4550
0.569 D3D Feature Level: 11.1, DXGI 1.5+
0.569 [Local Video Memory] Budget: 5468MB, CurrentUsage: 0MB, Reservation: 0/2886MB
0.569 [Non-Local Vid.Mem.] Budget: 0MB, CurrentUsage: 0MB, Reservation: 0/0MB
0.569 Tiled resources: Tier 2
0.569 Unified Memory Architecture: Yes
0.569 BGR 565 Supported: Yes
0.569 MaximumFrameLatency: 3, GPUThreadPriority: 0
0.759 Desktop composition is active.
0.759 Graphics settings preset: medium-with-low-vram
0.759 Dedicated video memory size 128 MB
0.759 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: low-quality]
0.759 [Max load threads: 32] [Max texture size: 4096] [Tex.Stream.: 1] [Low quality rotation: 0]
0.866 DSound: Starting _dsound_update thread
0.867 DSound: Enter _dsound_update; tid=8324
3.068 Loading mod core 0.0.0 (data.lua)
3.509 Loading mod base 0.17.7 (data.lua)
7.915 Loading mod base 0.17.7 (data-updates.lua)
8.110 Checksum for core: 2736929835
8.110 Checksum of base: 3541142062
8.927 Loading sounds...
22.086 Info PlayerData.cpp:69: Local player-data.json unavailable
22.086 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551830553
22.393 Crop bitmaps.
69.528 Parallel Sprite Loader initialized (threads: 3)
75.282 Initial atlas bitmap size is 4096
75.291 Created atlas bitmap 4096x4096 [none]
75.304 Created atlas bitmap 4096x4096 [none]
75.311 Created atlas bitmap 4096x4084 [none]
75.316 Created atlas bitmap 4096x4096 [none]
75.320 Created atlas bitmap 4096x4092 [none]
75.323 Created atlas bitmap 4096x4096 [none]
75.323 Created atlas bitmap 4096x104 [none]
75.324 Created atlas bitmap 4096x1960 [decal]
75.324 Created atlas bitmap 4096x3824 [low-object]
75.325 Created atlas bitmap 4096x2000 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
75.329 Created atlas bitmap 4096x4064 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
75.330 Created atlas bitmap 4096x4080 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
75.330 Created atlas bitmap 2256x272 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
75.330 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
75.331 Created atlas bitmap 4096x1392 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
75.331 Created atlas bitmap 4096x836 [alpha-mask]
75.340 Created atlas bitmap 4096x4096 [shadow, linear-magnification, alpha-mask]
75.344 Created atlas bitmap 4096x4096 [shadow, linear-magnification, alpha-mask]
75.361 Created atlas bitmap 4096x4096 [shadow, linear-magnification, alpha-mask]
75.362 Created atlas bitmap 4096x2604 [shadow, linear-magnification, alpha-mask]
75.362 Created atlas bitmap 4096x1296 [shadow, mipmap, linear-magnification, alpha-mask]
75.505 Created virtual atlas pages 4096x4096x3
75.516 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
76.925 Parallel Sprite Loader initialized (threads: 3)
84.872 Sprites loaded
84.915 Generated mipmaps for atlas of size 4096x3824
84.958 Generated mipmaps for atlas of size 4096x2000
85.012 Generated mipmaps for atlas of size 4096x4064
85.064 Generated mipmaps for atlas of size 4096x4080
85.108 Generated mipmaps for atlas of size 2256x272
85.151 Generated mipmaps for atlas of size 4096x1600
85.183 Generated mipmaps for atlas of size 4096x1392
85.206 Generated mipmaps for atlas of size 4096x1296
85.284 Generated mipmaps for virtual atlas of size 4096x12288
85.293 Custom inputs active: 0
85.771 Factorio initialised
245.628 Loading Level.dat: 1272254 bytes.
245.629 Info Scenario.cpp:147: Map version 0.17.7-2
245.714 Checksum for script C:/Users/alex_/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
912.515 Info AppManager.cpp:267: Saving to _autosave1 (blocking).
913.297 Info AppManagerStates.cpp:1766: Saving finished
1260.691 Loading Level.dat: 1272254 bytes.
1260.692 Info Scenario.cpp:147: Map version 0.17.7-2
1260.743 Checksum for script C:/Users/alex_/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
1924.024 Info AppManager.cpp:267: Saving to _autosave1 (blocking).
1924.720 Info AppManagerStates.cpp:1766: Saving finished
3161.092 Info AppManager.cpp:267: Saving to _autosave2 (blocking).
3161.720 Info AppManagerStates.cpp:1766: Saving finished
3821.851 Info AppManager.cpp:267: Saving to _autosave3 (blocking).
3822.586 Info AppManagerStates.cpp:1766: Saving finished
4499.527 Info AppManager.cpp:267: Saving to _autosave1 (blocking).
4500.321 Info AppManagerStates.cpp:1766: Saving finished
5164.774 Info AppManager.cpp:267: Saving to _autosave2 (blocking).
5165.537 Info AppManagerStates.cpp:1766: Saving finished
5916.509 Info AppManager.cpp:267: Saving to _autosave3 (blocking).
5917.217 Info AppManagerStates.cpp:1766: Saving finished
6585.859 Info AppManager.cpp:267: Saving to _autosave1 (blocking).
6586.638 Info AppManagerStates.cpp:1766: Saving finished
7255.444 Info AppManager.cpp:267: Saving to _autosave2 (blocking).
7256.210 Info AppManagerStates.cpp:1766: Saving finished
7924.147 Info AppManager.cpp:267: Saving to _autosave3 (blocking).
7924.888 Info AppManagerStates.cpp:1766: Saving finished
8635.306 Info AppManager.cpp:267: Saving to _autosave1 (blocking).
8636.100 Info AppManagerStates.cpp:1766: Saving finished
8649.840 Error CrashHandler.cpp:376: Exception Code: c0000005, Address: 0x00007ff92d626699
ModuleBase: 0x00007ff74c460000, ImageSize: 015f3000, RelativeAddress: e11c6699
8649.840 Error CrashHandler.cpp:382: Access Violation: Read at address 0000000000000000
8649.840 Error CrashHandler.cpp:396: Exception Context:
rax=0000000000000002, rbx=0000000000000000, rcx=0000000000000000,
rdx=0000000000000000, rsi=0000000000000002, rdi=00000126f4f2da10,
rip=00007ff92d626699, rsp=00000009222ffc00, rbp=0000000000000003,
r8=0000000000001a44, r9=0000000000000000, r10=0000000000000000,
r11=00000126f4f2db08, r12=00000126fa25d700, r13=0000000000000002,
r14=0000000000000000, r15=00007ff92d675000
8649.840 Crashed in C:\WINDOWS\SYSTEM32\DSOUND.dll (0x00007ff92d5f0000 - 0x00007ff92d67f000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-hr9tdu\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-hr9tdu\src\util\logger.cpp (415): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-hr9tdu\src\util\logger.cpp (566): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-hr9tdu\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-hr9tdu\src\util\crashhandler.cpp (423): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95B26BDD0)
00007FF95B26BDD0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95E013167)
00007FF95E013167 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95DFFB5E6)
00007FF95DFFB5E6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95E00F7DD)
00007FF95E00F7DD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95DF7D856)
00007FF95DF7D856 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95E00E70E)
00007FF95E00E70E (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF92D626699)
00007FF92D626699 (DSOUND): (filename not available): DllCanUnloadNow
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF92D60B678)
00007FF92D60B678 (DSOUND): (filename not available): DirectSoundFullDuplexCreate
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF92D60AB7B)
00007FF92D60AB7B (DSOUND): (filename not available): DirectSoundFullDuplexCreate
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF92D60AA0D)
00007FF92D60AA0D (DSOUND): (filename not available): DirectSoundFullDuplexCreate
c:\cygwin64\tmp\factorio-build-hr9tdu\libraries\allegro\addons\audio\dsound.cpp (198): _dsound_update
c:\cygwin64\tmp\factorio-build-hr9tdu\libraries\allegro\src\threads.c (79): thread_func_trampoline
c:\cygwin64\tmp\factorio-build-hr9tdu\libraries\allegro\src\win\wxthread.c (38): thread_proc_trampoline
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95CEF3DC4)
00007FF95CEF3DC4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95DFE3691)
00007FF95DFE3691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
8655.870 Include minidump in crash report.
8655.870 Error CrashHandler.cpp:174: Map tick at moment of crash: 397188
8655.870 Error Util.cpp:97: 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.
8677.828 Uploading log file
8678.015 Error CrashHandler.cpp:221: Heap validation: success.
8678.022 Creating crash dump.
8678.670 CrashDump success

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

Re: [0.17.7] Crash during bluetooth speaker disconect

Post by posila »

Thanks for the report.
I was trying to reproduce it by unplugging USB headphones, but was not able to make it crash.
The crash is inside DirectSound internals, so it is impossible to find a workaround without being able to reproduce the crash. Based on the collected crash logs, this is very rare so it is not very economical to spend lot of time trying to reproduce it and fix it. I am sorry.

Post Reply

Return to “1 / 0 magic”