Skip to content

Segmentation fault at opening file #1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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