B
bkkishore
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
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