[valgrind] [Bug 444431] Incorrectly assumes static text is uninitialized

2024-04-12 Thread PQCraft
https://bugs.kde.org/show_bug.cgi?id=31 --- Comment #9 from PQCraft <0456...@gmail.com> --- Sorry I completely forgot about this report. The project here (CLIBASIC) had its last commit 2 years ago. I moved on other projects out of boredom and the bug whack-a-mole sessions stemming from the

[valgrind] [Bug 444431] Incorrectly assumes static text is uninitialized

2024-04-11 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=31 Paul Floyd changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|---

[valgrind] [Bug 444431] Incorrectly assumes static text is uninitialized

2021-10-31 Thread PQCraft
https://bugs.kde.org/show_bug.cgi?id=31 --- Comment #7 from PQCraft <0456...@gmail.com> --- the code can be found here: https://github.com/pqcraft/clibasic after passing `--track-origins=yes` it states that the uninitialized variable was created by heap allocation and points to `arg[3]` but i

[valgrind] [Bug 444431] Incorrectly assumes static text is uninitialized

2021-10-31 Thread Mark Wielaard
https://bugs.kde.org/show_bug.cgi?id=31 --- Comment #6 from Mark Wielaard --- It would be really helpful if you could show the actual code. It really looks like you are passing around some undefined values. You can also try adding --track-origins=yes to see where the undefined values are

[valgrind] [Bug 444431] Incorrectly assumes static text is uninitialized

2021-10-31 Thread PQCraft
https://bugs.kde.org/show_bug.cgi?id=31 --- Comment #5 from PQCraft <0456...@gmail.com> --- it complains about this line in every error: ``` if (!setVar(arg[1], val, type, asize)) goto cmderr; ``` which above is set like so: ``` char* val = NULL; uint8_t type = 0; if (argct == 3) {

[valgrind] [Bug 444431] Incorrectly assumes static text is uninitialized

2021-10-31 Thread PQCraft
https://bugs.kde.org/show_bug.cgi?id=31 --- Comment #4 from PQCraft <0456...@gmail.com> --- and here is an updated output: ``` $ valgrind --leak-check=full --show-leak-kinds=all ./clibasic ==27401== Memcheck, a memory error detector ==27401== Copyright (C) 2002-2017, and GNU GPL'd, by Julian

[valgrind] [Bug 444431] Incorrectly assumes static text is uninitialized

2021-10-31 Thread PQCraft
https://bugs.kde.org/show_bug.cgi?id=31 --- Comment #3 from PQCraft <0456...@gmail.com> --- i am using valgrind 3.17.0 -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 444431] Incorrectly assumes static text is uninitialized

2021-10-26 Thread Tom Hughes
https://bugs.kde.org/show_bug.cgi?id=31 --- Comment #2 from Tom Hughes --- Also, what version of valgrind are you using? -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 444431] Incorrectly assumes static text is uninitialized

2021-10-26 Thread Tom Hughes
https://bugs.kde.org/show_bug.cgi?id=31 Tom Hughes changed: What|Removed |Added CC||t...@compton.nu --- Comment #1 from Tom Hughes