We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3052 - Possible SDL hang trying to change window decorations
Summary: Possible SDL hang trying to change window decorations
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.4
Depends on:
Blocks:
 
Reported: 2015-07-06 17:47 UTC by Drew Bliss
Modified: 2015-08-13 18:57 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Drew Bliss 2015-07-06 17:47:19 UTC
The user says that when they switch between a borderless window and a regular window they get a hang.  The stay is below and it looks like SDL waiting for a particular event and possible not getting it so waiting forever?  The user says that doing Alt+Move breaks out of the hang so it maybe triggers the event SDL is waiting for?  The user also says the window decorations never come back so SDL fiddling with the window properties must be the core of the issue.
 
https://github.com/ValveSoftware/Dota-2-Reborn/issues/152
 
#0  0x00007fb93a8dce8d in poll () from /usr/lib/libc.so.6
#1  0x00007fb9367a0a64 in ?? ()
   from /home/matthew/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb9367a271f in xcb_wait_for_event ()
   from /home/matthew/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb936c04ba8 in _XReadEvents ()
   from /home/matthew/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007fb936bec390 in XIfEvent ()
   from /home/matthew/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007fb93b319a34 in XIfEvent () from /home/matthew/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
#6  0x00007fb932c55103 in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libSDL2-2.0.so.0
#7  0x00007fb92d4b03f5 in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemgl.so
#8  0x00007fb93499f54b in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so
#9  0x00007fb93499f744 in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so
#10 0x00007fb9349094f1 in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so
#11 0x00007fb9349058a5 in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so
#12 0x00007fb9347d0905 in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so
#13 0x00007fb9347d0f21 in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so
#14 0x00007fb9347c79b2 in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so
#15 0x00007fb9347ca338 in ?? ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so
#16 0x00007fb9347ca4da in Source2Main ()
   from /home/matthew/.dota_library/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so
#17 0x00007fb93b7520c1 in ?? ()
#18 0x00007fb93a81e790 in __libc_start_main () from /usr/lib/libc.so.6
#19 0x00007fb93b7521bd in _start ()
Comment 1 Amit Jain 2015-08-10 11:34:06 UTC
Hello
Any fix for  this defect ?
Comment 2 Ryan C. Gordon 2015-08-13 18:57:13 UTC
This is now fixed in https://hg.libsdl.org/SDL/rev/bbb6d1f2a849

--ryan.