bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17249: 24.3; segfault with certain unicode strings in C locale


From: Richard Hansen
Subject: bug#17249: 24.3; segfault with certain unicode strings in C locale
Date: Mon, 14 Apr 2014 00:56:28 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 2014-04-12 03:23, Eli Zaretskii wrote:
>> From: Richard Hansen <address@hidden>
>> Date: Sat, 12 Apr 2014 02:11:20 -0400
>>
>> I can get emacs to crash with these shell commands:
>>
>>     # generate a unicode string
>>     printf '\040\314\210\302\273\n' >crash-emacs.txt
>>     LC_ALL=C emacs -nw -Q +1:3 crash-emacs.txt
>>
>> If I set LC_ALL=en_US.utf8 then it does not crash.
> 
> I can reproduce this in Emacs 24.3, but not with the current
> development code, so I guess this was already fixed.

Thanks for checking!

I just did my own testing and agree that this has already been fixed.  I
checked out the latest emacs-24 branch of the Git repository
(git://git.savannah.gnu.org/emacs.git) and could not reproduce the
problem.  To ensure the crash in 24.3 wasn't due to certain arguments
passed to 'configure' (e.g., -fstack-protector in the CFLAGS used by
Ubuntu), I checked out the emacs-24.3 tag, ran 'configure' with the same
arguments I used to build the tip of the emacs-24 branch, and was still
able to reproduce the crash.

Thanks,
Richard





reply via email to

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