unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15213: 24.3.50; emacs_backtrace.txt
@ 2013-08-30  4:52 Drew Adams
  2013-08-31  1:36 ` Juanma Barranquero
  0 siblings, 1 reply; 7+ messages in thread
From: Drew Adams @ 2013-08-30  4:52 UTC (permalink / raw)
  To: 15213



Backtrace:
0x011e6e89
0x011e6efb
0x010d9b0c
0x0114ee2f
0x01145048
0x0107c77c
0x011ad7f9
0x0116cfc9
0x0116c65f
0x011acacd
0x0116cfc9
0x0116c65f
0x011acacd
0x0116cfc9
0x0116c65f
0x0116be85
0x011646de
0x0116c478
0x011acacd
0x0116cc05
0x0116c65f
0x0116bf0e
0x010dddbf
0x0116928c
0x010dd24e
0x01168ba6
0x010dd1b5
0x010dc9bd
0x0111529a
0x01115b18
0x0116c5b2
0x011acacd
0x0116cfc9
0x0116c65f
0x011acacd
0x0116cfc9
0x0116c65f
0x011acacd
0x011abf84
0x0116b0b3
0x01168ba6
0x011ad6aa
0x0116cfc9
0x0116c65f
0x011acacd
0x0116cfc9
0x0116c65f
0x011acacd
0x011abf84
0x0116b0b3
0x01168ba6
0x011ad6aa
0x011abf84
0x0116b0b3
0x011691c2
0x011ad759
0x0116cfc9
0x0116c65f
0x011acacd
0x0116cfc9
0x0116c65f
0x011acacd
...




In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-08-23 on ODIEONE
Bzr revision: 113986 rgm@gnu.org-20130823185841-zoy6h1qk433ibrlf
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15213: 24.3.50; emacs_backtrace.txt
  2013-08-30  4:52 bug#15213: 24.3.50; emacs_backtrace.txt Drew Adams
@ 2013-08-31  1:36 ` Juanma Barranquero
  2013-08-31  7:02   ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Juanma Barranquero @ 2013-08-31  1:36 UTC (permalink / raw)
  To: Drew Adams; +Cc: 15213

> Backtrace:

w32_backtrace at w32fns.c:7982
emacs_abort at w32fns.c:8014
terminate_due_to_signal at emacs.c:369
die at alloc.c:6573
XWINDOW at lisp.h:799
temp_output_buffer_show at window.c:3360
exec_byte_code at bytecode.c:1119
funcall_lambda at eval.c:3087
Ffuncall at eval.c:2902
exec_byte_code at bytecode.c:905
funcall_lambda at eval.c:3087
Ffuncall at eval.c:2902
exec_byte_code at bytecode.c:905
funcall_lambda at eval.c:3087
Ffuncall at eval.c:2902
apply1 at eval.c:2619
Fcall_interactively at callint.c:378
Ffuncall at eval.c:2860
exec_byte_code at bytecode.c:905
funcall_lambda at eval.c:3021
Ffuncall at eval.c:2902
call1 at eval.c:2652
command_loop_1 at keyboard.c:1560
internal_condition_case at eval.c:1339
command_loop_2 at keyboard.c:1161
internal_catch at eval.c:1113
command_loop at keyboard.c:1132
recursive_edit_1 at keyboard.c:779
read_minibuf at minibuf.c:664
Fread_from_minibuffer at minibuf.c:962
Ffuncall at eval.c:2879
exec_byte_code at bytecode.c:905
funcall_lambda at eval.c:3087
Ffuncall at eval.c:2902
exec_byte_code at bytecode.c:905
funcall_lambda at eval.c:3087
Ffuncall at eval.c:2902
exec_byte_code at bytecode.c:905
Fbyte_code at bytecode.c:478
eval_sub at eval.c:2229
internal_catch at eval.c:1113
exec_byte_code at bytecode.c:1086
funcall_lambda at eval.c:3087
Ffuncall at eval.c:2902
exec_byte_code at bytecode.c:905
funcall_lambda at eval.c:3087
Ffuncall at eval.c:2902
exec_byte_code at bytecode.c:905
Fbyte_code at bytecode.c:478
eval_sub at eval.c:2229
internal_catch at eval.c:1113
exec_byte_code at bytecode.c:1086
Fbyte_code at bytecode.c:478
eval_sub at eval.c:2229
internal_lisp_condition_case at eval.c:1294
exec_byte_code at bytecode.c:1101
funcall_lambda at eval.c:3087
Ffuncall at eval.c:2902
exec_byte_code at bytecode.c:905
funcall_lambda at eval.c:3087
Ffuncall at eval.c:2902
exec_byte_code at bytecode.c:905
??
??:0





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15213: 24.3.50; emacs_backtrace.txt
  2013-08-31  1:36 ` Juanma Barranquero
@ 2013-08-31  7:02   ` Eli Zaretskii
  2013-08-31  8:16     ` martin rudalics
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2013-08-31  7:02 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: control, 15213

merge 15213 15183
thanks

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Sat, 31 Aug 2013 03:36:22 +0200
> Cc: 15213@debbugs.gnu.org
> 
> > Backtrace:
> 
> w32_backtrace at w32fns.c:7982
> emacs_abort at w32fns.c:8014
> terminate_due_to_signal at emacs.c:369
> die at alloc.c:6573
> XWINDOW at lisp.h:799
> temp_output_buffer_show at window.c:3360

Thanks for the annotations, Juanma.

This is the same as #15183, we hope Martin fixed that in revision
14005 (the backtrace was produced from revision 113986).





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15213: 24.3.50; emacs_backtrace.txt
  2013-08-31  7:02   ` Eli Zaretskii
