(gdb) p tv->v_type $1 = VAR_OBJECT (gdb) p tv->vval.v_object->obj_class Cannot access memory at address 0x0 (gdb) p cl $2 = (class_T *) 0xa006c15e0 (gdb) p tv->vval.v_object->obj_refcount Cannot access memory at address 0x8
On Sat, Jul 26, 2025 at 12:29 AM Christian Brabandt <cbli...@256bit.org> wrote: > Hmm, this crashes in class_get_selfrefs() indicating perhaps patch > v9.1.1566. Can you attach gdb to Vim, cause the crash and when you are back > in gdb, print the values of the variables at line 3717? > > Thanks > Chris > > Am 26.07.2025 um 02:44 schrieb Christian J. Robinson <hept...@gmail.com>: > > > New backtrace attached. > > On Fri, Jul 25, 2025 at 6:21 PM Yegappan Lakshmanan <yegapp...@gmail.com> > wrote: > >> Hi, >> >> Can you build VIM with debug information (argument values) and collect >> the traceback? >> >> Thanks, >> Yegappan >> >> On Fri, Jul 25, 2025 at 4:54 PM Christian J. Robinson <hept...@gmail.com> >> wrote: >> >>> I really don't know what I'm doing when it comes to gdb, but this is the >>> backtrace: >>> >>> #0 0x0000000100637cf2 in class_unref.part () >>> #1 0x000000010063c466 in get_member_tv () >>> #2 0x000000010063c8a3 in class_object_index () >>> #3 0x0000000100459fd9 in handle_subscript () >>> #4 0x000000010045b005 in eval9 () >>> #5 0x000000010045b703 in eval7 () >>> #6 0x000000010045ba94 in eval6 () >>> #7 0x000000010045c46e in eval4 () >>> #8 0x000000010045c7d1 in eval3 () >>> #9 0x000000010045cbc8 in eval1 () >>> #10 0x000000010045dca2 in eval0_retarg () >>> #11 0x000000010045e692 in eval_to_string_eap () >>> #12 0x0000000100473738 in eval_one_expr_in_str () >>> #13 0x000000010061ef58 in eval_interp_string () >>> #14 0x000000010045b35d in eval9 () >>> #15 0x000000010045b703 in eval7 () >>> #16 0x000000010045bc50 in eval6 () >>> #17 0x000000010045c46e in eval4 () >>> #18 0x000000010045c7d1 in eval3 () >>> #19 0x000000010045cbc8 in eval1 () >>> #20 0x00000001004eea76 in eval_list () >>> #21 0x000000010045b09d in eval9 () >>> #22 0x000000010045b703 in eval7 () >>> #23 0x000000010045ba94 in eval6 () >>> #24 0x000000010045c46e in eval4 () >>> #25 0x000000010045c7d1 in eval3 () >>> #26 0x000000010045cbc8 in eval1 () >>> #27 0x000000010045dca2 in eval0_retarg () >>> #28 0x000000010045e43f in eval_expr_ext () >>> #29 0x000000010063aba4 in ex_class () >>> #30 0x0000000100495066 in do_cmdline () >>> #31 0x00000001005ac2d2 in do_source_ext () >>> #32 0x00000001005ae97a in do_source () >>> #33 0x0000000100661cbf in ex_import () >>> #34 0x0000000100495066 in do_cmdline () >>> #35 0x00000001005ac2d2 in do_source_ext () >>> #36 0x00000001005ae97a in do_source () >>> #37 0x0000000100642dc9 in find_imported () >>> #38 0x00000001004766e1 in eval_variable () >>> #39 0x000000010045b38a in eval9 () >>> #40 0x000000010045b703 in eval7 () >>> #41 0x000000010045ba94 in eval6 () >>> #42 0x000000010045c46e in eval4 () >>> #43 0x000000010045c7d1 in eval3 () >>> #44 0x000000010045cbc8 in eval1 () >>> #45 0x000000010045dca2 in eval0_retarg () >>> #46 0x000000010045de52 in eval0 () >>> [...] >>> >>> I have tried to create a reproducible scenario with a short script or >>> set of scripts, unsuccessfully. >>> >>> -- >>> Christian J. Robinson <hept...@gmail.com> >>> >>> -- >>> -- >>> You received this message from the "vim_dev" maillist. >>> Do not top-post! Type your reply below the text you are replying to. >>> For more information, visit http://www.vim.org/maillist.php >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "vim_dev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to vim_dev+unsubscr...@googlegroups.com. >>> To view this discussion visit >>> https://groups.google.com/d/msgid/vim_dev/CAK14FZJFYQqPqVfFv-ers8L9xspusBHDAk50ZTa0iqLj9bmOHQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/vim_dev/CAK14FZJFYQqPqVfFv-ers8L9xspusBHDAk50ZTa0iqLj9bmOHQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> -- >> You received this message from the "vim_dev" maillist. >> Do not top-post! Type your reply below the text you are replying to. >> For more information, visit http://www.vim.org/maillist.php >> >> --- >> You received this message because you are subscribed to the Google Groups >> "vim_dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to vim_dev+unsubscr...@googlegroups.com. >> To view this discussion visit >> https://groups.google.com/d/msgid/vim_dev/CAAW7x7nbVDC6PRQ1j%3Dw4rSTD8YQy913HDE2RJo0BUC-D6nk%3Dmg%40mail.gmail.com >> <https://groups.google.com/d/msgid/vim_dev/CAAW7x7nbVDC6PRQ1j%3Dw4rSTD8YQy913HDE2RJo0BUC-D6nk%3Dmg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Christian J. Robinson <hept...@gmail.com> > > -- > -- > You received this message from the "vim_dev" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vim_dev+unsubscr...@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/vim_dev/CAK14FZJ7%3DHS-GKVEq-yn_Cbjo0Cx-RT_adTh625u77ZPH5LnGg%40mail.gmail.com > <https://groups.google.com/d/msgid/vim_dev/CAK14FZJ7%3DHS-GKVEq-yn_Cbjo0Cx-RT_adTh625u77ZPH5LnGg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > <gdb.txt> > > -- > -- > You received this message from the "vim_dev" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vim_dev+unsubscr...@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/vim_dev/31BD27D4-B95A-4FF3-A9CF-3A3090A3894B%40256bit.org > <https://groups.google.com/d/msgid/vim_dev/31BD27D4-B95A-4FF3-A9CF-3A3090A3894B%40256bit.org?utm_medium=email&utm_source=footer> > . > -- Christian J. Robinson <hept...@gmail.com> -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/CAK14FZKvRdAdsVdL4cWgvbMn4gTP8w%2BN-AWbto4qgMaJZ8QnKA%40mail.gmail.com.