Program/ Memory Problems

I need some advise.

I have an application server running several applications. When I try and start a particular application when the others are running I receive the following. This is appearing in the core file that is created.

----------------------------------------------------------------------------------

program terminated by signal SEGV (no mapping at the fault address)
0xff141f10: _malloc_unlocked+0x021c: ld [%o0 + 0x8], %o1

[1] _malloc_unlocked(0xff1c2858, 0x1d4e60, 0xff1bc008, 0x5800, 0x298b08, 0x0), at 0xff141f10
[2] realloc(0xff1c2850, 0x2c01, 0xff1bc008, 0x295f00, 0x5800, 0x295f08), at 0xff142190
[3] osGetProcessList(0xffbef168, 0xffbeddb8, 0xff2174c4, 0x3902a4, 0x43545453, 0x6e20736f), at 0x30b20
[4] processStartupCheck(0xffbef294, 0x0, 0xffffffff, 0x0, 0x0, 0xffbef315), at 0x2e9dc
[5] main(0x10, 0x47d8c, 0x6, 0x47800, 0x0, 0x0), at 0x12d00

----------------------------------------------------------------------------------

If I stop some of the other applications and try and start the failed one, it works fine.

What can I configure to stop this from happening?
Do I increase swap space, so enough memory becomes available or is there something in the kernel that needs changing?

I really appreciate your answer and the detail you have provided. The situation now becomes very clear and I believe that the program is buggy as you pointed out.

Thanks again.