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

In vi mode :'<,'>s/^/;;/ leads to a crash. #1522

Open
g-gundam opened this issue Sep 7, 2024 · 0 comments
Open

In vi mode :'<,'>s/^/;;/ leads to a crash. #1522

g-gundam opened this issue Sep 7, 2024 · 0 comments

Comments

@g-gundam
Copy link

g-gundam commented Sep 7, 2024

Steps to Reproduce

  1. M-x vi-mode
  2. Select a range of lines using V
  3. Hit : and then type s/^/;;/
    • The purpose of this regexp substitution is to put ";;" at the beginning of every line in the region.

Expectation

The lines in the region should have ";;" prepended to them.

Actual Result

Lem is unresponsive to input, and I saw this when I switched back to the terminal that I started Lem on.

Heap exhausted during garbage collection: 0 bytes available, 64 requested.
Gen  Boxed   Code    Raw  LgBox LgCode  LgRaw  Pin       Alloc     Waste        Trig      WP GCs Mem-age
 2   20760      0      0      0      0      0    5   339727520    404320   214536266       0   1  1.3998
 3   38774      1     73      0      0     24   68   636059232    819616     2000000   18797   0  0.4859
 4       0      0      0      0      0      0    0           0         0     2000000       0   0  0.0000
 5       0      0      0      0      0      0    0           0         0     2000000       0   0  0.0000
 6    3556     13   1762    350      0    222    0    94756640   1958112     2000000    5608   0  0.0000
           Total bytes allocated    =    1070543392
           Dynamic-space-size bytes =    1073741824
GC control variables:
   *GC-INHIBIT* = true
   *GC-PENDING* = true
   *STOP-FOR-GC-PENDING* = false
fatal error encountered in SBCL pid 2070099 tid 2070132:
Heap exhausted, game over.

Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> 
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