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: Sun, 13 Aug 2006 23:31:46 +0200


Am 13.08.2006 um 22:26 schrieb Nick Roberts:

What does the GDB command `xtype' say about that number?  You should
use it immediately after printing NAME:

  (gdb) pr name
  (gdb) xtype

I get consistently:

(gdb) print name
$3 = 60552283
(gdb) xtype
No enum type named Lisp_Type.

print is a GDB command, pr is a user defined in emacs/ src/.gdbinit. You need to run "gdb emacs" from that directory and enter the exact commands.


I think today is not my day to have success:

When entering static int load_pixmap (f, name, w_ptr, h_ptr):

Breakpoint 1, load_pixmap (f=0x9a8420, name=60552283, w_ptr=0x9f4d54, h_ptr=0x9f4d58) at xfaces.c:1163
    (gdb) pr name
    No symbol "print_output_debug_flag" in current context.
    (gdb) xtype
    The history is empty.


When entering int x_create_bitmap_from_file (f, file):

Breakpoint 3, x_create_bitmap_from_file (f=0x9a8420, file=60552283) at image.c:486
    (gdb) pr file
    No symbol "print_output_debug_flag" in current context.
    (gdb) xtype
    The history is empty.

Some lines later, at fd = openp (Vx_bitmap_file_path, file, Qnil, &found, Qnil):

    (gdb) pr file
    No symbol "print_output_debug_flag" in current context.
    (gdb) xtype
    The history is empty.


After bitmap_id = x_create_bitmap_from_file (f, name):

    (gdb) n
load_pixmap (f=0x9a8420, name=60552283, w_ptr=0x9f4d54, h_ptr=0x9f4d58) at xfaces.c:1188
    (gdb) pr name
    No symbol "print_output_debug_flag" in current context.
    (gdb) xtype
    The history is empty.


When entering add_to_log ("Invalid or undefined bitmap %s", name, Qnil):

    (gdb) fin
Run till exit from #0 add_to_log (format=0x28dc10 "Invalid or undefined bitmap %s", arg1=60552283, arg2=58721289) at xdisp.c:7169 load_pixmap (f=0x9a8420, name=60552283, w_ptr=0x9f4d54, h_ptr=0x9f4d58) at xfaces.c:1193
    (gdb) pr name
    No symbol "print_output_debug_flag" in current context.
    (gdb) xtype
    The history is empty.


Or am I doing something else stupid? The same answers are given at later occurrences, too. I am not that used to gdb any more ... (the emacs binary was compiled using `configure '--without-carbon' '--with- x' '--without-sound' '--without-pop' '--with-xpm' '--with-jpeg' '-- with-tiff' '--with-gif' '--with-png' '--enable-locallisppath=/Library/ Application Support/Emacs/calendar22:/Library/Application Support/ Emacs/preview:/Library/Application Support/Emacs/auctex/images:/ Library/Application Support/Emacs/auctex:/Library/Application Support/ Emacs' 'CFLAGS=-ggdb -pipe -O0' 'CPPFLAGS=-no-cpp-precomp -I/usr/ include/openssl -I/usr/local/include -I/sw/include -DUSE_ATSUI - DCOCOA -DSELECT_USE_CFSOCKET' 'LDFLAGS=-dead_strip -L/usr/X11R6/lib - L/usr/local/lib -L/sw/lib/ncurses -L/sw/lib'')

--
Greetings

  Pete

“I hope to die before I *have* to use Microsoft Word.”
     - Donald E. Knuth, 2001-10-02 in Tübingen.






reply via email to

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