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

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

Re: (void-function nil) error without backtrace


From: Robert Widhopf-Fenk
Subject: Re: (void-function nil) error without backtrace
Date: Thu, 26 Apr 2007 23:05:08 +0200

On Tuesday, April 24, 2007 at 12:03:44, Richard Stallman wrote:
>     Whenever I enable debug-on-error when running VM I get a
>     backtrace with the following content:
> 
> Please try running under GDB with a breakpoint at call_debugger
> and send the C-level backtrace made by the `backtrace' command.

It is below.

>     It was caused by a wrong toolbar item spec for the prop :button
>     and can be reproduced with GNU Emacs 22.0.92.1 and 21.4.1 on
>     Debian when adding the following to ~/.emacs:
> 
> It may be we don't need to fix this for Emacs 22, but we
> will want to fix it sooner or later, and further info will
> show us how to do that.

Bye
Robert

~ > gdb bin/emacs
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

(gdb) b call_debugger
Breakpoint 1 at 0x81527c9: file eval.c, line 265.
(gdb) r
Starting program: /home/widhopf/bin/emacs
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1214142784 (LWP 2016)]
[Switching to Thread -1214142784 (LWP 2016)]

Breakpoint 1, call_debugger (arg=139304085) at eval.c:265
265       int old_max = max_specpdl_size;
(gdb) bt
#0  call_debugger (arg=139304085) at eval.c:265
#1  0x08152bac in find_handler_clause (handlers=137512761, conditions=<value 
optimized out>, sig=<value optimized out>,
    data=139304613, debugger_value_ptr=0xbfac3a88) at eval.c:1920
#2  0x08153eb2 in Fsignal (error_symbol=137512857, data=139304613) at 
eval.c:1672
#3  0x08153ff8 in xsignal (error_symbol=137512857, data=139304613) at 
eval.c:1722
#4  0x081544f0 in xsignal1 (error_symbol=137512857, arg=137468105) at 
eval.c:1739
#5  0x08152f2c in Feval (form=141009453) at eval.c:2374
#6  0x08152391 in internal_condition_case_1 (bfun=0x8152c80 <Feval>, 
arg=141009453, handlers=137512761,
    hfun=0x80effb0 <menu_item_eval_property_1>) at eval.c:1529
#7  0x080f2f02 in menu_item_eval_property (sexpr=141009453) at keyboard.c:7429
#8  0x080f3124 in process_tool_bar_item (key=139960929, def=141007877, 
data=137468105, args=0x0) at keyboard.c:8116
#9  0x080fe275 in map_keymap_item (fun=0x80f2f20 <process_tool_bar_item>, 
args=137468105, key=0, val=137904840, data=0x0)
    at keymap.c:677
#10 0x081000ff in map_keymap (map=<value optimized out>, fun=0x80f2f20 
<process_tool_bar_item>, args=137468105, data=0x0,
    autoload=1) at keymap.c:716
#11 0x080f29de in tool_bar_items (reuse=137468105, nitems=0xbfac3d78) at 
keyboard.c:7893
#12 0x08073737 in update_tool_bar (f=0x85bcbf0, save_match_data=0) at 
xdisp.c:9423
#13 0x0807d61e in prepare_menu_bars () at xdisp.c:9107
#14 0x08086c15 in redisplay_internal (preserve_echo_area=<value optimized out>) 
at xdisp.c:10944
#15 0x080f8902 in read_char (commandflag=1, nmaps=2, maps=0xbfac4b40, 
prev_event=137468105, used_mouse_menu=0xbfac4be8,
    end_time=0x0) at keyboard.c:2659
#16 0x080fb0d2 in read_key_sequence (keybuf=0xbfac4c94, bufsize=30, 
prompt=137468105, dont_downcase_last=0,
    can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9115
#17 0x080fcb85 in command_loop_1 () at keyboard.c:1618
#18 0x081525cb in internal_condition_case (bfun=0x80fc9f0 <command_loop_1>, 
handlers=137512761, hfun=0x80f7450 <cmd_error>)
    at eval.c:1481
#19 0x080f682e in command_loop_2 () at keyboard.c:1329
#20 0x0815268c in internal_catch (tag=137535305, func=0x80f6800 
<command_loop_2>, arg=137468105) at eval.c:1222
#21 0x080f7247 in command_loop () at keyboard.c:1296
#22 0x080f7628 in recursive_edit_1 () at keyboard.c:1006
#23 0x080f7716 in Frecursive_edit () at keyboard.c:1067
#24 0x08153ae5 in Ffuncall (nargs=1, args=0xbfac4fe0) at eval.c:2994
#25 0x0817e3fa in Fbyte_code (bytestr=136591347, vector=136591372, maxdepth=48) 
at bytecode.c:679
#26 0x08153048 in Feval (form=136591333) at eval.c:2334
#27 0x0815268c in internal_catch (tag=139712801, func=0x8152c80 <Feval>, 
arg=136591333) at eval.c:1222
#28 0x0817d67f in Fbyte_code (bytestr=136590995, vector=136591012, maxdepth=56) 
at bytecode.c:854
#29 0x08153594 in funcall_lambda (fun=136590948, nargs=1, 
arg_vector=0xbfac5304) at eval.c:3184
#30 0x081539ab in Ffuncall (nargs=2, args=0xbfac5300) at eval.c:3054
#31 0x0817e3fa in Fbyte_code (bytestr=136593779, vector=136593796, maxdepth=16) 
at bytecode.c:679
#32 0x08153594 in funcall_lambda (fun=136593732, nargs=1, 
arg_vector=0xbfac5424) at eval.c:3184
#33 0x081539ab in Ffuncall (nargs=2, args=0xbfac5420) at eval.c:3054
#34 0x0817e3fa in Fbyte_code (bytestr=136594091, vector=136594108, maxdepth=96) 
at bytecode.c:679
#35 0x08153594 in funcall_lambda (fun=136594060, nargs=1, 
arg_vector=0xbfac5564) at eval.c:3184
#36 0x081539ab in Ffuncall (nargs=2, args=0xbfac5560) at eval.c:3054
#37 0x0817e3fa in Fbyte_code (bytestr=136585355, vector=136585372, maxdepth=56) 
at bytecode.c:679
#38 0x08153594 in funcall_lambda (fun=136585332, nargs=0, 
arg_vector=0xbfac5694) at eval.c:3184
#39 0x081539ab in Ffuncall (nargs=1, args=0xbfac5690) at eval.c:3054
#40 0x0817e3fa in Fbyte_code (bytestr=136582395, vector=136582412, maxdepth=48) 
at bytecode.c:679
#41 0x08153594 in funcall_lambda (fun=136582372, nargs=0, 
arg_vector=0xbfac5760) at eval.c:3184
#42 0x081537a7 in apply_lambda (fun=136582372, args=137468105, eval_flag=1) at 
eval.c:3108
#43 0x08152e68 in Feval (form=139144397) at eval.c:2370
#44 0x080f3ee3 in top_level_2 () at keyboard.c:1338
#45 0x081525cb in internal_condition_case (bfun=0x80f3ed0 <top_level_2>, 
handlers=137512761, hfun=0x80f7450 <cmd_error>)
    at eval.c:1481
#46 0x080f67c1 in top_level_1 () at keyboard.c:1346
#47 0x0815268c in internal_catch (tag=137506745, func=0x80f6790 <top_level_1>, 
arg=137468105) at eval.c:1222
#48 0x080f727a in command_loop () at keyboard.c:1303
#49 0x080f7628 in recursive_edit_1 () at keyboard.c:1006
#50 0x080f7716 in Frecursive_edit () at keyboard.c:1067
#51 0x080ed7e2 in main (argc=Cannot access memory at address 0x0
) at emacs.c:1761
(gdb)      




reply via email to

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