[Mono-aspnet-list] Mono's OracleClient and OCI makes mod-mono-server crash

Jonathan Vargas jvargas at alkaid.cr
Fri Jan 28 14:49:53 EST 2011


Hi Sergey,

Not yet. But we solved it partially by making sure in code that several open
connections are closed as soon as possible, so the request for multiple
handlers. We are going to perform several tests to determine if the problem
persists after that. We will test mono 2.8 if the problem persists.



2011/1/28 Sergey Lobko-Lobanovsky <serge.lobanovsky at gmail.com>

> Hello Jonathan,
>
> Did you try just to upgrade to 2.8.1?
>
>
> On Sat, Jan 15, 2011 at 4:28 PM, Jonathan Vargas <jvargas at alkaid.cr>wrote:
>
>> Hi,
>>
>> The problem is the one described in:
>> https://bugzilla.novell.com/show_bug.cgi?id=421491
>>
>> After some use of the application Mono's OracleClient raises exceptions
>> like
>>
>> "Could not allocate new OCI Handle of type {0}"
>>
>> Or it crash with a message like this in apache's error log:
>>
>> Native stacktrace:
>>
>>         /opt/novell/mono/bin/mono.bin [0x48a6e9]
>>
>>
>>
>>
>>
>>         /opt/novell/mono/bin/mono.bin [0x4d621d]
>>         /lib64/libpthread.so.0 [0x3992e0e4c0]
>>         /lib64/libpthread.so.0(pthread_mutex_lock+0x13) [0x3992e08293]
>>         /usr/lib/oracle/11.2/client64/lib/libclntsh.so(sltsmna+0xd)
>>
>>
>>
>>
>>
>> [0x3b55a1376f]
>>         /usr/lib/oracle/11.2/client64/lib/libclntsh.so(kpufhndl0+0x240)
>> [0x3b53eaeace]
>>         /usr/lib/oracle/11.2/client64/lib/libclntsh.so(kpufhndl+0xb)
>> [0x3b53eae889]
>>         /usr/lib/oracle/11.2/client64/lib/libclntsh.so(OCIHandleFree+0x13)
>>
>>
>>
>>
>>
>> [0x3b53e7aa15]
>>         [0x41921dc1]
>>
>> Debug info from gdb:
>>
>>
>> =================================================================
>> Got a SIGSEGV while executing native code. This usually indicates
>> a fatal error in the mono runtime or one of the native libraries
>>
>>
>>
>>
>>
>> used by your application.
>> =================================================================
>>
>> [Thu Jan 13 13:42:48 2011] [error] (70014)End of file found: read_data failed
>> [Thu Jan 13 13:42:48 2011] [error] Command stream corrupted, last command was 1
>>
>>
>> I tested the app with a Oracle Database XE 10g and a Oracle Database
>> Standar 11g2 on different hosts and the problem persists at the web server
>> side. We also tried using Oracle Database Standar client libs and Oracle
>> Instant Client ones.
>>
>> It is not a reproducible, it happens some times, when one exception is
>> raised the connection behaves strange, a manual restart of apache is
>> necessary.
>>
>> The mono version is 2.6.7 on Red Hat Enterprise 5.3 x64 and Apache 2.2.3.
>>
>> I'll preciate your help and feedback to determine which could be the
>> cause.
>>
>> --
>> *Jonathan Vargas Rodríguez*
>> Dirección Ejecutiva
>> Alkaid · Tecnología para la gente
>> Teléfonos: 2234 2050, 8703 1060
>> Web: http://www.alkaid.cr <http://alkaid.cr/>
>> Facebook: http://facebook.com/alkaid.cr
>> E-mail: jvargas at alkaid.cr
>>
>>
>> _______________________________________________
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>>
>>
>


-- 
*Jonathan Vargas Rodríguez*
Dirección Ejecutiva
Alkaid · Tecnología para la gente
Teléfonos: 2234 2050, 8703 1060
Web: http://www.alkaid.cr <http://alkaid.cr/>
Facebook: http://facebook.com/alkaid.cr
E-mail: jvargas at alkaid.cr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20110128/0f13deee/attachment.html 


More information about the Mono-aspnet-list mailing list