GNU bug report logs - #3124
23.0.92; emacs crash when start scim in shell

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Yuanle Song <sylecn@HIDDEN>; Keywords: unreproducible; dated Mon, 27 Apr 2009 02:00:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 3124 <at> debbugs.gnu.org:


Received: (at 3124) by debbugs.gnu.org; 17 Sep 2011 00:55:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 16 20:55:59 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R4jCI-0004z6-GE
	for submit <at> debbugs.gnu.org; Fri, 16 Sep 2011 20:55:59 -0400
Received: from mail-ww0-f46.google.com ([74.125.82.46])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <sylecn@HIDDEN>) id 1R4jCG-0004yz-NK
	for 3124 <at> debbugs.gnu.org; Fri, 16 Sep 2011 20:55:57 -0400
Received: by wwi18 with SMTP id 18so5541935wwi.15
	for <3124 <at> debbugs.gnu.org>; Fri, 16 Sep 2011 17:51:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=j3dh5bh70s4xTE8+VH+OQ7N4FS+DoMx36M9AWEDwEP0=;
	b=QjjpEJlGsVALFDAebOXw6A3u7c7LlfJE3u1K3KOnunrFxtMFY0tk08XhluVpmXjWZ0
	FsFGAVmGtxG6r1TI4OchjQ02hZVh+4wJ1gH84DWUPZK8BugvSRd1ShlBjLKvBVes+CO5
	ZbVp0Ls7aJ85fRV21xXpmTaH4YFWkGIcTUHxA=
MIME-Version: 1.0
Received: by 10.216.179.140 with SMTP id h12mr35538wem.45.1316220668989; Fri,
	16 Sep 2011 17:51:08 -0700 (PDT)
Received: by 10.216.22.19 with HTTP; Fri, 16 Sep 2011 17:51:08 -0700 (PDT)
In-Reply-To: <m38vpout3w.fsf@HIDDEN>
References: <20090501175809.GA30513@sylecn> <m38vpout3w.fsf@HIDDEN>
Date: Sat, 17 Sep 2011 08:51:08 +0800
Message-ID: <CACGNuiTtkOZwgEDn9S2qZ+yG2W2gCCTdCyBpWEQB0_XBvPYJsA@HIDDEN>
Subject: Re: more info
From: sylecn <sylecn@HIDDEN>
To: Lars Magne Ingebrigtsen <larsi@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
X-Spam-Score: -3.6 (---)
X-Debbugs-Envelope-To: 3124
Cc: 3124 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.6 (---)

On Sat, Sep 17, 2011 at 4:31 AM, Lars Magne Ingebrigtsen <larsi@HIDDEN> wrote:
> Yuanle Song <sylecn@HIDDEN> writes:
>
>> 1. I find on someone has a similar problem on zh_CN.UTF-8 locale [1]. So
>> probably this problem has no direct relation with locale.
>>
>> He is running a clean fvwm, start emacs gtk version, go back to terminal
>> start scim with
>>       LANG="zh_CN.UTF-8" scim -d
>> after that emacs crashed with "Fatal error (11) Segmentation fault".
>> this post was on 2006-06-07, he mentioned he was using emacs 23.
>
> Is this still a problem with a current Emacs?
>

I don't have the latest emacs to test the problem, but

in Emacs 23.2.1 (debian 6.0.2)

- under en_US.UTF-8 locale, I still can't activate scim using the XIM
  interface.

	$ emacs -Q &

- under zh_CN.UTF-8 locale, scim can be activated via the hotkey set in
  scim. The default hotkey is C-SPC, I have changed it to be <f12>.

  	$ LANG="zh_CN.UTF-8" emacs -Q &
	# setting the LANG alone is enough, no need to actually change
	# your global system locale.

- Start "scim -d" under any LANG will no longer crash emacs.

        ==== output ====
        ~ $ LANG="zh_CN.UTF-8" scim -d
        Smart Common Input Method 1.4.9

        Launching a SCIM process with x11...
        Loading socket Config module ...
        Creating backend ...
        Loading x11 FrontEnd module ...
        Failed to load x11 FrontEnd module.
        Failed to launch SCIM.
        ~ $
        ==== end of output ====

- If anyone have the same problem, I recommand scim-bridge.el[1], which
  make scim usable in emacs via a minor-mode, and it does not require
  XIM at all.

Footnotes:
[1]  http://www.emacswiki.org/emacs/ScimBridge




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#3124; Package emacs. Full text available.

Message received at 3124 <at> debbugs.gnu.org:


