Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when used '3dd' on normal mode #172

Open
dragsbruh opened this issue Dec 5, 2023 · 0 comments
Open

Crash when used '3dd' on normal mode #172

dragsbruh opened this issue Dec 5, 2023 · 0 comments

Comments

@dragsbruh
Copy link

dragsbruh commented Dec 5, 2023

I was casually exploring and decided to use 3dd and dd (im new to vim so correct me if im wrong) and then used 3dd. crashed. this showed up in console.

eight=900
loading syntax files...
0 syntax files loaded + the compile time builtin syntax for .v
FULL SCREEN=true
add_workspace("C:\Users\vishw\Documents\HK\ved")
open workspace(0)
load session "C:\Users\vishw\.ved\session"
['C:0', ':0', ':0']
open file "C"
getting words
saving session...
saving view #0 C
saving view #1
saving view #2
open file ""
open file ""
first_launch=false
V panic: array.delete: index out of range (i == 2, a.len == 2)
v hash: 56644b2
C:/Users/vishw/AppData/Local/Temp/v_0/ved.8580519395557712794.tmp.c:12792: at _v_panic: Backtrace
C:/Users/vishw/AppData/Local/Temp/v_0/ved.8580519395557712794.tmp.c:11981: by array_delete_many
C:/Users/vishw/AppData/Local/Temp/v_0/ved.8580519395557712794.tmp.c:11973: by array_delete
C:/Users/vishw/AppData/Local/Temp/v_0/ved.8580519395557712794.tmp.c:41828: by main__View_dd
C:/Users/vishw/AppData/Local/Temp/v_0/ved.8580519395557712794.tmp.c:40348: by main__Ved_key_normal
C:/Users/vishw/AppData/Local/Temp/v_0/ved.8580519395557712794.tmp.c:39945: by main__key_down
C:/Users/vishw/AppData/Local/Temp/v_0/ved.8580519395557712794.tmp.c:31798: by gg__gg_event_fn
C:/Users/vishw/Documents/HK/v/thirdparty/sokol/sokol_app.h:2895: by _sapp_call_event
C:/Users/vishw/Documents/HK/v/thirdparty/sokol/sokol_app.h:6978: by _sapp_win32_key_event
C:/Users/vishw/Documents/HK/v/thirdparty/sokol/sokol_app.h:7264: by _sapp_win32_wndproc
7ffb816d8241 : by ???

im on windows 11, 1600x900 display if you need it. gpu is intel iris xe.

hey also moments before crash i noticed that cursor was on line after 2. there was no line number 3 but cursor was on line number 3. here is a re-enactment

  1. Smth
  2. Smth else
    []

yup
[] is supposed to act like cursor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant