Announcement

Collapse
No announcement yet.

valgrind sucks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #46
    Just out of curiosity - on what OS/platform are you writing this non portable code ?

    Tried to reproduce your printf WTF but my valgrind doesn't complain - guess that your system sucks.
    With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.

    Steven Weinberg

    Comment


    • #47
      Poly sucks
      With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.

      Steven Weinberg

      Comment


      • #48
        What version of libc are you using?
        "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
        Ben Kenobi: "That means I'm doing something right. "

        Comment


        • #49
          I'm thinking of closing this thread because it violates the ban on foreign language threads.
          Click here if you're having trouble sleeping.
          "We confess our little faults to persuade people that we have no large ones." - François de La Rochefoucauld

          Comment


          • #50
            Originally posted by Asher View Post
            What version of libc are you using?
            it's /lib/tls/i686/cmov/libc-2.3.2.so - apparently a bit older than Kuci's

            Just tried on another machine with /lib/libc-2.3.6.so - no warns at all - not even the first
            With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.

            Steven Weinberg

            Comment


            • #51
              Might be an architecture thing.

              x86 vs x64 vs PowerPC vs MIPS...?
              "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
              Ben Kenobi: "That means I'm doing something right. "

              Comment


              • #52
                Could be - the old is 32 bit and the new 64 - both x86.
                With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.

                Steven Weinberg

                Comment


                • #53
                  I was wondering if maybe the new XD/NX instruction protection killed it in 64-bit (known as DEP in WindowsLand). It seems to cause instability in ****ty programs/library as the CPU more accurately enforces memory permissions.
                  "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                  Ben Kenobi: "That means I'm doing something right. "

                  Comment


                  • #54
                    Seriously doubt it. My guess is that semctl IPC_RMID has been reprogrammed/fixed, so it doesn't acces the uninitialized part.

                    Valgrind takes care of all memory management and hold account of when/if/where memory is allocated, initialized, accessed and freed.

                    If you guess that this must be a slow process, then you are quite rigth - it can take several minutes to run a program that normally takes a few secs.
                    With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.

                    Steven Weinberg

                    Comment


                    • #55
                      Originally posted by Lorizael View Post
                      I'm thinking of closing this thread because it violates the ban on foreign language threads.
                      Will we be banned for discussing porn if we start to talk about the best way to wrap pearl in latex ?
                      With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.

                      Steven Weinberg

                      Comment


                      • #56
                        Like, I totally understand what you dudes are talking about.
                        A lot of Republicans are not racist, but a lot of racists are Republican.

                        Comment


                        • #57
                          Originally posted by Asher View Post
                          What version of libc are you using?
                          Not sure - will check when I get to work.

                          Comment


                          • #58
                            Originally posted by Kuciwalker View Post
                            Not sure - will check when I get to work.
                            Ehrm

                            ==19854== at 0xB8AA08: semctl@@GLIBC_2.2 (in /lib/tls/libc-2.3.4.so)
                            With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.

                            Steven Weinberg

                            Comment


                            • #59
                              That works too.

                              Comment

                              Working...
                              X