Hello all,

I execute an application on uClinux which uses intensively stl vectors.
It regularly creates and clears vectors, and this vectors are growing.

After some days the application is killed by the kernel with signal SIGILL.

The application is subscribed on this signal. On receipt, system( "free" ); is called and is showing
sufficient free memory.

The stacktrace shows that a vector.push_back( ... ) is done on receipt of SIGILL.

I suspect the problem is some memory issue?

I investigated some mail threads, etc. and I have the following questions;

- The kernel struct mmap contains start_brk, brk, context.end_brk.
Is end_brk - start_brk, the max heap allowed to allocate by the application??

 start_brk: Initial address of the heap
 brk: current final address ot the heap

- On the target the file /proc/[pid]/stat shows some application memory information.
 Where can I find info what this figures represent?

- Where can I find doc. of all info in /proc/[pid] ??

Thanks in advance for your info.

Kind regards

Teun Grinwis




_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to