[Vista/64Bit] Crash while Generating Universe and AI

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Message
Author
Dey
Space Krill
Posts: 5
Joined: Fri Sep 19, 2008 12:28 pm

[Vista/64Bit] Crash while Generating Universe and AI

#1 Post by Dey »

I've got Windows Vista Home as a 64Bit version and FreeOrion 0.3.10 Rev 2607
The problem is, tha the game crashes everytime when I try to start a game while it's generating the universe and the AI. There is no error message, it just returns to the desktop.
It doesn't matter if I try starting a game with 10 stars and 1 AI or with 1000 stars and 10 AI's.
Now the contents of the various log files:
AI log files are all the same:

Code: Select all

2008-09-19 14:37:42,975 DEBUG AI : AI_1 logger initialized.
2008-09-19 14:37:43,082 DEBUG AI : Python stdout and stderr redirected
2008-09-19 14:37:43,082 DEBUG AI : Traceback (most recent call last):
2008-09-19 14:37:43,083 DEBUG AI :   File "E:\Spiele\FreeOrion\default\AI\FreeOrionAI.py", line 2, in <module>
2008-09-19 14:37:43,084 DEBUG AI :     import pickle                       # Python object serialization library
2008-09-19 14:37:43,085 DEBUG AI : ImportError: No module named pickle
2008-09-19 14:37:43,446 DEBUG AI : AIClientApp::HandleMessage : Received JOIN_GAME acknowledgement
2008-09-19 14:37:45,211 DEBUG AI : AIClientApp::HandleMessage : Received GAME_START message; starting AI turn...
2008-09-19 14:37:45,419 DEBUG AI : Message::GAME_START loaded_game_data: 0
2008-09-19 14:37:45,420 DEBUG AI : Message::GAME_START Starting New Game!
2008-09-19 14:37:45,420 DEBUG AI : AttributeError: 'NoneType' object has no attribute 'startNewGame'
2008-09-19 14:37:45,420 DEBUG AI : PythonAI::GenerateOrders : initializing turn
2008-09-19 14:37:45,510 DEBUG AI : AttributeError: 'NoneType' object has no attribute 'generateOrders'
2008-09-19 14:37:45,510 DEBUG AI : AIInterface::DoneTurn()
2008-09-19 14:37:46,018 DEBUG AI : ClientNetworking::NetworkingThread() : Networking thread will be terminated due to disconnect exception "Der E/A-Vorgang wurde wegen eines Threadendes oder einer Anwendungsanforderung abgebrochen."
2008-09-19 14:37:46,020 DEBUG AI : Cleaning up / destructing Python AI
2008-09-19 14:37:46,033 DEBUG AI : Shutting down AI_1 logger...
freeorion.log:

Code: Select all

2008-09-19 14:37:31,712 DEBUG Client : OpenAL initialized. Version 1.1Renderer SoftwareVendor Creative Labs Inc.
Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE

2008-09-19 14:37:32,276 DEBUG Client : SDLInit() complete.
2008-09-19 14:37:32,288 DEBUG Client : GLInit() complete.
2008-09-19 14:37:32,587 DEBUG Client : Limited FPS to 60
2008-09-19 14:37:45,008 DEBUG Client : Initiating Exit (code 1 - error termination)
2008-09-19 14:37:45,008 ERROR Client : ClientNetworking::NetworkingThread() : Networking thread will be terminated due to unhandled exception "Die Netzwerkverbindung wurde durch das lokale System getrennt."
2008-09-19 14:37:46,380 DEBUG Client : SDLQuit() complete.
freeoriond.log:

Code: Select all

