WineHQ
Bug Tracking Database – Bug 4228

 Bugzilla

 

Last modified: 2016-01-07 14:26:16 UTC  

oleaut32 -native ODBC crash for VFP app

Bug 4228 - oleaut32 -native ODBC crash for VFP app
oleaut32 -native ODBC crash for VFP app
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: oleaut32
0.9.4.
Other Linux
: P2 critical
: ---
Assigned To: Mr. Bugs
: download
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2006-01-04 08:13 UTC by Peto
Modified: 2016-01-07 14:26 UTC (History)
0 users

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Screenshot from crashing app (71.48 KB, image/png)
2006-01-04 08:15 UTC, Peto
Details
+loaddll (4.80 KB, text/plain)
2006-01-04 08:20 UTC, Peto
Details
+relay log (707.47 KB, application/octet-stream)
2006-01-04 08:24 UTC, Peto
Details
+ole log (50.99 KB, text/plain)
2006-01-04 13:45 UTC, Peto
Details
Trying again with builtin ole -ERR screenshot (49.56 KB, image/png)
2006-01-09 10:53 UTC, Peto
Details
Wine CVS 060109 log (tailed,bz2) (840.37 KB, application/octet-stream)
2006-01-09 11:28 UTC, Peto
Details
ole logfile (bz2) with builtin oleaut32 (failure) (17.70 KB, application/octet-stream)
2006-01-17 12:37 UTC, Peto
Details
ole logfile (bz2) -successfull, oleaut32=n (3.28 KB, text/plain)
2006-01-17 12:40 UTC, Peto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peto 2006-01-04 08:13:48 UTC
We have an ISS application here that runs our whole office (150 computers). We
move part of them to linux, our goal is 50%.
Application is based on VFP7 and connects to Oracle DB using ODBC client 10
(windows version, because there is no free Oracle ODBC driver for Linux). Now
the ISS app is moving to VFP9 and we need to have ultimate version of WINE.

There have been problems upgrading Wine from 200504 version (bug 3966) but they
are solved now.

One bug remains, and that's what is this report about.

The success is based on OLEAUT32 -the native one must be used, otherways the app
crashes. I'll post screenshot and logs.
Comment 1 Peto 2006-01-04 08:15:31 UTC
Created attachment 1612 [details]
Screenshot from crashing app

During ODBC connection the app crashes.
Comment 2 Peto 2006-01-04 08:20:30 UTC
Created attachment 1613 [details]
+loaddll

Log from +loaddll ISS startup
Comment 3 Marcus Meissner 2006-01-04 08:23:38 UTC
please also post a 
WINEDEBUG=+ole  
trace 
Comment 4 Peto 2006-01-04 08:24:19 UTC
Created attachment 1614 [details]
+relay log

+relay log from startup of ISS app. Bz2-ed.
Comment 5 Peto 2006-01-04 13:45:31 UTC
Created attachment 1620 [details]
+ole log

Of course, the log as You wish
Comment 6 Saulius K. 2006-01-08 10:00:33 UTC
| trace:ole:DispCallFunc (0x7eb053ac, 112, 4, 0, 1, 0x7eafde18, 0x7fbbeda8,
0x7fbbed94 (vt=0))
| trace:ole:DispCallFunc arg 0: type 11, size 1
| trace:ole:dump_Variant 0x7fbbeec8->{VT_BOOL,FALSE}
| trace:ole:DispCallFunc Storing arg 0 (11 as 11)
| trace:ole:_invoke Calling 0xc239fc4(7eb053ac,00000000,)
| trace:ole:_invoke returns 00000000
| trace:ole:LoadTypeLib (L"oleacc.dll",0x7eb26fe4)
| trace:ole:LoadTypeLibEx (L"oleacc.dll",0,0x7eb26fe4)
| trace:ole:LoadTypeLibEx File L"oleacc.dll" index 1
| trace:ole:TLB_ReadTypeLib not found, trying to load L"oleacc.dll" as library
| err:ole:TLB_ReadTypeLib Loading of typelib L"oleacc.dll" failed with error 1812
| trace:ole:LoadTypeLibEx  returns 80029c4a

The err-line seems to me as the critical point here.  BTW there were some
possibly related patches commited to the public repositiory [1][2] regarding
_invoke function, so you, Peto, may want to test using newest Wine.  Lets see if
+ole log hasn't changed, at least.


[1] http://www.winehq.org/pipermail/wine-cvs/2006-January/020101.html
[2] http://www.winehq.org/pipermail/wine-cvs/2006-January/020141.html
Comment 7 Peto 2006-01-09 10:53:36 UTC
Created attachment 1647 [details]
Trying again with builtin ole -ERR screenshot

I tryed the fresh CVS version of Wine 060109, switched oleaut32 to builtin,
with Error again.
I'll post log when I manage to make it compressed under 1MB.
Comment 8 Peto 2006-01-09 11:28:30 UTC
Created attachment 1652 [details]
Wine CVS 060109 log (tailed,bz2)
Comment 9 Saulius K. 2006-01-09 13:35:58 UTC
I see only +gdi trace in the last attachment.  Is this intended? :)
Comment 10 Peto 2006-01-10 14:10:30 UTC
Maybe not :o) I'll try again.
Comment 11 Peto 2006-01-10 14:42:20 UTC
I don't understand; twice I was able to run it OK, and the third attemp was
ERROR again. Trying again.
Comment 12 Saulius K. 2006-01-11 21:25:14 UTC
Maybe "wineserver -k" will help?  If no, then maybe this plus uninstalling app,
removing ~/.wine dir and reinstalling app will help?

In a case of success IMHO two logs would be preffered:
"+ole" and "+ole,+oleacc,+olerelay,+typelib,+typelib2,+variant"

I grepped the former list of debug channels out from the "dlls/olea*" directory.
Comment 13 Peto 2006-01-17 12:37:04 UTC
Created attachment 1701 [details]
ole logfile (bz2) with builtin oleaut32 (failure)
Comment 14 Peto 2006-01-17 12:40:23 UTC
Created attachment 1702 [details]
ole logfile (bz2) -successfull, oleaut32=n

Note the size, the log is 100x smaller than the one with error..
Comment 15 Rob Shearman 2006-07-21 09:31:27 UTC
Please retest with a recent version of Wine.
Comment 16 Peto 2006-07-26 11:27:39 UTC
Yes, I will.
Comment 17 Dan Kegel 2007-02-11 14:39:19 UTC
I get that same error,
err:ole:TLB_ReadTypeLib Loading of typelib L"oleacc.dll" failed with error 1812
with the downloadable vfp7 app "The Master Genealogist".
The trial is at http://www.whollygenes.com/files/tmg6setup.exe
Using native DCOM got past the problem.
Comment 18 Austin English 2008-03-19 20:05:43 UTC
(In reply to comment #17)
> I get that same error,
> err:ole:TLB_ReadTypeLib Loading of typelib L"oleacc.dll" failed with error 1812
> with the downloadable vfp7 app "The Master Genealogist".
> The trial is at http://www.whollygenes.com/files/tmg6setup.exe
> Using native DCOM got past the problem.

Works fine for me in current git. Resolving fixed. Please reopen if this problem still occurs for you.
Comment 19 Alexandre Julliard 2008-03-21 15:52:30 UTC
Closing bugs fixed in 0.9.58.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to privacy@winehq.org

Hosted By CodeWeavers