Skip to content

Segmentation fault at opening file #1

@luislve17

Description

@luislve17

OS: Ubuntu 18.04 LTS

Hi
I tried to use your editor after cloning, all I did was:

cd Lite && make

Then when trying to open a file (like lite.c) I tried to do

./lite lite.c

And this is what came out:

[1]    8459 segmentation fault (core dumped)  ./lite lite.c

Using only ./lite works fine for creating new files, but after saving and trying to open again I get the same error

Edit:
Also, after this dump error, my terminal gets all messy, like termios settings weren't restored. For example, after the error trying to do a 'ls' prints the files all over the place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions