Help with memory fault

We have migrated our application from HP UX to linux. The code is in 4gl and after migration it has started giving Memory fault while running a batch job. The trace shows segmentation fault after a series of recvfrom and sendto(DB read)

sigsegv segmentation fault @ 0 0
killed by SIGSEGV

The code processes huge data from DB and reads them in matrices in the code for further processing. It is a report generation tool.

Could any one guide where to start with for problem analysis.
The same code works fine in other migrated servers. This is problem only in one of the server.

Thanks.
Aimee

I'm not familiar with 4gl applications, but anyway, since the problem is only one machine - ask yourself - what's different on this machine. Start tracing version of different software. Insufficient amount of memory on this machine ? How about the same code running on other Linux machine, same hardware ? Possibility of some other process eating up some pieces of the memory ?

The problem came in few more migrated stores and after some analysis I found out it is data issue one of the date field is NULL for the error record.
The same data was getting processed in HP UX but has started failing in Linux. With the date field we are doing comparisons, arithmetic operations. Does HP UX initializes it null date fields to any value? How do they behave different in both the boxes?