Author Topic: [fixed] 3.6.0.3/r3454 SF on Linux when trying to start scenario/tutorial  (Read 1579 times)

slick666

  • Guest
Team,

This is my first time working with the megaGlest group and I would like to say that I really enjoy the game and have for some time now. I recently ran into this issue when working with 3.6.0.3. It would run on some computers fine and wouldn't on others. I was able to duplicate this behavior in the trunk so I'll include a copy of the trunk write up as well, later on. Also I was able to get this same behavior in the 64-bit arch as well but this here is the 32-bit write up.

* Description
Game stars up just fine.
Click "New Game"
Click on "Scenario"
Pick any scenario
Game loads
Reaches "Starting faction music", pauses
Game closes (Segfault)

* MegaGlest version
megaglest v3.6.0.3
Compiled using: GNUC: 40602 on: Feb 29 2012 04:35:13
SVN: [Rev: ] - using STREFLOP

* Operating system
Ubuntu Linux 12.04 32-bit, latest updates as of 7/14/12
Linux Mactel 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 16:26:01 UTC 2012 i686 i686 i386 GNU/Linux

* Download location
http://us.archive.ubuntu.com/ubuntu/ubuntu/pool/universe/m/megaglest/

* Logs and screen shots
Code: [Select]
megaglest --verbose

CUSTOM_DATA_INSTALL_PATH = [/usr/share/games/megaglest/]

megaglest v3.6.0.3
Compiled using: GNUC: 40602 on: Feb 29 2012 04:35:13
SVN: [Rev: ] - using STREFLOP

(Thousands of lines here, omitted to help with readability)

In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 400]
Error saved to logfile [/home/landon/.megaglest/error.log]
In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 415] program = 0x98758e8 gameInitialized = 1 msg [In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
]
[2012-07-14 21:00:34] *ERROR* In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 416] [In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
] gameInitialized = 1, program = 0x98758e8
In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 421]
In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 437]
In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 505]
[2012-07-14 21:00:35] *ERROR* In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 509] [In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:

Stack Trace:
megaglest:Glest::Game::CheckForDuplicateData() address [0x8205a20] line: 2178
[0x800400] address [0x800400] line: 0
]
In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 512]
In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 518]
In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 521]
In [/build/buildd/megaglest-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 523]

Calc Frustrum #0a: [-1.082532][-0.866025][-0.500000][228.506348]

Calc Frustrum #0b: [-0.734553][-0.587642][-0.339276][155.053238] t = 1.473728

Calc Frustrum #1a: [1.082532][-0.866025][-0.500000][-169.865326]

Calc Frustrum #1b: [0.734553][-0.587642][-0.339276][-115.262306] t = 1.473728

Calc Frustrum #2a: [0.000000][0.000000][-2.000000][48.000000]

Calc Frustrum #2b: [0.000000][0.000000][-1.000000][24.000000] t = 2.000000

Calc Frustrum #3a: [0.000000][-1.732051][1.000000][10.641016]

Calc Frustrum #3b: [0.000000][-0.866025][0.500000][5.320508] t = 2.000000

Calc Frustrum #4a: [0.000000][0.000002][0.000001][1.999943]

Calc Frustrum #4b: [0.000000][0.862698][0.505720][998155.625000] t = 0.000002

Calc Frustrum #5a: [0.000000][-1.732053][-1.000001][56.641071]

Calc Frustrum #5b: [0.000000][-0.866025][-0.500000][28.320509] t = 2.000002

Camera: 99,-36 173,37 268,-36 194,37

Frustrum #0 [6]: [-0.734553][-0.587642][-0.339276][155.053238]
Frustrum #1 [6]: [0.734553][-0.587642][-0.339276][-115.262306]
Frustrum #2 [6]: [0.000000][0.000000][-1.000000][24.000000]
Frustrum #3 [6]: [0.000000][-0.866025][0.500000][5.320508]
Frustrum #4 [6]: [0.000000][0.862698][0.505720][998155.625000]
Frustrum #5 [6]: [0.000000][-0.866025][-0.500000][28.320509]
END
Segmentation fault (core dumped)

Edit (tomreyn): Making things more readable
« Last Edit: 19 July 2012, 00:43:45 by tomreyn »

slick666

  • Guest
[bug] r3454 Segfault on Linux
« Reply #1 on: 15 July 2012, 18:00:48 »
Team,

similar to my posting for 3.6.0.3 here is the writeup from the current trunk version.

* Description
Game stars up just fine.
Click "New Game"
Click on "Scenario"
Pick any scenario
Game loads
Reaches "Starting faction music", pauses
Game closes (Segfault)

* MegaGlest version
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 on: Jul 14 2012 20:44:45
SVN: [Rev: 3454] - using STREFLOP [SSE] - [no-denormals]

* Operating system
Ubuntu Linux 12.04 32-bit, latest updates as of 7/14/12
Linux Mactel 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 16:26:01 UTC 2012 i686 i686 i386 GNU/Linux

* Download location
https://megaglest.svn.sourceforge.net/svnroot/megaglest/trunk

* Logs and screen shots
Code: [Select]
./megaglest --version
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 on: Jul 14 2012 20:44:45
SVN: [Rev: 3454] - using STREFLOP [SSE] - [no-denormals]
landon@Mactel:~/workspace/megaglest/trunk/mk/linux$ ./megaglest --verbose
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 on: Jul 14 2012 20:44:45
SVN: [Rev: 3454] - using STREFLOP [SSE] - [no-denormals]
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/util/util.cpp::init Line: 244]
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/util/util.cpp::init Line: 266]
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/platform/common/simple_threads.cpp::execute Line: 565]
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/platform/common/simple_threads.cpp::execute Line: 573]
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/util/util.cpp::init Line: 275]
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/util/util.cpp::initHTTP Line 188] calling curl_global_init
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/util/util.cpp::initHTTP Line 191] curl_global_init called and returned: result 0 [No error]
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/util/util.cpp::initHTTP Line 195] calling curl_easy_init
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/util/util.cpp::initHTTP Line 201] handle = 0x9db63d8
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/util/util.cpp::initHTTP Line 204] handle = 0x9db63d8
-=-=-=-=-=-=-= looking for file in possible location  [/home/landon/workspace/megaglest/trunk/mk/linux/]
-=-=-=-=-=-=-= looking for linux specific file in possible location  [/home/landon/workspace/megaglest/trunk/mk/linux/linux_glest.ini]
-=-=-=-=-=-=-= About to load fileName.first = [/home/landon/workspace/megaglest/trunk/mk/linux/glest.ini]
Property key [DataPath] now has value [/home/landon/workspace/megaglest/trunk/mk/linux//]
Property key [LogPath] now has value [/home/landon/.megaglest/]
Property key [UserData_Root] now has value [/home/landon/.megaglest/]
-=-=-=-=-=-=-= About to load fileName.second = [/home/landon/.megaglest/glestuser.ini]
Using ini specified data path [/home/landon/workspace/megaglest/trunk/mk/linux//]
Using ini specified logs path [/home/landon/.megaglest/]

(Thousands of lines here, omitted to help with readability)

Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&) address [0x87252df] line: 252
./megaglest:Shared::Xml::XmlIoRapid::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >, bool) address [0x87080db] line: 315
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >, bool) address [0x8709f94] line: 426
./megaglest:Glest::Game::Tileset::load(std::string const&, Shared::Util::Checksum*, Shared::Util::Checksum*, std::map<std::string, std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > > > > >&) address [0x8632c8e] line: 175
./megaglest:Glest::Game::Tileset::loadTileset(std::vector<std::string, std::allocator<std::string> >, std::string const&, Shared::Util::Checksum*, std::map<std::string, std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > > > > >&) address [0x8637bc3] line: 135
./megaglest:Glest::Game::World::loadTileset(std::vector<std::string, std::allocator<std::string> >, std::string const&, Shared::Util::Checksum*, std::map<std::string, std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > > > > >&) address [0x8623da4] line: 281
./megaglest:Glest::Game::Game::load(int) address [0x82abf0b] line: 794
./megaglest:Glest::Game::Game::load() address [0x829550a] line: 719
./megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool) address [0x83b22cc] line: 564
./megaglest:Glest::Game::MenuStateScenario::launchGame() address [0x84c895d] line: 288
./megaglest:Glest::Game::MenuStateScenario::mouseClick(int, int, Shared::Platform::MouseButton) address [0x84ca8fd] line: 195
./megaglest:Glest::Game::MainMenu::mouseDownLeft(int, int) address [0x841caae] line: 213
./megaglest:Glest::Game::MainWindow::eventMouseDown(int, int, Shared::Platform::MouseButton) address [0x8374360] line: 597
./megaglest:Shared::Platform::Window::handleMouseDown(SDL_Event) address [0x8717a08] line: 604
./megaglest:Shared::Platform::Window::handleEvent() address [0x8718e01] line: 153
./megaglest:Glest::Game::glestMain(int, char**) address [0x83a1b4e] line: 4603
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x83a3bc0] line: 4869
./megaglest:main() address [0x81ed9fd] line: 4889
/lib/i386-linux-gnu/libc.so.6:__libc_start_main() address [0xfd04d3] line: 0
./megaglest() [0x81f32f9] address [0x81f32f9]
]
In [/home/landon/workspace/megaglest/trunk/source/shared_lib/sources/platform/sdl/platform_util.cpp::getStackTrace Line: 186]
*** buffer overflow detected ***: ./megaglest terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0x10b6dd5]
/lib/i386-linux-gnu/libc.so.6(+0xfebaa)[0x10b5baa]
/lib/i386-linux-gnu/libc.so.6(+0xfe208)[0x10b5208]
/lib/i386-linux-gnu/libc.so.6(_IO_default_xsputn+0x91)[0x1028461]
/lib/i386-linux-gnu/libc.so.6(_IO_vfprintf+0x53f0)[0xffcbe0]
/lib/i386-linux-gnu/libc.so.6(__vsprintf_chk+0xc9)[0x10b52d9]
/lib/i386-linux-gnu/libc.so.6(__sprintf_chk+0x2f)[0x10b51ef]
./megaglest(_ZN5Glest4Game7Program8setStateEPNS0_12ProgramStateEb+0x1360)[0x83b3040]
./megaglest(_ZN5Glest4Game17MenuStateScenario10launchGameEv+0xedd)[0x84c895d]
./megaglest(_ZN5Glest4Game17MenuStateScenario10mouseClickEiiN6Shared8Platform11MouseButtonE+0x34d)[0x84ca8fd]
./megaglest(_ZN5Glest4Game8MainMenu13mouseDownLeftEii+0x3e)[0x841caae]
./megaglest(_ZN5Glest4Game10MainWindow14eventMouseDownEiiN6Shared8Platform11MouseButtonE+0x200)[0x8374360]
./megaglest(_ZN6Shared8Platform6Window15handleMouseDownE9SDL_Event+0x998)[0x8717a08]
./megaglest(_ZN6Shared8Platform6Window11handleEventEv+0x521)[0x8718e01]
./megaglest(_ZN5Glest4Game9glestMainEiPPc+0xdf9e)[0x83a1b4e]
./megaglest(_ZN5Glest4Game16glestMainWrapperEiPPc+0xa0)[0x83a3bc0]
./megaglest(main+0x2d)[0x81ed9fd]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xfd04d3]
./megaglest[0x81f32f9]
======= Memory map: ========
00110000-00183000 r-xp 00000000 08:06 9702171    /usr/lib/i386-linux-gnu/libGLU.so.1.3.08000
00183000-00184000 r--p 00072000 08:06 9702171    /usr/lib/i386-linux-gnu/libGLU.so.1.3.08000
00184000-00185000 rw-p 00073000 08:06 9702171    /usr/lib/i386-linux-gnu/libGLU.so.1.3.08000
00185000-0018d000 r-xp 00000000 08:06 9707101    /usr/lib/i386-linux-gnu/libvorbisfile.so.3.3.4
0018d000-0018e000 r--p 00007000 08:06 9707101    /usr/lib/i386-linux-gnu/libvorbisfile.so.3.3.4
0018e000-0018f000 rw-p 00008000 08:06 9707101    /usr/lib/i386-linux-gnu/libvorbisfile.so.3.3.4
0018f000-00211000 r-xp 00000000 08:06 1048690    /lib/i386-linux-gnu/libgcrypt.so.11.7.0
00211000-00212000 r--p 00081000 08:06 1048690    /lib/i386-linux-gnu/libgcrypt.so.11.7.0
00212000-00214000 rw-p 00082000 08:06 1048690    /lib/i386-linux-gnu/libgcrypt.so.11.7.0
00214000-0022c000 r-xp 00000000 08:06 9700476    /usr/lib/i386-linux-gnu/librtmp.so.0
0022c000-0022d000 r--p 00018000 08:06 9700476    /usr/lib/i386-linux-gnu/librtmp.so.0
0022d000-0022e000 rw-p 00019000 08:06 9700476    /usr/lib/i386-linux-gnu/librtmp.so.0
0022e000-00230000 r-xp 00000000 08:06 9711261    /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
00230000-00231000 r--p 00001000 08:06 9711261    /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
00231000-00232000 rw-p 00002000 08:06 9711261    /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
00232000-00236000 r-xp 00000000 08:06 9711255    /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
00236000-00237000 r--p 00004000 08:06 9711255    /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
00237000-00238000 rw-p 00005000 08:06 9711255    /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
00238000-00239000 r-xp 00000000 08:06 9704764    /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
00239000-0023a000 r--p 00000000 08:06 9704764    /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
0023a000-0023b000 rw-p 00001000 08:06 9704764    /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
0023b000-0023f000 r-xp 00000000 08:06 9704853    /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0
0023f000-00240000 r--p 00003000 08:06 9704853    /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0
00240000-00241000 rw-p 00004000 08:06 9704853    /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0
00242000-002b1000 r-xp 00000000 08:06 9702096    /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.3
002b1000-002b2000 r--p 0006e000 08:06 9702096    /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.3
002b2000-002b3000 rw-p 0006f000 08:06 9702096    /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.3
002b3000-002dd000 rw-p 00000000 00:00 0
002dd000-0032b000 r-xp 00000000 08:06 9704754    /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.8.1
0032b000-0032c000 ---p 0004e000 08:06 9704754    /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.8.1
0032c000-0032d000 r--p 0004e000 08:06 9704754    /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.8.1
0032d000-0032e000 rw-p 0004f000 08:06 9704754    /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2.8.1
0032e000-0032f000 rw-p 00000000 00:00 0
0032f000-0033e000 r-xp 00000000 08:06 9701811    /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
0033e000-00340000 r--p 0000f000 08:06 9701811    /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
00340000-00345000 rwxp 00011000 08:06 9701811    /usr/lib/i386-linux-gnu/libglapi.so.0.0.0
00347000-00378000 r-xp 00000000 08:06 9707740    /usr/lib/i386-linux-gnu/libidn.so.11.6.6
00378000-00379000 ---p 00031000 08:06 9707740    /usr/lib/i386-linux-gnu/libidn.so.11.6.6
00379000-0037a000 r--p 00031000 08:06 9707740    /usr/lib/i386-linux-gnu/libidn.so.11.6.6
0037a000-0037b000 rw-p 00032000 08:06 9707740    /usr/lib/i386-linux-gnu/libidn.so.11.6.6
0037b000-003b6000 r-xp 00000000 08:06 9701299    /usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2
003b6000-003b7000 ---p 0003b000 08:06 9701299    /usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2
003b7000-003b8000 r--p 0003b000 08:06 9701299    /usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2
003b8000-003b9000 rw-p 0003c000 08:06 9701299    /usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2
003b9000-003d5000 r-xp 00000000 08:06 1048625    /lib/i386-linux-gnu/libgcc_s.so.1
003d5000-003d6000 r--p 0001b000 08:06 1048625    /lib/i386-linux-gnu/libgcc_s.so.1
003d6000-003d7000 rw-p 0001c000 08:06 1048625    /lib/i386-linux-gnu/libgcc_s.so.1
003d7000-003f6000 r-xp 00000000 08:06 9707592    /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
003f6000-003f7000 r--p 0001f000 08:06 9707592    /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
003f7000-003f8000 rw-p 00020000 08:06 9707592    /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
003f8000-003fa000 r-xp 00000000 08:06 9707343    /usr/lib/i386-linux-gnu/libXau.so.6.0.0
003fa000-003fb000 r--p 00001000 08:06 9707343    /usr/lib/i386-linux-gnu/libXau.so.6.0.0
003fb000-003fc000 rw-p 00002000 08:06 9707343    /usr/lib/i386-linux-gnu/libXau.so.6.0.0
003fc000-00426000 r-xp 00000000 08:06 1048841    /lib/i386-linux-gnu/libm-2.15.so
00426000-00427000 r--p 00029000 08:06 1048841    /lib/i386-linux-gnu/libm-2.15.so
00427000-00428000 rw-p 0002a000 08:06 1048841    /lib/i386-linux-gnu/libm-2.15.so
00428000-00451000 r-xp 00000000 08:06 9707103    /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
00451000-00452000 r--p 00028000 08:06 9707103    /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
00452000-00453000 rw-p 00029000 08:06 9707103    /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
00453000-0046d000 r-xp 00000000 08:06 9701278    /usr/lib/libvlc.so.5.3.0
0046d000-0046e000 r--p 00019000 08:06 9701278    /usr/lib/libvlc.so.5.3.0
0046e000-0046f000 rw-p 0001a000 08:06 9701278    /usr/lib/libvlc.so.5.3.0
0046f000-004bb000 r-xp 00000000 08:06 9700112    /usr/lib/i386-linux-gnu/libpulse.so.0.13.5
004bb000-004bc000 r--p 0004b000 08:06 9700112    /usr/lib/i386-linux-gnu/libpulse.so.0.13.5
004bc000-004bd000 rw-p 0004c000 08:06 9700112    /usr/lib/i386-linux-gnu/libpulse.so.0.13.5
004bd000-004c3000 r-xp 00000000 08:06 9704713    /usr/lib/i386-linux-gnu/libogg.so.0.7.1
004c3000-004c4000 r--p 00005000 08:06 9704713    /usr/lib/i386-linux-gnu/libogg.so.0.7.1
004c4000-004c5000 rw-p 00006000 08:06 9704713    /usr/lib/i386-linux-gnu/libogg.so.0.7.1
004c5000-004c8000 r-xp 00000000 08:06 1049491    /lib/i386-linux-gnu/libgpg-error.so.0.8.0
004c8000-004c9000 r--p 00002000 08:06 1049491    /lib/i386-linux-gnu/libgpg-error.so.0.8.0
004c9000-004ca000 rw-p 00003000 08:06 1049491    /lib/i386-linux-gnu/libgpg-error.so.0.8.0
004ca000-004cc000 r-xp 00000000 08:06 1049580    /lib/i386-linux-gnu/libkeyutils.so.1.4
004cc000-004cd000 r--p 00002000 08:06 1049580    /lib/i386-linux-gnu/libkeyutils.so.1.4
004cd000-004ce000 rw-p 00003000 08:06 1049580    /lib/i386-linux-gnu/libkeyutils.so.1.4
004ce000-00520000 r-xp 00000000 08:06 9700965    /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2
00520000-00522000 r--p 00051000 08:06 9700965    /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2
00522000-00527000 rwxp 00053000 08:06 9700965    /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2
00527000-00541000 r-xp 00000000 08:06 9701508    /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25
00541000-00542000 r--p 00019000 08:06 9701508    /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25
00542000-00543000 rw-p 0001a000 08:06 9701508    /usr/lib/i386-linux-gnu/libsasl2.so.2.0.25
00543000-00546000 r-xp 00000000 08:06 1048610    /lib/i386-linux-gnu/libcom_err.so.2.1
00546000-00547000 r--p 00002000 08:06 1048610    /lib/i386-linux-gnu/libcom_err.so.2.1
00547000-00548000 rw-p 00003000 08:06 1048610    /lib/i386-linux-gnu/libcom_err.so.2.1
00548000-0054d000 r-xp 00000000 08:06 9707353    /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
0054d000-0054e000 r--p 00004000 08:06 9707353    /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
0054e000-0054f000 rw-p 00005000 08:06 9707353    /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
0054f000-0056f000 r-xp 00000000 08:06 1048709    /lib/i386-linux-gnu/ld-2.15.so
0056f000-00570000 r--p 0001f000 08:06 1048709    /lib/i386-linux-gnu/ld-2.15.so
00570000-00571000 rw-p 00020000 08:06 1048709    /lib/i386-linux-gnu/ld-2.15.so
00572000-00579000 r-xp 00000000 08:06 1048853    /lib/i386-linux-gnu/librt-2.15.so
00579000-0057a000 r--p 00006000 08:06 1048853    /lib/i386-linux-gnu/librt-2.15.so
0057a000-0057b000 rw-p 00007000 08:06 1048853    /lib/i386-linux-gnu/librt-2.15.so
0057e000-00581000 r-xp 00000000 08:06 9702505    /usr/lib/i386-linux-gnu/libpulse-simple.so.0.0.3
00581000-00582000 r--p 00002000 08:06 9702505    /usr/lib/i386-linux-gnu/libpulse-simple.so.0.0.3
00582000-00583000 rw-p 00003000 08:06 9702505    /usr/lib/i386-linux-gnu/libpulse-simple.so.0.0.3
00583000-0058a000 r-xp 00000000 08:06 9702749    /usr/lib/i386-linux-gnu/libkrb5support.so.0.1
0058a000-0058b000 r--p 00006000 08:06 9702749    /usr/lib/i386-linux-gnu/libkrb5support.so.0.1
0058b000-0058c000 rw-p 00007000 08:06 9702749    /usr/lib/i386-linux-gnu/libkrb5support.so.0.1
0058c000-0059c000 r-xp 00000000 08:06 9706766    /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
0059c000-0059d000 r--p 0000f000 08:06 9706766    /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
0059d000-0059e000 rw-p 00010000 08:06 9706766    /usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
0059e000-005a4000 r-xp 00000000 08:06 9704672    /usr/lib/i386-linux-gnu/libjson.so.0.0.1
005a4000-005a5000 r--p 00005000 08:06 9704672    /usr/lib/i386-linux-gnu/libjson.so.0.0.1
005a5000-005a6000 rw-p 00006000 08:06 9704672    /usr/lib/i386-linux-gnu/libjson.so.0.0.1
005a8000-005bc000 r-xp 00000000 08:06 1049498    /lib/i386-linux-gnu/libz.so.1.2.3.4
005bc000-005bd000 r--p 00013000 08:06 1049498    /lib/i386-linux-gnu/libz.so.1.2.3.4
005bd000-005be000 rw-p 00014000 08:06 1049498    /lib/i386-linux-gnu/libz.so.1.2.3.4
005be000-00696000 r-xp 00000000 08:06 9702824    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
00696000-00697000 ---p 000d8000 08:06 9702824    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
00697000-0069b000 r--p 000d8000 08:06 9702824    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
0069b000-0069c000 rw-p 000dc000 08:06 9702824    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
0069c000-006a3000 rw-p 00000000 00:00 0
006a3000-00790000 r-xp 00000000 08:06 9699380    /usr/lib/i386-linux-gnu/libasound.so.2.0.0
00790000-00794000 r--p 000ec000 08:06 9699380    /usr/lib/i386-linux-gnu/libasound.so.2.0.0
00794000-00795000 rw-p 000f0000 08:06 9699380    /usr/lib/i386-linux-gnu/libasound.so.2.0.0
00795000-007bb000 r-xp 00000000 08:06 9700612    /usr/lib/i386-linux-gnu/libk5crypto.so.3.1
007bb000-007bc000 r--p 00025000 08:06 9700612    /usr/lib/i386-linux-gnu/libk5crypto.so.3.1
007bc000-007bd000 rw-p 00026000 08:06 9700612    /usr/lib/i386-linux-gnu/libk5crypto.so.3.1
007be000-007ce000 r-xp 00000000 08:06 9699477    /usr/lib/i386-linux-gnu/libtasn1.so.3.1.12
007ce000-007cf000 r--p 0000f000 08:06 9699477    /usr/lib/i386-linux-gnu/libtasn1.so.3.1.12
007cf000-007d0000 rw-p 00010000 08:06 9699477    /usr/lib/i386-linux-gnu/libtasn1.so.3.1.12
007d0000-007d6000 r-xp 00000000 08:06 9707736    /usr/lib/i386-linux-gnu/libheimntlm.so.0.1.0
007d6000-007d7000 r--p 00005000 08:06 9707736    /usr/lib/i386-linux-gnu/libheimntlm.so.0.1.0
007d7000-007d8000 rw-p 00006000 08:06 9707736    /usr/lib/i386-linux-gnu/libheimntlm.so.0.1.0
007d8000-007e0000 r-xp 00000000 08:06 1049587    /lib/i386-linux-gnu/libwrap.so.0.7.6
007e0000-007e1000 r--p 00007000 08:06 1049587    /lib/i386-linux-gnu/libwrap.so.0.7.6
007e1000-007e2000 rw-p 00008000 08:06 1049587    /lib/i386-linux-gnu/libwrap.so.0.7.6
007e2000-007e7000 r-xp 00000000 08:06 9704553    /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
007e7000-007e8000 r--p 00004000 08:06 9704553    /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
007e8000-007e9000 rw-p 00005000 08:06 9704553    /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
007eb000-0081d000 r-xp 00000000 08:06 9704417    /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
0081d000-0081e000 r--p 00032000 08:06 9704417    /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
0081e000-0081f000 rw-p 00033000 08:06 9704417    /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
0081f000-00845000 r-xp 00000000 08:06 1048653    /lib/i386-linux-gnu/libexpat.so.1.5.2
00845000-00846000 ---p 00026000 08:06 1048653    /lib/i386-linux-gnu/libexpat.so.1.5.2
00846000-00848000 r--p 00026000 08:06 1048653    /lib/i386-linux-gnu/libexpat.so.1.5.2
00848000-00849000 rw-p 00028000 08:06 1048653    /lib/i386-linux-gnu/libexpat.so.1.5.2
00849000-00877000 r-xp 00000000 08:06 1049540    /lib/i386-linux-gnu/libncursesw.so.5.9
00877000-00878000 r--p 0002d000 08:06 1049540    /lib/i386-linux-gnu/libncursesw.so.5.9
00878000-00879000 rw-p 0002e000 08:06 1049540    /lib/i386-linux-gnu/libncursesw.so.5.9
00879000-00886000 r-xp 00000000 08:06 9703907    /usr/lib/i386-linux-gnu/libheimbase.so.1.0.0
00886000-00887000 r--p 0000c000 08:06 9703907    /usr/lib/i386-linux-gnu/libheimbase.so.1.0.0
00887000-00888000 rw-p 0000d000 08:06 9703907    /usr/lib/i386-linux-gnu/libheimbase.so.1.0.0
00889000-00899000 r-xp 00000000 08:06 9709839    /usr/lib/i386-linux-gnu/libXext.so.6.4.0
00899000-0089a000 r--p 0000f000 08:06 9709839    /usr/lib/i386-linux-gnu/libXext.so.6.4.0
0089a000-0089b000 rw-p 00010000 08:06 9709839    /usr/lib/i386-linux-gnu/libXext.so.6.4.0
0089b000-008a4000 r-xp 00000000 08:06 9704523    /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
008a4000-008a5000 r--p 00008000 08:06 9704523    /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
008a5000-008a6000 rw-p 00009000 08:06 9704523    /usr/lib/i386-linux-gnu/libXcursor.soAborted (core dumped)

