[Bug 1450] Simcity 3000 (UK), loops

Wine Bugs wine-bugs at winehq.com
Thu Jun 19 04:37:26 CDT 2003


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





------- Additional Comments From hatky at 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.



More information about the wine-bugs mailing list