xicodomingues / francinette

An easy to use testing framework for the 42 projects
MIT License
494 stars 46 forks source link

Error on ft_printf #92

Open davidmonteiro03 opened 8 months ago

davidmonteiro03 commented 8 months ago
╔══════════════════════════════════════════════════════════════════════════════╗
║                Welcome to Francinette, a 42 tester framework!                ║
╚═══════════════════════╦══════════════════════════════╦═══════════════════════╝
                        ║            printf            ║
                        ╚══════════════════════════════╝
✔ Preparing framework
✔ Executing: norminette
✔ Executing: make fclean all (no bonus)
ℹ Running tests: printfTester (https://github.com/Tripouille/printfTester)
[Mandatory]
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x23
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x23
==1725== Valgrind: debuginfo reader: ensure_valid failed:
==1725== Valgrind:   during call to ML_(img_get)
==1725== Valgrind:   request for range [40789011, +4) exceeds
==1725== Valgrind:   valid image size of 150816 for image:
==1725== Valgrind:   "/home/dcaetano/francinette/temp/printf/printfTester/c_test"
==1725== 
==1725== Valgrind: debuginfo reader: Possibly corrupted debuginfo file.
==1725== Valgrind: I can't recover.  Giving up.  Sorry.
==1725== 
make: *** [Makefile:30: c] Error 1

✖ Compiling tests: fsoares (my own tests)
^CProblem compiling the tests

Summary: no bonus

Failed tests: fsoares
pdietric7 commented 8 months ago

It's possible using a newer version of Valgrind solves this problem. See the discussion at https://github.com/llvm/llvm-project/issues/56550

davidmonteiro03 commented 8 months ago

thanks, it solved the problem

pdietric7 @.***> escreveu (sexta, 16/02/2024 à(s) 18:12):

It's possible using a newer version of Valgrind solves this problem. See the discussion at llvm/llvm-project#56550 https://github.com/llvm/llvm-project/issues/56550

— Reply to this email directly, view it on GitHub https://github.com/xicodomingues/francinette/issues/92#issuecomment-1949025459, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYQZKR5KRZH523EFVVLDKGLYT6ORXAVCNFSM6AAAAABDCIX27CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGAZDKNBVHE . You are receiving this because you authored the thread.Message ID: @.***>

WeBeRATAS commented 7 months ago

Muy buenas, Tengo la nueva versión en Ubunto con una VM corriendo, pero me sale el mismo error que a ti, y aunque he actualizado a la última versión me pasa lo mismo. ¿Como lo pudiste arreglar? Gracias de antemano.

HI, I have the new version in Ubunto with a VM running, but I get the same error as you, and although I have updated to the latest version I get the same thing. How could you fix it? Thanks in advance.

davidmonteiro03 commented 7 months ago

docker run -it -u root ubuntu:jammy bash apt update apt install wget bzip2 autotools-dev automake gcc build-essential libc6-dbg curl git python3.10-venv lsb-release -y mkdir /opt/src cd /opt/src wget https://sourceware.org/pub/valgrind/valgrind-3.22.0.tar.bz2 cd /opt/src && tar -xvf valgrind-3.22.0.tar.bz2 && \ cd /opt/src/valgrind-3.22.0 && ./autogen.sh && ./configure && make && make install cd bash -c "$(curl -fsSL https://raw.github.com/xicodomingues/francinette/master/bin/install.sh)"

I think this could fix your problem

WeBeRATAS commented 7 months ago

Thank you very much for your esteemed help, it worked perfectly.

kambarg commented 3 months ago

Thank you so much! It fixed my problem as well