From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: SEGV in enable_glyph_matrix_rows Date: Fri, 24 Sep 2004 15:44:37 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1096033525 3894 80.91.229.6 (24 Sep 2004 13:45:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2004 13:45:25 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 24 15:45:10 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAqNp-0004fp-00 for ; Fri, 24 Sep 2004 15:45:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAqTu-0003Bp-Ji for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2004 09:51:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAqTU-000303-Nf for emacs-devel@gnu.org; Fri, 24 Sep 2004 09:51:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAqTS-0002zO-Oo for emacs-devel@gnu.org; Fri, 24 Sep 2004 09:51:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAqTS-0002zL-Mv for emacs-devel@gnu.org; Fri, 24 Sep 2004 09:50:58 -0400 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CAqNL-0007fk-Ab for emacs-devel@gnu.org; Fri, 24 Sep 2004 09:44:39 -0400 Original-Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id B463AC63078 for ; Fri, 24 Sep 2004 15:44:37 +0200 (CEST) Original-To: emacs-devel@gnu.org X-Yow: Yow! I'm having a quadrophonic sensation of two winos alone in a steel mill! In-Reply-To: (Reiner Steib's message of "Fri, 24 Sep 2004 14:41:44 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27542 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27542 Reiner Steib writes: > Maybe I already did something wrong by using `pr' here: > > --8<---------------cut here---------------start------------->8--- > (gdb) p matrix > $1 =3D (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 ca= n 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. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."