Opened 7 years ago

Closed 7 years ago

#10338 closed defect (fixed)

ScummVM crashes if compiled with virtual keyboard enabled.

Reported by: Uukrull Owned by: bgK
Priority: normal Component: --Other--
Version: Keywords:
Cc: Game:

Description

This happened after SDL2: Improve handling of keyboard repeat events was merged and only happens if compiled with VK enabled and crashes right after launching ScummVM.

I'm using a linux box with an S905X processor (ARM Cortex-A53 CPU) with builds compiled by myself for LibreELEC so I don't know if that could be a factor. Here is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0016252c in ModularBackend::getScreenChangeID (this=<optimized out>)
    at backends/modular-backend.cpp:121
121     backends/modular-backend.cpp: No such file or directory.
(gdb) backtrace
#0  0x0016252c in ModularBackend::getScreenChangeID (this=<optimized out>)
    at backends/modular-backend.cpp:121
#1  0x00170c2c in Common::VirtualKeyboardGUI::VirtualKeyboardGUI (
    this=0x840a40, kbd=<optimized out>)
    at backends/vkeybd/virtual-keyboard-gui.cpp:93
#2  0x0016f850 in Common::VirtualKeyboard::VirtualKeyboard (this=0x83c740)
    at backends/vkeybd/virtual-keyboard.cpp:46
#3  0x001644d0 in DefaultEventManager::DefaultEventManager (this=0x874320,
    boss=0x852928) at backends/events/default/default-events.cpp:57
#4  0x000d8864 in OSystem_SDL::initBackend (this=0x826d70)
    at backends/platform/sdl/sdl.cpp:212
#5  0x000dbf3c in scummvm_main (argc=argc@entry=1, argv=argv@entry=0xffeee384)
    at base/main.cpp:436
#6  0x000d75bc in main (argc=1, argv=0xffeee384)
    at backends/platform/sdl/posix/posix-main.cpp:45

Change History (1)

comment:1 by bgK, 7 years ago

Owner: set to bgK
Resolution: fixed
Status: newclosed

Thanks for your report, this is fixed in commit 6eb9a48bbddf89.

Note: See TracTickets for help on using tickets.