The International Simutrans Forum

 

Author Topic: Game crashes when I zoom out  (Read 2592 times)

0 Members and 1 Guest are viewing this topic.

Offline accord2 pt

  • *
  • Posts: 236
  • Languages: EN, PT
Game crashes when I zoom out
« on: February 22, 2017, 08:36:43 PM »
My game crashes when I zoom out. In every game, but I send you a save file if you need. https://www.dropbox.com/s/2fafw400otu5qs6/Elsingstoke%205.8.sve?dl=0 I am using the files update at the day 22/2

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #1 on: February 22, 2017, 08:49:08 PM »
Thank you for your report. I am, however, having some trouble reproducing this either with a debug or release build. Can you elaborate precisely the circumstances in which this is reproduced on your system - how far did you zoom out and in what position, and how long did it take to crash?

Offline accord2 pt

  • *
  • Posts: 236
  • Languages: EN, PT
Re: Game crashes when I zoom out
« Reply #2 on: February 22, 2017, 09:19:00 PM »
It is normal but when I use the mouse wheel to zoom out it crashes instantly. It is like: I spin the wheel to zoom out and the game crashes. There is no time between, it doesn't zoom out either, the game just crashes at that instant.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #3 on: February 22, 2017, 09:33:31 PM »
That is very odd, since I cannot reproduce this, even with the build from the server. It is always the mouse wheel that I use to zoom.

May I ask - has this problem only started to occur recently? Does it occur only on this map? Can you reproduce it in Standard?

Offline accord2 pt

  • *
  • Posts: 236
  • Languages: EN, PT
Re: Game crashes when I zoom out
« Reply #4 on: February 22, 2017, 10:09:45 PM »
I also crashes when using the in-game options to zoom out. In the version of yesterday it doesn't happen, but today I download today's version and it started happening, since the moment I tried for the first time. It even happens in the main menu map. What do you mean with standard?

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 576
  • Languages: EN, FR, DE, FI, SE
Re: Game crashes when I zoom out
« Reply #5 on: February 22, 2017, 10:12:57 PM »
What do you mean with standard?
The normal Simutrans game, which we commonly refer to as "Standard" as opposed to Extended.

Offline accord2 pt

  • *
  • Posts: 236
  • Languages: EN, PT
Re: Game crashes when I zoom out
« Reply #6 on: February 22, 2017, 10:35:43 PM »
Oh, I see. No, it only happens in extended. In standard everything works just fine.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #7 on: February 23, 2017, 12:22:23 AM »
That is very odd - I still cannot reproduce this with the .exe on the server to-day, I am afraid. Can you tell me more about your system specifications?

Offline accord2 pt

  • *
  • Posts: 236
  • Languages: EN, PT
Re: Game crashes when I zoom out
« Reply #8 on: February 23, 2017, 08:50:25 PM »
In today (23) version it keeps happening. I don't understand why, since the computer is the same as 21 and the days before, when it worked fine. My specifications are:
Processor 1.80 GHz, RAM 4GB System 64bits (x64) it is a Windows 10.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #9 on: February 23, 2017, 09:03:05 PM »
May I ask what sort of processor in particular?

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 576
  • Languages: EN, FR, DE, FI, SE
Re: Game crashes when I zoom out
« Reply #10 on: February 23, 2017, 09:12:11 PM »
In the latest nightly, attempting to zoom in general crashes. I have an Intel Core i7-4700HQ at 2,4 GHz.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #11 on: February 23, 2017, 09:17:59 PM »
What I will have to do is test whether this is caused by a recent change to the build specifications of the nightly builds, in particular whether telling the compiler to assume that people have at least a Pentium 4 (-march=pentium4) is causing these crashes. I have amended the configuration file on the server: can you test to-morrow to see whether this has alleviated the problem? If not, I will have to test whether another, similar change is responsible.

