Author Topic: [fixed] 3.9.0 SegF, Ubuntu 13.10 i686 headless, Shared::Graphics::Pixmap2D::copy  (Read 1073 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Fakir crashed again.

Last lines on standard output:

Code: [Select]
== Current in-game stats (interval 600) ==
Render FPS: 799[775]
Update FPS: 40[39]
Time: 1.78 [9.99]
Log buffer count: 0
UnitRangeCellsLookupItemCache: pos [6331] size [6349] range [19412][7378607] total KB: 29,514
ExploredCellsLookupItemCache: pos [8873] sight [17331] [5146343][2326999] total KB: 29,893
FowAlphaCellsLookupItemCache: surface count [18997] total KB: 227
Selection type: color
Map: grandezza
Tileset: desert2
Techtree: megapack
Frame count:23984
Total unit count: 262

*ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1772] i = 0 sock = 7 [187.112.43.59]
In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5563] Error detected: signal 11:
Error saved to logfile [/opt/megaglest//.megaglest/error.log]
*ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 628] [In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5563] Error detected: signal 11:
] gameInitialized = 1, program = 0xa894290
*ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 647] [In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5563] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x83abb5d] line: 637
./megaglest:Glest::Game::handleSIGSEGV(int)address [0x83ac361] line: 5568
[0xb77d1400]address [0xb77d1400] line: 0
./megaglest:Shared::Graphics::Pixmap2D::copy(Shared::Graphics::Pixmap2D const*)address [0x87bef05] line: 1357
./megaglest:Glest::Game::Minimap::copyFowTexAlphaSurface()address [0x8755a3c] line: 156
./megaglest:Glest::Game::World::computeFow()address [0x8785281] line: 2511
./megaglest:Glest::Game::World::tick()address [0x878b45a] line: 974
./megaglest:Glest::Game::World::update()address [0x878f8cd] line: 934
./megaglest:Glest::Game::Game::update()address [0x82ea3bb] line: 2153
./megaglest:Glest::Game::Program::loopWorker()address [0x84002f5] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x83dc130] line: 5412
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x83de98d] line: 5660
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x83deb7f] line: 5731
./megaglest:main()address [0x83dec73] line: 5737
/lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6:__libc_start_main()address [0xb6dc7905] line: 0
./megaglest() [0x82230d1]address [0x82230d1]
]
Message:
In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5563] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x83abb5d] line: 637
./megaglest:Glest::Game::handleSIGSEGV(int)address [0x83ac361] line: 5568
[0xb77d1400]address [0xb77d1400] line: 0
./megaglest:Shared::Graphics::Pixmap2D::copy(Shared::Graphics::Pixmap2D const*)address [0x87bef05] line: 1357
./megaglest:Glest::Game::Minimap::copyFowTexAlphaSurface()address [0x8755a3c] line: 156
./megaglest:Glest::Game::World::computeFow()address [0x8785281] line: 2511
./megaglest:Glest::Game::World::tick()address [0x878b45a] line: 974
./megaglest:Glest::Game::World::update()address [0x878f8cd] line: 934
./megaglest:Glest::Game::Game::update()address [0x82ea3bb] line: 2153
./megaglest:Glest::Game::Program::loopWorker()address [0x84002f5] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x83dc130] line: 5412
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x83de98d] line: 5660
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x83deb7f] line: 5731
./megaglest:main()address [0x83dec73] line: 5737
/lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6:__libc_start_main()address [0xb6dc7905] line: 0
./megaglest() [0x82230d1]address [0x82230d1]

Aborted (core dumped)
ERROR: Server has quit unexpectedly.

Backtrace (gdb):

Code: [Select]
megaglest@fakir:/opt/megaglest/current$ gdb -q -n -ex "bt" -batch ./megaglest core
[New LWP 2540]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/tls/i686/nosegneg/libthread_db.so.1".
Core was generated by `./megaglest --ini-path=./ --data-path=./ --headless-server-mode=vps,exit'.
Program terminated with signal 6, Aborted.
#0  0xb77d1424 in __kernel_vsyscall ()
#0  0xb77d1424 in __kernel_vsyscall ()
#1  0xb6ddcaff in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2  0xb6de0083 in __GI_abort () at abort.c:90
#3  0x083abd7e in Glest::Game::ExceptionHandler::handleRuntimeError (msg=0x0, getStackTraceString=true) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:755
#4  0x083ac361 in Glest::Game::handleSIGSEGV (sig=11) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5567
#5  <signal handler called>
#6  Shared::Graphics::Pixmap2D::copy (this=0x0, sourcePixmap=0x0) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/graphics/pixmap.cpp:1357
#7  0x08755a3c in Glest::Game::Minimap::copyFowTexAlphaSurface (this=0xa8dee00) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/minimap.cpp:155
#8  0x08785281 in Glest::Game::World::computeFow (this=0xa8de818) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/world.cpp:2508
#9  0x0878b45a in Glest::Game::World::tick (this=0xa8de818) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/world.cpp:972
#10 0x0878f8cd in Glest::Game::World::update (this=0xa8de818) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/world.cpp:932
#11 0x082ea3bb in Glest::Game::Game::update (this=0xa8de7e8) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:2151
#12 0x084002f5 in Glest::Game::Program::loopWorker (this=0xa894290) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:474
#13 0x083dc130 in Glest::Game::glestMain (argc=4, argv=0xbf8fa124) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5412
#14 0x083de98d in Glest::Game::glestMainSEHWrapper (argc=4, argv=0xbf8fa124) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5658
#15 0x083deb7f in Glest::Game::glestMainWrapper (argc=4, argv=0xbf8fa124) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5731
#16 0x083dec73 in main (argc=4, argv=0xbf8fa124) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5737
megaglest@fakir:/opt/megaglest/current$

The matching DMP file on fakir is 64f4a0aa-88ad-9065-0688d80e-57985c42.dmp.
« Last Edit: 1 December 2013, 07:55:43 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
This is already fixed in git (same as last crash)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Thanks, I assume "last crash" is the one discussed in topic 9314. Fakir crashed again with this one last night, so this is happening way too often (I'm not sure whether or not it is limited to this system, though).

I wonder how or whether I could patch it in a way which will be backward compatible to 3.9.0?
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 · · ·