printf-unit-test icon indicating copy to clipboard operation
printf-unit-test copied to clipboard

Segfault

Open OrioPrisco opened this issue 1 year ago • 0 comments

➜  ~/printf-unit-test git:(master) ✗ make f
make[1]: Entering directory '/mnt/nfs/homes/USERNAME/old_ft_printf'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/nfs/homes/USERNAME/old_ft_printf'
➤ Creating libftprintf.so lib
cd assets/tmp && ar -xv ../libftprintf.a >/dev/null && cc -shared -fPIC *.o -o libftprintf.so && cp libftprintf.so ../..
➤ ./run_test 
Starting tests ...
testing %c ...
catched signal: Segmentation fault when testing format: "(null)" with arg: (char)0
make: *** [Makefile:239: run] Segmentation fault (core dumped)

tester segfaults when ran. detailed why here : https://github.com/alelievr/printf-unit-test/commit/37f2c739c50dce1341d4a0d4bbeeba481ef6e14b#commitcomment-119116398

OrioPrisco avatar Jun 21 '23 15:06 OrioPrisco