From: "Jan Djärv" <jan.h.d@swipnet.se>
To: bob@rattlesnake.com
Cc: emacs-devel@gnu.org
Subject: Re: Emacs crashes, 07nov16
Date: Wed, 21 Nov 2007 08:42:09 +0100 [thread overview]
Message-ID: <4743E151.9050405@swipnet.se> (raw)
In-Reply-To: <m1IuVdi-002K4JC@rattlesnake.com>
Robert J. Chassell skrev:
> It does not look like this backtrace was made with (x-synchronize t)...
>
> Oops! I forgot. My apologies. Here it is again. It does not look
> any better. What would you like me to try next?
>
Hmm, it looks like someone is overwriting the stack. 77 is X_ImageText16
(XDrawImageString16) so some parameter to that call is bad. But where that
corruption happens is har to know. Try this:
(gdb) l x_draw_glyph_string_foreground
(gdb) l
<and more l until you see>:
1373 if (s->two_byte_p)
1374 XDrawImageString16 (s->display, s->window, s->gc, x,
1375 s->ybase - boff, s->char2b, s->nchars);
1376 else
1377 XDrawImageString (s->display, s->window, s->gc, x,
1378 s->ybase - boff, char1b, s->nchars);
<your line numbers may not be the same>
(gdb) b 1374
<i.e. the line that XDrawImageString16 is on. Not to be confused with
XDrawString16 that occurs a bit before this line>
(gdb) r
<Try to display the euro char, breakpoint should be hit>
(gdb) p *s
(gdb) p *s->font
(gdb) p *s->font_info
(gdb) p x
(gdb) p boff
No need to use x-synchronize for this.
Another thing you can try is another 20 -point font, like courier.
Jan D.
> (gdb) bt full
> #0 x_connection_closed (dpy=0x85b8b80, error_message=0xbfaef5e8 "X protocol error: BadValue (integer parameter out of range for operation) on protocol request 77") at xterm.c:7786
> dpyinfo = <value optimized out>
> frame = <value optimized out>
> tail = <value optimized out>
> #1 0x080cceea in x_error_quitter (display=0x85b8b80, error=0xbfaef89c) at xterm.c:7968
> buf = "BadValue (integer parameter out of range for operation)", '\0' <repeats 200 times>
> buf1 = "X protocol error: BadValue (integer parameter out of range for operation) on protocol request 77\000\000\000\000\n\f\220\2670mZ\b\300\220[\b\210\366\256\277\251\002\220\2670mZ\b\340\366\256\277 ", '\0' <repeats 11 times>, "\330\220[\b\214&\034\267$\233\232\267\000\000\000\000\200\213[\b\310\366\256\277\005\r\220\267\200\213[\b\340\366\256\277 \000\000\000$\233\232\267\000\000\000\000`\331\000\000\350\366\256\277\024A\212\267\200"...
> #2 0x080ccf40 in x_error_handler (display=0x85b8b80, error=0xbfaef89c) at xterm.c:7924
> No locals.
> #3 0xb78ff1ef in _XError () from /usr/lib/libX11.so.6
> No symbol table info available.
> #4 0xb7900dcb in _XReply () from /usr/lib/libX11.so.6
> No symbol table info available.
> #5 0xb78f80b8 in XSync () from /usr/lib/libX11.so.6
> No symbol table info available.
> #6 0xb78f8243 in ?? () from /usr/lib/libX11.so.6
> No symbol table info available.
> #7 0x085b8b80 in ?? ()
> No symbol table info available.
> #8 0x00000000 in ?? ()
> No symbol table info available.
> (gdb)
>
>
> Today's GNU Emacs CVS snapshot, Tue, 2007 Nov 20 11:48 UTC
> GNU Emacs 23.0.50.7 (i686-pc-linux-gnu, GTK+ Version 2.12.1)
> started in debugger with
> set args -i -q \
> --eval '(emacs-version t)' -bg DodgerBlue4 -fg white \
> -fn '-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1' \
> -geometry 80x44+660+51 -name '-q GNU Emacs in Debugger 4'
>
next prev parent reply other threads:[~2007-11-21 7:42 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 19:35 Emacs crashes, 07nov16 Robert J. Chassell
2007-11-18 13:01 ` Richard Stallman
2007-11-18 22:06 ` Robert J. Chassell
2007-11-19 12:25 ` Richard Stallman
2007-11-19 14:05 ` Robert J. Chassell
2007-11-20 3:59 ` Richard Stallman
2007-11-20 11:17 ` Robert J. Chassell
2007-11-20 12:08 ` Jan Djärv
2007-11-20 16:07 ` Robert J. Chassell
2007-11-21 7:42 ` Jan Djärv [this message]
2007-11-21 12:45 ` Robert J. Chassell
2007-11-21 15:13 ` Stefan Monnier
2007-11-22 7:07 ` Jan Djärv
2007-11-22 12:31 ` Robert J. Chassell
2007-11-22 13:13 ` Jan Djärv
2007-11-22 16:00 ` Robert J. Chassell
2007-11-23 9:45 ` Jan Djärv
2007-11-23 12:31 ` Robert J. Chassell
2007-11-23 12:46 ` David Kastrup
2007-11-23 14:54 ` Jan Djärv
2007-11-23 17:07 ` Robert J. Chassell
2007-11-24 9:20 ` Jan Djärv
2007-11-24 14:08 ` Robert J. Chassell
2007-11-26 14:54 ` Jan Djärv
2007-11-26 16:44 ` Robert J. Chassell
2007-11-26 19:04 ` Jan Djärv
2007-11-24 9:19 ` Jan Djärv
2007-11-21 12:04 ` Richard Stallman
2007-11-21 17:20 ` Robert J. Chassell
2007-11-22 7:07 ` Jan Djärv
2007-11-22 11:55 ` Robert J. Chassell
2007-11-19 20:37 ` RMAIL misbehaving (Was: Re: Emacs crashes, 07nov16) Alfred M. Szmidt
2007-11-21 12:05 ` Richard Stallman
2007-12-13 0:15 ` Alfred M. Szmidt
2007-12-14 10:10 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2007-11-19 0:30 Emacs crashes, 07nov16 Robert J. Chassell
2007-11-28 12:06 Robert J. Chassell
2007-11-28 17:49 ` Jan Djärv
2007-11-28 18:36 Robert J. Chassell
2007-11-29 6:51 ` Jan Djärv
2007-11-29 11:28 ` Robert J. Chassell
2007-11-29 12:05 ` Jan Djärv
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4743E151.9050405@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=bob@rattlesnake.com \
--cc=emacs-devel@gnu.org \
/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 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.