[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7517: 24.0.50; repeated crash under Mac OS X

From: Jan Djärv
Subject: bug#7517: 24.0.50; repeated crash under Mac OS X
Date: Fri, 31 Dec 2010 12:23:54 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv: Gecko/20101129 Thunderbird/3.1.7

On further thought, it isn't a filename, that would start with / (assuming buffer filenames are always absolute). In that case, the question is how a buffer name can be a unibyte string?

        Jan D.

Jan Djärv 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=0x100b418e0) at
655 [[view window] setTitle: str];
Current language: auto; currently objective-c
(gdb) p name
$1 = 4802696161
(gdb) xstring
$2 = (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
% env | grep LC_


Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]