You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(base) swj@amax /data/swj/optfuzz/benchmark/vim (master?) $ gdb /data/swj/optfuzz/benchmark/vim/bins/bin/vim
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.2) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty"for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration"for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type"help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /data/swj/optfuzz/benchmark/vim/bins/bin/vim...
(gdb) r --log /path/to/log
Starting program: /data/swj/optfuzz/benchmark/vim/bins/bin/vim --log /path/to/log
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x0000555555ef745c inget_emsg_lnum () at message.c:521
521 if (SOURCING_NAME != NULL
(gdb) bt
#0 0x0000555555ef745c in get_emsg_lnum () at message.c:521#1 0x0000555555ef77be in msg_source (attr=0) at message.c:558#2 0x0000555555ef8936 in emsg_core (s=0x555556143680 <e_cant_open_file_str> "E484: Can't open file %s") at message.c:784#3 0x0000555555ef8b73 in semsg (s=0x555556143680 <e_cant_open_file_str> "E484: Can't open file %s") at message.c:829#4 0x00005555559900aa in ch_logfile (fname=0x7fffffffe4ba "/path/to/log", opt=0x555555fe2880 "ao") at logfile.c:51#5 0x0000555555ee6687 in main (argc=3, argv=0x7fffffffe178) at main.c:161
The text was updated successfully, but these errors were encountered:
Steps to reproduce
vim --log /path/to/file
Expected behaviour
vim exited with an 'failed to open log file' error.
Version of Vim
68d0858
Environment
vim detail version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Feb 10 2025 14:21:36)
Included patches: 1-1094
Compiled by swj@amax
Huge version without GUI. Features included (+) or not (-):
+acl +clientserver +diff +folding +langmap +mouse_dec +num64 +reltime +syntax +title +wildmenu
+arabic +clipboard +digraphs -footer +libcall -mouse_gpm +packages +rightleft +tag_binary -toolbar +windows
+autocmd +cmdline_compl -dnd +fork() +linebreak -mouse_jsbterm +path_extra -ruby -tag_old_static +user_commands +writebackup
+autochdir +cmdline_hist -ebcdic +gettext +lispindent +mouse_netterm -perl +scrollbind -tag_any_white +vartabs +X11
-autoservername +cmdline_info +emacs_tags -hangul_input +listcmds +mouse_sgr +persistent_undo +signs -tcl +vertsplit +xattr
-balloon_eval +comments +eval +iconv +localmap -mouse_sysmouse +popupwin +smartindent +termguicolors +vim9script +xfontset
+balloon_eval_term +conceal +ex_extra +insert_expand -lua +mouse_urxvt +postscript -sodium +terminal +viminfo -xim
-browse +cryptv +extra_search +ipv6 +menu +mouse_xterm +printer -sound +terminfo +virtualedit -xpm
++builtin_terms +cscope -farsi +job +mksession +multi_byte +profile +spell +termresponse +visual +xsmp_interact
+byte_offset +cursorbind +file_in_path +jumplist +modify_fname +multi_lang -python +startuptime +textobjects +visualextra +xterm_clipboard
+channel +cursorshape +find_in_path +keymap +mouse -mzscheme -python3 +statusline +textprop +vreplace -xterm_save
+cindent +dialog_con +float +lambda -mouseshape +netbeans_intg +quickfix -sun_workshop +timers +wildignore
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "
/.vim/vimrc"/.config/vim/vimrc"3rd user vimrc file: "
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/data/swj/optfuzz/benchmark/vim/bins/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -fsanitize=address -g -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -fsanitize=address -g -L/usr/local/lib -Wl,--as-needed -o vim -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lselinux -ldl
os version
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
env
CONDA_DEFAULT_ENV=base
CONDA_EXE=/data/swj/miniconda3/bin/conda
CONDA_PREFIX=/data/swj/miniconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=/data/swj/miniconda3/bin/python
CONDA_SHLVL=1
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1005/bus
HOME=/data/swj/
LANG=en_US.UTF-8
LC_ADDRESS=zh_CN.UTF-8
LC_IDENTIFICATION=zh_CN.UTF-8
LC_MEASUREMENT=zh_CN.UTF-8
LC_MONETARY=zh_CN.UTF-8
LC_NAME=zh_CN.UTF-8
LC_NUMERIC=zh_CN.UTF-8
LC_PAPER=zh_CN.UTF-8
LC_TELEPHONE=zh_CN.UTF-8
LC_TIME=zh_CN.UTF-8
LESS=-R
LOGNAME=swj
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:*.xspf=00;36:
MOTD_SHOWN=pam
OLDPWD=/tmp/vim1
PAGER=less
PATH=/data/swj/miniconda3/bin:/data/swj/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/data/swj/software/bin:/data/swj/software/bin
PWD=/data/swj/optfuzz/benchmark/vim
SHELL=/data/swj/software/bin/zsh
SHLVL=2
SSH_CLIENT=10.99.0.13 10864 22
SSH_CONNECTION=10.99.0.47 63837 10.103.11.247 22
SSH_TTY=/dev/pts/0
TERM=xterm-256color
TMUX=/tmp//tmux-1005/default,70763,5
TMUX_PANE=%71
USER=swj
XDG_RUNTIME_DIR=/run/user/1005
XDG_SESSION_CLASS=user
XDG_SESSION_ID=654
XDG_SESSION_TYPE=tty
ZSH=/data/swj//.oh-my-zsh
_=/usr/bin/env
_CE_CONDA=
_CE_M=
Logs and stack traces
The text was updated successfully, but these errors were encountered: