Re: vim-7.0.035 linux motif gui crashes immediately (test16)

2006-07-10 Thread raf
Bram Moolenaar wrote:

 Raf wrote:
 
  on linux-2.6.17.1 (ubuntu-6.06, core duo), vim-7.0.035 with motif/lesstif
  crashes immediately when :gui or -g is used (e.g. test16). or is it just me?
  the :version output and two examples are included below.
  
  :version
  VIM - Vi IMproved 7.0 (2006 May 7, compiled Jun 30 2006 18:30:11)
  Included patches: 1-35
  Compiled by [EMAIL PROTECTED]
  Normal version with X11-Motif GUI.  Features included (+) or not (-):
 
 It works fine for me.  Perhaps a problem in your X11 setup?

i don't think so. it crashed in both twm and gnome+metacity.

this is with lesstif2/motif-2.1 (ubuntu pkg: lesstif2-dev 0.94.4-1).
it also crashed with the latest lesstif (0.95.0) compiled
from source.

but it does work fine with lesstif/motif-1.2
(ubuntu pkg: lesstif-dev 0.93.94-12).

i'm happy with that.

cheers,
raf



vim-7.0.035 linux motif gui crashes immediately (test16)

2006-06-30 Thread raf
hi,

on linux-2.6.17.1 (ubuntu-6.06, core duo), vim-7.0.035 with motif/lesstif
crashes immediately when :gui or -g is used (e.g. test16). or is it just me?
the :version output and two examples are included below.

cheers,
raf

:version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Jun 30 2006 18:30:11)
Included patches: 1-35
Compiled by [EMAIL PROTECTED]
Normal version with X11-Motif GUI.  Features included (+) or not (-):
-arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv -cscope +cursorshape +dialog_con_gui +diff +digraphs -dnd -ebcdic
-emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path
+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_xterm +multi_byte +multi_lang -mzscheme
+netbeans_intg -osfiletype +path_extra -perl +postscript +printer -profile
-python +quickfix +reltime -rightleft -ruby +scrollbind +signs +smartindent
-sniff +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_interact
+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: /usr/local/share/vim
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -DFUNCPROTO=15
-DNARROWPROTO-g -O2  -I/usr/X11R6/include
Linking: gcc  -L/usr/X11R6/lib   -L/usr/local/lib -o vim  -lXmu -lXext -lXm -lnc
urses -lgpm

$ CC=-g configure --with-x --enable-gui=motif \
--enable-max-features --enable-multibyte
$ make
$ make test
...
../vim -u unix.vim -U NONE --noplugin -s dotest.in test16.in
Vim: Caught deadly signal SEGV
Vim: Finished.
make[2]: *** [test16.out] Segmentation fault (core dumped)
les:vim70 gdb src/vim src/testdir/core 
GNU gdb 6.4-debian
Copyright 2005 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 i486-linux-gnu...Using host libthread_db library 
/lib/tls/i686/cmov/libthread_db.so.1.

Core was generated by `../vim -u unix.vim -U NONE --noplugin -s dotest.in 
test16.in'.
Program terminated with signal 11, Segmentation fault.

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libXmu.so.6...done.
Loaded symbols for /usr/lib/libXmu.so.6
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libXm.so.2...done.
Loaded symbols for /usr/lib/libXm.so.2
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libgpm.so.1...done.
Loaded symbols for /usr/lib/libgpm.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libXt.so.6...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
#0  0xe410 in __kernel_vsyscall ()
(gdb) bt
#0