#7031 closed defect (outdated)
WIN32: Crash on Audio Device Disconnection
Reported by: | SF/necros2014 | Owned by: | criezy |
---|---|---|---|
Priority: | blocker | Component: | Port: Win32 |
Version: | Keywords: | reproducible | |
Cc: | Game: |
Description
if bluetooth headphones battery drained for example
Ticket imported from: bugs/7031.
Attachments (1)
Change History (14)
by , 9 years ago
Attachment: | Untitled.png added |
---|
comment:1 by , 9 years ago
Summary: | win64 daily build crashes on aud device disconnection (win10) → WIN32: Crash on Audio Device Disconnection |
---|
comment:2 by , 9 years ago
comment:3 by , 9 years ago
Component: | Engine: AGI → Ports |
---|---|
Game: | AGI Fanmade |
comment:5 by , 7 years ago
Priority: | normal → blocker |
---|
Raising all identified crasher, hang, and memory violation bugs which I could not fully triage myself to blocker priority for the next release.
comment:6 by , 7 years ago
I can reproduce it on Windows 10 17025 by unplugging my USB sound device.
Backtrace attached, but not really helpful without debugging symbols in SDL2.
Thread 6 received signal SIGSEGV, Segmentation fault. [Switching to Thread 2480.0x864] 0x000000006c7df69a in ?? () from C:\msys64\mingw64\bin\SDL2.dll (gdb) backtrace #0 0x000000006c7df69a in ?? () from C:\msys64\mingw64\bin\SDL2.dll #1 0x000000006c743902 in ?? () from C:\msys64\mingw64\bin\SDL2.dll #2 0x000000006c7934b7 in ?? () from C:\msys64\mingw64\bin\SDL2.dll #3 0x000000006c7e52da in ?? () from C:\msys64\mingw64\bin\SDL2.dll #4 0x00007ff93ef9a8a6 in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll #5 0x00007ff93ef9a97c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll #6 0x00007ff93e5f3f84 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll #7 0x00007ff9410413b1 in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll #8 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?)
comment:7 by , 7 years ago
Keywords: | reproducible added |
---|
comment:8 by , 7 years ago
Please download and use a DLL from the Development Libraries archives at http://libsdl.org/download-2.0.php to get debug symbols.
comment:9 by , 7 years ago
Strange... I cannot reproduce this issue on the current master codebase on Win 10 17046... Neither forcing a bluetooth device to disconnect (by unplugging the power cable of my bluetooth speaker) nor unplugging a USB sound device leads to a crash. Instead, ScummVM automatically switches to the next audio device.
comment:10 by , 7 years ago
rootfather: which SDL version where you using to testing the audio devie disconnection crash?
SDL 2.0.6 release notes says "The new default audio driver on Windows is WASAPI and supports hot-plugging devices and changing the default audio device". So it is possible that the crash would be fixed when using SDL 2.0.6 or 2.0.7.
comment:11 by , 7 years ago
I'm using SDL 2.0.7. Good to know that this seems to be fixed by upstream.
comment:12 by , 7 years ago
Owner: | set to |
---|---|
Resolution: | → outdated |
Status: | new → closed |
Considering the ticket was created well before SDL 2.0.7 was released, it was obvious it was using an older version. I will assume that the issue has been fixed upstream in SDL. Feel free to reopen if you can reproduce with a recent SDL version.
comment:13 by , 6 years ago
Component: | Ports → Port: Win32 |
---|
From the former title: Happened at least on Windows 10.