Comments (6)
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.
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.
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.
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.
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
from printftester.
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)
- clang: error: no such file or directory: 'TIMEOUT_US=400000' HOT 3
- Bonus Part HOT 1
- how to fast HOT 1
- On Linux, Valgrind encounters an error
- /usr/bin/ld: cannot find -lftprintf: No such file or directory HOT 1
- Doesn't test when a percent is followed by a non-flag char. HOT 1
- make bonus error HOT 1
- delay problem HOT 1
- Wrong test number on minus
- For precision there is not enough tests. I guess missing part is `.*` or `.m$`
- Hexadecimal tests passing in spite of mistake HOT 3
- Unnecessary 's' tests on bonus 'space' flag
- String returns incorrect value with a big string HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from printftester.