emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Invalid or undefined bitmap" when launched with -Q


From: Peter Dyballa
Subject: Re: "Invalid or undefined bitmap" when launched with -Q
Date: Fri, 18 Aug 2006 01:27:44 +0200

Hello!

I spent some more time on this issue and tried to find out which load_pixmap() call causes the messages. I think it happens in xfaces.c in realize_x_face() at line #7379. The first twelve or thirteen times (!NILP (stipple)) returns false, so that no pixmap gets loaded. Then the first frame appears. Then, at once, after ten more realize_x_face() calls, true is returned and the accident has happened. stipple is always printed as a number.

I used the command 'info locals' to see some information. The first almost 20 times this command returned data like this:

        face = (struct face *) 0x8ada50
        default_face = (struct face *) 0x804950
        f = (struct frame *) 0x8a8fa0
        stipple = 58721289
        overline = 58721289
        strike_through = 58721289
        box = 58721289

with repetitions. The first time (!NILP (stipple)) returns true I get from 'info locals':

        face = (struct face *) 0x8ab1c0
        default_face = (struct face *) 0x804950
        f = (struct frame *) 0x8a8fa0
        stipple = 59462331
        overline = 58721289
        strike_through = 58721289
        box = 58721289

(NILP (name)) on line #1163 in load_pixmap() evaluates to false. (CONSP (name)) on line #1169 evaluates to false, so x_create_bitmap_from_file() on line #1186 is called. In this function file has the same number stipple had. openp() on line #507 in x_create_bitmap_from_file() in image.c returns -1, so that x_create_bitmap_from_file() returns the same and so bitmap_id in load_pixmap() is -1. And because of that, add_to_log() gets called.

Does this mean that the file containing the stipple could not be found? (It's now time to have some sleep.)

--
Greetings

  Pete

If you're not confused, you're not paying attention.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]