Bug#559232: Backtrace information

brian m. carlson sandals at crustytoothpaste.ath.cx
Thu Dec 3 00:00:46 UTC 2009


Below is a backtrace of the two calls to g_set_prgname.  It appears that
gtk_init_check makes the call the first time, and then
gnome_program_init does it again.  Obviously, the gtk_init_check call is
essential so that vim can gracefully fall back to text mode.  I'm not
sure that there's any neat way to avoid the libgnome call, but it does
appear that libgnome and libgnomeui are going to die before GNOME 3.0,
so it might simply be better to get rid of vim-gnome in favor of
vim-gtk.

Breakpoint 1, IA__g_set_prgname (prgname=0x862ad0 "gvim") at /tmp/buildd/glib2.0-2.22.3/glib/gutils.c:1978
1978	/tmp/buildd/glib2.0-2.22.3/glib/gutils.c: No such file or directory.
	in /tmp/buildd/glib2.0-2.22.3/glib/gutils.c
(gdb) bt full
#0  IA__g_set_prgname (prgname=0x862ad0 "gvim") at /tmp/buildd/glib2.0-2.22.3/glib/gutils.c:1978
        already_set = <value optimized out>
#1  0x00007ffff6c01ee5 in IA__g_option_context_parse (context=0x859360, argc=0x82f910, argv=0x82f908, error=0x7fffffffdf28)
    at /tmp/buildd/glib2.0-2.22.3/glib/goption.c:1708
        i = <value optimized out>
        j = <value optimized out>
        k = <value optimized out>
        list = <value optimized out>
#2  0x00007ffff79122bf in IA__gtk_parse_args (argc=0x82f910, argv=0x82f908) at /tmp/buildd/gtk+2.0-2.18.4/gtk/gtkmain.c:922
        option_context = 0x859360
        gtk_group = <value optimized out>
        error = 0x0
#3  0x00007ffff7912319 in IA__gtk_init_check (argc=0x862ad0, argv=0x7fffffffe659) at /tmp/buildd/gtk+2.0-2.18.4/gtk/gtkmain.c:958
No locals.
#4  0x000000000059f319 in gui_mch_init_check () at gui_gtk_x11.c:1661
No locals.
#5  0x000000000059381f in gui_init_check () at gui.c:292
        result = 2
#6  0x00000000004c97a5 in main (argc=<value optimized out>, argv=<value optimized out>) at main.c:372
        fname = <value optimized out>
        params = {argc = 2, argv = 0x7fffffffe258, evim_mode = 0, use_vimrc = 0x0, n_commands = 0, commands = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
            0x0, 0x0, 0x0, 0x0}, cmds_tofree = "\000\000\000\000\000\000\000\000\000", n_pre_commands = 0, pre_commands = {0x0, 0x0, 0x0, 
            0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, edit_type = 1, tagname = 0x0, use_ef = 0x0, want_full_screen = 1, stdout_isatty = 1, 
          term = 0x0, ask_for_key = 0, no_swap_file = 0, use_debug_break_level = -1, window_count = -1, window_layout = 0, serverArg = 0, 
          serverName_arg = 0x0, serverStr = 0x0, serverStrEnc = 0x0, servername = 0x861910 "GVIM", diff_mode = 0, vi_mode = 0}
        i = <value optimized out>
(gdb) c
Continuing.

Breakpoint 1, IA__g_set_prgname (prgname=0x9c4ed0 "gvim") at /tmp/buildd/glib2.0-2.22.3/glib/gutils.c:1978
1978	in /tmp/buildd/glib2.0-2.22.3/glib/gutils.c
(gdb) bt full
#0  IA__g_set_prgname (prgname=0x9c4ed0 "gvim") at /tmp/buildd/glib2.0-2.22.3/glib/gutils.c:1978
        already_set = <value optimized out>
#1  0x00007ffff64a03a7 in gnome_program_preinit () from /usr/lib/libgnome-2.so.0
No symbol table info available.
#2  0x00007ffff64a132b in ?? () from /usr/lib/libgnome-2.so.0
No symbol table info available.
#3  0x00007ffff64a15bd in gnome_program_initv () from /usr/lib/libgnome-2.so.0
No symbol table info available.
#4  0x00007ffff64a16b4 in gnome_program_init () from /usr/lib/libgnome-2.so.0
No symbol table info available.
#5  0x000000000059cd29 in gui_mch_init () at gui_gtk_x11.c:3480
        vbox = <value optimized out>
