unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Subject: Re: SEGV in enable_glyph_matrix_rows
Date: Fri, 24 Sep 2004 15:44:37 +0200	[thread overview]
Message-ID: <jek6ujkchm.fsf@sykes.suse.de> (raw)
In-Reply-To: <v93c17bzzr.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Fri, 24 Sep 2004 14:41:44 +0200")

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> Maybe I already did something wrong by using `pr' here:
>
> --8<---------------cut here---------------start------------->8---
> (gdb) p matrix
> $1 = (struct glyph_matrix *) 0x9010000
> (gdb) pr
>
> Program received signal SIGPIPE, Broken pipe.
> 0x4070b3a8 in write () from /lib/libc.so.6

You need to make sure that the emacs process has a terminal before you can
use the pr command, because the actual output is produced by calling a
function in the running process.  If the process you are examining has
already crashed then you better not use that command.

> (gdb) xtype
> Argument to arithmetic operation not a number or boolean.

Both pr and xtype and also all the other x* commands expect that the last
printed value is a Lisp_Object.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2004-09-24 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <v9r7ot2guh.fsf@marauder.physik.uni-ulm.de>
2004-09-24 12:08 ` SEGV in enable_glyph_matrix_rows Richard Stallman
2004-09-24 12:41   ` Reiner Steib
2004-09-24 13:44     ` Andreas Schwab [this message]
2004-09-25 15:34     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jek6ujkchm.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).