Code Monkey home page Code Monkey logo

Comments (6)

madebypixel02 avatar madebypixel02 commented on September 27, 2024 2

After looking back at older commits, I managed to find a commit where the testers stopped working. All I did in that commit was change the library name. I started working from the commit before everything broke and all testers seem to run fine again. Will close this issue now, thanks for all the help :)

from printftester.

Tripouille avatar Tripouille commented on September 27, 2024

Hi, it's an invalid read here not a malloc error, you probably read too much in ft_parse_width, going back to an older version of the tester where there wasn't yet this test will obviously remove your problem. You can compile your project with -g3 to have the line number of the error.

from printftester.

madebypixel02 avatar madebypixel02 commented on September 27, 2024

Indeed, it cannot be a malloc issue, since I no longer use it there. The thing is that if I run a main with the above test (test 84 in %d tester) and check with valgrind, no invalid read shows up. Event ran vscode's debugger but no errors occurred. And also, I didn't use an older version of your tester, rather an older version of my code. Sorry about that.

from printftester.

Tripouille avatar Tripouille commented on September 27, 2024

Then you should check what you could have broken since your previous version, the test 84 is valid and should not be an issue. Sorry but I can't help you more than that good luck anyway.

from printftester.

madebypixel02 avatar madebypixel02 commented on September 27, 2024

I no longer know what is happening with the tester. For example, I get all these errors when running the tester on Linux (same KOs appear in mac). No matter what I change I still get those same KOs in the tester. I even commented the main loop that iterates over the string, and the tester still shows the very same OKs and KOs, even though all of them should be KO

image

from printftester.

Tripouille avatar Tripouille commented on September 27, 2024

I don't know what to say ... maybe on the side of your Makefile.
https://i.imgur.com/Q1O1Lvt.png

from printftester.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.