What steps will reproduce the problem?
1.run "xsunpinyin -d"
2.start kile with some file automatically reopen
3.xsunpinyin crashed and kile hung
What version of the product are you using? On what operating system?
xsunpyinyin from sunpinyin-2.0.3 package
kile for qt4/kde4
Observation:
In xim.c, for this special case, _xim_set_ic_values call __xim_ic_events to set
the __preedit_x, and __preedit_y, and the __preedit_x value is -1. And the
crash occured, when we call __move_preedit.
It could be a bug of kile or qt4 or xorg.
But the attached patch prevent the crash from happening within xsunpinyin
itself.
Original issue reported on code.google.com by bblU...@gmail.com on 27 Feb 2011 at 2:37
Original issue reported on code.google.com by
bblU...@gmail.com
on 27 Feb 2011 at 2:37Attachments: