all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Master segfaults on Windows XP when running gdb
@ 2017-02-26  8:16 martin rudalics
  2017-02-26 10:29 ` Richard Copley
  0 siblings, 1 reply; 4+ messages in thread
From: martin rudalics @ 2017-02-26  8:16 UTC (permalink / raw)
  To: emacs-devel

On Windos XP today's master causes

M-x gdb RET -i=mi c:/emacs-git/trunk/dbg/src/emacs.exe RET

to segfault as follows:

Current directory is c:/emacs-git/trunk/src/
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:\emacs-git\trunk\dbg\src\emacs.exe...done.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = w32
TERM = emacs
(gdb) run -Q
Starting program: c:\emacs-git\trunk\dbg\src\emacs.exe -Q
[New Thread 3148.0x4a4]
warning: Enabling Low Fragmentation Heap failed: error 31
[New Thread 3148.0xe10]
[New Thread 3148.0x718]
[New Thread 3148.0x98c]
[New Thread 3148.0x878]
[New Thread 3148.0x99c]
[New Thread 3148.0xa40]
[New Thread 3148.0x3c8]
[New Thread 3148.0x598]
[New Thread 3148.0x91c]

Program received signal SIGSEGV, Segmentation fault.
0x0114c7ae in buffer_window_count (b=0x0) at ../../src/buffer.h:1228
1228	  if (b->base_buffer)
(gdb) bt
#0  0x0114c7ae in buffer_window_count (b=0x0) at ../../src/buffer.h:1228
#1  0x0102aa4c in bset_redisplay (b=0x0) at ../../src/xdisp.c:604
#2  0x0105f1b0 in overlay_arrows_changed_p (set_redisplay=true) at ../../src/xdisp.c:13361
#3  0x01060b30 in redisplay_internal () at ../../src/xdisp.c:13791
#4  0x0106298f in redisplay_preserve_echo_area (from_where=2) at ../../src/xdisp.c:14389
#5  0x01010b90 in Fredisplay (force=...) at ../../src/dispnew.c:5792
#6  0x01227c0e in funcall_subr (subr=0x1363100, numargs=0, args=0x82e068) at ../../src/eval.c:2840
#7  0x012276a4 in Ffuncall (nargs=1, args=0x82e060) at ../../src/eval.c:2765
#8  0x012860e3 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x82e590) at ../../src/bytecode.c:641
#9  0x012286c8 in funcall_lambda (fun=..., nargs=1, arg_vector=0x82e588) at ../../src/eval.c:2965
#10 0x012276e8 in Ffuncall (nargs=2, args=0x82e580) at ../../src/eval.c:2767
#11 0x012860e3 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=3, args=0x82ecc8) at ../../src/bytecode.c:641
#12 0x012286c8 in funcall_lambda (fun=..., nargs=3, arg_vector=0x82ecb0) at ../../src/eval.c:2965
#13 0x012276e8 in Ffuncall (nargs=4, args=0x82eca8) at ../../src/eval.c:2767
#14 0x01219667 in Ffuncall_interactively (nargs=4, args=0x82eca8) at ../../src/callint.c:252
#15 0x01227b31 in funcall_subr (subr=0x1665200, numargs=4, args=0x82eca8) at ../../src/eval.c:2820
#16 0x012276a4 in Ffuncall (nargs=5, args=0x82eca0) at ../../src/eval.c:2765
#17 0x0122646b in Fapply (nargs=3, args=0x82efb0) at ../../src/eval.c:2396
#18 0x01219e43 in Fcall_interactively (function=..., record_flag=..., keys=...) at ../../src/callint.c:389
#19 0x01227c7f in funcall_subr (subr=0x1665220, numargs=3, args=0x82f1e0) at ../../src/eval.c:2845
#20 0x012276a4 in Ffuncall (nargs=4, args=0x82f1d8) at ../../src/eval.c:2765
#21 0x012860e3 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=1, args=0x82f740) at ../../src/bytecode.c:641
#22 0x012286c8 in funcall_lambda (fun=..., nargs=1, arg_vector=0x82f738) at ../../src/eval.c:2965
#23 0x012276e8 in Ffuncall (nargs=2, args=0x82f730) at ../../src/eval.c:2767
#24 0x01226d35 in call1 (fn=..., arg1=...) at ../../src/eval.c:2627
#25 0x011543aa in command_loop_1 () at ../../src/keyboard.c:1484
#26 0x01221f56 in internal_condition_case (bfun=0x1153928 <command_loop_1>, handlers=..., hfun=0x1152bc0 <cmd_error>) at ../../src/eval.c:1324
#27 0x011533c2 in command_loop_2 (ignore=...) at ../../src/keyboard.c:1112
#28 0x0122109e in internal_catch (tag=..., func=0x1153386 <command_loop_2>, arg=...) at ../../src/eval.c:1091
#29 0x01153348 in command_loop () at ../../src/keyboard.c:1091
#30 0x011525fc in recursive_edit_1 () at ../../src/keyboard.c:697
#31 0x01152895 in Frecursive_edit () at ../../src/keyboard.c:768
#32 0x0114ff93 in main (argc=2, argv=0xa32658) at ../../src/emacs.c:1688

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
"redisplay" (0x82e068)
"sit-for" (0x82e588)
"execute-extended-command" (0x82ecb0)
"funcall-interactively" (0x82eca8)
"call-interactively" (0x82f1e0)
"command-execute" (0x82f738)
(gdb)

martin



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

* Re: Master segfaults on Windows XP when running gdb
  2017-02-26  8:16 Master segfaults on Windows XP when running gdb martin rudalics
@ 2017-02-26 10:29 ` Richard Copley
  2017-02-26 17:54   ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Copley @ 2017-02-26 10:29 UTC (permalink / raw)
  To: martin rudalics, Stefan Monnier; +Cc: emacs-devel