Received: (at 3124) by debbugs.gnu.org; 16 Sep 2011 20:43:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 16 16:43:05 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R4fFS-0002bV-HA
	for submit <at> debbugs.gnu.org; Fri, 16 Sep 2011 16:43:04 -0400
Received: from hermes.netfonds.no ([80.91.224.195])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <larsi@HIDDEN>) id 1R4fFG-0002b2-A5
	for 3124 <at> debbugs.gnu.org; Fri, 16 Sep 2011 16:42:55 -0400
Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]
	helo=stories.gnus.org)
	by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.72) (envelope-from <larsi@HIDDEN>)
	id 1R4fAY-0006Dp-8q; Fri, 16 Sep 2011 22:37:54 +0200
From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
To: Yuanle Song <sylecn@HIDDEN>
Subject: Re: more info
In-Reply-To: <20090501175809.GA30513@sylecn> (Yuanle Song's message of "Fri, 1
	May 2009 12:58:09 -0500")
Date: Fri, 16 Sep 2011 22:31:31 +0200
Message-ID: <m38vpout3w.fsf@HIDDEN>
References: <20090501175809.GA30513@sylecn>
User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)
X-Now-Playing: Magma's =?iso-8859-1?Q?=5FMekan=EFk_Destrukt=EFw_Kommand=F6?=
	=?iso-8859-1?Q?h=5F=3A_=22Neb=EBhr?= Gudahtt"
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1R4fAY-0006Dp-8q
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1316810274.37485@80Gry7iyiEMnWjtTggFezg
X-Spam-Status: No
X-Spam-Score: -2.7 (--)
X-Debbugs-Envelope-To: 3124
Cc: 3124 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.7 (--)

Yuanle Song <sylecn@HIDDEN> writes:

> 1. I find on someone has a similar problem on zh_CN.UTF-8 locale [1]. So
> probably this problem has no direct relation with locale.
>
> He is running a clean fvwm, start emacs gtk version, go back to terminal
> start scim with 
>       LANG="zh_CN.UTF-8" scim -d
> after that emacs crashed with "Fatal error (11) Segmentation fault".
> this post was on 2006-06-07, he mentioned he was using emacs 23.

Is this still a problem with a current Emacs?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#3124; Package emacs. Full text available.

Message received at 3124@HIDDEN:


Received: (at 3124) by emacsbugs.donarmstrong.com; 1 May 2009 17:58:18 +0000
From sylecn@HIDDEN Fri May  1 10:58:18 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n41HwEV9021778
	for <3124@HIDDEN>; Fri, 1 May 2009 10:58:15 -0700
Received: by rv-out-0506.google.com with SMTP id f9so1942482rvb.1
        for <3124@HIDDEN>; Fri, 01 May 2009 10:58:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:received:date:from:to:subject
         :message-id:mime-version:content-type:content-disposition:user-agent;
        bh=gL9bNe8mGZO0MGMbyfDTewCtrQafAMLwmKJ2jXw/t+g=;
        b=VQr3agG9+elIjDhWK2XK0XGMhNDDSOreGOZfGnKnZpAB5T90Z1sDt4Eq7kNuV4IPzh
         3MH82X7nOIpxMwWdFfujJ0BBACVzgV8az6Fk+zc1hnOl7SQ0AyqjUyf2mrQAvUZWRTWw
         sHhVDggptsb0z5AXgvQaTfc7yfTswo7TQyz10=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=date:from:to:subject:message-id:mime-version:content-type
         :content-disposition:user-agent;
        b=wa2TKb6HBBzZTDz9KId7wDvh4HGwQo+GQFvVgrGMxnNTD/ujNY/ZdEM/6g1pLBgPb0
         UolRuXiq4uM9KZtsnWLOxs0IkkjhtvmMby8VvSdcwE+PAHEbZ4ZychPpz7YZFreW8iDh
         SacbhUsxyJlzPgT6Qg4GGb2pgsdrNyuK5DT6o=
Received: by 10.141.86.4 with SMTP id o4mr891724rvl.172.1241200693882;
        Fri, 01 May 2009 10:58:13 -0700 (PDT)
Received: from sylecn.sylecn (resnet-50-116.dorm.utexas.edu [129.116.50.116])
        by mx.google.com with ESMTPS id f42sm7967286rvb.21.2009.05.01.10.58.12
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Fri, 01 May 2009 10:58:13 -0700 (PDT)
Received: from sylecn by sylecn.sylecn with local (Exim 4.69)
	(envelope-from <sylecn@HIDDEN>)
	id 1Lzwzx-00089f-Hy
	for 3124@HIDDEN; Fri, 01 May 2009 12:58:09 -0500
