CoreLab.MySql.ah.a.mysql_get_server_info(IntPtr A_0)

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
DwightFowler
Posts: 9
Joined: Wed 02 Apr 2008 03:14

CoreLab.MySql.ah.a.mysql_get_server_info(IntPtr A_0)

Post by DwightFowler » Fri 12 Sep 2008 16:34

I've got a product in the field and it is throwing a System.AccessViolation exception. I'm having a hard time interpreting what is causing the problem. Can anyone help decipher this error stack?

Code: Select all

System.AccessViolationException
Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben.
Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
Stack Trace:
bei CoreLab.MySql.ah.a.mysql_get_server_info(IntPtr A_0)
bei CoreLab.MySql.at.l()
bei CoreLab.MySql.MySqlInternalConnection.get_ServerVersionNormalized()
bei CoreLab.MySql.MySqlConnection.h()
bei CoreLab.MySql.MySqlConnection.Open()
bei Quest.Toad.Db.Connection.OpenConnection(IDbConnection connection)
bei Quest.Toad.MySQL.MySQLConnection.OpenConnection(IDbConnection
connection)

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Mon 15 Sep 2008 10:47

Please send me (alexsh at devart.com) your libmysql.dll or provide its version to us. Does this error occur permanently or from time to time?

DwightFowler
Posts: 9
Joined: Wed 02 Apr 2008 03:14

Post by DwightFowler » Wed 24 Sep 2008 18:20

Alex,

I'm tracking down the version of the libmysql.dll for you. I will send it to you as soon as I can.

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 30 Sep 2008 13:35

The problem is fixed. Look forward to the next build of MyDirect .NET.

DwightFowler
Posts: 9
Joined: Wed 02 Apr 2008 03:14

Post by DwightFowler » Tue 30 Sep 2008 14:12

Can you give us any info on what was happening?

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Wed 01 Oct 2008 08:33

It was an incorrect usage of our provider in the client mode in OS Vista. The System.AccessViolation exception was arisen when invoking the mysql_get_server_info(IntPtr A_0) method from the libmysql.dll library. The next buld of MyDirect .NET will be available in 7 days.

DwightFowler
Posts: 9
Joined: Wed 02 Apr 2008 03:14

Access violation reappears

Post by DwightFowler » Wed 29 Oct 2008 19:25

Alex,

I have a new customer that is using version 4.85.36 of MyDirect on WinXP Home 32 bit. He is getting the same error stack:

Code: Select all

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Stack trace:

   at CoreLab.MySql.ah.a.mysql_get_server_info(IntPtr A_0)
   at CoreLab.MySql.at.l()
   at CoreLab.MySql.MySqlInternalConnection.get_ServerVersionNormalized()
   at CoreLab.MySql.MySqlConnection.h()
   at CoreLab.MySql.MySqlConnection.Open()
Is there anything I can do to help track this down?

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 30 Oct 2008 09:01

dotConnect for MySQL beta version 5.00.1 Trial Edition does not have this problem and can be downloaded from our site now. The final release of dotConnect for MySQL will be available soon.

Post Reply