Forum OpenACS Development: Re: Win32-OpenACS Version 1.7

Collapse
Posted by Enrique Catalan on
Hi,

We've found one issue when running this version on Oracle 10g on Win32 (Windows Server 2003 R2 32bits).

The server crashes when we run this:

db_exec_plsql foo_statement {begin raise_application_error (-20000,'this is the user error message this is the user error message this is the user error message this is the user error message this is the user error message this is the user error message this is the user error message'); end; }

The problem doesn't happen on linux so this seems to be a memory leak or an overflow in the buffer size used for Windows. The length of the message might vary, sometimes it crashes with longer and other times with shorter messages.

Do you have any idea what could be the real problem?

Thanks a lot

Collapse
Posted by Maurizio Martignano on
Dear Enrique, it beats me...
Perhaps you might try to assign the very long text to a variable and then pass this variable as parameter to raise_application_error.

Hope it helps,
Maurizio