News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[R3862 and up] Crash instead intro dialogue

Started by Václav, October 24, 2010, 07:42:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dwachs

Apparently DrMingW does not work with symbols generated by current gcc compiler with option '-g' :(

@Wernieman: could you please compile such a debug executable but with option '-gstabs' instead of '-g' ? Thank you!
Parsley, sage, rosemary, and maggikraut.

wernieman

O.K.

I added to the config.default:
CCFLAGS += -gstabs
CXXFLAGS += -gstabs


file: sim-win-debug-3995.zip
download: http://www.wernieman.de/sim-win-debug-3995.zip
size: 22 MByte
include: sdl and gdi
I hope you understand my English

Dwachs

Thank you very much! Hope this helps to locate the crash :P
Parsley, sage, rosemary, and maggikraut.

Václav

Small stupid question: with which options to start debug version of game?

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

Dwachs

Every combination that leads to a crash and a crash report from drmingw is good :)

'-debug 3' is ok.
Parsley, sage, rosemary, and maggikraut.

Václav


Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

Milko

Hi

With 3995 -gstabs, drmingw report the same error of 3991 (no symbols...)
(for gdi and for sdl)

---
sim-wingdi-3995.exe caused an Illegal Instruction at location 005fb079 in module sim-wingdi-3995.exe.

Registers:
eax=00000000 ebx=00728230 ecx=0000000c edx=00000000 esi=00000000 edi=00000001
eip=005fb079 esp=0022e440 ebp=00000000 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246

Call stack:
----

Other tests
A) I start simutrans with -load pressing "p" key, next I try to start a new world, game crashed, I attach the logs, could help?
B) I start simutrans with -load pressing "p" key, next I try to run actual world (exit the pause), game crash....

http://simutrans-germany.com/files/upload/simu-3995-logs.zip

Giuseppe

Dwachs

#112
How bad :( Did you use the drmingw version from here:

http://code.google.com/p/jrfonseca/wiki/DrMingw ?

Edit: drmingw is also contained in this package:

http://sourceforge.net/projects/mingw/files/MinGW/Utilities/mingw-utils/mingw-utils-0.3/mingw-utils-0.3.tar.gz/download

I do not know, which of the two versions is the most recent one.
Parsley, sage, rosemary, and maggikraut.

Milko

Hi

Yes, drmingw 0.4.4

I use
drmingw -i
At crash appear a window with three buttons "debug","don't send","send", I click debug.

My two new "logs" can you help?

Giuseppe

Dwachs

#114
No call stack in that window ?

The logs are helpfuls as they show, where the bug is not. :/ I will have to add further log messages soon.

Edit: Revision 4000 has some more debug messages, please run test with '-debug 4' with the next nighlies.
Parsley, sage, rosemary, and maggikraut.

Milko

Call stack section is blank... Only registers are shown.

It may be that the bug manifests itself in a dll and then drmingw do not see any data?

Giuseppe

wernieman

I hope you understand my English

Dwachs

Quote from: Milko on December 02, 2010, 08:57:27 AM
Call stack section is blank... Only registers are shown.

It may be that the bug manifests itself in a dll and then drmingw do not see any data?
Could be. Googling tells me that in such case drmingw tell something like
pidgin.exe caused an Access Violation at location 7626ce0a in module msvcrt.dll


Parsley, sage, rosemary, and maggikraut.

Milko

In my crash error is in module sim-wingdi-3995.exe; it appear to be in simutrans, and not in a dll....

Giuseppe

prissi

Not if it is SDL, as simutrans main is called from SDL and thus both run under the same context.

Please try also the following executable: http://www.physik.tu-berlin.de/~prissi/simutrans/sim.zip

Václav

#120
Splendid...

The first comment: It runs by me.

The second comment: I have to test it more for possible else bugs. The first one I found is crash after using of "windows key". I wanted to keep game running and so I used that key and after switching back to game, it crashed. Soon I will give more reports.

Intro dialogue needs better face.

-->
Game freezes after some time after some actions (still not fully identified). But it may be caused by game age - number of moving vehicles (about one thousand), transportation web size and so on. So it seems I am going to have to begin new game.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

prissi

Since this was build on windows, maybe we have run into a compiler or library bug in the Mingw Linux build. Probably a new version of those tool chains may solve this; but as werniman is quite busy, I am afraid we might first release a new stable before you could use the nightlies on your specific system.

wernieman

If you want I could try to make a new mingw-Compiler ......

btw:
Yesterday I get my contractual notice of dismissal

(De: Ist das richtiges englisch für "Ordentliche Kündigung erhalten"??)

So after 1.1.2011 I have enough time for it ;o)
I hope you understand my English

Milko

Hi

Very good!, new version work also for me  :).

Giuseppe

prissi

Aparently the Mingw linux system has a bug on certain windows configurations. Not sure, how to handle that. Maybe a newer Mingw build can help this.

wernieman

I hope you understand my English

wernieman

#126
Sorry, but only next week .....

Edit:
..... now ;o)

please test next nightly!!
I hope you understand my English

Václav


Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

Milko


An_dz

R4059 is working for me too.

Thanks for the work.

Now new stable Simutrans can be lauched! :D

Dwachs

Parsley, sage, rosemary, and maggikraut.

Václav

Of course.

But I will have to begin new game. Because in currently played game I achieved point where it became boring - especially if some days ago I began creation of railway station extension of such size that I cannot place it anywhere.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

wernieman

Next year (January) I update SDL too .....
(I hope)
I hope you understand my English