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

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

bug#23949: 25.0.95; Regression in handling error caused by (string-match


From: Kaushal Modi
Subject: bug#23949: 25.0.95; Regression in handling error caused by (string-match-p "." nil)
Date: Tue, 12 Jul 2016 13:33:05 +0000

Hi Eli,

This is what I get (obviously odd-looking string):

(gdb) frame 9
#9  0x0000000000624397 in Fread_from_string (string=54138084, start=0, end=0) at lread.c:2075
2075      ret = read_internal_start (string, start, end);
(gdb) p string
$15 = 54138084
(gdb) xstring
$16 = (struct Lisp_String *) 0x33a14e0
"(nilory is relative, it is com"

Looks like the 'nil' argument in '(string-match-p "." nil)' somehow did this?

(BTW this debug session is on the 2f67f8a commit of master (very recent, today). But the bug is present on emacs-25 too.)

On Tue, Jul 12, 2016 at 9:14 AM Eli Zaretskii <eliz@gnu.org> wrote:
In this frame, please show the value of 'string', like this:

 (gdb) frame 9
 (gdb) p string
 (gdb) xstring
--

--
Kaushal Modi


reply via email to

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