Strange problem executing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marcelo

    #1

    Strange problem executing

    Hi everybody,

    What does this execution problem means?

    *** glibc detected *** corrupted double-linked list: 0x083c3538 ***

    thanks a lot,

    Marcelo
  • Luke Meyers

    #2
    Re: Strange problem executing

    Marcelo wrote:[color=blue]
    > Hi everybody,
    >
    > What does this execution problem means?
    >
    > *** glibc detected *** corrupted double-linked list: 0x083c3538 ***[/color]

    In all likelihood, it is one of the many possible manifestations of
    undefined behavior. If this is the only error message you got, and you
    have no idea where it may originate, you have my sympathies. It would
    be a lot easier to solve if you had a backtrace or core file, or repro
    steps, or a general idea of what the program was doing when the error
    arose.

    Luke

    Comment

    • Marcelo

      #3
      Re: Strange problem executing

      I see,

      I was trying to transpose a matrix, is it possible to have this error for an
      out-of-bounds exception?

      thanks,

      Marcelo

      Comment

      • Stephan Brönnimann

        #4
        Re: Strange problem executing

        Marcelo wrote:[color=blue][color=green]
        > > *** glibc detected *** corrupted double-linked list: 0x083c3538 ***[/color][/color]
        [color=blue]
        > I see,
        >
        > I was trying to transpose a matrix, is it possible to have this error for an
        > out-of-bounds exception?[/color]

        Yes and no:
        No: it is not because an exception is thrown, instead
        Yes: its most likely because you write outside the bounds of your
        matrix thus corrupting the double-linked list: node->next->previous !=
        node.

        Stephan

        Comment

        • Daniel T.

          #5
          Re: Strange problem executing

          In article <43e622e8$1@epf lnews.epfl.ch>,
          Marcelo <mache_1999@yah oo.com> wrote:
          [color=blue]
          > Hi everybody,
          >
          > What does this execution problem means?
          >
          > *** glibc detected *** corrupted double-linked list: 0x083c3538 ***
          >
          > thanks a lot,
          >
          > Marcelo[/color]

          You probably assigned something to an invalid pointer somewhere in your
          program.

          --
          Magic depends on tradition and belief. It does not welcome observation,
          nor does it profit by experiment. On the other hand, science is based
          on experience; it is open to correction by observation and experiment.

          Comment

          Working...