OraDirect on Itanium

OraDirect on Itanium

Postby pfgrobler » Fri 09 Mar 2007 22:14

I've tried to run the demo Table application on on an Itanium Server running win 2003 but it seems to crash immediately.

It does not show any error messages. But when looking at task manager I can see Dr watson starting almost immediately.(DW20.exe)


Does OraDirect work on Itanium
Last edited by pfgrobler on Mon 19 Mar 2007 11:17, edited 1 time in total.
pfgrobler
 
Posts: 7
Joined: Fri 09 Mar 2007 22:03

Postby pfgrobler » Fri 09 Mar 2007 22:16

I've downloaded ORANET400b2.exe
pfgrobler
 
Posts: 7
Joined: Fri 09 Mar 2007 22:03

Postby pfgrobler » Mon 12 Mar 2007 07:22

The detail exception I recieve is

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DataMisalignedException: A datatype misalignment was detected in a load or store instruction.
at CoreLab.Oracle.f.b()
at CoreLab.Oracle.f.d()
at CoreLab.Oracle.w.a(String A_0, String A_1, String A_2, String A_3, Int32 A_4, OracleConnectMode A_5)
at CoreLab.Oracle.OracleInternalConnection..ctor(bc connectionOptions)
at CoreLab.Oracle.ai.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
at CoreLab.Common.DbConnectionFactory.a(DbConnectionPool A_0, DbConnectionOptions A_1)
at CoreLab.Common.DbConnectionPool.a()
at CoreLab.Common.DbConnectionPool.GetObject()
at CoreLab.Common.DbConnectionFactory.a(DbConnectionBase A_0)
at CoreLab.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at CoreLab.Oracle.OracleConnection.Open()
at CoreLab.Oracle.ConnectForm.btConnect_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
DataSet
Assembly Version: 1.0.2627.16648
Win32 Version: 1.0.2627.16648
CodeBase: file:///C:/temp/DataSet.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CoreLab.Oracle
Assembly Version: 3.55.19.0
Win32 Version: 3.55.19.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CoreLab.Oracle/3.55.19.0__09af7300eec23701/CoreLab.Oracle.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
pfgrobler
 
Posts: 7
Joined: Fri 09 Mar 2007 22:03

Postby Alexey » Mon 12 Mar 2007 09:35

Are you sure you installed OraDirect .NET 4.0 beta? I am asking because judging from tha call stack 3.5 version is used.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby pfgrobler » Mon 12 Mar 2007 19:09

YOu are right I got them mixed up I initialy tried 4 but did not install the DLL's I just copied them to the same directory as as the exe.

The stack trace was from 3.5 after running the installer and doing a mnimum install
pfgrobler
 
Posts: 7
Joined: Fri 09 Mar 2007 22:03

Postby Alexey » Tue 13 Mar 2007 13:13

So does the same error occur when using OraDirect .NET 4.0 beta?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby pfgrobler » Tue 13 Mar 2007 17:02

Yes I do,

I'm connecting in direct mode

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DataMisalignedException: A datatype misalignment was detected in a load or store instruction.
at CoreLab.Oracle.br.b()
at CoreLab.Oracle.br.d()
at CoreLab.Oracle.b3.a(String A_0, String A_1, String A_2, String A_3, Int32 A_4, OracleConnectMode A_5)
at CoreLab.Oracle.OracleInternalConnection..ctor(v connectionOptions)
at CoreLab.Oracle.l.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
at CoreLab.Common.a1.a(j A_0, DbConnectionOptions A_1)
at CoreLab.Common.j.a()
at CoreLab.Common.j.k()
at CoreLab.Common.a1.a(DbConnectionBase A_0)
at CoreLab.Common.ag.a(DbConnectionBase A_0)
at CoreLab.Oracle.OracleConnection.Open()
at Table.ConnectForm.btConnect_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Table
Assembly Version: 1.0.2624.39051
Win32 Version: 1.0.2624.39051
CodeBase: file:///C:/temp/Table.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CoreLab.Oracle
Assembly Version: 4.0.2.0
Win32 Version: 4.0.2.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CoreLab.Oracle/4.0.2.0__09af7300eec23701/CoreLab.Oracle.dll
----------------------------------------
CoreLab.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CoreLab.Data/4.0.0.0__09af7300eec23701/CoreLab.Data.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
pfgrobler
 
Posts: 7
Joined: Fri 09 Mar 2007 22:03

Postby Alexey » Wed 14 Mar 2007 07:14

it seems to crash imediatly
I'm connecting in direct mode

