[SDL] SDL2.0 XIM related bug report

lonelyflyer kuiifare at yahoo.com.cn
Fri Mar 15 03:23:58 PDT 2013


SDL version: SDL-2.0.0-6940
OS: OpenSUSE 12.2

I encountered crash issue when initializing SDL if the $LANG is set to zh_CN.UTF-8 or something alike.

The reason is the call of XOpenIM() in src/video/x11/SDL_x11video.c:505 is not necessaryly successful if xim engine is not setup properly for zh_CN locale. The direct consequence is process crashes on XCreateIC() in src/video/x11/SDL_x11window.c:225.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130315/37d0a314/attachment-0008.htm>


More information about the SDL mailing list