2008-09-19 14:37:42,785 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,787 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:42,787 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,788 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:42,788 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,789 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:42,789 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,790 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:42,790 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,791 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:42,791 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,792 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:42,792 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,792 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:42,793 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,793 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:42,793 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,794 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:42,794 DEBUG Server : starting freeorionca.exe
2008-09-19 14:37:42,795 DEBUG Server : done starting freeorionca.exe
2008-09-19 14:37:43,202 DEBUG Server : Creating universe with 500 stars and 1 players.
2008-09-19 14:37:43,382 DEBUG Server : Setting Garriot (Planet #3806) to be home system for Empire 0
2008-09-19 14:37:43,421 DEBUG Server : Setting Fowler (Planet #3807) to be home system for Empire 1
2008-09-19 14:37:43,421 DEBUG Server : Setting Xenos (Planet #3808) to be home system for Empire 5
2008-09-19 14:37:43,421 DEBUG Server : Setting Typhon (Planet #3809) to be home system for Empire 6
2008-09-19 14:37:43,421 DEBUG Server : Setting Tigris (Planet #3810) to be home system for Empire 7
2008-09-19 14:37:43,421 DEBUG Server : Setting Hawking (Planet #3811) to be home system for Empire 2
2008-09-19 14:37:43,422 DEBUG Server : Setting Yed (Planet #3812) to be home system for Empire 3
2008-09-19 14:37:43,422 DEBUG Server : Setting Bok (Planet #3813) to be home system for Empire 8
2008-09-19 14:37:43,422 DEBUG Server : Setting Burbidge (Planet #3814) to be home system for Empire 4
2008-09-19 14:37:43,422 DEBUG Server : Setting Shelly (Planet #3815) to be home system for Empire 9
2008-09-19 14:37:43,422 DEBUG Server : Setting Ophiuchi (Planet #3816) to be home system for Empire 10
2008-09-19 14:37:45,825 DEBUG Server : ServerFSM::HandleNonLobbyDisconnection : Host player disconnected; server terminating.

User avatar
pd
Graphics Lead Emeritus
Posts: 1924
Joined: Mon Mar 08, 2004 6:17 pm
Location: 52°16'N 10°31'E

Re: [Vista/64Bit] Crash while Generating Universe and AI

#2 Post by pd »

Just a wild guess, but check if your firewall is interfering with freeorion. Network communication needs to be allowed.

Dey
Space Krill
Posts: 5
Joined: Fri Sep 19, 2008 12:28 pm

Re: [Vista/64Bit] Crash while Generating Universe and AI

#3 Post by Dey »

I don't really know what you mean since my english is not that good. It would be nice if you could explain what you mean by "Network communication needs to be allowed."
I try'd adding freeorion.exe, freeorionca.exe and freeoriond.exe to the firewall, so they won't be blocked but that didn't help.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: [Vista/64Bit] Crash while Generating Universe and AI

#4 Post by Geoff the Medio »

Based on the AI log, it looks like Python isn't working on your system. Could you try reinstalling Python 2.5?

Dey
Space Krill
Posts: 5
Joined: Fri Sep 19, 2008 12:28 pm

Re: [Vista/64Bit] Crash while Generating Universe and AI

#5 Post by Dey »

I reinstalled Python and still, it doesn't work. It crashes at the same moment as it did before, only the AI-log files have a different content:

Code: Select all

2008-09-21 13:36:35,124 DEBUG AI : AI_1 logger initialized.
2008-09-21 13:36:35,614 DEBUG AI : Python stdout and stderr redirected
2008-09-21 13:36:35,663 DEBUG AI : Initialized FreeOrion Python AI
2008-09-21 13:36:35,664 DEBUG AI : Initialized Python AI
2008-09-21 13:36:35,919 DEBUG AI : AIClientApp::HandleMessage : Received JOIN_GAME acknowledgement
2008-09-21 13:36:36,676 DEBUG AI : AIClientApp::HandleMessage : Received GAME_START message; starting AI turn...
2008-09-21 13:36:36,716 DEBUG AI : Message::GAME_START loaded_game_data: 0
2008-09-21 13:36:36,716 DEBUG AI : Message::GAME_START Starting New Game!
2008-09-21 13:36:36,737 DEBUG AI : New game started
2008-09-21 13:36:36,740 DEBUG AI : Initialised foAIstate class
2008-09-21 13:36:37,358 DEBUG AI : ClientNetworking::NetworkingThread() : Networking thread will be terminated due to disconnect exception "Der E/A-Vorgang wurde wegen eines Threadendes oder einer Anwendungsanforderung abgebrochen."

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: [Vista/64Bit] Crash while Generating Universe and AI

#6 Post by Geoff the Medio »

Can you post the other logs? There's nothing obviously wrong in that log, so the disconnect was probably caused somewhere else.

This might be the same set of problems that Josh was having.

Dey
Space Krill
Posts: 5
Joined: Fri Sep 19, 2008 12:28 pm

Re: [Vista/64Bit] Crash while Generating Universe and AI

#7 Post by Dey »

The other logs contain the following:
freeorion.log:

Code: Select all

2008-09-21 16:56:31,512 DEBUG Client : OpenAL initialized. Version 1.1Renderer SoftwareVendor Creative Labs Inc.
Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE

2008-09-21 16:56:32,095 DEBUG Client : SDLInit() complete.
2008-09-21 16:56:32,103 DEBUG Client : GLInit() complete.
2008-09-21 16:56:32,409 DEBUG Client : Limited FPS to 60
2008-09-21 16:56:40,610 DEBUG Client : Initiating Exit (code 1 - error termination)
2008-09-21 16:56:40,611 ERROR Client : ClientNetworking::NetworkingThread() : Networking thread will be terminated due to unhandled exception "Die Netzwerkverbindung wurde durch das lokale System getrennt."
2008-09-21 16:56:41,876 DEBUG Client : SDLQuit() complete.
freeoriond.log:

Code: Select all

2008-09-21 16:56:39,223 DEBUG Server : starting freeorionca.exe
2008-09-21 16:56:39,224 DEBUG Server : done starting freeorionca.exe
2008-09-21 16:56:39,224 DEBUG Server : starting freeorionca.exe
2008-09-21 16:56:39,225 DEBUG Server : done starting freeorionca.exe
2008-09-21 16:56:39,225 DEBUG Server : starting freeorionca.exe
2008-09-21 16:56:39,226 DEBUG Server : done starting freeorionca.exe
2008-09-21 16:56:39,226 DEBUG Server : starting freeorionca.exe
2008-09-21 16:56:39,227 DEBUG Server : done starting freeorionca.exe
2008-09-21 16:56:39,227 DEBUG Server : starting freeorionca.exe
2008-09-21 16:56:39,228 DEBUG Server : done starting freeorionca.exe
2008-09-21 16:56:39,228 DEBUG Server : starting freeorionca.exe
2008-09-21 16:56:39,229 DEBUG Server : done starting freeorionca.exe
2008-09-21 16:56:39,229 DEBUG Server : starting freeorionca.exe
2008-09-21 16:56:39,230 DEBUG Server : done starting freeorionca.exe
2008-09-21 16:56:40,024 DEBUG Server : Creating universe with 250 stars and 1 players.
2008-09-21 16:56:40,126 DEBUG Server : Setting Crow (Planet #1843) to be home system for Empire 0
2008-09-21 16:56:40,169 DEBUG Server : Setting Uftivan (Planet #1844) to be home system for Empire 3
2008-09-21 16:56:40,169 DEBUG Server : Setting Frey (Planet #1845) to be home system for Empire 1
2008-09-21 16:56:40,169 DEBUG Server : Setting Naos (Planet #1846) to be home system for Empire 6
2008-09-21 16:56:40,169 DEBUG Server : Setting Kuiper (Planet #1847) to be home system for Empire 2
2008-09-21 16:56:40,170 DEBUG Server : Setting Itzamna (Planet #1848) to be home system for Empire 7
2008-09-21 16:56:40,170 DEBUG Server : Setting Gruis (Planet #1849) to be home system for Empire 4
2008-09-21 16:56:40,170 DEBUG Server : Setting Polaris (Planet #1850) to be home system for Empire 5
2008-09-21 16:56:40,854 DEBUG Server : ServerFSM::HandleNonLobbyDisconnection : Host player disconnected; server terminating.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: [Vista/64Bit] Crash while Generating Universe and AI

#8 Post by Geoff the Medio »

What graphics card do you have, and how much video ram? Do you know if it is OpenGL 1.5 capable?

Dey
Space Krill
Posts: 5
Joined: Fri Sep 19, 2008 12:28 pm

Re: [Vista/64Bit] Crash while Generating Universe and AI

#9 Post by Dey »

I have a nVidia GeForce 8800 GT with 512 MB RAM, so that shouldn't be a problem.
Here are my PC's specifications, if needed:
CPU: Intel E8400
RAM: 4 GB
Graphics card as mentioned above

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: [Vista/64Bit] Crash while Generating Universe and AI

#10 Post by Geoff the Medio »

I'm not sure what the problem is; sorry. You could post a sourceforge bug report about it, or check for a similar one. Perhaps someone else will have an idea.

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: [Vista/64Bit] Crash while Generating Universe and AI

#11 Post by OndrejR »

I have same problem and in AI logs there is:

Code: Select all

AI_2 logger initialized.
2008-10-03 00:46:20,828 DEBUG AI : Python stdout and stderr redirected
2008-10-03 00:46:20,883 DEBUG AI : Initialized FreeOrion Python AI
2008-10-03 00:46:20,883 DEBUG AI : Initialized Python AI
2008-10-03 00:46:23,885 DEBUG AI : AIClientApp::HandleMessage : Received JOIN_GAME acknowledgement
2008-10-03 00:46:24,635 DEBUG AI : AIClientApp::HandleMessage : Received GAME_START message; starting AI turn...
2008-10-03 00:46:24,684 DEBUG AI : Message::GAME_START loaded_game_data: 0
2008-10-03 00:46:24,684 DEBUG AI : Message::GAME_START Starting New Game!
2008-10-03 00:46:24,684 DEBUG AI : New game started
2008-10-03 00:46:24,684 DEBUG AI : Initialised foAIstate class
2008-10-03 00:46:24,701 DEBUG AI : System::Insert system Plato (object 550, orbit -1)
2008-10-03 00:46:24,701 DEBUG AI : Fleet 550 adding ship: 550
2008-10-03 00:46:24,701 DEBUG AI : System::Insert system Plato (object Vinci, orbit -1)
2008-10-03 00:46:24,701 DEBUG AI : System::Remove( Vinci )
2008-10-03 00:46:24,701 DEBUG AI : Ship::MoveTo removing 550 from fleet Home Fleet
2008-10-03 00:46:24,756 DEBUG AI : System::Insert system Plato (object 551, orbit -1)
2008-10-03 00:46:24,757 DEBUG AI : Fleet 551 adding ship: 551
2008-10-03 00:46:24,757 DEBUG AI : System::Insert system Plato (object Gauss, orbit -1)
2008-10-03 00:46:24,757 DEBUG AI : System::Remove( Gauss )
2008-10-03 00:46:24,757 DEBUG AI : Ship::MoveTo removing 551 from fleet Home Fleet
2008-10-03 00:46:24,758 DEBUG AI : PythonAI::GenerateOrders : initializing turn
2008-10-03 00:46:24,937 DEBUG AI : updating Fleet Supply for Human empire.
2008-10-03 00:46:24,937 DEBUG AI : updating Resource Supply for Human empire.
2008-10-03 00:46:24,937 DEBUG AI : updating Fleet Supply for Empire1 empire.
2008-10-03 00:46:24,937 DEBUG AI : updating Resource Supply for Empire1 empire.
2008-10-03 00:46:24,937 DEBUG AI : updating Fleet Supply for Empire3 empire.
2008-10-03 00:46:24,938 DEBUG AI : updating Resource Supply for Empire3 empire.
2008-10-03 00:46:24,938 DEBUG AI : updating Fleet Supply for Empire4 empire.
2008-10-03 00:46:24,938 DEBUG AI : updating Resource Supply for Empire4 empire.
2008-10-03 00:46:24,938 DEBUG AI : updating Fleet Supply for Empire2 empire.
2008-10-03 00:46:24,938 DEBUG AI : updating Resource Supply for Empire2 empire.
2008-10-03 00:46:24,948 DEBUG AI : allocating 12 food to Plato II for own production and need
2008-10-03 00:46:24,949 DEBUG AI : allocating 25 food to Plato II to maintain population
2008-10-03 00:46:24,949 DEBUG AI : allocating 25 food to Plato II for max possible growth
2008-10-03 00:46:24,949 DEBUG AI : 
2008-10-03 00:46:24,950 DEBUG AI : TURN: 1
2008-10-03 00:46:24,950 DEBUG AI : 
2008-10-03 00:46:24,951 DEBUG AI : Size of food stockpile:  0.0
2008-10-03 00:46:24,952 DEBUG AI : Target food stockpile:   25.0
2008-10-03 00:46:24,953 DEBUG AI : Priority for Food:         100.0
2008-10-03 00:46:24,953 DEBUG AI : 
2008-10-03 00:46:24,954 DEBUG AI : minerals prod: 10.0
2008-10-03 00:46:24,954 DEBUG AI : industry prod: 22.5
2008-10-03 00:46:24,954 DEBUG AI : Priority for Minerals: 45.0
2008-10-03 00:46:24,954 DEBUG AI : PR_COLONISATION: 0
2008-10-03 00:46:24,954 DEBUG AI : PR_FOOD: 100.0
2008-10-03 00:46:24,954 DEBUG AI : PR_MILITARY: 20
2008-10-03 00:46:24,955 DEBUG AI : PR_RESEARCH: 10
2008-10-03 00:46:24,959 DEBUG AI : PR_BUILDINGS: 20
2008-10-03 00:46:24,959 DEBUG AI : PR_PRODUCTION: 20
2008-10-03 00:46:24,960 DEBUG AI : PR_EXPLORATION: 0
2008-10-03 00:46:24,960 DEBUG AI : PR_MINERALS: 45.0
2008-10-03 00:46:24,961 DEBUG AI : Removing invalid exploration missions:
2008-10-03 00:46:24,963 DEBUG AI : Scouts: [564, 567]
2008-10-03 00:46:24,964 DEBUG AI : Systems being explored (fleet|system): {564: 4, 567: 9}
2008-10-03 00:46:24,964 DEBUG AI : Removing invalid colonisation missions:
2008-10-03 00:46:24,964 DEBUG AI : Colony Fleets: [549]
2008-10-03 00:46:24,964 DEBUG AI : Current colonise missions: {}
2008-10-03 00:46:24,965 DEBUG AI : Colonisable planets:
2008-10-03 00:46:24,967 DEBUG AI : AIInterface::DoneTurn()
2008-10-03 00:46:24,967 DEBUG AI : Preparing for game save by serializing state
2008-10-03 00:46:27,311 DEBUG AI : ClientNetworking::NetworkingThread() : Networking thread will be terminated due to disconnect exception "End of file"
2008-10-03 00:46:27,515 DEBUG AI : Cleaning up / destructing Python AI
2008-10-03 00:46:27,520 DEBUG AI : Shutting down AI_2 logger...
Then game crashes with segmentation fault. Python is 2.5. Graphic card is nvidia with OpenGL2. In client

Code: Select all

2008-10-03 00:46:06,113 DEBUG Client : OpenAL initialized. Version 1.1Renderer OpenAL SoftVendor OpenAL Community
Extensions: AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_LOKI_quadriphonic

2008-10-03 00:46:06,393 DEBUG Client : SDLInit() complete.
2008-10-03 00:46:06,394 DEBUG Client : GLInit() complete.
2008-10-03 00:46:07,333 DEBUG Client : Limited FPS to 60
2008-10-03 00:46:24,796 DEBUG Client : updating Fleet Supply for Human empire.
2008-10-03 00:46:24,803 DEBUG Client : updating Resource Supply for Human empire.
2008-10-03 00:46:24,807 DEBUG Client : updating Fleet Supply for Empire1 empire.
2008-10-03 00:46:24,807 DEBUG Client : updating Resource Supply for Empire1 empire.
2008-10-03 00:46:24,812 DEBUG Client : updating Fleet Supply for Empire3 empire.
2008-10-03 00:46:24,812 DEBUG Client : updating Resource Supply for Empire3 empire.
2008-10-03 00:46:24,812 DEBUG Client : updating Fleet Supply for Empire4 empire.
2008-10-03 00:46:24,812 DEBUG Client : updating Resource Supply for Empire4 empire.
2008-10-03 00:46:24,812 DEBUG Client : updating Fleet Supply for Empire2 empire.
2008-10-03 00:46:24,813 DEBUG Client : updating Resource Supply for Empire2 empire.
2008-10-03 00:46:27,270 DEBUG Client : Tech Tree Layout Preparing Tech Data
2008-10-03 00:46:27,272 DEBUG Client : Tech Tree Layout Doing Graph Layout
I did strace and FreeOrion load images(last is logo.png) and then there are suspicious multiple lines

Code: Select all

getpid()                                = 21335
and then error message "EAGAIN (Resource temporarily unavailable)".
Maybe there is AI bug or something with nvidia drivers with mesa or boost 1.35 is buggy on 64bit. But client debug log says that tech tree layout is rendering(revision 2680). I also disabled gas rendering and optimalization rendering, but it did not help. Firewall is disabled.

I rechecked error messages from strace and at the end of strace log there is:

Code: Select all

read(20, 0x2b198e4, 4096)               = -1 EAGAIN (Resource temporarily unavailable)
read(20, 0x2b198e4, 4096)               = -1 EAGAIN (Resource temporarily unavailable)
select(21, [20], NULL, NULL, {0, 0})    = 0 (Timeout)
gettimeofday({1222980777, 412513}, NULL) = 0
gettimeofday({1222980777, 412645}, NULL) = 0
stat("/home/ondrej/Projekty/freeorion/FreeOrion/default/data/sound/button_rollover.wav", {st_mode=S_IFREG|0644, st_size=10270, ...}) = 0
open("/home/ondrej/Projekty/freeorion/FreeOrion/default/data/sound/button_rollover.wav", O_RDONLY) = 28
fstat(28, {st_mode=S_IFREG|0644, st_size=10270, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1910dd4000
read(28, "RIFF\26(\0\0WAVEfmt \20\0\0\0\1\0\2\0D\254\0\0\20\261\2\0\4"..., 4096) = 4096
read(28, "|\0\\\0\24\0L\0\243\377\6\0\357\377\355\377\313\377|\0R\0e\377\266\0\262\0p\0\363\0\26"..., 4096) = 4096
read(28, "\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375\377\375"..., 4096) = 2078
close(28)                               = 0
munmap(0x7f1910dd4000, 4096)            = 0
gettimeofday({1222980777, 415491}, NULL) = 0
gettimeofday({1222980777, 415621}, NULL) = 0
read(20, 0x2b198e4, 4096)               = -1 EAGAIN (Resource temporarily unavailable)
select(terminate called after throwing an instance of 'boost::system::system_error'
  what():  Address already in use
Therefore it must be buggy boost 1.35 on 64bit or buggy gcc compiler(my is 4.3.1).

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: [Vista/64Bit] Crash while Generating Universe and AI

#12 Post by Geoff the Medio »

OndrejR, are you running on Windows or Linux?

Your error messages are different from the previous ones in this thread, so this doesn't seem like it's the same problem. You seem to be getting crashes in the client when rendering the tech tree. There have been previous reports of problems with graphviz on 64 bit systems, which might be related to your issue as well.

It should be possible to disable the tech tree and use only the tech list instead (awkward as it may be). I don't have time to figure out exactly what changes need to be made right now, though feel free to poke around yourself. A very simple solution might be to comment out all calls to graphviz functions.

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: [Vista/64Bit] Crash while Generating Universe and AI

#13 Post by OndrejR »

I think is the same problem as Dey although I have Debian Linux 64bit. I have in server log:

Code: Select all

2008-10-03 15:43:44,880 DEBUG Server : WaitingForTurnEnd.TurnOrders : Received orders from player 4
2008-10-03 15:43:44,892 DEBUG Server : WaitingForTurnEnd.TurnOrders : Received orders from player 1
2008-10-03 15:43:44,894 DEBUG Server : WaitingForTurnEnd.TurnOrders : Received orders from player 3
2008-10-03 15:43:44,909 DEBUG Server : WaitingForTurnEnd.TurnOrders : Received orders from player 2
2008-10-03 15:43:46,444 DEBUG Server : ServerFSM::HandleNonLobbyDisconnection : Host player disconnected; server terminating.
2008-10-03 15:43:46,444 FATAL Server : Initiating Exit (code 1 - error termination)
I just compiled FO with gcc 4.1 and problem is the same. Now I compile it without graphviz.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: [Vista/64Bit] Crash while Generating Universe and AI

#14 Post by Geoff the Medio »

OndrejR wrote:I think is the same problem as Dey...
You both have similar-looking server logs, which show a host-player disconnection. In a single player game, that will be the human player's client. You seem to have different human player client logs though, with you having a crash after tech tree layout, and Dey having a vague networking exception.

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: [Vista/64Bit] Crash while Generating Universe and AI

#15 Post by OndrejR »

I think I found what the problem is. Problem with crashing may be related with current Ogre library on 64bit - something with shaders(I have OpenGL 2 graphic card GeForce 6600GT) according to one forum. It is strange and I don't understand what version of shaders are in freeorion(shaders 3.0 or older?) required and what is exactly the problem. But with one thing I am sure - 6 months ago FreeOrion was under 64bit running. I try to find how to fix this 64bit mess.

Post Reply