Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ft_memmove.c / ft_strrchr.c test doesn't work on M1 Mac. #93

Open
Two-Jay opened this issue Jan 16, 2021 · 4 comments
Open

ft_memmove.c / ft_strrchr.c test doesn't work on M1 Mac. #93

Two-Jay opened this issue Jan 16, 2021 · 4 comments

Comments

@Two-Jay
Copy link

Two-Jay commented Jan 16, 2021

스크린샷 2021-01-16 오후 6 43 22

some of tests on memmove/strrchr doesn't work on M1 Mac. but it works on other OS (ubuntu / ssh on guacamole).

@usatie
Copy link

usatie commented Apr 20, 2022

I have the same problem and it seems to be this library's problem.
Because even when I comment out ft_memmove in the test, it still [CRASH]es.
Screen Shot 2022-04-20 at 10 41 07
Screen Shot 2022-04-20 at 10 43 03

However, when I comment out memset(data, 'A', size);, [CRASH] does not happen. So this line seems to be causing the [CRASH].
Screen Shot 2022-04-20 at 10 45 20
Screen Shot 2022-04-20 at 10 48 35

@usatie
Copy link

usatie commented Apr 20, 2022

Even when ft_memmove does nothing, this test still [CRASH].
Screen Shot 2022-04-20 at 10 51 16

Screen Shot 2022-04-20 at 10 52 38

@alvinyap510
Copy link

Encountered the same issue for my ft_memmove & ft_strrchr. Possible due to different compiler version / cpu architecture (ARM vs X86)?

@github-actions
Copy link

github-actions bot commented Sep 3, 2022

Hello! Thanks for contributing to the libft unit test.

Note that this repository is not maintained by the owner anymore, instead there is a bot that will automatically merge any reviewed pull requests.
If you feel like it, here are some links that can help you submiting a change in the code base::

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants