emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Emacs-cvs on Cygwin


From: Angelo Graziosi
Subject: Re: Building Emacs-cvs on Cygwin
Date: Wed, 27 Sep 2006 20:14:56 +0200 (MET DST)


On Tue, 26 Sep 2006, Eli Zaretskii wrote:

> If none of the above helps get rid of the hang, try to edit the file
> src/.gdbinit so that it is left only with definitions of commands
> (each definition is a block that starts with "define" and ends with
> "end") and their documentation (blocks that start with "document"),
> and remove everything else.


Done!

This is the result:
------------------------------------------------------------------
cd /tmp/emacs/.build/src

$ gdb ./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"...
(gdb) r
Starting program: /tmp/emacs/.build/src/emacs.exe 
Loaded symbols for /c/WINDOWS/system32/ntdll.dll
Loaded symbols for /c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /c/WINDOWS/system32/advapi32.dll
Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll
Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
Loaded symbols for /usr/bin/cygjpeg-62.dll
Loaded symbols for /usr/bin/cygpng12.dll
Loaded symbols for /usr/bin/cygz.dll
Loaded symbols for /usr/bin/cygtiff-5.dll
Loaded symbols for /usr/bin/cygungif-4.dll
warning: NOD32 protected [MSAFD Tcpip [TCP/IP]]
warning: NOD32 protected [MSAFD Tcpip [UDP/IP]]
warning: NOD32 protected [MSAFD Tcpip [RAW/IP]]
warning: NOD32 protected [RSVP UDP Service Provider]
warning: NOD32 protected [RSVP TCP Service Provider]

[1]+  Stopped                 gdb ./emacs.exe


$ fg
gdb ./emacs.exe
---Type <return> to continue, or q <return> to quit---
----------------------------------------------------------------


after a few  minutes
----------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
0x200f217c in mark_object (arg=1569454217) at /tmp/emacs/src/alloc.c:5509
5509            MARK_INTERVAL_TREE (ptr->intervals);
(gdb) bt
#0  0x200f217c in mark_object (arg=1569454217) at
/tmp/emacs/src/alloc.c:5509
#1  0x200f2a4f in Fgarbage_collect () at /tmp/emacs/src/alloc.c:5174
#2  0x20106533 in Feval (form=572762717) at /tmp/emacs/src/eval.c:2216
#3  0x20105355 in internal_condition_case_1 (bfun=0x20106490 <Feval>, 
    arg=572762717, handlers=539914913, 
    hfun=0x200a4710 <menu_item_eval_property_1>) at
/tmp/emacs/src/eval.c:1525
#4  0x200a47a2 in menu_item_eval_property (sexpr=1569454217)
    at /tmp/emacs/src/keyboard.c:7270
#5  0x200b0d4e in get_keyelt (object=540146505, autoload=1)
    at /tmp/emacs/src/keymap.c:829
#6  0x200b13a3 in access_keymap (map=539846877, idx=539880097, t_ok=2, 
    noinherit=0, autoload=1) at /tmp/emacs/src/keymap.c:655
#7  0x200a5496 in tool_bar_items (reuse=536990456, nitems=0x22b698)
    at /tmp/emacs/src/keyboard.c:7732
#8  0x2001d51f in update_tool_bar (f=0x21933e00, save_match_data=0)
    at /tmp/emacs/src/xdisp.c:9414
#9  0x2002bc8f in prepare_menu_bars () at /tmp/emacs/src/xdisp.c:9098
#10 0x2002c8ec in redisplay_internal (preserve_echo_area=1569454217)
    at /tmp/emacs/src/xdisp.c:10935
#11 0x2002d08a in redisplay_preserve_echo_area (from_where=8)
    at /tmp/emacs/src/xdisp.c:11545
#12 0x200a7aec in detect_input_pending_run_timers (do_display=1)
    at /tmp/emacs/src/keyboard.c:10061
---Type <return> to continue, or q <return> to quit---
#13 0x2013a2a5 in wait_reading_process_output (time_limit=0, microsecs=0, 
    read_kbd=-1, do_display=1, wait_for_cell=539858945, wait_proc=0x0, 
    just_wait_proc=0) at /tmp/emacs/src/process.c:4665
#14 0x200a8e40 in read_char (commandflag=1, nmaps=2, maps=0x22c710, 
    prev_event=539858945, used_mouse_menu=0x22c758, end_time=0x0)
    at /tmp/emacs/src/keyboard.c:3988
#15 0x200ab88d in read_key_sequence (keybuf=0x22c8b0, bufsize=30, 
    prompt=539858945, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at /tmp/emacs/src/keyboard.c:8956
#16 0x200ad3d1 in command_loop_1 () at /tmp/emacs/src/keyboard.c:1601
#17 0x2010558f in internal_condition_case (bfun=0x200ad220
<command_loop_1>, 
    handlers=539914913, hfun=0x200a6c80 <cmd_error>)
    at /tmp/emacs/src/eval.c:1477
#18 0x200a0a8e in command_loop_2 () at /tmp/emacs/src/keyboard.c:1326
#19 0x2010524f in internal_catch (tag=1569454217, 
    func=0x200a0a60 <command_loop_2>, arg=539858945)
    at /tmp/emacs/src/eval.c:1218
#20 0x200a08a3 in command_loop () at /tmp/emacs/src/keyboard.c:1305
#21 0x200a0944 in recursive_edit_1 () at /tmp/emacs/src/keyboard.c:1003
#22 0x200a0a20 in Frecursive_edit () at /tmp/emacs/src/keyboard.c:1064
#23 0x2009fd9d in main (argc=1, argv=0x202ce840) at
/tmp/emacs/src/emacs.c:1794

(gdb) p arg

$1 = 1569454217

(gdb) xpr

Lisp_Symbol
$2 = (struct Lisp_Symbol *) 0x7d8bf888
Cannot access memory at address 0x7d8bf88c
(gdb) 
------------------------------------------------------------------



    Angelo.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]