Date: Fri, 1 May 2009 12:58:09 -0500
From: Yuanle Song <sylecn@HIDDEN>
To: 3124 <at> debbugs.gnu.org
Subject: more info
Message-ID: <20090501175809.GA30513@sylecn>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.18 (2008-05-17)

1. I find on someone has a similar problem on zh_CN.UTF-8 locale [1]. So
probably this problem has no direct relation with locale.

He is running a clean fvwm, start emacs gtk version, go back to terminal
start scim with 
      LANG="zh_CN.UTF-8" scim -d
after that emacs crashed with "Fatal error (11) Segmentation fault".
this post was on 2006-06-07, he mentioned he was using emacs 23.

2. I find scim-panel is not started when emacs started.
For most gtk+ program, scim-panel is started when the host program starts
because of gtk immodule. But when I start emacs, no scim-panel is started. 
Does emacs support gtk immodule or only xim? I can't see gtk immodule
configure options from "./configure --help".

If only xim is supported, it is the same case as urxvt. But I can
run "scim -d" inside urxvt to get scim running. If I do that in emacs
shell, emacs crashes as I reported.

If gtk immodule is supported, scim-panel should be started when emacs
starts and it's not now.

links:
[1] http://www.linuxsir.org/bbs/archive/index.php/t-212419.html




Acknowledgement sent to Yuanle Song <sylecn@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3124; Package emacs. Full text available.
Tags added: unreproducible Request was from Chong Yidong <cyd@HIDDEN> to control@HIDDEN. Full text available.

Message received at 3124@HIDDEN:


Received: (at 3124) by emacsbugs.donarmstrong.com; 30 Apr 2009 02:25:55 +0000
From handa@HIDDEN Wed Apr 29 19:25:55 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-0.9 required=4.0 tests=FOURLA,GMAIL,HAS_BUG_NUMBER,
	IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3U2PpCZ006159
	for <3124@HIDDEN>; Wed, 29 Apr 2009 19:25:53 -0700
Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115])
	by mx1.aist.go.jp  with ESMTP id n3U2PoZX022446;
	Thu, 30 Apr 2009 11:25:50 +0900 (JST)
	env-from (handa@HIDDEN)
Received: from smtp1.aist.go.jp
	by rqsmtp1.aist.go.jp  with ESMTP id n3U2PnX3019286;
	Thu, 30 Apr 2009 11:25:49 +0900 (JST)
	env-from (handa@HIDDEN)
Received: 
	by smtp1.aist.go.jp  with ESMTP id n3U2PmYN003430;
	Thu, 30 Apr 2009 11:25:48 +0900 (JST)
	env-from (handa@HIDDEN)
Received: from handa by etlken with local (Exim 4.69)
	(envelope-from <handa@HIDDEN>)
	id 1LzLyj-0004r9-CL; Thu, 30 Apr 2009 11:26:25 +0900
From: Kenichi Handa <handa@HIDDEN>
To: Chong Yidong <cyd@HIDDEN>, 3124 <at> debbugs.gnu.org
CC: emacs-devel@HIDDEN, sylecn@HIDDEN
In-reply-to: <87r5zb0woc.fsf@HIDDEN> (message from Chong Yidong on Wed,
	29 Apr 2009 21:14:59 -0400)
Subject: Re: bug#3124: 23.0.92; emacs crash when start scim in shell
References: <87r5zb0woc.fsf@HIDDEN>
Message-Id: <E1LzLyj-0004r9-CL@etlken>
Date: Thu, 30 Apr 2009 11:26:25 +0900

In article <87r5zb0woc.fsf@HIDDEN>, Chong Yidong <cyd@HIDDEN> writes:

> Yuanle Song <sylecn@HIDDEN> wrote:
> > 1. start emacs gtk version in en_US.UTF-8 locale
> >           $ env LANG=en_US.UTF-8 emacs &
> > 2. M-x shell
> > 3. type "scim -d" in emacs shell
> > 4. Scim is started, but emacs crashed with Segmentation fault.

> I can't reproduce this.  Can anyone on this list verify this bug?

I can't reproduce it either.

---
Kenichi Handa
handa@HIDDEN




Acknowledgement sent to Kenichi Handa <handa@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3124; Package emacs. Full text available.

Message received at 3124@HIDDEN:


