From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: emacs user Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#7517: 24.0.50; repeated crash under Mac OS X Date: Fri, 31 Dec 2010 08:12:23 +0200 Message-ID: References: <87tyic1uzh.fsf@stupidchicken.com> <87vd2dyzfj.fsf@stupidchicken.com> <4D1B22A1.6080202@swipnet.se> <4D1B27AF.7010701@swipnet.se> <4D1C6E7D.2040300@swipnet.se> <4D1D0172.8080404@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1293776654 831 80.91.229.12 (31 Dec 2010 06:24:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 31 Dec 2010 06:24:14 +0000 (UTC) Cc: 7517@debbugs.gnu.org, emacs-devel@gnu.org, Chong Yidong To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 31 07:24:06 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PYYPA-0006f5-9g for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Dec 2010 07:24:00 +0100 Original-Received: from localhost ([127.0.0.1]:42685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYYP9-00048q-Ij for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Dec 2010 01:23:59 -0500 Original-Received: from [140.186.70.92] (port=56894 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYYOj-0003zn-Vf for bug-gnu-emacs@gnu.org; Fri, 31 Dec 2010 01:23:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYYOi-0002Hc-JB for bug-gnu-emacs@gnu.org; Fri, 31 Dec 2010 01:23:33 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYYOi-0002HV-Eq for bug-gnu-emacs@gnu.org; Fri, 31 Dec 2010 01:23:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PYY7m-0005zS-7o; Fri, 31 Dec 2010 01:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: emacs user Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Dec 2010 06:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7517 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 7517-submit@debbugs.gnu.org id=B7517.129377552822987 (code B ref 7517); Fri, 31 Dec 2010 06:06:02 +0000 Original-Received: (at 7517) by debbugs.gnu.org; 31 Dec 2010 06:05:28 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PYY7D-0005yi-T7 for submit@debbugs.gnu.org; Fri, 31 Dec 2010 01:05:28 -0500 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PYY7C-0005yX-09 for 7517@debbugs.gnu.org; Fri, 31 Dec 2010 01:05:26 -0500 Original-Received: by wwj40 with SMTP id 40so12891850wwj.15 for <7517@debbugs.gnu.org>; Thu, 30 Dec 2010 22:12:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NRC5GH2x1d26KLPXZYHbPNeCmWSuL62u3kcKv54JE6s=; b=lWI4CFDhr26/niDdHaYW2NbfFblk+ZQ/1C77XnLpMESWk+XL6YsVB8RlFBzK0FLy40 NqEC/w/lDlvLXUF7xbXTeb/UPYtGf8Q33Uh+GQ79oOxd6l6wXrt/pIW7nVkmlmaq8Wul pc2M2P9WkRaN/iX7PMwv/Sw5dQvzWr3bI+2E0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JnvMIeq1qxo7wNjNrGv/fiMaCbBG+ddQqAbNAUvEiEtoM23bpVupz3hlY/maygWMUu AdxHq1r1ov99Pgqblojb5J9OspCi1uCsVQO648M/NRxHwUeblwVP/z0CQ7/8gId4nNZb NxabQpU7iaELOFXgsBXbLb1H/yfr6DpbUB/6E= Original-Received: by 10.216.7.205 with SMTP id 55mr20203149wep.96.1293775943117; Thu, 30 Dec 2010 22:12:23 -0800 (PST) Original-Received: by 10.216.185.212 with HTTP; Thu, 30 Dec 2010 22:12:23 -0800 (PST) In-Reply-To: <4D1D0172.8080404@swipnet.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 31 Dec 2010 01:06:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42940 gmane.emacs.devel:134065 Archived-At: I forgot to include the first part of this: (gdb) fr 10 #10 0x000000010019fd3c in ns_set_name_as_filename (f=3D0x100b418e0) at nsfn= s.m:655 655 [[view window] setTitle: str]; Current language: auto; currently objective-c (gdb) p name $1 =3D 4802696161 (gdb) xstring $2 =3D (struct Lisp_String *) 0x11e4353e0 "edit of \362\351\370\343 \351\345\342\341's note re: \371\345\354\347 \343\345\340\370 \340\354\367\350\370\345\360\351: IMG_0373, IMG_0436, IMG_0456, IMG_0545, IMG_0575, IMG_0596, IMG_0636, IMG_0641, IMG_0744, IMG_0745, IMG_0906, IMG_0925, IMG_1025, IMG_1038, IMG_1121" On Fri, Dec 31, 2010 at 12:02 AM, Jan Dj=E4rv wrote: > > > emacs user skrev 2010-12-30 15.20: >> >> sorry, still crashes with the same error message, I think, see >> attached. =A0best, E >> > > Ok, it was a long shot. =A0Can you in gdb: > > (gdb) fr 10 > (gdb) p name > (gdb) xstring > > ? > > Thanks, > > =A0 =A0 =A0 =A0Jan D. > >> >> >> On Thu, Dec 30, 2010 at 1:35 PM, Jan Dj=E4rv =A0wrot= e: >>> >>> >>> emacs user skrev 2010-12-29 17.06: >>>> >>>> regarding the locale, I am not sure what that means exactly, but these >>>> were originally hebrew characters that were somehow not correctly >>>> stored by vm/emacs and turned into the characters I mentioned. =A0I ho= pe >>>> to be able to produce a detailed bug report on that problem as well... >>>> =A0hope this helps >>> >>> Locale in this context means the character set and language environment >>> you >>> are using. >>> >>>> >>>> On Wed, Dec 29, 2010 at 5:41 PM, Stefan Monnier >>>> =A0 =A0wrote: >>>>>> >>>>>> What I see is that the X code does ENCODE_UTF_8, and W32 does >>>>>> ENCODE_SYSTEM >>>>>> before passing the string to the platform title setting function. = =A0NS >>>>>> does >>>>>> nothing. =A0Can this be the problem? >>>>> >>>>> Possibly. =A0Maybe ENCODE_UTF_8 would fix the problem. >>>>> >>> >>> Ok, I added ENCODE_UTF_8. =A0Can you tru the latest trunk and see if th= is >>> fixes it? >>> >>> Thanks, >>> >>> =A0 =A0 =A0 =A0Jan D. >>> >