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

seg fault (trying to load font) - MacOS Catalina #63

Open
davidalbertainley opened this issue Feb 15, 2020 · 5 comments
Open

seg fault (trying to load font) - MacOS Catalina #63

davidalbertainley opened this issue Feb 15, 2020 · 5 comments

Comments

@davidalbertainley
Copy link

Yo! Just wanted to give a heads up, it looks like there's a segfault happening on Catalina.
image

@mrLSD
Copy link

mrLSD commented Feb 15, 2020

Same thing on Ubuntu 16.04

@Fanna1119
Copy link

Fanna1119 commented Feb 23, 2020

Same issue on elementary OS Hera

./vid
create window wnd=0x55b2058522c0 ptr==0x55b205850e70
Trying to load font from RobotoMono-Regular.ttf
[1] 8000 segmentation fault ./vid

@salif
Copy link

salif commented Mar 7, 2020

Same issue on Linux Mint.
There is warning while compiling:

warning: ./vid.v:1819:1: the following imports were never used: 
 * uiold

When run ./vid the result is:

Trying to load font from RobotoMono-Regular.ttf
fish: “./vid” terminated by signal SIGSEGV (Address boundary error)

@wilsonk
Copy link

wilsonk commented Mar 14, 2020

This error is actually due to a segfault that doesn't have anything to do with the font file. A quick work around on Linux/MacOS is to pick a file to open as a default, then put that file location in a ~/.vid/session file with:

echo "<full directory with file name at the end>" >> ~/.vid/session

then touch a couple other files in that directory with:

touch ~/.vid/tasks; touch ~/.vid/timer

It appears as though these files are required to exist in the ~/.vid directory. This should get the editor up and running (might have to Ctrl-c and open a second time to get it working). This still isn't a perfect solution as I can't seem to get the two-splits functionality working (I actually have three splits by default??? Not sure what is happening there).

Anyways, at least you can try things with this quick fix. I will post a proper solution if I find it...or hopefully @medvednikov will weigh ;)

@JalonSolov
Copy link
Contributor

I suspect if you try again with latest V, the problems are resolved. I just built ved on both Windows and Ubuntu, and it compiled and ran fine.

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

6 participants