Received: (at 3124) by emacsbugs.donarmstrong.com; 30 Apr 2009 01:14:58 +0000
From cyd@HIDDEN Wed Apr 29 18:14:58 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: *
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,GMAIL autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3U1EtYk017908
	for <3124@HIDDEN>; Wed, 29 Apr 2009 18:14:57 -0700
Received: by cyd.mit.edu (Postfix, from userid 1000)
	id 4B08457E205; Wed, 29 Apr 2009 21:14:59 -0400 (EDT)
From: Chong Yidong <cyd@HIDDEN>
To: emacs-devel@HIDDEN
Cc: Yuanle Song <sylecn@HIDDEN>, 3124 <at> debbugs.gnu.org
Subject: Re: 23.0.92; emacs crash when start scim in shell
Date: Wed, 29 Apr 2009 21:14:59 -0400
Message-ID: <87r5zb0woc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Yuanle Song <sylecn@HIDDEN> wrote:

> 1. start emacs gtk version in en_US.UTF-8 locale
>           $ env LANG=en_US.UTF-8 emacs &
> 2. M-x shell
> 3. type "scim -d" in emacs shell
> 4. Scim is started, but emacs crashed with Segmentation fault.

I can't reproduce this.  Can anyone on this list verify this bug?




Acknowledgement sent to Chong Yidong <cyd@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3124; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 27 Apr 2009 01:53:05 +0000
From sylecn@HIDDEN Sun Apr 26 18:53:05 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: *
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2
	autolearn=no version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3R1r1Nc023542
	for <submit@HIDDEN>; Sun, 26 Apr 2009 18:53:02 -0700
Received: from mail.gnu.org ([199.232.76.166]:34527 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <sylecn@HIDDEN>)
	id 1LyG1k-00007i-Pq
	for emacs-pretest-bug@HIDDEN; Sun, 26 Apr 2009 21:53:00 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <sylecn@HIDDEN>)
	id 1LyG1i-0003QX-8Q
	for emacs-pretest-bug@HIDDEN; Sun, 26 Apr 2009 21:53:00 -0400
Received: from an-out-0708.google.com ([209.85.132.245]:37807)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <sylecn@HIDDEN>)
	id 1LyG1h-0003QN-Sh
	for emacs-pretest-bug@HIDDEN; Sun, 26 Apr 2009 21:52:58 -0400
Received: by an-out-0708.google.com with SMTP id b38so1388240ana.21
        for <emacs-pretest-bug@HIDDEN>; Sun, 26 Apr 2009 18:52:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:received:from:to:subject
         :message-id:date;
        bh=5gvbbJfzw9f4TX6YCWHy8+1u+cCRfw8yhNZ8wJMYjkI=;
        b=Dv5dlBuZmx55VKX31ef8ECTiU6cwXx8p39MwUe0vHJR++dJZ8MMfD4hPbSS8NYtVhh
         l6ODcDtfNOK40VegFA8yf3Qp9g9pDcNezsP/ntpWsQwEwvvo0PG/b03c8hk634Di8N3s
         K1AAjY3qYbIqOFR9RZ2Iv+gjsoQhT3yxcIP7s=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:to:subject:message-id:date;
        b=DUD7dX9yeGVvNQrxRgABjpaWEbK6DWP3o/zoNa/XMGgzcaBFOLCqGh4YuY7YfQDz6r
         tiMHaqhXBKm6hgJrBw5PZMGtjm93aYZECfMK3Mi0GMXaBff4DABA3TfUmVKrls0fTTI1
         Anj8ITCAjVdcMCEj+qrIVNopyu71K/jrj+QMw=
Received: by 10.100.58.19 with SMTP id g19mr3314890ana.150.1240797175478;
        Sun, 26 Apr 2009 18:52:55 -0700 (PDT)
Received: from sylecn.sylecn (resnet-50-116.dorm.utexas.edu [129.116.50.116])
        by mx.google.com with ESMTPS id d38sm8424134and.4.2009.04.26.18.52.54
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sun, 26 Apr 2009 18:52:54 -0700 (PDT)
Received: from sylecn by sylecn.sylecn with local (Exim 4.69)
	(envelope-from <sylecn@sylecn>)
	id 1LyG1c-0007gz-GN
	for emacs-pretest-bug@HIDDEN; Sun, 26 Apr 2009 20:52:52 -0500
From: Yuanle Song <sylecn@HIDDEN>
To: emacs-pretest-bug@HIDDEN
Subject: 23.0.92; emacs crash when start scim in shell
Message-Id: <E1LyG1c-0007gz-GN@HIDDEN>
Date: Sun, 26 Apr 2009 20:52:52 -0500
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@HIDDEN mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

