emacs-devel
[Top][All Lists]
Advanced

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

Re: segfault in system-process-attributes on GNU/Linux


From: Bob Rogers
Subject: Re: segfault in system-process-attributes on GNU/Linux
Date: Sat, 23 Aug 2008 15:12:22 -0400

   From: Andreas Schwab <address@hidden>
   Date: Sat, 23 Aug 2008 20:05:29 +0200

   Bob Rogers <address@hidden> writes:

   > Interesting.  When I evaluate:
   >
   >    (system-process-attributes (emacs-pid))
   >
   > on my GNU/Linux system (openSUSE 10.2, kernel 2.6.18.2) using emacs
   > updated from trunk a few minutes ago, I get the segfault shown below.

   Fixed.

   Andreas.

Excellent; it works for me now.  Thanks.

   ================
   From: Eli Zaretskii <address@hidden>
   Date: Sat, 23 Aug 2008 20:40:51 +0300

   I cannot reproduce this on a GNU/Linux machine . . .

   I wonder how it can crash.  But then optimized builds tend to lie
   about line numbers.

I wondered, too, but can't seem to compile emacs with enough debugging
information; it finds the source file (at the same place you showed),
but doesn't even have debugging symbols:

        (gdb) p cmdsize
        No symbol "cmdsize" in current context.
        (gdb) 

I remember discussion of CFLAGS options for debugging, but can't find
the thread now.  I thought some writeup had been added to INSTALL.CVS or
"(emacs) Bugs", but can't find it there, either.

   In any case, any hints you may have for future debugging use would be
greatly appreciated.

                                        -- Bob (not a C programmer, but
                                           might be able to play one on TV)




reply via email to

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