Menu

#2715 Crash in X11 input-method handling with chinese locale

obsolete: 8.5.6
open
8
2009-11-26
2009-11-22
orry dong
No

bug shows here: http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/43fca0b5fbce3398/785ae0ad16e3ca37?pli=1

I found only one line corrected, we can solve this problem. (maybe just skip, but anyway wish can run):
line 365 in tkEvent.c :
XGetICValues(winPtr->inputContext, XNFilterEvents, &im_event_mask, NULL);
=> if (winPtr->inputContext != NULL) XGetICValues(winPtr->inputContext, XNFilterEvents, &im_event_mask, NULL);

Discussion

  • Donal K. Fellows

    • labels: 318663 --> 70. Event Loop
    • milestone: --> obsolete: 8.5.6
    • priority: 5 --> 8
    • assigned_to: hobbs --> georgeps
    • summary: solving bug about Segmentation fault on running wish(Tk) --> Crash in X11 input-method handling with chinese locale
     
  • orry dong

    orry dong - 2009-11-29

    The XIM Server which I use is gcin. I type Traditional/Simple Chinese by it.

    I can't run scilab, xcircuit(tcl), wish...etc. until change line 365 in tkEvent.c.
    At present, they work fine and can display Chinese, but I can't type any Chinese word in many packages depending tcl/tk.
    However, I can type Chinese words in scilab, depending tcl/tk too.

    Solving this problem completely maybe need to hack gcin & scilab, I guess.