https://bugzilla.redhat.com/show_bug.cgi?id=2105729



--- Comment #11 from Petr Pisar <[email protected]> ---
Installing libXi fixes the crash for me. (Again kvm-virtalized F37 with X11
server on F35.)
If I uninstall libXi and install patched SDL2, the crash goes away in a
windowed mode (frozen-bubble --no-fullscreen), but remains in a fullscreeen
mode (frozen-bubble --fullscreen). Funny thing is that if I start frozen-bubble
with --no-fullscreen, and then press "f" to switch to fullscreen, there is no
crash.
If I install libXi again and keep using patched SDL2, there is no crash
regardless of fullscreen.

This is a backtrace of patched SDL2 in fullscreen:

#0  0x0000000000000000 in  ()
#1  0x00007f7e6594f1b8 in X11_Xinput2GrabTouch (window=0x55f7169ac900,
_this=0x55f7169478b0) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/video/x11/SDL_x11xinput2.c:369
#2  X11_SetWindowMouseGrab (_this=0x55f7169478b0, window=0x55f7169ac900,
grabbed=<optimized out>) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/video/x11/SDL_x11window.c:1787
#3  0x00007f7e6591d1af in SDL_UpdateWindowGrab (window=0x55f7169ac900) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/video/SDL_video.c:2816
#4  0x00007f7e6598632c in SDL_OnWindowFocusGained (window=0x55f7169ac900) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/video/SDL_video.c:3031
#5  SDL_SendWindowEvent.isra.0 (window=window@entry=0x55f7169ac900,
windowevent=windowevent@entry=12 '\f', data1=data1@entry=0,
data2=data2@entry=0)
    at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/events/SDL_windowevents.c:168
#6  0x00007f7e65897ff6 in SDL_SetKeyboardFocus (window=0x55f7169ac900) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/events/SDL_keyboard.c:660
#7  0x00007f7e6593f524 in X11_DispatchFocusIn (_this=0x55f7169478b0,
data=0x55f7169c17f0) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/video/x11/SDL_x11events.c:440
#8  0x00007f7e659448cb in X11_DispatchEvent (_this=_this@entry=0x55f7169478b0,
xevent=xevent@entry=0x7ffde50b9c60) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/video/x11/SDL_x11events.c:962
#9  0x00007f7e65945dfb in X11_PumpEvents (_this=0x55f7169478b0) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/video/x11/SDL_x11events.c:1694
#10 0x00007f7e658975b9 in SDL_PumpEventsInternal
(push_sentinel=push_sentinel@entry=SDL_TRUE) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/events/SDL_events.c:847
#11 0x00007f7e658978bf in SDL_WaitEventTimeout_REAL (event=0x7ffde50b9e70,
timeout=0) at
/usr/src/debug/SDL2-2.0.22-4.fc37.x86_64/src/events/SDL_events.c:1024
#12 0x00007f7e65cbf4a1 in SDL_PumpEvents () at /lib64/libSDL-1.2.so.0
#13 0x00007f7e65ce981e in XS_SDL__Events_pump_events () at
/usr/lib64/perl5/vendor_perl/auto/SDL/Events/Events.so
#14 0x00007f7e6611eed0 in Perl_pp_entersub () at /lib64/libperl.so.5.36
#15 0x00007f7e66110850 in Perl_runops_standard () at /lib64/libperl.so.5.36
#16 0x00007f7e66080eae in perl_run () at /lib64/libperl.so.5.36
#17 0x000055f713c3334a in main ()

Probably we need to patch X11_Xinput2GrabTouch() in a similar way as you
patched X11_Xinput2UngrabTouch().
I tried that and it fixed my crash. I will amend the patch here.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2105729
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to