• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-738
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tofu Linden
Reporter: Kilcher Jewell
Votes: 4
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

SL crashes when loading with a GTK_IM scim module

Created: 15/May/07 02:24 AM   Updated: 08/Nov/07 03:11 PM
Return to search
Component/s: Crashes, Internationalization
Affects Version/s: 1.15.1.x, 1.18.0
Fix Version/s: 1.18.4.3

File Attachments: 1. Text File scim_bug.txt (36 kB)
2. Text File VWR-738-patch.txt (1 kB)

Issue Links:
Duplicate
 
Relates
 

Linden Lab Issue ID: SL-51981


 Description  « Hide
GTK input module scim now crashes SL on launch.

Workaround:
Disabling by adding GTK_IM_MODULE=gtk-im-context-simple



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Kazunori Takakura added a comment - 26/May/07 12:07 PM
Confirmed that this is also in 1_16_0_6. Program crashes with error:
      • glibc detected *** bin/do-not-directly-run-secondlife-bin: double free or corruption (out): 0x0cb68558 ***

Kazunori Takakura added a comment - 26/May/07 12:08 PM
Output of the crash.

Kazunori Takakura added a comment - 12/Jul/07 08:38 PM
Still an issue in 1_18_0_6

Celierra Darling added a comment - 12/Jul/07 11:40 PM
Adding to 'versions affected' list

Alissa Sabre added a comment - 24/Jul/07 08:22 AM
I can't reproduce the crush. Can you report more details on your environment?

My test environment is as follows:
Athlon64 3800+, GeForce 6800, Fedora 7, SCIM-Anthy.
With environment variables: LANG=ja_JP.UTF-8, GK_IM_MODULE=xim, and XMODIFIERS=@im=SCIM
Tested with Viewer 1.18.0.6.


Alissa Sabre added a comment - 04/Aug/07 09:08 PM
This issue seems to be caused by SDL's and/or GTK's handling of input method.

See discussion on VWR-240.


ein duesenburg added a comment - 11/Aug/07 12:53 AM
Confirmed on 1_18_1_2

setting GTK_IM_MODULE=xim solves it.

environnment:
Ubuntu Feisty 7.04 with SCIM
Intel Centrino Mobile architecture
ATI Radeon 9000 Mobile
LANG=en_US.UTF-8
GTK_IM_MODULE=scim
XMODIFIERS=@im=SCIM


Tofu Linden added a comment - 15/Aug/07 03:27 AM
I wonder how common this problem is. Does anyone see any disadvantages to making:
GTK_IM_MODULE=xim
the default as a workaround?

Tofu Linden added a comment - 16/Aug/07 06:48 AM
(or at least only if GTK_IM_MODULE is already scim)

Tofu Linden added a comment - 23/Aug/07 04:14 AM
Attached proposed simple workaround patch.

krysztov laryukov added a comment - 23/Aug/07 11:43 AM
Problem still exists as of 1.18.1.2, took me an HOUR to find the cause. Any reason why such a simple workaround hasn't yet been included?

Arigatou.


Tofu Linden added a comment - 24/Aug/07 03:06 AM
Fixed internally, thanks for the feedback.

Tofu Linden added a comment - 24/Aug/07 03:07 AM
(FYI - the committed fix was the workaround I attached.)

Alissa Sabre added a comment - 24/Aug/07 09:11 AM
I'm slightly unconfortable with the attached patch. It looks like a half measure.

I would prefer either

(a) always set GTK_IM_MODULE to "xim" (because any other settings doesn't work with SDL anyway)

or

(b) keep the "if" as is and set XMODIFIERS="@im=SCIM", too (since we know that the user wants to use SCIM in the case.)


Torley Linden added a comment - 08/Nov/07 12:32 PM
This is publicly fixed in Second Life 1.18.4(3), more info here:

» http://blog.secondlife.com/2007/11/07/new-viewer-second-life-1184-viewer-now-available/

For Release Notes, see:

» https://wiki.secondlife.com/wiki/Release_Notes