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

Error on ft_printf #92

Open
davidmonteiro03 opened this issue Feb 10, 2024 · 5 comments
Open

Error on ft_printf #92

davidmonteiro03 opened this issue Feb 10, 2024 · 5 comments

Comments

@davidmonteiro03
Copy link

╔══════════════════════════════════════════════════════════════════════════════╗
║                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
Copy link

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

@davidmonteiro03
Copy link
Author

davidmonteiro03 commented Feb 17, 2024 via email

@WeBeRATAS
Copy link

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
Copy link
Author

davidmonteiro03 commented Mar 20, 2024

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
Copy link

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

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