Crash with vim 7.3 Beta

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Crash with vim 7.3 Beta

Christian Brabandt-2
I am not sure, if this is really a crash or simply just warnings, but
anyway, I can't use vim after the incident (since I loose the keyboard
control). Since the errors seem to appear in a GTK-functions, they may
as well be an error in there and not specifically vim related, but I
thought I let you know anyway.

It basically happened, after I did :r!ifconfig when viewing the readonly
file /etc/resolv.conf

I cannot always reproduce it, but it occurs every once in a while.


This was a fresh vim7.3 small version, compiled today after updating the hg repository:
:version
VIM - Vi IMproved 7.3 BETA (2010 May 15, compiled Jun  8 2010 08:19:05)
Compiled by chrisbra@t41
Small version with GTK2 GUI.  Features included (+) or not (-):
-arabic -autocmd -balloon_eval -browse +builtin_terms -byte_offset -cindent -clientserver +clipboard -cmdline_compl +cmdline_hist -cmdline_info -comments -conceal -cryptv
-cscope -cursorbind +cursorshape +dialog_gui -diff -digraphs +dnd -ebcdic -emacs_tags -eval -ex_extra -extra_search -farsi -file_in_path -find_in_path -float -folding -footer
+fork() -gettext -hangul_input +iconv -insert_expand +jumplist -keymap -langmap -libcall -linebreak -lispindent -listcmds -localmap -menu -mksession -modify_fname +mouse
-mouseshape -mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm -mouse_sysmouse -mouse_xterm +multi_byte -multi_lang -mzscheme -netbeans_intg -osfiletype -path_extra -perl
-persistent_undo -printer -profile -python -quickfix -reltime -rightleft -ruby -scrollbind -signs -smartindent -sniff -startuptime -statusline -sun_workshop -syntax -tag_binary
 -tag_old_static -tag_any_white -tcl +terminfo +termresponse -textobjects -title -toolbar -user_commands -vertsplit -virtualedit +visual -visualextra -viminfo -vreplace
+wildignore -wildmenu +windows +writebackup -X11 -xfontset +xim -xsmp -xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/home/chrisbra/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/inc
lude/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -g -
DDEBUG -Wall -Wshadow -Wmissing-prototypes
Linking: gcc   -L/usr/local/lib -o vim   -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lgio-2.0 -lpango-1.0 -lfreetype
 -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lm -lncurses -lselinux -lacl -lgpm
  DEBUG BUILD

The error message is (sorry for the chaotic formating, but this was
thrown to me like this):
             (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                                                                                                                                                                        (process:30149): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

                                                                                         (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                                                                   (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                                             (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                       (process:30149): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

                                                                                                                                                          (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                                                                                                                                    (process:30149): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

                                                                                      (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                                                                (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                                          (process:30149): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

                                                                                                                                                                             (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                                                                                                                                                       (process:30149): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

                                                                        (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                                                  (process:30149): GLib-GObject-CRITICAL **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init()

                            (process:30149): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

                                                                                                                                                               (process:30149): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

gdb Output:
Program received signal SIGINT, Interrupt.
0xb70e4d60 in g_slist_find () from /lib/libglib-2.0.so.0
(gdb) bt
#0  0xb70e4d60 in g_slist_find () from /lib/libglib-2.0.so.0
#1  0xb70f0392 in g_once_init_enter_impl () from /lib/libglib-2.0.so.0
#2  0xb7716288 in gtk_window_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#3  0xb754d001 in gtk_dialog_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#4  0xb75ec4f1 in gtk_message_dialog_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb75ecb0d in gtk_message_dialog_new () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x080e9d36 in create_message_dialog (type=2, title=0x80f7926 "Warning",
    message=0x92bcf88 "W12: Warning: File \"/etc/resolv.conf\" has changed and the buffer was changed in Vim as well\nSee \":help W12\" for more info.") at gui_gtk.c:1985
#7  0x080ea515 in gui_mch_dialog (type=2, title=0x80f7926 "Warning",
    message=0x92bcf88 "W12: Warning: File \"/etc/resolv.conf\" has changed and the buffer was changed in Vim as well\nSee \":help W12\" for more info.",
    buttons=0x80f7917 "&OK\n&Load File", def_but=1, textfield=0x0) at gui_gtk.c:2252
#8  0x08075658 in buf_check_timestamp (buf=0x92a76a8, focus=0) at fileio.c:6997
#9  0x080750d3 in check_timestamps (focus=0) at fileio.c:6716
#10 0x0807bbb6 in main_loop (cmdwin=0, noexmode=0) at main.c:1027
#11 0x0807bb6a in main (argc=2, argv=0xbf8cd0e4) at main.c:960


I am not sure, why vim tries to open a gtk-message dialog, as this was
on a plain linux console (no X11 running and no $DISPLAY variable
available).

Let me know, if you need more information, I leave the gdb prompt open.

regards,
Christian
--
Stilblüten aus Schreiben von Versicherungsnehmern:
Der Bursche war überall und nirgends auf der Straße. Ich mußte
mehrmals kurven, bevor ich ihn traf.

--
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