* Re: SEGV in enable_glyph_matrix_rows
[not found] <v9r7ot2guh.fsf@marauder.physik.uni-ulm.de>
@ 2004-09-24 12:08 ` Richard Stallman
2004-09-24 12:41 ` Reiner Steib
0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2004-09-24 12:08 UTC (permalink / raw
Cc: emacs-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SEGV in enable_glyph_matrix_rows
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
2004-09-25 15:34 ` Richard Stallman
0 siblings, 2 replies; 4+ messages in thread
From: Reiner Steib @ 2004-09-24 12:41 UTC (permalink / raw
Cc: emacs-devel
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SEGV in enable_glyph_matrix_rows
2004-09-24 12:41 ` Reiner Steib
@ 2004-09-24 13:44 ` Andreas Schwab
2004-09-25 15:34 ` Richard Stallman
1 sibling, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2004-09-24 13:44 UTC (permalink / raw
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."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SEGV in enable_glyph_matrix_rows
2004-09-24 12:41 ` Reiner Steib
2004-09-24 13:44 ` Andreas Schwab
@ 2004-09-25 15:34 ` Richard Stallman
1 sibling, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2004-09-25 15:34 UTC (permalink / raw
Cc: emacs-devel
Maybe I already did something wrong by using `pr' here:
Yes, because that value is not of type Lisp_Object.
(Lisp_Object shows up as int.)
You can get out of the frames made by `pr' by typing `return' at the
outermost of them.
If someone has time to help you debug this, he should write to you
and ask for your phone number. It would go too slow by email.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-09-25 15:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2004-09-25 15:34 ` Richard Stallman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.