home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / lucidem / bug / 491 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  3.0 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!tik.vtt.fi!tik.vtt.fi!tml
  2. From: tml@tik.vtt.fi (Tor Lillqvist)
  3. Newsgroups: alt.lucid-emacs.bug
  4. Subject: Re: abort in xterm.c
  5. Date: 23 Jan 1993 00:11:26 GMT
  6. Organization: Technical Research Centre of Finland, Laboratory for Information
  7.     Processing (VTT/TIK)
  8. Lines: 79
  9. Message-ID: <TML.93Jan23021126@hemuli.tik.vtt.fi>
  10. References: <TML.93Jan22170445@tiuhti.tik.vtt.fi>
  11. NNTP-Posting-Host: tik.vtt.fi
  12. In-reply-to: tml@tik.vtt.fi's message of 22 Jan 1993 15:04:46 GMT
  13.  
  14. >>>>> On 22 Jan 1993 15:04:46 GMT, tml@tik.vtt.fi (Tor Lillqvist) said:
  15. > Mime-Version: 1.0
  16. > Content-Type: text/richtext
  17.  
  18. Oops, I didn't intend that The message wasn't richtext. Here is the
  19. message again, this time without the MIME headers. (I canceled the
  20. original.)
  21.  
  22. I compiled lemacs 19.4 on an hp9000s700 running HP-UX 8.07, with X11R5
  23. and Motif 1.2.1. The compilation went *very* smooth, great! I get an
  24. abort() in xterm.c:glyph_to_x_pixmap() while reading news with gnus.
  25. Here is some hopefully helpful information from the debugger:
  26.  
  27. Here we are:
  28.  
  29.     1867: 
  30.     1868: struct x_pixmap *
  31.     1869: glyph_to_x_pixmap (GLYPH g)
  32.     1870: {
  33.     1871:   struct x_pixmap *p;
  34. *   1872:   if (g >= max_pixmap_id)
  35.  1873:     abort ();
  36.     1874:   p = glyph_to_x_pixmaps_table [g];
  37.     1875:   if (! p) abort ();
  38.     1876:   if (g != p->glyph_id) abort ();
  39.     1877:   return p;
  40.     1878: }
  41.     1879: 
  42.  
  43. Some variables:
  44.  
  45. g = 110
  46. max_pixmap_id = 3
  47.  
  48. A backtrace:
  49.  
  50.  0 glyph_to_x_pixmap (g = 110)    [xterm.c: 1873]
  51.  1 x_write_glyphs (s = 0x400f3400, left = 90, top = 23, n = 1, force_gc =   00000000, box_p = 0)    [xterm.c: 721]
  52.  2 x_update_line (screen = 0x400f3400, vpos = 23, pix_y = 326)    [dispnew.c: 1476]
  53.  3 update_screen (s = 0x400f3400, force = 1, inhibit_hairy_id = 0)    [dispnew.c: 1645]
  54.  4 redisplay ()    [xdisp.c: 623]
  55.  
  56. One stack frame level up:
  57.  
  58.      718:         case glyph:
  59.      719:           {
  60.      720:             GLYPH index = s->current_glyphs->glyphs[top][left];
  61.   721:             struct x_pixmap *p = glyph_to_x_pixmap (index);
  62.      722:             int height = p->height;
  63.      723:             int bitmap_y_offset = 0;
  64.      724:             int y = pix_y;
  65.  
  66. Variables:
  67.  
  68. *s->current_glyphs:
  69.     height = 65;
  70.     width = 80;
  71.     used = 0x40141600;
  72.     glyphs = 0x40141400;
  73.     total_contents = 0x40122000;
  74.     enable = "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001";
  75.     bufp = 0x40141e00;
  76.     nruns = 0x40141000;
  77.     face_list = 0x40141800;
  78.     faces = 0x401ce000;
  79.     top_left_x = 0x400d9300;
  80.     top_left_y = 0x400d9200;
  81.     pix_width = 0x400d9100;
  82.     pix_height = 0x400d9400;
  83.     max_ascent = 0x40101a00;
  84.  
  85. top = 23
  86. left = 90
  87.  
  88. I hope this information helps in finding the bug.
  89. --
  90. Tor Lillqvist,
  91. working, but not speaking, for the Technical Research Centre of Finland,
  92. Laboratory for Information Processing (VTT/TIK).
  93.