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 1169

Summary: SetupWindowData(video/x11/SDL_x11window.c:116) send null pointer to XCreateIC and cause segfault.
Product: SDL Reporter: O01eg <o01eg>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2 CC: o01eg
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   

Description O01eg 2011-03-16 01:53:25 UTC
If I set environment XMODIFIERS="@im=uim" videodata->im is null pointer. When it send to XCreateIC it cause segfalut.
If I unset XMODIFIERS videodata->im point to real data and this bug don't cause.
P.S. Result of XCreateIC also isn't checked for null.
P.P.S. http://forums.pcsx2.net/Thread-Linux-Compile-Guide-and-Support?pid=159304#pid159304
Comment 1 Sam Lantinga 2013-05-21 02:31:23 UTC
This is fixed in the latest snapshot:
http://www.libsdl.org/tmp/SDL-2.0.zip