#6  0x000000000059392f in gui_init () at gui.c:457
        wp = <value optimized out>
        recursive = 0
#7  0x000000000057dce5 in set_termname (term=0x9c3718 "gui") at term.c:1845
        termp = <value optimized out>
        builtin_first = 1
        termcap_cleared = 1
        width = 0
        height = 0
        error_msg = 0x0
        bs_p = <value optimized out>
        del_p = <value optimized out>
        tstrbuf = "\033[K\000\033[L\000\033[%p1%dL\000\033[M\000\033[%p1%dM\000\033[%i%p1%d;%p2%dr\000\033[H\033[2J\000\033[J\000\033[?25l\000\033[?25h\000\033[0m\000\033[7m\000\033[1m\000\033[m\000\033[7m\000\033[m\000\033[4m\000\033[%i%p1%d;%p2%dH\000\033M\000\033[%p1%dC\000\033[?5h$<100/>\033[?5l\000\033[?1h\033=\000\033[?1l\033>\000\033\067\033[?47h\000\033[2J\033[?47l\033\070\000\033[%?%p1%{"...
        string_names = {{dest = KS_CE, name = 0x5d3dab "ce"}, {dest = KS_AL, name = 0x5d3d9c "al"}, {dest = KS_CAL, name = 0x5c500f "AL"}, {
            dest = KS_DL, name = 0x5bb7f5 "dl"}, {dest = KS_CDL, name = 0x5d3ddd "DL"}, {dest = KS_CS, name = 0x5d3dc4 "cs"}, {dest = KS_CL, 
            name = 0x5d3db0 "cl"}, {dest = KS_CD, name = 0x5d3da6 "cd"}, {dest = KS_VI, name = 0x5d3e6e "vi"}, {dest = KS_VE, 
            name = 0x5d3e69 "ve"}, {dest = KS_MB, name = 0x5d3e05 "mb"}, {dest = KS_VS, name = 0x5d3e73 "vs"}, {dest = KS_ME, 
            name = 0x5d3e0f "me"}, {dest = KS_MR, name = 0x5d3e14 "mr"}, {dest = KS_MD, name = 0x5c2e6d "md"}, {dest = KS_SE, 
            name = 0x5d3e3c "se"}, {dest = KS_SO, name = 0x5d3e41 "so"}, {dest = KS_CZH, name = 0x5d3e91 "ZH"}, {dest = KS_CZR, 
            name = 0x5d3e96 "ZR"}, {dest = KS_UE, name = 0x5d3e5a "ue"}, {dest = KS_US, name = 0x5d3e5f "us"}, {dest = KS_UCE, 
            name = 0x5dd884 "Ce"}, {dest = KS_UCS, name = 0x5dd887 "Cs"}, {dest = KS_CM, name = 0x5d3db5 "cm"}, {dest = KS_SR, 
            name = 0x5d3e46 "sr"}, {dest = KS_CRI, name = 0x5d3e28 "RI"}, {dest = KS_VB, name = 0x5d3e64 "vb"}, {dest = KS_KS, 
            name = 0x5d3dfb "ks"}, {dest = KS_KE, name = 0x5d3df6 "ke"}, {dest = KS_TI, name = 0x5d3e55 "ti"}, {dest = KS_TE, 
            name = 0x5d3e50 "te"}, {dest = KS_BC, name = 0x5d3da1 "bc"}, {dest = KS_CSB, name = 0x5d3e32 "Sb"}, {dest = KS_CSF, 
            name = 0x5d3e37 "Sf"}, {dest = KS_CAB, name = 0x5d3d8d "AB"}, {dest = KS_CAF, name = 0x5d3d92 "AF"}, {dest = KS_LE, 
            name = 0x5c2bf8 "le"}, {dest = KS_ND, name = 0x5ce703 "nd"}, {dest = KS_OP, name = 0x5b3ad1 "op"}, {dest = KS_CRV, 
            name = 0x5b3b20 "RV"}, {dest = KS_CIS, name = 0x5d3df1 "IS"}, {dest = KS_CIE, name = 0x5d3dec "IE"}, {dest = KS_TS, 
---Type <return> to continue, or q <return> to quit---q
name = 0x5d3e4bQuit


-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20091203/adda15bc/attachment-0001.pgp>


More information about the pkg-vim-maintainers mailing list