//Problem:
//scim doesn't work on latest emacs cvs version.

Summary:
The latest emacs gtk version started in locale en_US.UTF-8 crashes 
whenever scim is started!

How to reproduce:

1. start emacs gtk version in en_US.UTF-8 locale

   	 $ env LANG=en_US.UTF-8 emacs &

  I found that this bug disappear when emacs is started in zh_CN.UTF-8 locale.

2. start emacs shell

   	 M-x shell

3. start scim in emacs shell
  Note that you should quit scim if it is already started in X. You can do that
by right click on the scim icon in notification area and click quit.

   	 type "scim -d" in emacs shell

4. expected result:
  Scim start successfully with output similar to:
	~ $ scim -d
	Smart Common Input Method 1.4.7

	Launching a SCIM daemon with Socket FrontEnd...
	Loading simple Config module ...
	Creating backend ...
	Loading socket FrontEnd module ...
	Starting SCIM as daemon ...
	Launching a SCIM process with x11...
	Loading socket Config module ...
	Creating backend ...
	Loading x11 FrontEnd module ...
	GTK Panel of SCIM 1.4.7

	Starting SCIM as daemon ...
	SCIM has been successfully launched.
	~ $ 

5. what happend
  Scim is started, but emacs crashed with Segmentation fault.

gdb bt full and xbacktrace attached. emacs is compiled with -g -O2, if -O0 is
appreciated please tell me to recompile.

Additional info:
* If emacs is started with -nw option in a terminal. "scim -d" casue no error 
  and is able to start successfully. emacs won't crash.
* If emacs gtk version is started. Then scim is started at terminal outside
  emacs. emacs crash with segmentation fault.
* I have used emacs-snapshot package for debian before. It crashes when scim
  is started at emacs shell as well. The difference is scim is not start when 
  emacs-snapshot crashes.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/23.0.92/etc/DEBUG for instructions.


In GNU Emacs 23.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-04-26 on sylecn
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--infodir=/home/sylecn/helps/info' '--without-xaw3d' '--without-toolkit-scroll-bars''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=SCIM
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
M-x r e p o r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

===File ~/texts/bugs/gdb-bt-xbacktrace-output===============
~/fromsource/build/emacs/src $ gdb /usr/local/bin/emacs
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0.0
TERM = dumb
Breakpoint 1 at 0x8124046: file /home/sylecn/fromsource/emacs/src/emacs.c, line 432.
Breakpoint 2 at 0x8140e09: file /home/sylecn/fromsource/emacs/src/sysdep.c, line 1146.
(gdb) c
The program is not being run.
(gdb) start
Breakpoint 3 at 0x8124498: file /home/sylecn/fromsource/emacs/src/emacs.c, line 788.
Starting program: /usr/local/bin/emacs 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6ead750 (LWP 29501)]
[Switching to Thread 0xb6ead750 (LWP 29501)]
main (argc=1, argv=0xbfb2cc94)
    at /home/sylecn/fromsource/emacs/src/emacs.c:788
788	{
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xb75aafef in XSetICValues () from /usr/lib/libX11.so.6
(gdb) bt full
#0  0xb75aafef in XSetICValues () from /usr/lib/libX11.so.6
No symbol table info available.
#1  0x080ec393 in xic_set_preeditarea (w=0x9ff6860, x=0, y=152)
    at /home/sylecn/fromsource/emacs/src/xfns.c:2357
	attr = <value optimized out>
	spot = {
  x = 10, 
  y = 167
}
#2  0x080dbac5 in xim_instantiate_callback (display=0x868f200, 
    client_data=0x8493920 "", call_data=0x0)
    at /home/sylecn/fromsource/emacs/src/xterm.c:8284
	w = (struct window *) 0x0
	f = (struct frame *) 0x9fd8fb0
	tail = <value optimized out>
	dpyinfo = <value optimized out>
#3  0xb75cdb9d in ?? () from /usr/lib/libX11.so.6
No symbol table info available.
#4  0x0868f200 in ?? ()
No symbol table info available.
#5  0x08493920 in ?? ()
No symbol table info available.
#6  0x00000000 in ?? ()
No symbol table info available.
(gdb) xbacktrace
(gdb) q
The program is running.  Exit anyway? (y or n) y
~/fromsource/build/emacs/src $ ============================================================




Acknowledgement sent to Yuanle Song <sylecn@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#3124; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.