Welcome to the Linux Foundation Forum!

The error of malloc!!

weifeng.chen
weifeng.chen Posts: 1
edited August 2014 in Software Development

I have a Program written by C code,and now when it run malloc,error "corrupted double-linked list"is happened.I have no idea of this error.This program has been written for one year,and before today it works good.So,can anyone tell me what's the error "corrupted double-linked list" mean,and why it happened.

kernel version : 2.6.18

glibc version: 2.5.90

Any replay will be helpful,

Thx.

Comments

  • MrJelly
    MrJelly Posts: 2
    can you show me your code?
  • saqman2060
    saqman2060 Posts: 777
    I have a Program written by C code,and now when it run malloc,error "corrupted double-linked list"is happened.I have no idea of this error.This program has been written for one year,and before today it works good.So,can anyone tell me what's the error "corrupted double-linked list" mean,and why it happened.

    kernel version : 2.6.18
    glibc version: 2.5.90

    Any replay will be helpful,
    Thx.

    It would be easier to post the code and error of your program. We might be able assess it.

    But if you need a quick answer. I would say, "corrupted double-link list" sounds like you have two different units linking to the same thing. Perhaps each unit must have there own links. But again, give us more detail.

Categories

Upcoming Training