Can I also ask both of you to test the latest nightly build of Standard to see whether the problem can be reproduced there?

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 576
  • Languages: EN, FR, DE, FI, SE
Re: Game crashes when I zoom out
« Reply #12 on: February 23, 2017, 09:40:28 PM »
I couldn't start the latest Standard nightly, but a self-compiled Extended seems to work just fine.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #13 on: February 23, 2017, 09:55:31 PM »
What is your CPU, may I ask?

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 576
  • Languages: EN, FR, DE, FI, SE
Re: Game crashes when I zoom out
« Reply #14 on: February 23, 2017, 10:04:56 PM »
Intel Core i7-4700HQ at 2,4 GHz.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #15 on: February 23, 2017, 10:09:17 PM »
May I ask what error that you get when starting the latest nightly version of Standard?

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 576
  • Languages: EN, FR, DE, FI, SE
Re: Game crashes when I zoom out
« Reply #16 on: February 23, 2017, 11:05:40 PM »
Just tested again, it was just a pakset issue. Standard works fine.

Offline ConnieR68

  • *
  • Posts: 1
  • Languages: US
Re: Game crashes when I zoom out
« Reply #17 on: February 24, 2017, 12:34:41 AM »
I'm using a I7 too and the same happens when i try to zoom any direction. I'd say it might be a problem with the I7 in general.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #18 on: February 24, 2017, 01:17:59 AM »
I have an i7, albeit an earlier i7, so I do not think that the problem is general to all i7s. Welcome to the forum, incidentally, Connie, and sorry that you are having trouble. As with Rollermaterial, can I ask you to test again with the executable on the server to-morrow morning to see whether the problem has been fixed? If not, I will have to ask you to test again with a build the following day. (I am afraid that bug fixing is much slower when I cannot reproduce the problem myself).

Offline accord2 pt

  • *
  • Posts: 236
  • Languages: EN, PT
Re: Game crashes when I zoom out
« Reply #19 on: February 24, 2017, 09:12:49 AM »
Quote
May I ask what sort of processor in particular?
AMD A4-6210 APU with AMD Radeon R3 Graphics 1.80GHz

I tested again in today version and it works fine. Thank you :)

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #20 on: February 24, 2017, 12:06:26 PM »
Thank you - that is most helpful. That means that the problem is indeed march=pentium4.

Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1327
Re: Game crashes when I zoom out
« Reply #21 on: February 24, 2017, 08:52:35 PM »
Thank you - that is most helpful. That means that the problem is indeed march=pentium4.
I doubt it. Your executable crashes for me too, I can produce my own that work fine (sorta...)
Did you accompany -march=pentium4 with -mstackrealign as was suggested? Although lacking it I think that caused crashes on initial launch for some people, not on zooming, but 6.3.0 most likely behaves different than 5.3.0.

Also, with the pak128.Britain included in simutrans-extended-complete.zip, the power line bridges are corrupt. The asm code handles this better than the USE_C which completely goes nuts, especially after a rezoom/code. Could be the actual problem. (or other corrupt graphics - the powerline bridge was most in your face with USE_C)

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Game crashes when I zoom out
« Reply #22 on: February 24, 2017, 09:34:39 PM »
The server build executable crashes when you use it? May I ask in what circumstances that it crashes, and whether this is a crash to desktop, a freeze or a crash with an internal Simutrans error message?

I did omit to add -mstackrelaign; I had not spotted the suggestion that this be added (or had forgotten about it). Do you think that this could have caused crashes for others even though it worked fine for me (with the executable from the server)?

As to the power line bridges - I do not fully understand the problem with these. I have seen white squares next to them before, but thought that this was an error in the .png files. Do you have any idea what is happening here? I have not altered the graphics code from Standard, and do not know how it works, so I really have no idea what this could be about.

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 576
  • Languages: EN, FR, DE, FI, SE
Re: Game crashes when I zoom out
« Reply #23 on: February 25, 2017, 09:20:59 PM »
The latest nightly works fine for me.