From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: SEGV in enable_glyph_matrix_rows Date: Fri, 24 Sep 2004 14:41:44 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096029739 24558 80.91.229.6 (24 Sep 2004 12:42:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2004 12:42:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 24 14:42:08 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 1CApOq-0006tX-00 for ; Fri, 24 Sep 2004 14:42:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CApUv-0006Is-4J for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2004 08:48:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CApUm-0006Ia-QL for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:48:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CApUj-0006Hg-4G for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:48:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CApUj-0006Hd-1V for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:48:13 -0400 Original-Received: from [134.60.1.1] (helo=mail-new.rz.uni-ulm.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CApOV-0005V6-6S; Fri, 24 Sep 2004 08:41:47 -0400 Original-Received: from lumberjack.physik.uni-ulm.de (lumberjack.physik.uni-ulm.de [134.60.10.173]) by mail.uni-ulm.de (8.13.1/8.13.1) with ESMTP id i8OCfiK0026925; Fri, 24 Sep 2004 14:41:44 +0200 (MEST) Original-Received: by lumberjack.physik.uni-ulm.de (Postfix, from userid 170) id 4CDB318148; Fri, 24 Sep 2004 14:41:44 +0200 (CEST) Mail-Followup-To: rms@gnu.org, emacs-devel@gnu.org Original-To: Richard Stallman X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.; yo.b yq4$p; ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ In-Reply-To: (Richard Stallman's message of "Fri, 24 Sep 2004 08:08:56 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DCC-sonic.net-Metrics: gemini 1156; Body=2 Fuz1=2 Fuz2=2 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:27540 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27540 On Fri, Sep 24 2004, Richard Stallman wrote: > Can you investigate the data structure in this matrix that > is being cleared, and see what's invalid in it? > The backtrace suggests nothing except that you need to look > at that data. Sorry, I'm not familiar with debugging C programs. I don't know which data I need to look at and how (although I have read etc/DEBUG). Unless someone can tell me what to type at the gdb prompt, I'm afraid I cannot give more useful information. 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 The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on" Evaluation of the expression containing the function (debug_print) will be abandoned. (gdb) xtype Argument to arithmetic operation not a number or boolean. (gdb) p matrix No symbol "matrix" in current context. --8<---------------cut here---------------end--------------->8--- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/