Edit by Omega: Merged threads. Seems to be the same issue carried across versions
Edit (tomreyn): Making things more readable
« Last Edit: 19 July 2012, 00:44:52 by tomreyn »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: [bug] 3.6.0.3/r3454 Segfault on Linux
« Reply #2 on: 15 July 2012, 20:28:46 »
whats your gfx card?
Do other 3d games work for you ( like nexuiz ? )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

slick666

  • Guest
Re: [bug] 3.6.0.3/r3454 Segfault on Linux
« Reply #3 on: 15 July 2012, 22:15:20 »
For this machine (the one I made these write-ups on) here is what lspci give me

Code: [Select]
lspci
...
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
...

Thats one of the defining differences in hardware I was able to find between what does and does not work. The system that does work has an NVidia card and the two that don't are laptop that both have some form of Intel Graphics.

I was able to get MegaGlest 3.5 running by downloading the live DVD from linux-gamers.net and poping it into my system. On the live DVD 3.5 ran just fine on the laptop.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [bug] 3.6.0.3/r3454 Segfault on Linux
« Reply #4 on: 15 July 2012, 22:53:23 »
Hi Slick, thanks for your bug reports, I guess we're never seen so precise reports before. Still, a little bit more info could be useful. Do you think you could run this new script we have for this purpose? This should be as easy as:
Code: [Select]
cd /tmp && wget 'http://megaglest.svn.sourceforge.net/svnroot/megaglest/trunk/source/tools/support/linux/system_report' && chmod +x system_report && ./system_report

Please post the output to a pastebin and provide the Internet address it ended up on. Thanks!

I'll try to reproduce this issue on my laptop which also has an Intel GPU, however what I have (X4500MHD) is one of the Intel "Graphics Media Accelerator (GMA) X" line (which already provides low performance), and yours seems to be of the even lower performance GMA 950 models which belongs to the product line without the X, so Intel "Graphics Media Accelerator (GMA)".
See http://en.wikipedia.org/wiki/Intel_GMA#GMA_950 for details, but I believe the last part of the sentence there really has a typo and meant to say "but is not capable of running modern games". :-/
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

slick666

  • Guest
Here is a link to the report http://megaglest.pzt.me/4jyz

It should be easy to reproduce it on your laptop using an Ubuntu live CD. I tried an ubuntu Live CD on my laptop and it had the same issue. I also have a couple ubuntu friends that are checking this on their systems also. I'm hoping we can rule in/out hardware as part of the conditions.

slick666

  • Guest
I had someone give it a try a system with an ATI and it went smooth.

Code: [Select]
megaglest v3.6.0.3
Compiled using: GNUC: 40602 [64bit] on: Feb 29 2012 04:54:53
SVN: [Rev: ] - using STREFLOP

Couldn't get the script to execute 'ERROR: Unable to determine MegaGlest installation location.'

slick666

  • Guest
Re: [bug] 3.6.0.3/r3454 Segfault on Linux
« Reply #7 on: 16 July 2012, 03:19:20 »
Hi Slick, thanks for your bug reports, I guess we're never seen so precise reports before.
...

Thanks. I've found myself on the other end of processing bug tickets and I know how frustratingly sparce they can be sometimes. I also really love the game so I hope this can be fixed.

Thanks again for all your work.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Here is a link to the report http://megaglest.pzt.me/4jyz

Thanks. However, this is a MegaGlest v3.6.0.2 installation. Please only test and report bugs against the latest statble release, currently 3.6.0.3, or a current development build, to us. I'm looking forward to review any system report you can provide of an affected system running such.

I was also looking into reproducing it on my laptop, unfortunately it's having some issue lately where I can't get it to do hardware rendering on X, so this one makes a bad test subject. I'll look into this again this week, hopefully I can fix it.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

slick666

  • Guest
Sorry about that. I didn't catch that in the report. The .deb install doesn't seem to include the start_glest file.

Code: [Select]
./system_report /usr/games/megaglest
ERROR: The INSTALLATION_LOCATION you provided is unusable:
  /usr/games/megaglest

Please specify the directory you installed to (which must contain the
start_megaglest script) as first parameter to this script, e.g.:
  system_report /home/paulo/MegaGlest-3

This might be something to request that the maintainer include for error reports. I'll do a fresh install of 3.6.0.3 when I get a chance later on this afternoon.

slick666

  • Guest
Here is the proper pastebin

http://megaglest.pzt.me/12wr

let me know what you think.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Yes I can reproduce this one on my "intelbox" (see forum signature).

The important bit of information seem to be this:
Code: [Select]
[2012-07-18 00:23:13] *ERROR* In [xml_parser.cpp::load Line: 312] Exception while loading: [mk/linux/tilesets/tilesets.xml], msg: Can not open file: [mk/linux/tilesets/tilesets.xml]

This was probably cut off in the output you posted here.

How to reproduce:
Using an Intel or ATI GPU (well possibly others, too) with open source drivers on Ubuntu 12.04, start the game and go straight to the scenario menu. You will notice that the Amazones scenario image does load load/show up. You click the "Play now!" button to start the game. The loading screen shows and says:
Quote
Loading Tileset: Tilesets
At this point the game crashes.

Edit (tomreyn): correct typo in on-screen loading message
« Last Edit: 18 July 2012, 00:00:37 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Please update your svn head build and retry. Post the segfault output with the latest build.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
After one of those lovely bug squishing sessions between Softcoder (fixing) and me (testing), Softcoder was able to pinpoint, find the cause of this bug and fix it in r3476.

Slick666: Please do a full build of r3476 and see whether it's fixed for you, too.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything