[Bug 2245] New: StarCraft updater crashes at dialog.c:639 or complains about sharing violation
Wine Bugs
wine-bugs at winehq.org
Sat May 22 11:10:07 CDT 2004
http://bugs.winehq.org/show_bug.cgi?id=2245
Summary: StarCraft updater crashes at dialog.c:639 or complains
about sharing violation
Product: Wine
Version: 20040505
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-user
AssignedTo: wine-bugs at winehq.org
ReportedBy: griffon+winehq at snurgle.org
I didn't see anything that looked similar in the bugs database. Trying to run
the Broodwar or Starcraft update programs leads to either an error about
Starcraft/bnupdate.exe being in use or a crash at dialog.c:639 because
DIALOG_get_info returned NULL, which looks offhand like WIN_GetWindowLong being
unhappy with one of its arguments. I'm not running with any Windows DLLs
(although I have Win98 lying around somewhere so I could try some if that would
be helpful). I tried various Version settings to no effect (win95, win98,
winnt, winxp). I'm not familiar at all with Windows programming, but am a C
programmer by profession, so I could do some debugging with a bit of direction
(or would be happy to let someone log in to debug). The behavior of whether it
crashes or gets an error seems to depend a bit on whether I'm running it as root
or a normal user. When it doesn't crash and I run with WINEDEBUG=warn+all,
here's some selected output, including the last few lines (the missing lines are
justmore warnings about not being able to find DLLs):
warn:file:wine_nt_to_unix_file_name L"test\\ntdll.dll" not found in
/home/lair/.wine/dosdevices/e:
warn:file:wine_nt_to_unix_file_name L"ntdll.dll" not found in
/home/lair/.wine/dosdevices/f:
warn:imm:ImmAssociateContext ((nil), 0x403b92f0): semi-stub
warn:msvcrt:msvcrt_init_console :Console handle Initialisation FAILED!
warn:cdrom:CDROM_SyncCache (0) -- Error occurred (Invalid argument)!
warn:file:wine_nt_to_unix_file_name L"advapi32.dll" not found in
/home/lair/.wine/dosdevices/d:/advapi32.dll
...
warn:file:wine_nt_to_unix_file_name L"advapi32.dll" not found in
/home/lair/.wine/dosdevices/e:
warn:file:wine_nt_to_unix_file_name L"test\\advapi32.dll" not found in
/home/lair/.wine/dosdevices/e:
warn:file:wine_nt_to_unix_file_name L"advapi32.dll" not found in
/home/lair/.wine/dosdevices/f:
warn:heap:HEAP_ValidateInUseArena Heap 40380000: invalid in-use arena magic for
403bdfd0
warn:heap:HEAP_ValidateInUseArena Heap 40380000: invalid in-use arena magic for
403bdfd0
warn:file:CreateFileW Unable to create file L"D:\\Starcraft\\bnupdate.exe"
(status c0000043)
warn:x11drv:SWP_DoOwnedPopups (0x40022) hInsertAfter = (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
Maybe memory corruption?
When it crashes, this is the stack trace:
=>0 0x40795150 (DIALOG_CreateIndirect+0x300(hInst=0x400000,
dlgTemplate=0x43cbfc, owner=0x10021, dlgProc=0x0, param=0x0, unicode=0x0,
modal=0x0) [dialog.c:639] in USER32.DLL) (ebp=406cfc18)
1 0x40795920 (CreateDialogIndirectParamAorW+0x40(hInst=0x400000,
dlgTemplate=0x43cb70, owner=0x10021, dlgProc=0x0, param=0x0, flags=0x2)
[dialog.c:738] in USER32.DLL) (ebp=406cfc3c)
2 0x40795974 (CreateDialogIndirectParamA+0x44(hInst=0x400000,
dlgTemplate=0x43cb70, owner=0x10021, dlgProc=0x0, param=0x0) [dialog.c:746] in
USER32.DLL) (ebp=406cfc60)
3 0x40795833 (CreateDialogParamA+0x73(hInst=0x400000, name=0x74,
owner=0x10021, dlgProc=0x0, param=0x0) [dialog.c:711] in USER32.DLL) (ebp=406cfc84)
4 0x00406fa6 (BNUpdate.exe..text+0x5fa6 in BNUpdate.exe) (ebp=406cff20)
5 0x40513312 (start_process+0xf2(arg=0x0) [process.c:834] in KERNEL32.DLL)
(ebp=406cfff4)
6 0x4001c891 (wine_switch_to_stack+0x11 in libwine.so.1) (ebp=00000000)
--
Configure bugmail: http://bugs.winehq.org/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