TTDPatch 2.5b5 (and 6) random lockups (99% CPU use)

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

TTDPatch 2.5b5 (and 6) random lockups (99% CPU use)

Post by JohalaReewi »

Have been trying out 2.5 beta 5 on Windows XP pro SP2 and it works great apart from every now and then, the game locks up (no movement on screen, mouse freezes, but music continues) although you can get task manager to run and it shows TTDLOADW.OVL running at 99% CPU usage. Have to terminate the process. If you then run TTDPatch again loading autosave game (or saved game), it works fine (ie. doesn't lock up at the same time). No crash files created because it didn't actually crash.

edit: same problem with beta 6
Last edited by JohalaReewi on 18 Jun 2006 12:32, edited 1 time in total.
User avatar
ISA
Tycoon
Tycoon
Posts: 3384
Joined: 17 Oct 2005 20:56
Location: Estonia

Post by ISA »

In beta 3 there was same problem. AFAIK it was fixed! maybe solution: moreanimations bigger by half, when its 5000 then make it 10000.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Follow the ollydbg-related instructions here.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

Post by JohalaReewi »

There is a slight problem with using ollydbg. When TTLOADW.OVL locks up the display, you can't get any other apps to display on the screen. The ONLY thing that can display on the screen is the taskbar and task manager. I haven't found a way to do File > Attach in ollydbg because I can't see what is going on. :(

Have attached the ttdpatch.cfg file in case that is useful.
Attachments
ttdpatch.cfg
(3.34 KiB) Downloaded 216 times
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Try running TTD in a window instead of fullscreen.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

Post by JohalaReewi »

That did it.

Hope this is useful.
Attachments
ollydbg.jpg
ollydbg.jpg (97.2 KiB) Viewed 673 times
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I'm afraid not. Did you do the "Hit F7 once" step before taking the screen shot?
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

Post by JohalaReewi »

Sure did. Here is another go.
Attachments
ollydbg.jpg
ollydbg.jpg (152.27 KiB) Viewed 673 times
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Strange, somehow your OS is different in a way than what I'm used to. These screens only show the Windows exception handler, not the actual patch code that's hanging.

OK, try pressing F8 until the first line starts with 004xxxxx, 005xxxxx or 006xxxxx (the only that's 7C95xxxx in your screenshots). Then send me that please.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

Post by JohalaReewi »

Well it doesn't get very far. Have tried it a number of times and pressing F8 works only a few times and each time, ollydbg gets stuck as shown in the screen dump. TTDpatch seems to crash more frequently when running in a window instead of full screen.
Attachments
ollydbg.jpg
ollydbg.jpg (154.83 KiB) Viewed 642 times
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I'm afraid then I don't know what you can do at this point, somehow the debugger isn't behaving as I think it should.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

JohalaReewi wrote:Have tried it a number of times and pressing F8 works only a few times
I'm assuming you meant "F7" there.

Does this solve the problem:
DaleStan wrote:A couple presses of F7 did not get me out of NTDLL, so I hit the "Run until return" button, which brought me here.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
stevenh
TTDPatch Developer
TTDPatch Developer
Posts: 759
Joined: 24 Jul 2005 05:07
Location: Canberra, Australia
Contact:

Post by stevenh »

JohalaReewi, Do this for me:
Once you have TTDPatch locked up, Attach as per usual.
OllyDbg will pause the execution of the program...

You initially need to hit F9 (Or the play button up on the toolbar) to continue the program... so it gets back to it's locked-up state.

Now hit F12 (or the Pause button up the toolbar) in OllyDbg and see where it stops.

If it's still in a memory address above 650000-700000 then I think you should consider upgrading Video Drivers or DirectX.
JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

Post by JohalaReewi »

This looks a bit better I think?
Attachments
ollydbg.jpg
ollydbg.jpg (160.83 KiB) Viewed 637 times
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Yes, that one was actually useful, thanks.

It seems to hang searching for the end of a tunnel, while updating a signal block with a train in the tunnel.

This suggests that somehow the tunnel is broken and only has one end so that it never actually ends.

Check your savegame for tunnels, especially look at trains that are in a tunnel to see if they're alright.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

Post by JohalaReewi »

Can't see anything obvious but this save game crashes on 6th Oct 1984 if you just load it and let it run.
Attachments
TRP08.SV1
(289.34 KiB) Downloaded 206 times
ttdpatch.cfg
(3.34 KiB) Downloaded 196 times
JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

Post by JohalaReewi »

Also happens with 2.5 beta 6. Started brand new game. This save game locks up on 25th Oct 1958 if you just let it run. Have also got ollydbg screen capture. Hope this is useful.
Attachments
ollydbg.jpg
ollydbg.jpg (159.14 KiB) Viewed 628 times
ttdpatch.cfg
(3.34 KiB) Downloaded 170 times
TRP09.SV1
(241.79 KiB) Downloaded 173 times
JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

Post by JohalaReewi »

Screen shot of a train in a tunnel when game crashes.

Looks like there are some earthworks going on as the train goes into the tunnel. That truck also looks a bit out of place?
Attachments
ScreenShot.jpg
ScreenShot.jpg (124.67 KiB) Viewed 5223 times
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Can you try to disable autoslope if it's enabled? That looks like an autoslope bug when terraforming ...
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
JohalaReewi
Engineer
Engineer
Posts: 40
Joined: 31 Jan 2005 12:42

Post by JohalaReewi »

Autoslope is off according to TTDXC. Should I try to switch it on?

Check post previous to screen shot for copy of ttdpatch.cfg.
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 6 guests