[Bug 1295] Crash in UOAssist in program code after GetForegroundWindow()

Wine Bugs wine-bugs at winehq.com
Sun Jun 22 11:17:12 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1295





------- Additional Comments From fsteinel at flonet.net  2003-22-06 11:17 -------
Bug comments restored from Gmane.org: 
 
I am attempting to run a program called UOAssist(www.tugsoft.com). This is a
very popular addon for the game Ultima Online(www.uo.com). This program will
interact with the game to do tasks for you in game. UOAssist has to start the
game itself and this seems to be where the problems occur. Ultima Online itself
runs great if run alone. I run all of this with no DLLOverrides for either
program. Also, I run Debian Unstable with the WINE package avaliable through
Debian apt-get sources(http://packages.debian.org/unstable/otherosfs/wine.html).
When I try to run UOAssist, it will crash when it starts the game executable.

The initial errors printed out are:

fixme:ole:CoCreateInstance no instance created for interface
{00000000-0000-0000-c000-000000000046} of class
{8856f961-340a-11d0-a96b-00c04fd705a2}, hres is 0x80040111
fixme:shdocvw:SHDOCVW_DllCanUnloadNow (void): stub
fixme:process:CreateProcessA (C:\Program Files\Ultima Online 2D\client.exe,...):
CREATE_NEW_PROCESS_GROUP ignored
fixme:process:CreateProcessA (C:\Program Files\Ultima Online 2D\client.exe,...):
CREATE_DEFAULT_ERROR_MODE ignored
fixme:console:SetConsoleCtrlHandler ((nil),1) - no error checking or testing yet
fixme:dsound:IDirectSoundImpl_SetCooperativeLevel (0x4037fa90,00030021,3):stub
wine: Unhandled exception, starting debugger...
Wine exited with a successful status

I'm not sure what other logs that would be needed for this. I found an old
closed bug report at http://bugs.winehq.com/show_bug.cgi?id=16 that
seemed to be
slightly similar. Thanks for your time


------- Additional Comments From mike <at> theoretic.com  2003-03-27 04:53 -------
Can you get a backtrace from the crash?
Also if you could put up the last 100 lines before the debugger starts in a
relay trace, that would be good also:

wine --debugmsg +relay uoassist.exe 2>relay.log


------- Additional Comments From ruffk <at> purdue.edu  2003-03-27 09:19 -------
Created an attachment (id=432)
 --> (http://bugs.winehq.com/attachment.cgi?id=432&action=view)
The part of the log that shows when Winedbg starts


------- Additional Comments From ruffk <at> purdue.edu  2003-03-27 09:20 -------
Created an attachment (id=433)
 --> (http://bugs.winehq.com/attachment.cgi?id=433&action=view)
The 100 lines before Winedbg starts


------- Additional Comments From ruffk <at> purdue.edu  2003-03-27 09:22 -------
I hope this works, I've never responded to a bug 
A backtrace from this is: 
 
0 0x2aa71000 (IGRPING.DLL..reloc+0x1aa6d000) (ebp=406729b8) 
  1 0x407be2e5 (USER32.DLL.GetForegroundWindow+0x4d5 in user32.dll.so) 
(ebp=406729e0) 
  2 0x407be54b (USER32.DLL.HOOK_CallHooks+0x14f in user32.dll.so) 
(ebp=40672d34) 
  3 0x407c3896 (USER32.DLL.PeekMessageW+0xe6 in user32.dll.so) 
(ebp=40672d84) 
  4 0x407c391f (USER32.DLL.PeekMessageA+0x27 in user32.dll.so) 
(ebp=40672dac) 
  5 0x0050627e (client.exe..text+0x10527e in C:\Program Files\Ultima Online 
2D\client.exe) (ebp=40796628) 
  6 0xec815356 (MSVCRT.DLL..reloc+0x747d0356) (ebp=57e58955) 
  7 0x530cea0e (MIDIMAP.DRV.DriverProc+0x120cbc6e) (ebp=b00b2d04) 
 
I added 2 attachments. Let me know if these aren't correct/want more info. 
Thanks 


------- Additional Comments From mike <at> theoretic.com  2003-03-28 09:18 -------
Hmm, nothing springs out at me from these files. The backtrace is a bit wierd.
The relay isn't much use, it seems the program traps the error, you'd need to
look further back at any rate to find the call that failed.

Without access to the app, I can't go much further with this. Maybe somebody
else knows. Updating the summary to be more accurate (this doesn't have anything
to do with createprocess i don't think)

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list