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: Kim F. Storm
Subject: Re: Building Emacs-cvs on Cygwin
Date: Mon, 25 Sep 2006 22:42:53 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Angelo Graziosi <address@hidden> writes:

> gdb ./emacs
> after a few seconds:
> ----------------------------------------------------------

> #0  0x200f213c in mark_object (arg=1569454217) at /tmp/emacs/src/alloc.c:5509
> #1  0x200f2a0f in Fgarbage_collect () at /tmp/emacs/src/alloc.c:5174
> #2  0x201064f3 in Feval (form=570000829) at /tmp/emacs/src/eval.c:2216
> #3  0x20105315 in internal_condition_case_1 (bfun=0x20106450 <Feval>, 
>     arg=570000829, 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=0x22b658)
>     at /tmp/emacs/src/keyboard.c:7732
> #8  0x2001d51f in update_tool_bar (f=0x20699600, save_match_data=0)
>     at /tmp/emacs/src/xdisp.c:9414
> #9  0x2002bc8f in prepare_menu_bars () at /tmp/emacs/src/xdisp.c:9098

> Then I have retried using 'r -Q':
> At this point, after 'return', I have waited more than 20 minutes!!! then


So might be something that you load ... 

> I have loaded some files and used 'M-x compile', and in a few secs:
> ----------------------------------------------------------------------

> #0  0x200f213c in mark_object (arg=1569454217) at /tmp/emacs/src/alloc.c:5509
> #1  0x200f2a0f in Fgarbage_collect () at /tmp/emacs/src/alloc.c:5174
> #2 0x201064f3 in Feval (form=569215053) at /tmp/emacs/src/eval.c:2216 
> #3 0x20105315 in
> internal_condition_case_1 (bfun=0x20106450 <Feval>,
>     arg=569215053, 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=0x22b648)
>     at /tmp/emacs/src/keyboard.c:7732
> #8  0x2001d51f in update_tool_bar (f=0x20699600, save_match_data=0)
>     at /tmp/emacs/src/xdisp.c:9414
> #9  0x2002bc8f in prepare_menu_bars () at /tmp/emacs/src/xdisp.c:9098

The strange thing here is that the crash happens in the same context both times,
that it is the same sexpr which is being evalled when it happens, _and_ it is
that very same object (sexpr) which is being marked in both cases.

So we need to track down what that object is and where it came from.

Can you try to debug that using the following gdb commands:

p arg
xpr

(and if possible, expand on the value depending on what type of object it is).



Also, can you try to disable the tool-bar and see if the problem still happens.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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