On 26 February 2017 at 08:16, martin rudalics <rudalics@gmx.at> wrote:
> On Windos XP today's master causes
>
> M-x gdb RET -i=mi c:/emacs-git/trunk/dbg/src/emacs.exe RET
>
> to segfault as follows:
>

>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0114c7ae in buffer_window_count (b=0x0) at ../../src/buffer.h:1228
> 1228      if (b->base_buffer)
> (gdb) bt
> #0  0x0114c7ae in buffer_window_count (b=0x0) at ../../src/buffer.h:1228
> #1  0x0102aa4c in bset_redisplay (b=0x0) at ../../src/xdisp.c:604
> #2  0x0105f1b0 in overlay_arrows_changed_p (set_redisplay=true) at
> ../../src/xdisp.c:13361

commit dee8674414fae2323fd9cbf05aa762e72fa575e5
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date:   Thu Feb 23 21:17:04 2017 -0500

    Minor redisplay optimisations

?



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

* Re: Master segfaults on Windows XP when running gdb
  2017-02-26 10:29 ` Richard Copley
@ 2017-02-26 17:54   ` Eli Zaretskii
  2017-02-27  8:04     ` martin rudalics
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2017-02-26 17:54 UTC (permalink / raw)
  To: Richard Copley; +Cc: rudalics, monnier, emacs-devel

> From: Richard Copley <rcopley@gmail.com>
> Date: Sun, 26 Feb 2017 10:29:07 +0000
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> On 26 February 2017 at 08:16, martin rudalics <rudalics@gmx.at> wrote:
> > On Windos XP today's master causes
> >
> > M-x gdb RET -i=mi c:/emacs-git/trunk/dbg/src/emacs.exe RET
> >
> > to segfault as follows:
> >
> 
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x0114c7ae in buffer_window_count (b=0x0) at ../../src/buffer.h:1228
> > 1228      if (b->base_buffer)
> > (gdb) bt
> > #0  0x0114c7ae in buffer_window_count (b=0x0) at ../../src/buffer.h:1228
> > #1  0x0102aa4c in bset_redisplay (b=0x0) at ../../src/xdisp.c:604
> > #2  0x0105f1b0 in overlay_arrows_changed_p (set_redisplay=true) at
> > ../../src/xdisp.c:13361
> 
> commit dee8674414fae2323fd9cbf05aa762e72fa575e5
> Author: Stefan Monnier <monnier@iro.umontreal.ca>
> Date:   Thu Feb 23 21:17:04 2017 -0500
> 
>     Minor redisplay optimisations
> 
> ?

Yes.  I think I fixed this now.

Thanks.



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

* Re: Master segfaults on Windows XP when running gdb
  2017-02-26 17:54   ` Eli Zaretskii
@ 2017-02-27  8:04     ` martin rudalics
  0 siblings, 0 replies; 4+ messages in thread
From: martin rudalics @ 2017-02-27  8:04 UTC (permalink / raw)
  To: Eli Zaretskii, Richard Copley; +Cc: monnier, emacs-devel

 > Yes.  I think I fixed this now.

Thanks for the fix.

martin



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

end of thread, other threads:[~2017-02-27  8:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-26  8:16 Master segfaults on Windows XP when running gdb martin rudalics
2017-02-26 10:29 ` Richard Copley
2017-02-26 17:54   ` Eli Zaretskii
2017-02-27  8:04     ` martin rudalics

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.