GNU bug report logs -
#24281
25.1; (next-frame nil t) crashes
Previous Next
Reported by: martin rudalics <rudalics <at> gmx.at>
Date: Sun, 21 Aug 2016 17:17:01 UTC
Severity: normal
Found in version 25.1
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24281 in the body.
You can then email your comments to 24281 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24281
; Package
emacs
.
(Sun, 21 Aug 2016 17:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
martin rudalics <rudalics <at> gmx.at>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 21 Aug 2016 17:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
With emacs -Q evaluating (next-frame nil t) currently crashes as:
(gdb) bt
#0 terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:354
#1 0x011f1adf in die (msg=0x1642607 "0 <= n", file=0x1642600 "lisp.h", line=916) at alloc.c:7223
#2 0x01143da3 in XFASTINT (a=...) at lisp.h:916
#3 0x0101794f in candidate_frame (candidate=..., frame=..., minibuf=...) at frame.c:1311
#4 0x01017a53 in next_frame (frame=..., minibuf=...) at frame.c:1338
#5 0x01017f06 in Fnext_frame (frame=..., miniframe=...) at frame.c:1396
#6 0x0121e882 in eval_sub (form=...) at eval.c:2169
#7 0x0121d9f5 in Feval (form=..., lexical=...) at eval.c:1988
#8 0x0122085f in Ffuncall (nargs=3, args=0x82e0e8) at eval.c:2696
#9 0x0127d391 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x82e690) at bytecode.c:880
#10 0x01221620 in funcall_lambda (fun=..., nargs=1, arg_vector=0x82e688) at eval.c:2855
#11 0x01220c2e in Ffuncall (nargs=2, args=0x82e680) at eval.c:2742
#12 0x0127d391 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x82ed78) at bytecode.c:880
#13 0x01221620 in funcall_lambda (fun=..., nargs=1, arg_vector=0x82ed70) at eval.c:2855
#14 0x01220c2e in Ffuncall (nargs=2, args=0x82ed68) at eval.c:2742
#15 0x01212c52 in Ffuncall_interactively (nargs=2, args=0x82ed68) at callint.c:252
#16 0x012206cf in Ffuncall (nargs=3, args=0x82ed60) at eval.c:2673
#17 0x01215e4e in Fcall_interactively (function=..., record_flag=..., keys=...) at callint.c:840
#18 0x012208b6 in Ffuncall (nargs=4, args=0x82f1c8) at eval.c:2700
#19 0x0127d391 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x82f780) at bytecode.c:880
#20 0x01221620 in funcall_lambda (fun=..., nargs=1, arg_vector=0x82f778) at eval.c:2855
#21 0x01220c2e in Ffuncall (nargs=2, args=0x82f770) at eval.c:2742
#22 0x0121ff7f in call1 (fn=..., arg1=...) at eval.c:2552
#23 0x011515c3 in command_loop_1 () at keyboard.c:1479
#24 0x0121b4f2 in internal_condition_case (bfun=0x1150af7 <command_loop_1>, handlers=..., hfun=0x114fd8f <cmd_error>) at eval.c:1309
#25 0x01150591 in command_loop_2 (ignore=...) at keyboard.c:1107
#26 0x0121a696 in internal_catch (tag=..., func=0x1150555 <command_loop_2>, arg=...) at eval.c:1074
#27 0x01150517 in command_loop () at keyboard.c:1086
#28 0x0114f7a7 in recursive_edit_1 () at keyboard.c:692
#29 0x0114fa68 in Frecursive_edit () at keyboard.c:763
#30 0x0114d17e in main (argc=2, argv=0xa32658) at emacs.c:1626
Lisp Backtrace:
"next-frame" (0x82ded0)
"eval" (0x82e0f0)
"elisp--eval-last-sexp" (0x82e688)
"eval-last-sexp" (0x82ed70)
"funcall-interactively" (0x82ed68)
"call-interactively" (0x82f1d0)
"command-execute" (0x82f778)
(gdb)
In GNU Emacs 25.1.1 (i686-pc-mingw32)
of 2016-08-18 built on MACHNO
Repository revision: 8c2946e29b38fa3e0dff6b4d402ba0fda0e03c9b
Windowing system distributor 'Microsoft Corp.', version 5.1.2600
Configured using:
'configure --prefix=/c/emacs-git/next --with-wide-int
--enable-checking=yes --enable-check-lisp-object-type=yes 'CFLAGS=-O0
-g3''
Looks like an almost four years old bug. Still I think we should install
the below _before_ the release.
--- a/src/frame.c
+++ b/src/frame.c
@@ -1308,7 +1308,7 @@ candidate_frame (Lisp_Object candidate, Lisp_Object frame, Lisp_Object minibuf)
FRAME_FOCUS_FRAME (c)))
return candidate;
}
- else if (XFASTINT (minibuf) == 0)
+ else if (INTEGERP (minibuf) && XINT (minibuf) == 0)
{
if (FRAME_VISIBLE_P (c) || FRAME_ICONIFIED_P (c))
return candidate;
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24281
; Package
emacs
.
(Sun, 21 Aug 2016 18:51:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 24281 <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 21 Aug 2016 19:15:59 +0200
> From: martin rudalics <rudalics <at> gmx.at>
>
> Looks like an almost four years old bug. Still I think we should install
> the below _before_ the release.
If it's such an old bug, why before the release? We will never
release Emacs 25.1 this way. "There's always one more bug."
Please push to master.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24281
; Package
emacs
.
(Sun, 21 Aug 2016 23:53:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 24281 <at> debbugs.gnu.org (full text, mbox):
martin rudalics <rudalics <at> gmx.at> writes:
> With emacs -Q evaluating (next-frame nil t) currently crashes: *snip*
That didn't crash with git a4ba426d ("* lisp/emacs-lisp/map.el
(map--dispatch): Fix docstring") on my system.
Has this already been fixed? Or is it an oddity in differing
configurations?
--
~Robert Cochran
GPG Fingerprint - E778 2DD4 FEA6 6A68 6F26 AD2D E5C3 EB36 4886 8871
Reply sent
to
martin rudalics <rudalics <at> gmx.at>
:
You have taken responsibility.
(Mon, 22 Aug 2016 07:03:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
martin rudalics <rudalics <at> gmx.at>
:
bug acknowledged by developer.
(Mon, 22 Aug 2016 07:03:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 24281-done <at> debbugs.gnu.org (full text, mbox):
> Please push to master.
Done.
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24281
; Package
emacs
.
(Mon, 22 Aug 2016 07:04:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 24281 <at> debbugs.gnu.org (full text, mbox):
> That didn't crash with git a4ba426d ("* lisp/emacs-lisp/map.el
> (map--dispatch): Fix docstring") on my system.
>
> Has this already been fixed? Or is it an oddity in differing
> configurations?
I suppose yours is an optimized build. It doesn't crash there.
martin
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 19 Sep 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.