http://bugs.winehq.com/show_bug.cgi?id=1531
Summary: fixme:ddraw when running Master of Orion 2
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: trivial
Priority: P4
Component: wine-directx
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: bunk(a)fs.tum.de
This is a resubmission of Bug 1154.
Master of Orion 2 runs fine woth Wine versions up to 20030618, but there are
always the following messages:
<-- snip -->
$ wine orion95.exe
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x40390778)->(00010021,00000011)
fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
fixme:ddraw:Main_DirectDraw_WaitForVerticalBlank
(0x40390778)->(flags=0x00000001,handle=(nil))
fixme:ddraw:Main_DirectDraw_WaitForVerticalBlank
(0x40390778)->(flags=0x00000001,handle=(nil))
fixme:ddraw:Main_DirectDraw_WaitForVerticalBlank
(0x40390778)->(flags=0x00000001,handle=(nil))
fixme:ddraw:Main_DirectDraw_WaitForVerticalBlank
(0x40390778)->(flags=0x00000001,handle=(nil))
fixme:ddraw:Main_DirectDraw_WaitForVerticalBlank
(0x40390778)->(flags=0x00000001,handle=(nil))
...
<-- snip -->
Since the game runs without problems, this is at least for this program only a
cosmetical issue.
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1524
us(a)the-edmeades.demon.co.uk changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|wine-bugs(a)winehq.com |us(a)the-edmeades.demon.co.uk
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1438
------- Additional Comments From hatky(a)users.sf.net 2003-19-06 04:41 -------
zdzichu <at> irc.pl
Trying to install Half-life with freshly compiled & installed wine:
root@mother:/mnt/cdrom$ wine SETUP.EXE
err:module:BUILTIN_LoadModule loaded .so but dll mmsystem.dll still not found
Could not load 'KERNEL.DLL' required by 'ISSET_SE', error=2
Most other programs work OK (Counter Strike installed themself, Half-Life
upgraded has run, although it complained about missing HalfLife).
Clearly KERNEL.DLL is not emulated properly.
---
restored from gmane.org
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1450
------- Additional Comments From hatky(a)users.sf.net 2003-19-06 04:37 -------
tjawatts <at> totalise.co.uk
I have CVS as of yesterday (08/05/03, in the afternoon), I have (customised)
linux with glibc 2.3.2, so I added --with-nptl to the config args bit in
wineinstall. X 4.3.0. Other programs run fine (acrobat,kazaa lite). Fake windows
on ext3.
Simcity installs fine (cd /mnt/cdrom, wine ./INSTALL/ENGLISH/SETUP.EXE). When I
run it (cd <wine>/Program\ Files/Maxis/SimCity\ 3000/, wine ./Game/SC3.EXE) I
get a loop with a load of enter/leave critical section plus a few get tick
counts ad infinitum. So I will attach the last few hundred +relay +snoop before
the loop, a +loaddll and some output from winedbg which seems to show a crash
(why when it doesnt if I it run normally?)
Hope you can help
Thanks
Tony
p.s. posted under misc as I have no idea what it is related too!
------- Additional Comments From tjawatts <at> totalise.co.uk 2003-05-09
04:44 -------
Created an attachment (id=476)
--> (http://bugs.winehq.com/attachment.cgi?id=476&action=view)
wine --debugmsg +snoop +relay ./Game/SC3.EXE
------- Additional Comments From tjawatts <at> totalise.co.uk 2003-05-09
04:45 -------
Created an attachment (id=477)
--> (http://bugs.winehq.com/attachment.cgi?id=477&action=view)
wine --debugmsg +loaddll ./Game/SC3.EXE
------- Additional Comments From tjawatts <at> totalise.co.uk 2003-05-09
04:45 -------
Created an attachment (id=478)
--> (http://bugs.winehq.com/attachment.cgi?id=478&action=view)
winedbg ./Game/SC3.EXE
------- Additional Comments From tjawatts <at> totalise.co.uk 2003-05-09
07:07 -------
OK, just looking at the snoop relay and could it be something to do with the
setthreadpriority, i.e. it is set to be at the bottom of the queue or something?
Any ideas?
Tony
0033:Call kernel32.GetThreadPriority(fffffffe) ret=004c03cd
0033:Ret kernel32.GetThreadPriority() retval=00000000 ret=004c03cd
0033:Call kernel32.SetThreadPriority(fffffffe,00000001) ret=004c03e4
0033:Ret kernel32.SetThreadPriority() retval=00000001 ret=004c03e4
------- Additional Comments From mike <at> theoretic.com 2003-05-09 09:35 -----
--
Can you get a backtrace from the critical section functions in the loop?
------- Additional Comments From tjawatts <at> totalise.co.uk 2003-05-09
10:15 -------
If you give me an idea how, with winedbg it gives the exception attached, could
I use gdb or something?
Thanks
Tony
------- Additional Comments From tjawatts <at> totalise.co.uk 2003-05-09
10:54 -------
Here is the backtrace from gdb, any use?
Starting program: /usr/bin/wine ./Game/SC3.EXE
[New Thread 16384 (LWP 18064)]
[New Thread 32769 (LWP 18067)]
[New Thread 16386 (LWP 18068)]
[New Thread 32771 (LWP 18077)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 18064)]
RtlImageNtHeader (hModule=0x0) at loader.c:1273
1273 if (dos->e_magic == IMAGE_DOS_SIGNATURE)
(gdb) bt
#0 RtlImageNtHeader (hModule=0x0) at loader.c:1273
#1 0x400d231a in RtlImageDirectoryEntryToData (module=0x0, image=1, dir=0,
size=0x40702d84) at loader.c:1301
#2 0x400d12f4 in LdrGetProcedureAddress (module=0x0, name=0x40702db0, ord=0,
address=0x40702dac) at loader.c:787
#3 0x40087454 in GetProcAddress (hModule=0x0,
function=0x4fc298 "TryEnterCriticalSection") at ../../loader/module.c:1053
#4 0x004b9082 in ?? ()
#5 0x400bd984 in start_process () at ../../scheduler/process.c:570
#6 0x400bf4d7 in call_on_thread_stack (func=0x400bd6b0)
at ../../scheduler/sysdeps.c:110
----
restored from gmane.org
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1434
------- Additional Comments From hatky(a)users.sf.net 2003-19-06 04:14 -------
Restoring from gmane.org:
hatky <at> users.sf.net:
Just using this meta bug to order the bug tree a bit
other developer separate dll's and change directory stracture for the source
code
for now I order bugs... :)
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1530
Summary: FIXME:heap:RtlWalkHeap not fully compatible
Product: Wine
Version: 20030508
Platform: PC
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-binary
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: john_vms(a)hotmail.com
fixme:win32:SetCriticalSectionSpinCount critsection=0x416f00b0: spincount=4000
not supported
fixme:win32:SetCriticalSectionSpinCount critsection=0x417b00b0: spincount=4000
not supported
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1527
------- Additional Comments From syjef(a)mdanderson.org 2003-18-06 14:48 -------
I am receiving the same things from current CVS. This is on FreeBSD 5.1-RELEASE
with XFree86 4.3.0. In my case, the font metrics are failing at:
Font metrics: 99.5% done
Font -b&h-lucidasans-bold-i-normal-sans-100-*-100-100-p-0-iso8859-1
wine: Unhandled exception, starting debugger...
Furthermore, any attempt to use the debugger fails with:
wait4: Interrupted system call
Regardless of if I try to step through a few lines or I just type quit at the prompt. At the
end of attempting to load debug symbols I receive the following for this particular (font)
error:
In 32-bit mode.
file_set_error: Bad address
I have not previously had any problems building font metrics, and I have not (to my
knowledge) loaded any fonts since the last successful build.
--
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.
http://bugs.winehq.com/show_bug.cgi?id=1527
------- Additional Comments From william.gallafent(a)virgin.net 2003-18-06 09:49 -------
Well, for what it's worth, here's the backtrace after the crash when run Synchronously. I don't
have libX11 with debug symbols, so I can't see what's happening inside that library. The font
name still looks OK at this point, but I can't look inside the Display*.
Font metrics: 97.9% done
Font -misc-esstix eight-medium-r-normal--100-*-100-100-p-0-adobe-fontspecific
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 16384 (LWP 6922)]
DebugBreak () at debugger.c:273
273 }
(gdb) bt
#0 DebugBreak () at debugger.c:273
#1 0x40f068d5 in error_handler (display=0x3c00e400, error_evt=0x408c266c) at
x11drv_main.c:143
#2 0x40f8288e in _XError () from /usr/X11R6/lib/libX11.so.6
#3 0x40f80dad in _XReply () from /usr/X11R6/lib/libX11.so.6
#4 0x40f63d93 in _XF86BigfontQueryFont () from /usr/X11R6/lib/libX11.so.6
#5 0x40f6343f in XLoadQueryFont () from /usr/X11R6/lib/libX11.so.6
#6 0x40efdd13 in TSXLoadQueryFont (a0=0x3c00e400,
a1=0x408c2960 "-misc-esstix
eight-medium-r-normal--100-*-100-100-p-0-adobe-fontspecific") at ts_xlib.c:20
#7 0x40ef0fcd in XFONT_BuildMetrics (x_pattern=0x3c01b1e0, res=100,
x_checksum=4208893235, x_count=6291)
at ../../graphics/x11drv/xfont.c:2120
#8 0x40ef2e7e in X11DRV_FONT_InitX11Metrics () at ../../graphics/x11drv/xfont.c:2959
#9 0x40ef3b80 in X11DRV_SelectFont (physDev=0x40393718, hfont=0xa2) at
../../graphics/x11drv/xfont.c:3339
#10 0x40c8f3ba in FONT_SelectObject (handle=0xa2, obj=0x4037312e, hdc=0x4c) at
../../objects/font.c:435
#11 0x40c95638 in SelectObject (hdc=0x4c, handle=0xa2) at ../../objects/gdiobj.c:1074
#12 0x40c87878 in DC_InitDC (dc=0x403949e8) at ../../objects/dc.c:194
#13 0x40c88607 in CreateDCA (driver=0x40bedc04 "DISPLAY", device=0x0, output=0x0,
initData=0x0) at ../../objects/dc.c:616
#14 0x40bab707 in SYSMETRICS_Init () at ../../windows/sysmetrics.c:118
#15 0x40bd9b75 in process_attach () at user_main.c:233
#16 0x40bd9d05 in UserClientDllInitialize (inst=0x40b50000, reason=1, reserved=0x1) at
user_main.c:325
#17 0x400c5399 in MODULE_InitDLL (wm=0x40372180, reason=1, lpReserved=0x1) at
loader.c:451
#18 0x400c5598 in MODULE_DllProcessAttach (wm=0x40372180, lpReserved=0x1) at
loader.c:528
#19 0x400c5578 in MODULE_DllProcessAttach (wm=0x40371a08, lpReserved=0x1) at
loader.c:521
#20 0x400c5578 in MODULE_DllProcessAttach (wm=0x403709a8, lpReserved=0x1) at
loader.c:521
#21 0x400c5578 in MODULE_DllProcessAttach (wm=0x40370670, lpReserved=0x1) at
loader.c:521
#22 0x400c5578 in MODULE_DllProcessAttach (wm=0x0, lpReserved=0x1) at loader.c:521
#23 0x400b1cac in start_process () at ../../scheduler/process.c:546
#24 0x400b6207 in call_on_thread_stack (func=0x400b1ae0) at
../../scheduler/sysdeps.c:113
(gdb) up 6
#6 0x40efdd13 in TSXLoadQueryFont (a0=0x3c00e400,
a1=0x408c2960 "-misc-esstix
eight-medium-r-normal--100-*-100-100-p-0-adobe-fontspecific") at ts_xlib.c:20
20 r = XLoadQueryFont(a0, a1);
(gdb) list
15
16 XFontStruct * TSXLoadQueryFont(Display* a0, const char* a1)
17 {
18 XFontStruct * r;
19 wine_tsx11_lock();
20 r = XLoadQueryFont(a0, a1);
21 wine_tsx11_unlock();
22 return r;
23 }
24
(gdb) p a0
$5 = (Display *) 0x3c00e400
(gdb) p a1
$6 = 0x408c2960 "-misc-esstix
eight-medium-r-normal--100-*-100-100-p-0-adobe-fontspecific"
--
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.