I am getting the error message: Segmentation Fault - core dumped on a sybase 12.5 adaptive server.

I have two exact copies of the same database. But when one procedure is called from an application it runs fine on testDB1, but on testDB2 the server stops(crashes) and throws out this message: Segmentation Fault - core dumped.

Does anyone have any idea of how i can troubleshoot this? I tried simply dropping the db that crashed, taking a dump of the working db and restoring it. But it still fails.

Thank you