App crash using dcoracle77pro 7.7.242

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
malea
Posts: 33
Joined: Fri 25 Jan 2013 08:25

App crash using dcoracle77pro 7.7.242

Post by malea » Wed 05 Jun 2013 07:50

Hello,

I have a problem with an application. My app uses dotConnect for Oracle 7.7.242.
I have installed my app on a windows 7 machine. And I have installed oracle client 10g too.

I obtain all days the same error. And it happens randomly, one, two or three times each day.
I can't reproduce it becouse I don't know where is the problem. The app crashes suddenly and it seems that it is random.

This crash generates two logs in the windows events viewer (it is in french, sorry...):

First:
Application: Horto_GestionComercial.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at OciDynamicType.nativeOCISessionEnd(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, UInt32)
at OciDynamicType.OCISessionEnd(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, UInt32)
at Devart.Data.Oracle.ao.c()
at Devart.Data.Oracle.ao.m()
Second:
Nom de l’application défaillante Horto_GestionComercial.exe, version : 2.0.10.0, horodatage : 0x51a30532
Nom du module défaillant : oracore10.dll, version : 10.2.0.1, horodatage : 0x4301af82
Code d’exception : 0xc0000005
Décalage d’erreur : 0x000530ae
ID du processus défaillant : 0x974
Heure de début de l’application défaillante : 0x01ce60644c67bd33
Chemin d’accès de l’application défaillante : C:\Program Files\People Tech\GESTION COMMERCIALE\Horto_GestionComercial.exe
Chemin d’accès du module défaillant: d:\oracle\product\10.2.0\client_1\bin\oracore10.dll
I have verified that the user has administrator privileges and that oracore10.dll is accessible and not corrupted, so I don't know where is the problem, if it's problem of dcoracle... or not.

Can you help me or give me an idea to know what is happening?

Thank's.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: App crash using dcoracle77pro 7.7.242

Post by Pinturiccio » Fri 07 Jun 2013 08:38

Unfortunately, the provided stack trace does not let us find any possible reasons of the issue.

Try doing the following:
1. Use the latest version of dotConnect for Oracle (which is currently 7.7.257);
2. Use another Oracle Client. For more information, please refer to http://www.devart.com/dotconnect/oracle ... tmode.html
3. Use the Direct mode;
4. Is the issue reproduced when using the ODP.NET provider?

Is the issue reproduced after these steps?

If you manage to reproduce the issue persistently, then please send us a small test project with the corresponding DDL/DML scripts for reproducing the issue.

malea
Posts: 33
Joined: Fri 25 Jan 2013 08:25

Re: App crash using dcoracle77pro 7.7.242

Post by malea » Wed 03 Jul 2013 08:47

Sorry for the delay.

I can not reproduce the error becouse it appears randomly. Sometimes appears only one time in a day. Sometimes two. Or sometimes it does'nt appear.

I have updatd to version 7.7.267 and oracle client to version 11. I will test with this configuration.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: App crash using dcoracle77pro 7.7.242

Post by Pinturiccio » Fri 05 Jul 2013 11:48

malea wrote:I will test with this configuration.
If the issue is reproduced after your tests, please provide the information we have asked for in the previous post.

Post Reply