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

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

[debbugs-tracker] bug#21802: closed (25.0.50; segfault in regex.c trigge


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#21802: closed (25.0.50; segfault in regex.c triggered by an isearch)
Date: Wed, 25 Nov 2015 08:11:03 +0000

Your message dated Wed, 25 Nov 2015 00:10:25 -0800
with message-id <address@hidden>
and subject line Re: [Emacs-diffs] emacs-25 8e84823: Revert regexp reentrancy 
abort patch
has caused the debbugs.gnu.org bug report #21688,
regarding 25.0.50; segfault in regex.c triggered by an isearch
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
21688: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21688
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.50; segfault in regex.c triggered by an isearch Date: Sun, 01 Nov 2015 01:36:45 -0800
Hi. I'm running a recent emacs built from git:

  https://github.com/emacs-mirror/emacs/commit/6e2a402

I'm on a Debian machine, running the GTK build of emacs. Segfault
recipe:

1. emacs -Q /tmp/feedgnuplot (source attached)
2. M-x cperl-mode
3. C-s last if /^exit/ C-s

   Type out the string "last if /^exit/". It may crash while you're
   typing it, or it may reach the end of the string in the match on line
   431. Hit C-s again after you typed it. If it didn't crash already,
   the extra C-s makes it crash.

I haven't done any debugging other than to look at the backtrace.
Relevant chunks:

    #0  0x00007ffff03f8107 in __GI_raise (address@hidden) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
    #1  0x00007ffff03f94e8 in __GI_abort () at abort.c:89
    #2  0x000000000053c3e5 in re_match_2_internal (address@hidden, 
address@hidden "#!/usr/bi:HiRes qw( usleep gettimeofday tv_interval );\nuse 
IO::Handle;\nuse List::Util qw( "..., address@hidden, strinrnings;\nuse 
Getopt::Long;\nuse Time::HiRes qw( usleep gettimeofday tv_interval );\nuse 
IO::Handle;\nuse List::Util
    #3  0x0000000000543b52 in re_search_2 (address@hidden, address@hidden 
"#!/usr/bin/perl\n\npackeep gettimeofday tv_interval );\nuse IO::Handle;\nuse 
List::Util qw( "..., address@hidden, address@hidden:Long;\nuse Time::HiRes qw( 
usleep gettimeofday tv_interval );\nuse IO::Handle;\nuse List::Util qw( "..., 
size2=siz
    #4  0x0000000000539522 in search_buffer (address@hidden, pos=<optimized 
out>, pos_byte=<optimized out
        at search.c:1265
    #5  0x0000000000539e8f in search_command (string=42306836, bound=<optimized 
out>, noerror=44160, count=<optimized o
    #6  0x000000000053a08b in Fre_search_forward (regexp=<optimized out>, 
bound=<optimized out>, noerror=<optimized out

The significant-looking pieces are in regex.c and search.c.

Attachment: feedgnuplot
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: [Emacs-diffs] emacs-25 8e84823: Revert regexp reentrancy abort patch Date: Wed, 25 Nov 2015 00:10:25 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
Stefan Monnier wrote:
I think Bug#21688 can be re-closed.

Thanks, reclosing.


--- End Message ---

reply via email to

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