Shiv Nagarajan(deleted)
03/24/2009 3:43 PM
post25134
|
its very hard to say whether there can be memory corruption. What sort
of code are you porting over. Is is multi-threaded, does it use fork?,
does it use brk/sbrk? The crash is occuring on an allocation, and this
is most likely due to the heap already being corrupted. (maybe by a
previous free). Is it possible that there is a double free happening?
or that you are accessing already freed memory in some part of your
application?
shiv
Tue Mar 24 15:43:40 EDT 2009
--> According to Amit Gourgonda <--
Thank you Neil and Shiv.
This application has been working fine on Linux for quite sometime. So
do you people think that it can still cause some memory corruption on
QNX?
The output of 'pidin info' says free memory is 323Mb/512Mb.
Regards,
Amit
_______________________________________________
OSTech
http://community.qnx.com/sf/go/post25132
--
****
Shiv Nagarajan,
Kernel Developer, QNX Software Systems,
Ottawa, Canada
****
|
|
|