all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* rev115543 (win7): C-x C-f causes SIGSEGV
@ 2013-12-16 15:31 Timur Aydin
  2013-12-16 16:11 ` Timur Aydin
  0 siblings, 1 reply; 3+ messages in thread
From: Timur Aydin @ 2013-12-16 15:31 UTC (permalink / raw)
  To: emacs-devel

rev115543: On Windows7, emacs -Q crashes with a SIGSEGV when attempting 
to visit a file. I have run emacs in gdb and here is the back trace:

timur@timur-PC /cygdrive/c/emacs/bin
$ gdb emacs.exe
GNU gdb (GDB) 7.5
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\bin\emacs.exe...done.
(gdb) r
Starting program: C:\emacs\bin\emacs.exe
[New Thread 6204.0x18a8]
[New Thread 6204.0x2690]
[New Thread 6204.0x128]
[New Thread 6204.0xdfc]

Program received signal SIGSEGV, Segmentation fault.
0x039df60d in __register_frame_info ()
(gdb) bt
#0  0x039df60d in __register_frame_info ()
(gdb) Cannot access memory at address 0x6

#0  0x039df60d in __register_frame_info ()
(gdb) Cannot access memory at address 0x6



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

* Re: rev115543 (win7): C-x C-f causes SIGSEGV
  2013-12-16 15:31 rev115543 (win7): C-x C-f causes SIGSEGV Timur Aydin
@ 2013-12-16 16:11 ` Timur Aydin
  2013-12-18 21:05   ` Timur Aydin
  0 siblings, 1 reply; 3+ messages in thread
From: Timur Aydin @ 2013-12-16 16:11 UTC (permalink / raw)
  To: emacs-devel

On 12/16/2013 5:31 PM, Timur Aydin wrote:
> rev115543: On Windows7, emacs -Q crashes with a SIGSEGV when attempting
> to visit a file. I have run emacs in gdb and here is the back trace:
>

One clarification, if emacs is invoked with the filename to visit on the 
command line:

$ emacs somefile.txt

Then there is no crash. But if emacs is invoked without any command line 
arguments:

$ emacs -Q

and then C-x C-f is used to visit a file, emacs crashes before the dired 
buffer is displayed.

-- 
Timur




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

* Re: rev115543 (win7): C-x C-f causes SIGSEGV
  2013-12-16 16:11 ` Timur Aydin
@ 2013-12-18 21:05   ` Timur Aydin
  0 siblings, 0 replies; 3+ messages in thread
From: Timur Aydin @ 2013-12-18 21:05 UTC (permalink / raw)
  To: emacs-devel

I have compiled emacs with CFLAGS="-O0 -g" and tested again. With these 
flags, the crash doesn't happen. So this might either be a timing 
related issue or an uninitialized variable type of problem.

Please let me know what kind of other tests I can run to narrow this down...

--
Timur



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

end of thread, other threads:[~2013-12-18 21:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16 15:31 rev115543 (win7): C-x C-f causes SIGSEGV Timur Aydin
2013-12-16 16:11 ` Timur Aydin
2013-12-18 21:05   ` Timur Aydin

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.