[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista
From: |
Eric Lilja |
Subject: |
Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista |
Date: |
Tue, 12 Feb 2008 10:49:29 +0100 |
User-agent: |
Thunderbird 2.0.0.9 (Windows/20071031) |
Eli Zaretskii wrote:
From: Eric Lilja <address@hidden>
Date: Mon, 11 Feb 2008 23:57:00 +0100
I'm doing a fresh build right now (I wonder if I should have disabled
the new font backend this time to see what happened, oh well).
The default is to build with font backend disabled, so if you didn't
_enable_ it, you are building without it.
Yes, sorry.
Could you explain how exactly I would do that in gdb?
From the src directory:
gdb ./oo-spd/i386/emacs.exe
(gdb) break init_user_info
(gdb) run -Q
Then, when it stops in init_user_info, type:
(gdb) until 619
(619 is the number of the line where it calls
get_sid_sub_authority_count.)
When it stops at line 619, type "step" repeatedly to step through
get_sid_sub_authority_count, and see what happens there.
If you compiled with optimizations, it could be that
get_sid_sub_authority_count is inlined, and you will have difficulties
stepping through it. If that happens, please recompile without
optimizations (edit gmake.defs to remove the -U2 compiler switch, then
run configure, make, make install to rebuild).
If I copy the source along with the binaries, will gdb be able to
find it and I can put a breakpoint in there?
If it doesn't find the sources, use the `dir' command to tell GDB
where to find the sources. This command accepts a name of a directory
and adds it to the list of directories where GDB looks for sources.
Btw, is that a 32-bit Vista or a 64-bit one?
It's a 32-bit vista. Here's my new gdb session:
$ gdb ./oo-spd/i386/emacs.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
Environment variable "DISPLAY" not defined.
TERM = cygwin
Breakpoint 1 at 0x114ad94: file w32fns.c, line 9317.
Breakpoint 2 at 0x10a01d4: file sysdep.c, line 1319.
(gdb) break init_user_info
Breakpoint 3 at 0x1080d4c: file w32.c, line 598.
(gdb) run -Q
Starting program: /home/mindcooler/emacs/src/oo-spd/i386/emacs.exe -Q
Loaded symbols for /cygdrive/c/Windows/system32/ntdll.dll
Loaded symbols for /cygdrive/c/Windows/system32/kernel32.dll
Loaded symbols for /cygdrive/c/Windows/system32/msvcrt.dll
Loaded symbols for /cygdrive/c/Windows/system32/advapi32.dll
Loaded symbols for /cygdrive/c/Windows/system32/rpcrt4.dll
Loaded symbols for
/cygdrive/c/Windows/WinSxS/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100/comctl32.d
ll
Loaded symbols for /cygdrive/c/Windows/system32/gdi32.dll
Loaded symbols for /cygdrive/c/Windows/system32/user32.dll
Loaded symbols for /cygdrive/c/Windows/system32/shlwapi.dll
Loaded symbols for /cygdrive/c/Windows/system32/comdlg32.dll
Loaded symbols for /cygdrive/c/Windows/system32/shell32.dll
Loaded symbols for /cygdrive/c/Windows/system32/mpr.dll
Loaded symbols for /cygdrive/c/Windows/system32/ole32.dll
Loaded symbols for /cygdrive/c/Windows/system32/winmm.dll
Loaded symbols for /cygdrive/c/Windows/system32/oleaut32.dll
Loaded symbols for /cygdrive/c/Windows/system32/oleacc.dll
Loaded symbols for /cygdrive/c/Windows/system32/winspool.drv
Breakpoint 3, init_user_info () at w32.c:598
598 DWORD length = sizeof (name), dlength = sizeof
(domain), trash;
(gdb) until 619
init_user_info () at w32.c:619
619 DWORD n_subauthorities =
(gdb) step
get_sid_sub_authority_count (pSid=0x82f288) at w32.c:388
388 {
(gdb) step
392 if (is_windows_9x () == TRUE)
(gdb) step
is_windows_9x () at w32.c:179
179 if (g_b_init_is_windows_9x == 0)
(gdb) step
190 }
(gdb) step
get_sid_sub_authority_count (pSid=0x82f288) at w32.c:396
396 if (g_b_init_get_sid_sub_authority_count == 0)
(gdb) step
404 if (s_pfn_Get_Sid_Sub_Authority_Count == NULL)
(gdb) step
408 return (s_pfn_Get_Sid_Sub_Authority_Count (pSid));
(gdb) step
409 }
(gdb) step
get_sid_sub_authority_count (pSid=0x0) at w32.c:408
408 return (s_pfn_Get_Sid_Sub_Authority_Count (pSid));
(gdb) step
0x77df986b in ntdll!_fltused ()
(gdb) step
Single stepping until exit from function ntdll!_fltused,
which has no line number information.
Program received signal SIGSEGV, Segmentation fault.
0x77df9871 in ntdll!_fltused ()
(gdb)
Hope this helps!
- Eric
- emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eric Lilja, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Jason Rumney, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eric Lilja, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Jason Rumney, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eric Lilja, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Jason Rumney, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eric Lilja, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eli Zaretskii, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eric Lilja, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eli Zaretskii, 2008/02/11
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista,
Eric Lilja <=
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eli Zaretskii, 2008/02/13
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eric Lilja, 2008/02/13
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Juanma Barranquero, 2008/02/13
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eric Lilja, 2008/02/13
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Juanma Barranquero, 2008/02/13
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eric Lilja, 2008/02/13
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eric Lilja, 2008/02/13
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Jason Rumney, 2008/02/14
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eli Zaretskii, 2008/02/14
- Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista, Eli Zaretskii, 2008/02/14