Crash when opening the industry directory without industries

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
User avatar
aahz77
Transport Coordinator
Transport Coordinator
Posts: 274
Joined: 16 Aug 2006 10:15
Location: Hamburg, Germany

Crash when opening the industry directory without industries

Post by aahz77 »

The latest nightly (r2074) (and possibly older versions, haven't tried) crash when opening the industry directory without any industries on a newly created random map. See attached Crashlog and cfg. Can provide OllyDebug screenshot if needed, but I think it should be reproducable.

The problem persists when I try to open the directory after building a single industry and destroying it again.
Attachments
CRASH002.TXT
(1.6 KiB) Downloaded 110 times
ttdpatch.cfg
(38.12 KiB) Downloaded 110 times
One after one, by the star-dogged Moon,
Too quick for groan or sigh,
Each turned his face with a ghastly pang,
And cursed me with his eye.

-- Samuel T. Coleridge, The Rime of the Ancient Mariner
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Crash when opening the industry directory without industries

Post by DaleStan »

aahz77 wrote:without any industries
Well, don't do that then. :p

I'm looking into it.

EDIT: And it should be fixed in 2075.
Last edited by DaleStan on 11 Dec 2008 23:41, edited 1 time in total.
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
Nagyzee
Transport Coordinator
Transport Coordinator
Posts: 261
Joined: 05 Jun 2008 16:45
Location: Hungary

Re: Crash when opening the industry directory without industries

Post by Nagyzee »

I noticed this quite some time ago, probably when using r1963, I just forgot to report it. Sorry about that.

And this happens in the scenario editor, too. So one must be careful not to click on that one instead of the "Build industry" menu.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Crash when opening the industry directory without industries

Post by DaleStan »

Nagyzee wrote:And this happens in the scenario editor, too.
Care to enlighten me on how exactly one goes about getting to the industry directory from the scenario editor?
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
aahz77
Transport Coordinator
Transport Coordinator
Posts: 274
Joined: 16 Aug 2006 10:15
Location: Hamburg, Germany

Re: Crash when opening the industry directory without industries

Post by aahz77 »

DaleStan wrote:
aahz77 wrote:without any industries
Well, don't do that then. :p
Oh well :oops: I should have known that it's the person in front of the computer which is the problem :lol:
DaleStan wrote: I'm looking into it.

EDIT: And it should be fixed in 2075.
It works. Thank you for the quick fix. Not that I have any use of an empty industry directory, but a software should never crash when the user performs a legal action, no matter how absurd the intent may be (and it could always be a "misclicked" action, as Nagyzee pointed out).
One after one, by the star-dogged Moon,
Too quick for groan or sigh,
Each turned his face with a ghastly pang,
And cursed me with his eye.

-- Samuel T. Coleridge, The Rime of the Ancient Mariner
Nagyzee
Transport Coordinator
Transport Coordinator
Posts: 261
Joined: 05 Jun 2008 16:45
Location: Hungary

Re: Crash when opening the industry directory without industries

Post by Nagyzee »

DaleStan wrote:
Nagyzee wrote:And this happens in the scenario editor, too.
Care to enlighten me on how exactly one goes about getting to the industry directory from the scenario editor?
Sorry, bad memory on my part. It happened to me while testing a half-ready self-made scenario that's why I remembered wrong...
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 1 guest