|
|
Subject:
My C++ program hangs in malloc_consolidate ()
Category: Computers > Programming Asked by: zoomlens-ga List Price: $2.00 |
Posted:
12 Oct 2004 10:13 PDT
Expires: 11 Nov 2004 09:13 PST Question ID: 413724 |
My C++ program hangs in malloc_consolidate (). Why? Following is the stack trace It is running on SuSE linux, kernel 2.6.5-7.108-default. How can I fix it? (gdb) where #0 0x403f76a2 in malloc_consolidate () from /lib/i686/libc.so.6 | |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: My C++ program hangs in malloc_consolidate ()
From: padmapani-ga on 12 Oct 2004 11:51 PDT |
Only one line of where is not usually enough.Please try running "strace" on your program.Now that being said the error you posted tells me that it is your C++ program that would need a second look for areas of memory corruption.Basically what happened was that one of the internal malloc data structures got mangled. Try compiling the program with "-lc" which links the standard C library and makes sure that no other shared library overrides it.This way we know where is the problem. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |