Summer Sale! All accounts are 50% off this week.

harishmani09's avatar

How to fix segmentation fault ?

Hi! I was working along with "Build A Laravel App With TDD" . All was well till i tried "A Project Requires An Owner" test in lesson 5 and since then i have been getting this weird

"6805 segmentation fault " for all the tests i have been running! Any insights here to solve this problem!!

My github code link is: https://github.com/harishmani09/birdboard

Thanks

0 likes
5 replies
siangboon's avatar

it may me more helpful to describe the step you did, the expected result and which point you watch and tested instead of let people to guess and re-watch what you watched.....

harishmani09's avatar

@siangboon Thanks for your reply. I wanted to add images of the code/error but somehow i couldn't post/add any image to the question. I guess its something to do with markdown's which i have had no clue about. I have started referencing github markdown , maybe next question/comment will be more meaningful. My regrets for inconvenience! Thanks

harishmani09's avatar

@siangboon have figured out the issue. I had used Project Model class(row 25) in place of User Model in Project factory which was causing an infinite loop leading to segmentation fault. I was able to zero down on the issue once i installed Xdebug.

Thanks & Regards, Harish

Please or to participate in this conversation.