JCluzet / GrademeBash

Automatic testing for all 42, C and CPP projects. Makefile relink, Header wrong name, Coplien Form and so much more.
296 stars 11 forks source link

It's segfaulting when running #21

Closed mdabir1203 closed 1 year ago

mdabir1203 commented 1 year ago
image
mdabir1203 commented 1 year ago

It happens when you choose the students part. But now after trying couple of times it worked

bspinheiro commented 1 year ago

By debugging the files, one reach segfault in getenv(USER) if there is no USER environment variable set. To avoid the error, just type in the terminal:

export USER='student'; 

And try again :)

JCluzet commented 1 year ago

Hey @bspinheiro ! Thanks a lot for taking the time to find this problem I fixed the problem with the last push :)

mdabir1203 commented 1 year ago

@bspinheiro !_!