Community
Participate
Working Groups
On Linux RedHat 6.2 (2.2.14-5.0) Japanese, if you call XInitThreads and link with pthread, the program will hang when the input method is started. Here are the steps to reproduce it: 1) Compile the attached C code. The Motif home needs to be updated in the makefile. The testcase will fail when compiled against Open Motif from Metrolink (openmotif-2_1_30-4_MLI_i386.rpm). 2) Run the executable "test" in a japanese machine 3) When the window open, give focus to the text field 4) Start the japanese input method by pressing <Shift+Space> 5) Type some characters and press <Enter>. At this point, the testcase will hang. 5) Comment the following line in the makefile LIB_FLAGS += -lpthread 6) Recompile the tescase. 7) Run it again. It should not hang this time. NOTES:
PRODUCT VERSION: Red Hat 6.2
This is a third part problem. The problem has been worked around in SWT by avoiding the call to XInitThreads().