[Mono-bugs] [Bug 378470] New: mono crashed when executing ExecuteOracleNonQuery on linux, oracle 9 server, oracle 11 client

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 9 13:54:21 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=378470


           Summary: mono crashed when executing ExecuteOracleNonQuery on
                    linux, oracle 9 server, oracle 11 client
           Product: Mono: Runtime
           Version: 1.9.0
          Platform: 32bit
        OS/Version: RHEL 4
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: antonello.moro at elsagdatamat.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


Executing a ExecuteOracleNonQuery on linux RHEL 4, using
oracle-instantclient-basic-11.1.0.1-1 and oracle 9i server (running on a remote
machine) causes mono to crash. 
In order to reproduce the bug please find attached files "create_table.sql" and
"program.cs".


The reported error is:

Stacktrace:

  at (wrapper managed-to-native) OciNativeCalls.OCIAttrGetIntPtr
(intptr,System.Data.OracleClient.Oci.OciHandleType,intptr&,intptr,System.Data.OracleClient.Oci.OciAttributeType,intptr)
<0x00004>
  at (wrapper managed-to-native) OciNativeCalls.OCIAttrGetIntPtr
(intptr,System.Data.OracleClient.Oci.OciHandleType,intptr&,intptr,System.Data.OracleClient.Oci.OciAttributeType,intptr)
<0xffffffff>
  at System.Data.OracleClient.Oci.OciCalls.OCIAttrGetIntPtr
(intptr,System.Data.OracleClient.Oci.OciHandleType,intptr&,intptr,System.Data.OracleClient.Oci.OciAttributeType,intptr)
<0x00019>
  at System.Data.OracleClient.Oci.OciHandle.GetAttributeIntPtr
(System.Data.OracleClient.Oci.OciAttributeType,System.Data.OracleClient.Oci.OciErrorHandle)
<0x000a3>
  at System.Data.OracleClient.OracleCommand.ExecuteOracleNonQuery
(System.Data.OracleClient.OracleString&) <0x000d7>
  at (wrapper remoting-invoke-with-check)
System.Data.OracleClient.OracleCommand.ExecuteOracleNonQuery
(System.Data.OracleClient.OracleString&) <0xffffffff>
  at ConsoleApplication1.Program.ExecuteNonQuerySql
(string,System.Data.OracleClient.OracleConnection) <0x00042>
  at ConsoleApplication1.Program.Main (string[]) <0x000d6>
  at (wrapper runtime-invoke)
ConsoleApplication1.Program.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x8181fa0]
        mono [0x814b252]
        /lib/tls/libpthread.so.0 [0x5be8b0]
       
/home/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so(OCIAttrGet+0x3e)
[0x1203834]
        [0x2f790a]
        [0x2f78ba]
        [0x2f7844]
        [0xd0bbc8]
        [0xd0bac2]
        [0xd0b5c3]
        [0xcfd317]
        [0xcfd1c3]
        mono [0x816ec93]
        mono(mono_runtime_invoke+0x27) [0x80fc687]
        mono(mono_runtime_exec_main+0xb0) [0x8100d10]
        mono(mono_runtime_run_main+0x226) [0x8101436]
        mono(mono_main+0xa15) [0x8059785]
        mono [0x805886e]
        /lib/tls/libc.so.6(__libc_start_main+0xe3) [0x374e33]
        mono [0x80587b1]

=================================================================
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.
=================================================================

Aborted


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list