Please clarify when it crashes: when you run the exe file or when you are trying to open a connection. Are you able to connect in the design time?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby pfgrobler » Mon 19 Mar 2007 11:04

I think my posts might have been a bit mixed up.

I first copied the test table.exe application and the DLL from version 4 to
the server. The application failed without showing any error messages.

I then installed ran the installer for version 3.5 and ran the table application.
The started but when opening the connection using direct mode I received the exception:
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DataMisalignedException: A datatype misalignment was detected in a load or store instruction.
at CoreLab.Oracle.f.b()
at CoreLab.Oracle.f.d()
at CoreLab.Oracle.w.a(String A_0, String A_1, String A_2, String A_3, Int32 A_4, OracleConnectMode A_5)
at CoreLab.Oracle.OracleInternalConnection..ctor(bc connectionOptions)
at CoreLab.Oracle.ai.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
at CoreLab.Common.DbConnectionFactory.a(DbConnectionPool A_0, DbConnectionOptions A_1)
at CoreLab.Common.DbConnectionPool.a()
at CoreLab.Common.DbConnectionPool.GetObject()
at CoreLab.Common.DbConnectionFactory.a(DbConnectionBase A_0)
at CoreLab.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at CoreLab.Oracle.OracleConnection.Open()
at CoreLab.Oracle.ConnectForm.btConnect_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
DataSet
Assembly Version: 1.0.2627.16648
Win32 Version: 1.0.2627.16648
CodeBase: file:///C:/temp/DataSet.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CoreLab.Oracle
Assembly Version: 3.55.19.0
Win32 Version: 3.55.19.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CoreLab.Oracle/3.55.19.0__09af7300eec23701/CoreLab.Oracle.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


I then installed version 4.0 on another ITANIUM server and ran the table application again and then got the exception:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DataMisalignedException: A datatype misalignment was detected in a load or store instruction.
at CoreLab.Oracle.br.b()
at CoreLab.Oracle.br.d()
at CoreLab.Oracle.b3.a(String A_0, String A_1, String A_2, String A_3, Int32 A_4, OracleConnectMode A_5)
at CoreLab.Oracle.OracleInternalConnection..ctor(v connectionOptions)
at CoreLab.Oracle.l.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
at CoreLab.Common.a1.a(j A_0, DbConnectionOptions A_1)
at CoreLab.Common.j.a()
at CoreLab.Common.j.k()
at CoreLab.Common.a1.a(DbConnectionBase A_0)
at CoreLab.Common.ag.a(DbConnectionBase A_0)
at CoreLab.Oracle.OracleConnection.Open()
at Table.ConnectForm.btConnect_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Table
Assembly Version: 1.0.2624.39051
Win32 Version: 1.0.2624.39051
CodeBase: file:///C:/temp/Table.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CoreLab.Oracle
Assembly Version: 4.0.2.0
Win32 Version: 4.0.2.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CoreLab.Oracle/4.0.2.0__09af7300eec23701/CoreLab.Oracle.dll
----------------------------------------
CoreLab.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CoreLab.Data/4.0.0.0__09af7300eec23701/CoreLab.Data.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Hope that helps, has any one else ever used the Oradirect driver successfully on ITANIUM using direct mode ?
pfgrobler
 
Posts: 7
Joined: Fri 09 Mar 2007 22:03

Postby Alexey » Wed 21 Mar 2007 12:53

We are investigating this.
I'll let you know our progress.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby pfgrobler » Thu 05 Apr 2007 13:03

ANy news ?
pfgrobler
 
Posts: 7
Joined: Fri 09 Mar 2007 22:03

Postby Alexey » Fri 06 Apr 2007 08:06

The problem appears to be complicated, and finding a solution may take a lot of time.
Thanks for your patience.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby Alexey » Tue 10 Apr 2007 09:16

Unfortunately, we cannot reproduce any problem.
Please execute the following code and report your results:
Code: Select all
    private void button1_Click(object sender, EventArgs e) {

      GetRecord();
    }

    private RecordType GetRecord() {

      RecordType result;
      result.f2 = (uint)1;
      result.f3 = (ushort)1;
      result.f1 = (byte)1;
      result.f4 = (uint)1;
      result.f5 = (ushort)1; 
      return result;
    }
  }

  [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 1)]
  internal struct RecordType {

    public byte f1;
    public uint f2;
    public ushort f3;
    public uint f4;
    public ushort f5;

    public RecordType(int dummy) {

      f1 = 0;
      f2 = 0;
      f3 = 0;
      f4 = 0;
      f5 = 0;
    }
  }
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle