473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

malloc_consolidate

Hi all,

I've a code which hangs in malloc_consolidate.
The stack trace is as shown

# Version = "2004.01"
# Date = "Jan 26 2004"
# Platform = linux
# 0 0xb74e734e: 'malloc_consolidate + 0xae'
# 1 0xb74e6944: 'int_malloc + 0xd4'
# 2 0xb74e5ce8: '_libc_malloc + 0x88'
# --> START OF USERCODE
# 3 0xb6228f58: 'bfm_clock_calltf + 0x5c4' in
'/home/abc/src/lib/mti/5.8b/linux/verilog/dothis.sl'
# <-- END OF USERCODE
# 4 0x081159e0: '<unknown (@0x81159e0)>'
# 5 0xb6353d7e: '/home/abc/src/test/sim/pli_tester.v:239'
# 6 0x08093e64: '<unknown (@0x8093e64)>'
# 7 0x080a0131: '<unknown (@0x80a0131)>'
# 8 0x080d874e: '<unknown (@0x80d874e)>'
# End of Stack Trace
** Fatal: (SIGSEGV) Bad pointer access. Closing vsimk.
** Fatal: vsimk is exiting with code 211.
(Exit codes are defined in the ModelSim messages appendix
of the ModelSim User's Manual.)
When i referred some user groups, i got to know that this error comes
because of memory leakage. I've set sstem variable MALLOC_CHECK_ to
2.(I use gcc, which has memory check feature).
When i set this to 2 it perfectly runs.

If i unset it again crashes.
Can anybode suggest what might be the possible resaon for this and what
is the work around for this problem.

thanks in advance

Nov 14 '05 #1
1 6176
bk*******@gmail.com wrote:
I've a code which hangs in malloc_consolidate.
The stack trace is as shown

# Version = "2004.01"
# Date = "Jan 26 2004"
# Platform = linux


Wrong newsgroup.

Try comp.os.linux.development.apps
Nov 14 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: goktan | last post by:
hi i have been making a project with C++ including GTK+1.2, gtkmozembed and libxml2. i'm using g++ 2.96 for compiling it. but while it is working on Reh Hat 9, it is not working on Fedora core...
9
by: Michael McGarry | last post by:
Hi, I have some code that never returns from a call to malloc(), does anyone have any ideas? There is plenty of free memory on the system. This is running in Linux kernel 2.4.20. The code has...
18
by: bumps | last post by:
Guys, I am getting segmentation fault while I am trying to open a file in a small function. int PingSamplesList::saveListElements (char *outputFileString) { PingSampleElement *tmpPtr; int...
2
by: ryan p bobko | last post by:
Hi All, I'm trying to write a Postgres database plugin in an application of mine. The rest of the app is written in C++, but I'm NOT interested in using libpqxx at this time. This plugin will be...
1
by: Plissken.s | last post by:
Hi I have a problem which result in a "corrupted double-linked list error", I would need some help in trouble shot this one: Here is a stack track: Thread (Suspended: Signal 'SIGABRT'...
1
by: katem | last post by:
Here's my problem: I have a class A that uses new to create objects of class B and push them onto a deque, like this (code stripped down for clarity): void ImageOperations::FormMask() { ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.