Strange malloc problem!

xiaoxiao2021-03-06  57

Our program is working very well, how much is at 0 o'clock every day, it may be high!

Start suspicion of glibc's bug (because of death in malloc_consolidate),

There is no found on the Internet, it seems to be a program, which may be this program error!

result:

It is a multi-threaded problem, so that there is no synchronization, so that a memory is released multiple times, then make Malloc

The List destroyed in the realization makes the inside to die!!!

转载请注明原文地址:https://www.9cbs.com/read-117953.html

New Post(0)