@ 2013-08-31  8:16     ` martin rudalics
  2013-08-31  9:31       ` martin rudalics
  2013-08-31 16:52       ` Drew Adams
  0 siblings, 2 replies; 7+ messages in thread
From: martin rudalics @ 2013-08-31  8:16 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Juanma Barranquero, control, 15213

 >> w32_backtrace at w32fns.c:7982
 >> emacs_abort at w32fns.c:8014
 >> terminate_due_to_signal at emacs.c:369
 >> die at alloc.c:6573
 >> XWINDOW at lisp.h:799
 >> temp_output_buffer_show at window.c:3360
 >
 > Thanks for the annotations, Juanma.
 >
 > This is the same as #15183, we hope Martin fixed that in revision
 > 14005 (the backtrace was produced from revision 113986).

It's not related.  Basically, what happens here is that the window
produced by `display-buffer' for `temp-output-buffer-show' is not live.
This is a case `temp-output-buffer-show' doesn't handle, at least not on
trunk:

       window = display_buffer (buf, Qnil, Qnil);

       if (!EQ (XWINDOW (window)->frame, selected_frame))
	Fmake_frame_visible (WINDOW_FRAME (XWINDOW (window)));

But `temp-output-buffer-show' is obsolete since 24.3.  I suppose Drew
runs code byte-compiled with some pre 24.3 Emcas on trunk and either
does not produce a new window in `display-buffer' or delete it before
`temp-output-buffer-show' can deal with it.

martin





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15213: 24.3.50; emacs_backtrace.txt
  2013-08-31  8:16     ` martin rudalics
@ 2013-08-31  9:31       ` martin rudalics
  2013-08-31 16:52       ` Drew Adams
  1 sibling, 0 replies; 7+ messages in thread
From: martin rudalics @ 2013-08-31  9:31 UTC (permalink / raw)
  To: 15213-done; +Cc: Juanma Barranquero, control

> This is a case `temp-output-buffer-show' doesn't handle, at least not on
> trunk:
> 
>       window = display_buffer (buf, Qnil, Qnil);
> 
>       if (!EQ (XWINDOW (window)->frame, selected_frame))
>     Fmake_frame_visible (WINDOW_FRAME (XWINDOW (window)));

I checked in a fix for this (revision#114078 on trunk).  Bug closed.

Thanks, martin






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15213: 24.3.50; emacs_backtrace.txt
  2013-08-31  8:16     ` martin rudalics
  2013-08-31  9:31       ` martin rudalics
@ 2013-08-31 16:52       ` Drew Adams
  2013-08-31 17:35         ` martin rudalics
  1 sibling, 1 reply; 7+ messages in thread
From: Drew Adams @ 2013-08-31 16:52 UTC (permalink / raw)
  To: martin rudalics, Eli Zaretskii; +Cc: Juanma Barranquero, control, 15213

Thanks for fixing the bug(s).

15213 and 15183 were merged.  Not sure whether your "It's not related."
means that those are two different bugs or that your previous fix for
15183 is unrelated to 15213.

Anyway, I just wanted to point out, relative to your guess that this
might be a result of my using a file compiled in an earlier Emacs
release, that 15183 was from emacs -Q, and IIRC none of my code was
ever loaded in that session.  The crash came very soon after emacs -Q.

(Also, FWIW, I have no code that calls `temp-output-buffer-show'.
But of course it might be called by other code, including vanilla code
from a previous release, as you suggest.)

HTH.

>  > This is the same as #15183, we hope Martin fixed that in revision
>  > 14005 (the backtrace was produced from revision 113986).
> 
> It's not related.  Basically, what happens here is that the window
> produced by `display-buffer' for `temp-output-buffer-show' is not live.
> This is a case `temp-output-buffer-show' doesn't handle, at least not on
> trunk:
>        window = display_buffer (buf, Qnil, Qnil);
> 
>        if (!EQ (XWINDOW (window)->frame, selected_frame))
> 	Fmake_frame_visible (WINDOW_FRAME (XWINDOW (window)));
> 
> But `temp-output-buffer-show' is obsolete since 24.3.  I suppose Drew
> runs code byte-compiled with some pre 24.3 Emcas on trunk and either
> does not produce a new window in `display-buffer' or delete it before
> `temp-output-buffer-show' can deal with it.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#15213: 24.3.50; emacs_backtrace.txt
  2013-08-31 16:52       ` Drew Adams
@ 2013-08-31 17:35         ` martin rudalics
  0 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2013-08-31 17:35 UTC (permalink / raw)
  To: Drew Adams; +Cc: Juanma Barranquero, 15213

 > 15213 and 15183 were merged.  Not sure whether your "It's not related."
 > means that those are two different bugs

They are different bugs although both end up crashing when trying to
dereference a nil window pointer.

 > or that your previous fix for
 > 15183 is unrelated to 15213.

It is unrelated.

 > Anyway, I just wanted to point out, relative to your guess that this
 > might be a result of my using a file compiled in an earlier Emacs
 > release, that 15183 was from emacs -Q, and IIRC none of my code was
 > ever loaded in that session.  The crash came very soon after emacs -Q.

I've been talking exclusively about bug#15213 here.

 > (Also, FWIW, I have no code that calls `temp-output-buffer-show'.
 > But of course it might be called by other code, including vanilla code
 > from a previous release, as you suggest.)

Current trunk nowhere calls `temp-output-buffer-show' so it must come
from a previous release.

martin





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-31 17:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-30  4:52 bug#15213: 24.3.50; emacs_backtrace.txt Drew Adams
2013-08-31  1:36 ` Juanma Barranquero
2013-08-31  7:02   ` Eli Zaretskii
2013-08-31  8:16     ` martin rudalics
2013-08-31  9:31       ` martin rudalics
2013-08-31 16:52       ` Drew Adams
2013-08-31 17:35         ` martin rudalics

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).