From: Richard Hansen <rhansen@bbn.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17249@debbugs.gnu.org
Subject: bug#17249: 24.3; segfault with certain unicode strings in C locale
Date: Mon, 14 Apr 2014 00:56:28 -0400 [thread overview]
Message-ID: <534B6A7C.4010006@bbn.com> (raw)
In-Reply-To: <838urbt3jf.fsf@gnu.org>
On 2014-04-12 03:23, Eli Zaretskii wrote:
>> From: Richard Hansen <rhansen@bbn.com>
>> 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
next prev parent reply other threads:[~2014-04-14 4:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-12 6:11 bug#17249: 24.3; segfault with certain unicode strings in C locale Richard Hansen
2014-04-12 7:23 ` Eli Zaretskii
2014-04-14 4:56 ` Richard Hansen [this message]
2014-04-14 5:49 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=534B6A7C.4010006@bbn.com \
--to=rhansen@bbn.com \
--cc=17249@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).