WhiteBox-Systems / whitebox

A tool for showing software developers how their (C/C++) code behaves as they write it. (README and public issues)
https://whitebox.systems
17 stars 0 forks source link

Whitebox crashes when nvim-telescope plugin is invoked #20

Open wfchandler opened 1 year ago

wfchandler commented 1 year ago

What happened?

Actual behaviour: Whitebox crashes immediately when command :Telescope is used in Neovim.

Expected behaviour: Whitebox does not crash.

System/app details

WhiteBox version - 0.99.0 WhiteBox commit - e948c4605730dc1d7100f06f0020020400ab92f1 Assert level - 1 Debug info - false Kernel - Linux 6.1.6-200.fc37.x86_64 OS - Fedora Linux 37 (Server Edition) Architecture - x86-64 CPU name - Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz CPU count - 4 CPU MHz - RAM - 32G

How to reproduce the error

Steps to reproduce:

  1. Install the telescope plugin for Neovim
  2. Start whitebox and connect with :call WhiteboxConnect()
  3. Open telescope with :Telescope, whitebox immediately crashes with:
Assertion failed in `wsl_maybe_remap_path` - /home/azmr/shared-drives/D:/Documents/Coding/C/whitebox/os_linux.c(55):
    path.len >= 1 && path.data[0] == '/' || path.data[0] == '~' || isalnum(path.data[0])
    errno => 11: Resource temporarily unavailable

...

Does the error happen consistently with the above steps? Always

Minimal reproducible code example: N/A

Crash/log attachments & additional info

Any additional information/comments:

azmr commented 1 year ago

Thanks, this'll be fixed in the next release

azmr commented 1 year ago

Hey @wfchandler, can I confirm that this is working for you with the latest WhiteBox & plugin release?