Bug #28065 | ODBC v3.51.14 cause Access Violation in MSDART.DLL with Delphi applications | ||
---|---|---|---|
Submitted: | 24 Apr 2007 3:33 | Modified: | 22 May 2007 15:15 |
Reporter: | Roberto Franceschetti | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 3,51,14 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[24 Apr 2007 3:33]
Roberto Franceschetti
[24 Apr 2007 3:35]
Roberto Franceschetti
Delphi Executable and source code to reproduce error
Attachment: CrashODBC.zip (application/unknown, text), 357.40 KiB.
[2 May 2007 12:57]
Tonci Grgin
Hi Roberto and thanks for your report. Can you just clarify this for me, Delphi 10 is actually 2005?
[2 May 2007 14:39]
Roberto Franceschetti
Actually Delphi 10 would be Borland Studio 2006. Don't ask me why :-) In any case, while I was googling to see if others were having similar problems, I have seen other cases from developers using Delphi 7.
[2 May 2007 14:55]
Tonci Grgin
Roberto, this seems to be more interesting than I thought as your test case crashes like reported... Consider this: CREATE TABLE `tst` ( `ID` int(11) NOT NULL auto_increment, `Name` varchar(50) default NULL, `File` mediumblob, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; mysql> select * from tst; +----+-------------+------+ | ID | Name | File | +----+-------------+------+ | 1 | nesto_drugo | NULL | | 2 | Row 2 | NULL | +----+-------------+------+ When I replace your table with this one I get no crashes! I need to think about this.
[4 May 2007 20:08]
Roberto Franceschetti
Tonci, I see the same thing. If I add the field `File` as mediumblob to both the table I provided as a sample here, and to our real application, the error disappears..
[4 May 2007 20:32]
Tonci Grgin
Yes Roberto, the entire team is examining traces... I'll notify you when we come up with something.
[18 May 2007 3:27]
Roberto Franceschetti
As an FYI, the newly released ODBC v3.51.15 seems to have fixed the problem.
[22 May 2007 15:09]
Tonci Grgin
Roberto, glad it works. So now, I just need to figure out why...
[22 May 2007 15:15]
Tonci Grgin
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ No one seems to be able to put the finger on the exact patch that fixed this problem in 3.51.15 so I'm closing the report.