http://bugs.winehq.org/show_bug.cgi?id=6638
------- Additional Comments From a_villacis@palosanto.com 2006-09-11 16:28 ------- Created an attachment (id=4044) --> (http://bugs.winehq.org/attachment.cgi?id=4044&action=view) Visual Basic 6 testcase demonstrating bug.
This attachment is a minimal sample program that demonstrates the bug. The program requires MDAC for the ADO objects. The program was demonstrated with MDAC 2.8, but 2.6 might work as well.
When run, this program will display a dialog with two buttons. The top one with the label "Ejecutar prueba" (Spanish for "Run test") will execute CreateObject() to get an instance of an ADODB.Recordset, and then invoke the Append method on the Fields member of the returned object. The exact sequence of actions can be reviewed in the source code (wndPrueba.frm), in the method cmdPrueba_Click().
The second button deliberately crashes in native as well as in builtin, and is intended to demonstrate failure modes in order to write a testcase.
A trace is provided in the file salida.txt, included inside the tarball.