emacs-devel
[Top][All Lists]
Advanced

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

Re: inlinable functions instead of macros


From: Eli Zaretskii
Subject: Re: inlinable functions instead of macros
Date: Wed, 22 Aug 2012 19:03:57 +0300

> Date: Wed, 22 Aug 2012 02:28:52 -0700
> From: Paul Eggert <address@hidden>
> Cc: address@hidden
> 
> alloc.c:800: Emacs fatal error: assertion failed: 0 <= nitems && 0 < item_size
> ./temacs[0x5bbdaf]
> ./temacs[0x5bf5e2]
> ./temacs[0x549cbd]
> ./temacs[0x417681]
> /lib64/libc.so.6(__libc_start_main+0xed)[0x3b3082135d]
> ./temacs[0x418d85]
> 
> You can then find out the source locations corresponding to the
> backtrace by giving those addresses to the debugger, like this:
> 
> $ gdb temacs
> ...
> (gdb) b *0x5bbdaf
> Breakpoint 2 at 0x5bbdaf: file alloc.c, line 6698.
> (gdb) b *0x5bf5e2
> Breakpoint 3 at 0x5bf5e2: file alloc.c, line 802.
> (gdb) b *0x549cbd
> Breakpoint 4 at 0x549cbd: file emacs.c, line 1799.

Also, "l *0x5bbdaf" etc. will show source lines around the offending
line (6698 etc.).



reply via email to

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