Skip to content

How to troubleshoot memory issues, such as segmentation faults in francinette-image #7

Answered by WaRtr0
kugorang asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kugorang ,

You're right, the segmentation fault issue was only resolved for the libft tests using war-machine. The main problem was related to the use of fsanitize, which seems to have issues in Docker environments due to insufficient permissions to communicate with the host API. This results in segmentation faults.

The best solution here is to remove fsanitize entirely and either replace it with valgrind or run the tests without any sanitizers.

Regarding your ft_printf issue, I would recommend testing each framework separately rather than running everything through Francinette. Some testers seem to have inconsistencies...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kugorang
Comment options

@kugorang
Comment options

@WaRtr0
Comment options

Answer selected by kugorang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants