From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: bug#7517: 24.0.50; repeated crash under Mac OS X Date: Fri, 31 Dec 2010 12:23:54 +0100 Message-ID: <4D1DBD4A.6010303@swipnet.se> 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> <4D1DB555.5080002@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1293794870 32025 80.91.229.12 (31 Dec 2010 11:27:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 31 Dec 2010 11:27:50 +0000 (UTC) Cc: 7517@debbugs.gnu.org, Chong Yidong , Stefan Monnier , emacs-devel@gnu.org To: emacs user Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 31 12:27:46 2010 Return-path: Envelope-to: ged-emacs-devel@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 1PYd97-0008SP-UH for ged-emacs-devel@m.gmane.org; Fri, 31 Dec 2010 12:27:46 +0100 Original-Received: from localhost ([127.0.0.1]:40641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYd5Z-0001T1-1p for ged-emacs-devel@m.gmane.org; Fri, 31 Dec 2010 06:24:05 -0500 Original-Received: from [140.186.70.92] (port=47191 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYd5T-0001St-4k for emacs-devel@gnu.org; Fri, 31 Dec 2010 06:24:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYd5S-0007xd-4s for emacs-devel@gnu.org; Fri, 31 Dec 2010 06:23:59 -0500 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]:45378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYd5R-0007xS-Pg for emacs-devel@gnu.org; Fri, 31 Dec 2010 06:23:58 -0500 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 3191CE8E2A for ; Fri, 31 Dec 2010 12:23:56 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlI4ALZLHU1V4S1kPGdsb2JhbACIPZt/DAEBAQE1L78jhUoEjiE X-IronPort-AV: E=Sophos;i="4.60,254,1291590000"; d="scan'208";a="161489285" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 31 Dec 2010 12:23:55 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 3B56B7FA05A; Fri, 31 Dec 2010 12:23:55 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.13) Gecko/20101129 Thunderbird/3.1.7 In-Reply-To: <4D1DB555.5080002@swipnet.se> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134074 Archived-At: On further thought, it isn't a filename, that would start with / (assumin= g=20 buffer filenames are always absolute). In that case, the question is how= a=20 buffer name can be a unibyte string? Jan D. Jan Dj=E4rv skrev 2010-12-31 11.49: > > > emacs user skrev 2010-12-31 07.12: >> I forgot to include the first part of this: >> >> (gdb) fr 10 >> #10 0x000000010019fd3c in ns_set_name_as_filename (f=3D0x100b418e0) at >> nsfns.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" >> >> > > That is no utf-8 string (looks like a unibyte string), so the fact that= str is > nil is expected. Is this a filename? In that case there is a bug here, > filename coding isn't used. > > Can you in a shell do: > % env | grep LANG > and > % env | grep LC_ > > Thanks, > > Jan D.