Created
October 11, 2009 02:21
-
-
Save kana/207345 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kana@avril ~/working/config (2) [vim-ku-0.3] | |
YUKI.N> gdb ../vim-debug/src/vim | |
GNU gdb 6.3.50-20050815 (Apple version gdb-962) (Sat Jul 26 08:14:40 UTC 2008) | |
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 "i386-apple-darwin"...Reading symbols for shared libraries ..... done | |
(gdb) run -u NONE -N -e -s -c "source krash-tester.vim" | |
Starting program: /Users/kana/working/vim-debug/src/vim -u NONE -N -e -s -c "source krash-tester.vim" | |
Reading symbols for shared libraries ++++. done | |
===== "ku#omnifunc()" | |
TEST: nr2char(getchar(0)) ==> 'A' ... ok | |
TEST: nr2char(getchar(0)) ==> '' ... ok | |
TEST: ku#omnifunc(1, '') ==> 1 ... ok | |
TEST: ku#omnifunc(1, '') ==> 1 ... ok | |
TEST: ku#omnifunc(1, '') ==> 0 ... ok | |
TEST: ku#omnifunc(1, '') ==> 0 ... ok | |
TEST: nr2char(getchar(0)) ==> 'A' ... ok | |
TEST: nr2char(getchar(0)) ==> '' ... ok | |
TEST: ku#omnifunc(0, 'pattern') ==> [] ... ok | |
TEST: ku#define_source(source) ==> 1 ... ok | |
TEST: nr2char(getchar(0)) ==> 'A' ... ok | |
TEST: nr2char(getchar(0)) ==> '' ... ok | |
TEST: ku#omnifunc(0, 'pattern') ==> [{'word': 'pattern', 'abbr': 'pa'}] ... ok | |
TEST: ku#start() ==> 1 ... ok | |
TEST: nr2char(getchar(0)) ==> 'A' ... ok | |
TEST: nr2char(getchar(0)) ==> '' ... ok | |
Result: 16 / 16 | |
===== "s:candidates_from_pattern()" | |
Program received signal EXC_BAD_ACCESS, Could not access memory. | |
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004 | |
0x000a052a in hash_lookup (ht=0x816194, key=0x34d64d "NULL_KIND", hash=1109196512) at hashtab.c:156 | |
156 if (hi->hi_key == NULL) | |
(gdb) where | |
#0 0x000a052a in hash_lookup (ht=0x816194, key=0x34d64d "NULL_KIND", hash=1109196512) at hashtab.c:156 | |
#1 0x000a04fb in hash_find (ht=0x816194, key=0x34d64d "NULL_KIND") at hashtab.c:126 | |
#2 0x0002f902 in dict_find (d=0x816190, key=0x34d64d "NULL_KIND", len=-1) at eval.c:7030 | |
#3 0x000334f7 in f_extend (argvars=0xbfffa8b8, rettv=0xbfffaa38) at eval.c:9710 | |
#4 0x00030ffb in call_func (name=0x34a990 "extend", len=6, rettv=0xbfffaa38, argcount=3, argvars=0xbfffa8b8, firstline=1, lastline=1, doesrange=0xbfffaa34, evaluate=1, selfdict=0x0) at eval.c:8144 | |
#5 0x00030a71 in get_func_tv (name=0x34a990 "extend", len=6, rettv=0xbfffaa38, arg=0xbfffaa48, firstline=1, lastline=1, doesrange=0xbfffaa34, evaluate=1, selfdict=0x0) at eval.c:7961 | |
#6 0x00029d38 in ex_call (eap=0xbfffab04) at eval.c:3337 | |
#7 0x0005f5d5 in do_one_cmd (cmdlinep=0xbfffaf64, sourcing=1, cstack=0xbfffac60, fgetline=0x4646b <get_func_line>, cookie=0x80ba00) at ex_docmd.c:2627 | |
#8 0x0005c173 in do_cmdline (cmdline=0x0, getline=0x4646b <get_func_line>, cookie=0x80ba00, flags=7) at ex_docmd.c:1096 | |
#9 0x0004595e in call_user_func (fp=0x343170, argcount=0, argvars=0xbfffb3b8, rettv=0xbfffb538, firstline=1, lastline=1, selfdict=0x0) at eval.c:21284 | |
#10 0x00030efc in call_func (name=0x314cb0 "��P45_cmd_ResetContext", len=22, rettv=0xbfffb538, argcount=0, argvars=0xbfffb3b8, firstline=1, lastline=1, doesrange=0xbfffb534, evaluate=1, selfdict=0x0) at eval.c:8115 | |
#11 0x00030a71 in get_func_tv (name=0x314cb0 "��P45_cmd_ResetContext", len=22, rettv=0xbfffb538, arg=0xbfffb548, firstline=1, lastline=1, doesrange=0xbfffb534, evaluate=1, selfdict=0x0) at eval.c:7961 | |
#12 0x00029d38 in ex_call (eap=0xbfffb604) at eval.c:3337 | |
#13 0x0005f5d5 in do_one_cmd (cmdlinep=0xbfffba64, sourcing=1, cstack=0xbfffb760, fgetline=0x4646b <get_func_line>, cookie=0x80cc00) at ex_docmd.c:2627 | |
#14 0x0005c173 in do_cmdline (cmdline=0x346600 "call s:cmd_ResetContext()", getline=0x4646b <get_func_line>, cookie=0x80cc00, flags=11) at ex_docmd.c:1096 | |
#15 0x00066415 in do_ucmd (eap=0xbfffbbd4) at ex_docmd.c:6057 | |
#16 0x0005f5a8 in do_one_cmd (cmdlinep=0xbfffc034, sourcing=1, cstack=0xbfffbd30, fgetline=0x4646b <get_func_line>, cookie=0x80cc00) at ex_docmd.c:2618 | |
#17 0x0005c173 in do_cmdline (cmdline=0x0, getline=0x4646b <get_func_line>, cookie=0x80cc00, flags=7) at ex_docmd.c:1096 | |
#18 0x0004595e in call_user_func (fp=0x346690, argcount=0, argvars=0xbfffc488, rettv=0xbfffc608, firstline=1, lastline=1, selfdict=0x0) at eval.c:21284 | |
#19 0x00030efc in call_func (name=0x313f70 "��P46_test_s_candidates_from_pattern", len=36, rettv=0xbfffc608, argcount=0, argvars=0xbfffc488, firstline=1, lastline=1, doesrange=0xbfffc604, evaluate=1, selfdict=0x0) at eval.c:8115 | |
#20 0x00030a71 in get_func_tv (name=0x313f70 "��P46_test_s_candidates_from_pattern", len=36, rettv=0xbfffc608, arg=0xbfffc618, firstline=1, lastline=1, doesrange=0xbfffc604, evaluate=1, selfdict=0x0) at eval.c:7961 | |
#21 0x00029d38 in ex_call (eap=0xbfffc6d4) at eval.c:3337 | |
#22 0x0005f5d5 in do_one_cmd (cmdlinep=0xbfffcb34, sourcing=1, cstack=0xbfffc830, fgetline=0x5ce38 <get_loop_line>, cookie=0xbfffc7d8) at ex_docmd.c:2627 | |
#23 0x0005c173 in do_cmdline (cmdline=0x0, getline=0x4646b <get_func_line>, cookie=0x80c200, flags=7) at ex_docmd.c:1096 | |
#24 0x0004595e in call_user_func (fp=0x343320, argcount=0, argvars=0xbfffcf88, rettv=0xbfffd108, firstline=1, lastline=1, selfdict=0x0) at eval.c:21284 | |
#25 0x00030efc in call_func (name=0x348330 "��P45_cmd_Test", len=14, rettv=0xbfffd108, argcount=0, argvars=0xbfffcf88, firstline=1, lastline=1, doesrange=0xbfffd104, evaluate=1, selfdict=0x0) at eval.c:8115 | |
#26 0x00030a71 in get_func_tv (name=0x348330 "��P45_cmd_Test", len=14, rettv=0xbfffd108, arg=0xbfffd118, firstline=1, lastline=1, doesrange=0xbfffd104, evaluate=1, selfdict=0x0) at eval.c:7961 | |
#27 0x00029d38 in ex_call (eap=0xbfffd1d4) at eval.c:3337 | |
#28 0x0005f5d5 in do_one_cmd (cmdlinep=0xbfffd634, sourcing=1, cstack=0xbfffd330, fgetline=0x5a4c3 <getsourceline>, cookie=0xbfffdd28) at ex_docmd.c:2627 | |
#29 0x0005c173 in do_cmdline (cmdline=0x346330 "call s:cmd_Test()", getline=0x5a4c3 <getsourceline>, cookie=0xbfffdd28, flags=11) at ex_docmd.c:1096 | |
#30 0x00066415 in do_ucmd (eap=0xbfffd7a4) at ex_docmd.c:6057 | |
#31 0x0005f5a8 in do_one_cmd (cmdlinep=0xbfffdc04, sourcing=1, cstack=0xbfffd900, fgetline=0x5a4c3 <getsourceline>, cookie=0xbfffdd28) at ex_docmd.c:2618 | |
#32 0x0005c173 in do_cmdline (cmdline=0x343950 "\" Test: vim-ku core-internal-candidate", getline=0x5a4c3 <getsourceline>, cookie=0xbfffdd28, flags=7) at ex_docmd.c:1096 | |
#33 0x0005a176 in do_source (fname=0x306543 "test/vim-ku/core-internal-candidate.input", check_other=0, is_vimrc=0) at ex_cmds2.c:3116 | |
#34 0x0005995f in cmd_source (fname=0x306543 "test/vim-ku/core-internal-candidate.input", eap=0xbfffde64) at ex_cmds2.c:2737 | |
#35 0x000598ac in ex_source (eap=0xbfffde64) at ex_cmds2.c:2710 | |
#36 0x0005f5d5 in do_one_cmd (cmdlinep=0xbfffe2c4, sourcing=1, cstack=0xbfffdfc0, fgetline=0x5a4c3 <getsourceline>, cookie=0xbfffe3e8) at ex_docmd.c:2627 | |
#37 0x0005c173 in do_cmdline (cmdline=0x306280 " let &runtimepath = fnamemodify('vim/dot.vim', ':p') . ',' . $VIMRUNTIME", getline=0x5a4c3 <getsourceline>, cookie=0xbfffe3e8, flags=7) at ex_docmd.c:1096 | |
#38 0x0005a176 in do_source (fname=0x300be7 "krash-tester.vim", check_other=0, is_vimrc=0) at ex_cmds2.c:3116 | |
#39 0x0005995f in cmd_source (fname=0x300be7 "krash-tester.vim", eap=0xbfffe524) at ex_cmds2.c:2737 | |
#40 0x000598ac in ex_source (eap=0xbfffe524) at ex_cmds2.c:2710 | |
#41 0x0005f5d5 in do_one_cmd (cmdlinep=0xbfffe984, sourcing=1, cstack=0xbfffe680, fgetline=0, cookie=0x0) at ex_docmd.c:2627 | |
#42 0x0005c173 in do_cmdline (cmdline=0xbfffec66 "source krash-tester.vim", getline=0, cookie=0x0, flags=11) at ex_docmd.c:1096 | |
#43 0x0005b882 in do_cmdline_cmd (cmd=0xbfffec66 "source krash-tester.vim") at ex_docmd.c:702 | |
#44 0x000a8593 in exe_commands (parmp=0xbfffea74) at main.c:2697 | |
#45 0x000a5d0d in main (argc=8, argv=0xbfffeb48) at main.c:874 | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment