Author Topic: [non-issue] 3.4.0: Segfault in lobby  (Read 767 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
[non-issue] 3.4.0: Segfault in lobby
« on: 6 March 2011, 00:32:54 »
I was connected to debill's server, awaiting the game. debill and ultifd were chatting. I then changed my faction (I think) and some seconds after this the game crashed (but I am not sure it is related).

Code: [Select]
Core was generated by `./bin/glest.bin'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f6ff4b5da98 in ?? () from /lib/libc.so.6
#0  0x00007f6ff4b5da98 in ?? () from /lib/libc.so.6
#1  0x00007f6ff4b60254 in calloc () from /lib/libc.so.6
#2  0x00007f6fecd13ed8 in _mesa_PushAttrib (mask=<value optimised out>) at main/attrib.c:424
#3  0x000000000070f9e0 in Shared::Graphics::Gl::ParticleRendererGl::renderManager (this=0x25d4f00, pm=0x258a0e0, mr=0x2588770) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/graphics/gl/particle_renderer_gl.cpp:48
#4  0x00000000005081f6 in Glest::Game::Renderer::renderParticleManager (this=0xa02800, rs=Shared::Graphics::rsMenu) at /home/softcoder/Code/megaglest/trunk/source/glest_game/graphics/renderer.cpp:534
#5  0x0000000000590cdb in Glest::Game::MainMenu::render (this=0x29fbca0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/menu/main_menu.cpp:106
#6  0x000000000054103d in Glest::Game::Program::loopWorker (this=0x25cdca0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:260
#7  0x0000000000540187 in Glest::Game::ExceptionHandler::handleRuntimeError(char const*) ()
#8  0x0000000000535012 in Glest::Game::handleSIGSEGV (sig=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:447
#9  <signal handler called>
#10 0x00007f6fece0b0c3 in fast_read_rgba_pixels (ctx=<value optimised out>, x=<value optimised out>, y=0, width=1366, height=<value optimised out>, format=<value optimised out>, type=5121, pixels=0x7f6fe4c1c6f0, packing=0x7fff3a4854e0, transferOps=0) at swrast/s_readpix.c:239
#11 0x00007f6fece0b752 in read_rgba_pixels (ctx=0x25f10a0, x=0, y=0, width=1366, height=768, format=6407, type=5121, packing=0x2600dc0, pixels=0x7f6fe4c1c6f0) at swrast/s_readpix.c:321
#12 _swrast_ReadPixels (ctx=0x25f10a0, x=0, y=0, width=1366, height=768, format=6407, type=5121, packing=0x2600dc0, pixels=0x7f6fe4c1c6f0) at swrast/s_readpix.c:563
#13 0x00007f6feccc6b75 in intelReadPixels (ctx=0x25f10a0, x=<value optimised out>, y=<value optimised out>, width=1366, height=768, format=<value optimised out>, type=5121, pack=0x2600dc0, pixels=0x7f6fe4c1c6f0) at intel_pixel_read.c:203
#14 0x00007f6fecd76b38 in _mesa_ReadPixels (x=<value optimised out>, y=<value optimised out>, width=1366, height=768, format=6407, type=5121, pixels=0x7f6fe4c1c6f0) at main/readpix.c:206
#15 0x000000000050e4b5 in Glest::Game::Renderer::saveScreen (this=0xa02800, path=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/graphics/renderer.cpp:3535
#16 0x00000000005360ff in Glest::Game::MainWindow::eventKeyDown (this=<value optimised out>, key=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:686
#17 0x00000000006ea033 in Shared::Platform::Window::handleEvent () at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/sdl/window.cpp:181
#18 0x000000000053cfd5 in Glest::Game::glestMain (argc=<value optimised out>, argv=<value optimised out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:1742
#19 0x00007f6ff4b00d8e in __libc_start_main () from /lib/libc.so.6
#20 0x000000000048f729 in _start () at ../sysdeps/x86_64/elf/start.S:113
« Last Edit: 7 March 2011, 00:33:54 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 · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: 3.4.0: Segfault in lobby
« Reply #1 on: 6 March 2011, 01:26:58 »
I would say a driver bug...
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: 3.4.0: Segfault in lobby
« Reply #2 on: 6 March 2011, 06:20:57 »
Either driver bug or memory corruption, if its memory corruption we'll see this happen more. By the way the current svn seems to play much better for network, more smooth, try it out