This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Variable "foo" is not available


Hi,

while running Emacs under gdb, I got the backtrace shown below with
many messages like `vector=Variable "vector" is not available'.
Eli Zaretskii suggested[1] to ask here what this means.

The gdb version is 6.2.1 (from SuSE Linux 9.2 AMD 64).  The gdb
session is still running, so I can provide more information if
requested.

Please Cc me on replies, I'm not subscribed to the list.

Bye, Reiner.

[1] http://thread.gmane.org/v9wtrniolo.fsf%40marauder.physik.uni-ulm.de

--8<---------------cut here---------------start------------->8---
GNU gdb 6.2.1
Copyright 2004 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 "x86_64-suse-linux"...Using host libthread_db library
 "/lib64/tls/libthread_db.so.1".

DISPLAY = :0.0
TERM = screen
Breakpoint 1 at 0x4e2f90: file [...]/emacs/src
/emacs.c, line 456.
Breakpoint 2 at 0x4bb620: file [...]/emacs/src
/xterm.c, line 7791.
(gdb) cd ~
(gdb) r -name Gnus -xrm 'Emacs.toolBar:1' -f gnus
Starting program: [...]/x86_64/src/emacs -name Gnus -xrm 'Emacs.toolBar:1' -f gnus
[Thread debugging using libthread_db enabled]
[New Thread 182940272320 (LWP 2719)]
Detaching after fork from child process 2722.
[...]
Detaching after fork from child process 19927.
[Switching to Thread 182940272320 (LWP 2719)]

Breakpoint 1, abort ()
    at [...]/emacs/src/emacs.c:456
456     {
(gdb) xbacktrace 
[...]
(gdb) bt
#0  abort () at [...]/emacs/src/emacs.c:456
#1  0x0000000000539245 in Fgarbage_collect ()
    at [...]/emacs/src/alloc.c:4742
#2  0x000000000057a1d4 in Fbyte_code (bytestr=9727377, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:531
#3  0x000000000054d59d in funcall_lambda (fun=29850740, nargs=1, 
    arg_vector=0x7fbfffb198)
    at [...]/emacs/src/eval.c:2974
#4  0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#5  0x0000000000579cc9 in Fbyte_code (bytestr=9727377, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#6  0x000000000054d150 in Feval (form=Variable "form" is not available.
)
    at [...]/emacs/src/eval.c:2138
#7  0x000000000054fcb8 in Fcondition_case (args=Variable "args" is not available.
)
    at [...]/emacs/src/eval.c:1332
#8  0x000000000057925f in Fbyte_code (bytestr=29655265, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:864
#9  0x000000000054d59d in funcall_lambda (fun=29688788, nargs=3, 
    arg_vector=0x7fbfffb6f8)
    at [...]/emacs/src/eval.c:2974
#10 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#11 0x0000000000579cc9 in Fbyte_code (bytestr=11494737, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#12 0x000000000054d59d in funcall_lambda (fun=29857172, nargs=3, 
    arg_vector=0x7fbfffb8a8)
    at [...]/emacs/src/eval.c:2974
#13 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#14 0x0000000000579cc9 in Fbyte_code (bytestr=25161265, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#15 0x000000000054d59d in funcall_lambda (fun=29855572, nargs=2, 
    arg_vector=0x7fbfffba78)
    at [...]/emacs/src/eval.c:2974
#16 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#17 0x0000000000579cc9 in Fbyte_code (bytestr=25161313, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#18 0x000000000054d150 in Feval (form=Variable "form" is not available.
)
    at [...]/emacs/src/eval.c:2138
#19 0x000000000054fcb8 in Fcondition_case (args=Variable "args" is not available.
)
    at [...]/emacs/src/eval.c:1332
#20 0x000000000057925f in Fbyte_code (bytestr=29643537, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:864
#21 0x000000000054d150 in Feval (form=Variable "form" is not available.
)
    at [...]/emacs/src/eval.c:2138
#22 0x000000000054c960 in internal_catch (tag=Variable "tag" is not available.
)
    at [...]/emacs/src/eval.c:1144
#23 0x00000000005792a9 in Fbyte_code (bytestr=29703713, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:849
#24 0x000000000054d59d in funcall_lambda (fun=29708644, nargs=4, 
    arg_vector=0x7fbfffc318)
    at [...]/emacs/src/eval.c:2974
#25 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#26 0x0000000000579cc9 in Fbyte_code (bytestr=25161313, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#27 0x000000000054d59d in funcall_lambda (fun=25163556, nargs=3, 
    arg_vector=0x7fbfffc4c8)
    at [...]/emacs/src/eval.c:2974
#28 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#29 0x0000000000579cc9 in Fbyte_code (bytestr=25161313, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#30 0x000000000054d59d in funcall_lambda (fun=29606004, nargs=3, 
    arg_vector=0x7fbfffc678)
    at [...]/emacs/src/eval.c:2974
#31 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#32 0x0000000000579cc9 in Fbyte_code (bytestr=25161313, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#33 0x000000000054d59d in funcall_lambda (fun=25163556, nargs=3, 
    arg_vector=0x7fbfffc828)
    at [...]/emacs/src/eval.c:2974
#34 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#35 0x0000000000579cc9 in Fbyte_code (bytestr=26679281, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#36 0x000000000054d59d in funcall_lambda (fun=25959284, nargs=1, 
    arg_vector=0x7fbfffc9d8)
    at [...]/emacs/src/eval.c:2974
#37 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#38 0x0000000000579cc9 in Fbyte_code (bytestr=25161265, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#39 0x000000000054d59d in funcall_lambda (fun=25961892, nargs=3, 
    arg_vector=0x7fbfffcb88)
    at [...]/emacs/src/eval.c:2974
#40 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#41 0x0000000000579cc9 in Fbyte_code (bytestr=26678705, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#42 0x000000000054d59d in funcall_lambda (fun=26442260, nargs=6, 
    arg_vector=0x7fbfffcd48)
    at [...]/emacs/src/eval.c:2974
---Type <return> to continue, or q <return> to quit---
#43 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#44 0x0000000000579cc9 in Fbyte_code (bytestr=26678705, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#45 0x000000000054d59d in funcall_lambda (fun=26439572, nargs=7, 
    arg_vector=0x7fbfffcf08)
    at [...]/emacs/src/eval.c:2974
#46 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#47 0x0000000000579cc9 in Fbyte_code (bytestr=26678705, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#48 0x000000000054d59d in funcall_lambda (fun=26681268, nargs=2, 
    arg_vector=0x7fbfffd0c8)
    at [...]/emacs/src/eval.c:2974
#49 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#50 0x0000000000579cc9 in Fbyte_code (bytestr=10171233, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#51 0x000000000054d59d in funcall_lambda (fun=26681684, nargs=1, 
    arg_vector=0x7fbfffd268)
    at [...]/emacs/src/eval.c:2974
#52 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#53 0x0000000000579cc9 in Fbyte_code (bytestr=10171233, vector=Variable "vector" is not available.
)
    at [...]/emacs/src/bytecode.c:686
#54 0x000000000054d59d in funcall_lambda (fun=37322420, nargs=1, 
    arg_vector=0x7fbfffd468)
    at [...]/emacs/src/eval.c:2974
#55 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available.
)
    at [...]/emacs/src/eval.c:2843
#56 0x000000000054a607 in Fcall_interactively (function=26577473, 
    record_flag=9609249, keys=48830452)
    at [...]/emacs/src/callint.c:884
#57 0x00000000004e8124 in Fcommand_execute (cmd=Variable "cmd" is not available.
)
    at [...]/emacs/src/keyboard.c:9697
#58 0x00000000004f4504 in command_loop_1 ()
    at [...]/emacs/src/keyboard.c:1792
#59 0x000000000054c811 in internal_condition_case (
    bfun=0x4f4130 <command_loop_1>, handlers=9720769, 
    hfun=0x4ee770 <cmd_error>)
    at [...]/emacs/src/eval.c:1385
#60 0x00000000004ed9fa in command_loop_2 ()
    at [...]/emacs/src/keyboard.c:1319
#61 0x000000000054c960 in internal_catch (tag=Variable "tag" is not available.
)
    at [...]/emacs/src/eval.c:1144
#62 0x00000000004ee408 in command_loop ()
    at [...]/emacs/src/keyboard.c:1298
#63 0x00000000004ee4a1 in recursive_edit_1 ()
    at [...]/emacs/src/keyboard.c:991
#64 0x00000000004ee5ce in Frecursive_edit ()
    at [...]/emacs/src/keyboard.c:1052
#65 0x00000000004e3dcd in main (argc=7, argv=0x7fbfffdfe8)
    at [...]/emacs/src/emacs.c:1767
--8<---------------cut here---------------end--------------->8---


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]