Author Topic: [fixed]r3457: Server SegF in ParticleSystem::callParticleOwnerEnd  (Read 1133 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Lyra (Windows 7-64), Titi (Linux-64) and I (hosting on atibox) were just playing two games on r3457. Both ended with a segmentation fault on the server.

Game (1):

Code: [Select]
megaglest v3.8.0-dev
Compiled using: GNUC: 40703 [64bit] on: Sep 24 2013 00:30:27 platform: Linux-X64 endianness: little
SVN: [Rev: 4567M] - using STREFLOP [SSE] - [no-denormals]
radeon: Acquired access to Hyper-Z.
[] *ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[..]
[] *ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 19
*TESTING*: START Waiting for lagging client playerIndex = 1 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 1 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 1 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 1 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 1 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 1 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 1 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 1 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 1 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 1 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 1 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 1 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 1 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 1 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 1 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 1 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 1 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 1 [lyra]
In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:
Error saved to logfile [/home/user1/.megaglest/error.log]
[] *ERROR* In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 643] [In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:
] gameInitialized = 1, program = 0x2317570
[] *ERROR* In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 662] [In [/home/user1/SCM/megaglest-trunk/source/glest_game
/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x693ae7] line: 653
./megaglest() [0x693d5f]address [0x693d5f]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f4f7f28c0b0] line: 0
./megaglest:Shared::Graphics::ParticleSystem::callParticleOwnerEnd(Shared::Graphics::ParticleSystem*)address [0x97c2cf] line: 145
./megaglest:Shared::Graphics::ParticleManager::cleanupParticleSystems(Shared::Graphics::ParticleSystem*)address [0x989ebf] line: 2228
./megaglest:Shared::Graphics::ParticleManager::cleanupParticleSystems(std::vector<Shared::Graphics::ParticleSystem*, std::allocator<Shared::Graphics::ParticleSystem*> >&)address [0x989fa3] line: 2235
./megaglest:Shared::Graphics::ParticleManager::update(int)address [0x98a697] line: 2192
./megaglest:Glest::Game::Game::update()address [0x5c498a] line: 2208
./megaglest:Glest::Game::Program::loopWorker()address [0x6bd430] line: 459
./megaglest:Glest::Game::glestMain(int, char**)address [0x6a1427] line: 5379
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6a5016] line: 5626
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x6a51ae] line: 5698
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f4f7f276ea5] line: 0
./megaglest() [0x519a39]address [0x519a39]
]

Segmentation fault detected, analyzing...
[..]
Can't read pathname for load map: Eingabe-/Ausgabefehler.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffef14f000
Core was generated by `./megaglest --starthost'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000097c2cf in Shared::Graphics::ParticleSystem::callParticleOwnerEnd (this=<optimized out>, particleSystem=0x1672a5a0) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:145
145            this->particleOwner->end(particleSystem);
#0  0x000000000097c2cf in Shared::Graphics::ParticleSystem::callParticleOwnerEnd (this=<optimized out>, particleSystem=0x1672a5a0) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:145
#1  0x0000000000989ebf in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=this@entry=0x22ca340, ps=0x1672a5a0) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2225
#2  0x0000000000989fa3 in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=this@entry=0x22ca340, cleanupParticleSystemsList=std::vector of length 1, capacity 1 = {...}) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2237
#3  0x000000000098a697 in Shared::Graphics::ParticleManager::update (this=0x22ca340, renderFps=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2190
#4  0x0000000000628192 in Glest::Game::Renderer::updateParticleManager (this=<optimized out>, rs=rs@entry=Shared::Graphics::rsGame, renderFps=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:981
#5  0x00000000005c498a in Glest::Game::Game::update (this=0x41acf40) at /home/user1/SCM/megaglest-trunk/source/glest_game/game/game.cpp:2207
#6  0x00000000006bd430 in Glest::Game::Program::loopWorker (this=0x2317570) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/program.cpp:458
#7  0x00000000006bf275 in Glest::Game::Program::loop (this=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/program.cpp:369
#8  0x00000000006939ed in Glest::Game::ExceptionHandler::handleRuntimeError (msg=msg@entry=0x7fffef067b40 "In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:\n", getStackTraceString=getStackTraceString@entry=true) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:684
#9  0x0000000000693d5f in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:5532
#10 <signal handler called>
#11 0x000000000097c2cf in Shared::Graphics::ParticleSystem::callParticleOwnerEnd (this=<optimized out>, particleSystem=0x1672a5a0) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:145
#12 0x0000000000989ebf in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=this@entry=0x22ca340, ps=0x1672a5a0) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2225
#13 0x0000000000989fa3 in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=this@entry=0x22ca340, cleanupParticleSystemsList=std::vector of length 1, capacity 1 = {...}) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2237
#14 0x000000000098a697 in Shared::Graphics::ParticleManager::update (this=0x22ca340, renderFps=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2190
#15 0x0000000000628192 in Glest::Game::Renderer::updateParticleManager (this=<optimized out>, rs=rs@entry=Shared::Graphics::rsGame, renderFps=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:981
#16 0x00000000005c498a in Glest::Game::Game::update (this=0x41acf40) at /home/user1/SCM/megaglest-trunk/source/glest_game/game/game.cpp:2207
#17 0x00000000006bd430 in Glest::Game::Program::loopWorker (this=this@entry=0x2317570) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/program.cpp:458
#18 0x00000000006bf275 in Glest::Game::Program::loop (this=this@entry=0x2317570) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/program.cpp:369
#19 0x00000000006a1427 in Glest::Game::glestMain (argc=argc@entry=2, argv=argv@entry=0x7fffef075a98) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:5379
#20 0x00000000006a5016 in Glest::Game::glestMainSEHWrapper (argc=argc@entry=2, argv=argv@entry=0x7fffef075a98) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:5624
#21 0x00000000006a51ae in Glest::Game::glestMainWrapper (argc=2, argv=0x7fffef075a98) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:5697
#22 0x00007f4f7f276ea5 in __libc_start_main (main=0x513060 <main(int, char**)>, argc=2, ubp_av=0x7fffef075a98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffef075a88) at libc-start.c:260
#23 0x0000000000519a39 in _start ()
« Last Edit: 30 October 2013, 12:38:59 by titi »
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 · · ·

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r3457: Server SegF in ParticleSystem::callParticleOwnerEnd
« Reply #1 on: 24 September 2013, 00:06:43 »
Game (2):

Code: [Select]
megaglest v3.8.0-dev
Compiled using: GNUC: 40703 [64bit] on: Sep 24 2013 00:30:27 platform: Linux-X64 endianness: little
SVN: [Rev: 4567M] - using STREFLOP [SSE] - [no-denormals]
radeon: Acquired access to Hyper-Z.
[] *ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 16
[..]
[] *ERROR* SOCKET WRITE TIMEOUT In [/home/user1/SCM/megaglest-trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 19
*TESTING*: START Waiting for lagging client playerIndex = 2 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 2 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 2 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 2 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 2 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 2 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 2 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 2 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 2 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 2 [lyra]
*TESTING*: START Waiting for lagging client playerIndex = 2 [lyra] clientLagCount = 11.000000 [0.000000]
*TESTING*: FINISHED Waiting for lagging client playerIndex = 2 [lyra]
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _faction_1
Save to log debugCRCWorldLogFile = /home/user1/.megaglest/debugCRCWorld.log_faction_1
In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:
Error saved to logfile [/home/user1/.megaglest/error.log]
[] *ERROR* In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 643] [In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:
] gameInitialized = 1, program = 0x1e00570
[] *ERROR* In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 662] [In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x693ae7] line: 653
./megaglest() [0x693d5f]address [0x693d5f]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f075e3130b0] line: 0
./megaglest:Shared::Graphics::ParticleSystem::callParticleOwnerEnd(Shared::Graphics::ParticleSystem*)address [0x97c2cf] line: 145
./megaglest:Shared::Graphics::ParticleManager::cleanupParticleSystems(Shared::Graphics::ParticleSystem*)address [0x989ebf] line: 2228
./megaglest:Shared::Graphics::ParticleManager::cleanupParticleSystems(std::vector<Shared::Graphics::ParticleSystem*, std::allocator<Shared::Graphics::ParticleSystem*> >&)address [0x989fa3] line: 2235
./megaglest:Shared::Graphics::ParticleManager::update(int)address [0x98a697] line: 2192
./megaglest:Glest::Game::Game::update()address [0x5c498a] line: 2208
./megaglest:Glest::Game::Program::loopWorker()address [0x6bd430] line: 459
./megaglest:Glest::Game::glestMain(int, char**)address [0x6a1427] line: 5379
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6a5016] line: 5626
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x6a51ae] line: 5698
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f075e2fdea5] line: 0
./megaglest() [0x519a39]address [0x519a39]
]

Segmentation fault detected, analyzing...
[..]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffca996000
Core was generated by `./megaglest --starthost'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000097c2cf in Shared::Graphics::ParticleSystem::callParticleOwnerEnd (this=<optimized out>, particleSystem=0xd143650) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:145
145            this->particleOwner->end(particleSystem);
#0  0x000000000097c2cf in Shared::Graphics::ParticleSystem::callParticleOwnerEnd (this=<optimized out>, particleSystem=0xd143650) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:145
#1  0x0000000000989ebf in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=this@entry=0x1db3340, ps=0xd143650) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2225
#2  0x0000000000989fa3 in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=this@entry=0x1db3340, cleanupParticleSystemsList=std::vector of length 1, capacity 1 = {...}) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2237
#3  0x000000000098a697 in Shared::Graphics::ParticleManager::update (this=0x1db3340, renderFps=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2190
#4  0x0000000000628192 in Glest::Game::Renderer::updateParticleManager (this=<optimized out>, rs=rs@entry=Shared::Graphics::rsGame, renderFps=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:981
#5  0x00000000005c498a in Glest::Game::Game::update (this=0x3c96f20) at /home/user1/SCM/megaglest-trunk/source/glest_game/game/game.cpp:2207
#6  0x00000000006bd430 in Glest::Game::Program::loopWorker (this=0x1e00570) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/program.cpp:458
#7  0x00000000006bf275 in Glest::Game::Program::loop (this=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/program.cpp:369
#8  0x00000000006939ed in Glest::Game::ExceptionHandler::handleRuntimeError (msg=msg@entry=0x7fffca85ddc0 "In [/home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:\n", getStackTraceString=getStackTraceString@entry=true) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:684
#9  0x0000000000693d5f in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:5532
#10 <signal handler called>
#11 0x000000000097c2cf in Shared::Graphics::ParticleSystem::callParticleOwnerEnd (this=<optimized out>, particleSystem=0xd143650) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:145
#12 0x0000000000989ebf in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=this@entry=0x1db3340, ps=0xd143650) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2225
#13 0x0000000000989fa3 in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=this@entry=0x1db3340, cleanupParticleSystemsList=std::vector of length 2, capacity 2 = {...}) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2237
#14 0x000000000098a697 in Shared::Graphics::ParticleManager::update (this=0x1db3340, renderFps=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/graphics/particle.cpp:2190
#15 0x0000000000628192 in Glest::Game::Renderer::updateParticleManager (this=<optimized out>, rs=rs@entry=Shared::Graphics::rsGame, renderFps=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:981
#16 0x00000000005c498a in Glest::Game::Game::update (this=0x3c96f20) at /home/user1/SCM/megaglest-trunk/source/glest_game/game/game.cpp:2207
#17 0x00000000006bd430 in Glest::Game::Program::loopWorker (this=this@entry=0x1e00570) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/program.cpp:458
#18 0x00000000006bf275 in Glest::Game::Program::loop (this=this@entry=0x1e00570) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/program.cpp:369
#19 0x00000000006a1427 in Glest::Game::glestMain (argc=argc@entry=2, argv=argv@entry=0x7fffca86bcf8) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:5379
#20 0x00000000006a5016 in Glest::Game::glestMainSEHWrapper (argc=argc@entry=2, argv=argv@entry=0x7fffca86bcf8) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:5624
#21 0x00000000006a51ae in Glest::Game::glestMainWrapper (argc=2, argv=0x7fffca86bcf8) at /home/user1/SCM/megaglest-trunk/source/glest_game/main/main.cpp:5697
#22 0x00007f075e2fdea5 in __libc_start_main (main=0x513060 <main(int, char**)>, argc=2, ubp_av=0x7fffca86bcf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffca86bce8) at libc-start.c:260
#23 0x0000000000519a39 in _start ()
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 · · ·

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r3457: Server SegF in ParticleSystem::callParticleOwnerEnd
« Reply #2 on: 24 September 2013, 00:11:27 »
On Game (2), Titi got this (too):

Code: [Select]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./megaglest'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000a23612 in Shared::Graphics::ParticleSystem::callParticleOwnerEnd (this=<optimized out>, particleSystem=0x1217b330) at /home/tscharn/glest/megaglest/source/shared_lib/sources/graphics/particle.cpp:145
145            this->particleOwner->end(particleSystem);
#0  0x0000000000a23612 in Shared::Graphics::ParticleSystem::callParticleOwnerEnd (this=<optimized out>, particleSystem=0x1217b330) at /home/tscharn/glest/megaglest/source/shared_lib/sources/graphics/particle.cpp:145
#1  0x0000000000a293fc in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=0x1532910, ps=0x1217b330) at /home/tscharn/glest/megaglest/source/shared_lib/sources/graphics/particle.cpp:2225
#2  0x0000000000a37b48 in cleanupParticleSystems (cleanupParticleSystemsList=..., this=0x1532910) at /home/tscharn/glest/megaglest/source/shared_lib/sources/graphics/particle.cpp:2237
#3  Shared::Graphics::ParticleManager::update (this=0x1532910, renderFps=<optimized out>) at /home/tscharn/glest/megaglest/source/shared_lib/sources/graphics/particle.cpp:2190
#4  0x00000000005b367e in Glest::Game::Game::update (this=0x334bcd0) at /home/tscharn/glest/megaglest/source/glest_game/game/game.cpp:2207
#5  0x00000000006e0429 in Glest::Game::Program::loopWorker (this=0x1545390) at /home/tscharn/glest/megaglest/source/glest_game/main/program.cpp:458
#6  0x00000000006c7bb5 in Glest::Game::ExceptionHandler::handleRuntimeError (msg=<optimized out>, getStackTraceString=true) at /home/tscharn/glest/megaglest/source/glest_game/main/main.cpp:684
#7  0x00000000006c7f1f in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/tscharn/glest/megaglest/source/glest_game/main/main.cpp:5532
#8  <signal handler called>
#9  0x0000000000a23612 in Shared::Graphics::ParticleSystem::callParticleOwnerEnd (this=<optimized out>, particleSystem=0x1217b330) at /home/tscharn/glest/megaglest/source/shared_lib/sources/graphics/particle.cpp:145
#10 0x0000000000a293fc in Shared::Graphics::ParticleManager::cleanupParticleSystems (this=0x1532910, ps=0x1217b330) at /home/tscharn/glest/megaglest/source/shared_lib/sources/graphics/particle.cpp:2225
#11 0x0000000000a37b48 in cleanupParticleSystems (cleanupParticleSystemsList=..., this=0x1532910) at /home/tscharn/glest/megaglest/source/shared_lib/sources/graphics/particle.cpp:2237
#12 Shared::Graphics::ParticleManager::update (this=0x1532910, renderFps=<optimized out>) at /home/tscharn/glest/megaglest/source/shared_lib/sources/graphics/particle.cpp:2190
#13 0x00000000005b367e in Glest::Game::Game::update (this=0x334bcd0) at /home/tscharn/glest/megaglest/source/glest_game/game/game.cpp:2207
#14 0x00000000006e0429 in Glest::Game::Program::loopWorker (this=0x1545390) at /home/tscharn/glest/megaglest/source/glest_game/main/program.cpp:458
#15 0x00000000006d22b0 in Glest::Game::glestMain (argc=<optimized out>, argv=<optimized out>) at /home/tscharn/glest/megaglest/source/glest_game/main/main.cpp:5379
#16 0x00000000006d74a4 in Glest::Game::glestMainSEHWrapper (argc=1, argv=0x7ffffde0dec8) at /home/tscharn/glest/megaglest/source/glest_game/main/main.cpp:5624
#17 0x00000000006d7682 in Glest::Game::glestMainWrapper (argc=1, argv=0x7ffffde0dec8) at /home/tscharn/glest/megaglest/source/glest_game/main/main.cpp:5697
#18 0x00007fefda77b76d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#19 0x000000000050b4f9 in _start ()

Note that Titi and I were using full rebuilds, Lyra was using the Windows snapshot. Lyra's client lagged quite a bit after a while (CRC overhead presumably) so we paused and resumed the game a couple times.
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 · · ·

ctz

  • Summoner
  • **
  • Posts: 46
  • aka cathaur, formerly lyra
    • View Profile
Re: r3457: Server SegF in ParticleSystem::callParticleOwnerEnd
« Reply #3 on: 24 September 2013, 00:31:26 »
In both games I was lagging a lot, so tomr had to pause frequently.

At the end of the first game, I received a pop-up message about an unhandled error being detected, and a crash dump being generated.  I clicked "OK" on that window, and then another one popped up, with another crash dump.  I continued clicking "OK" until about 25 crash dumps were generated, when I used task manager to kill the process.  The terminal output is here:
Code: [Select]
megaglest.exe v3.8.0-dev
Compiled using: VC++: 1600 on: Sep 24 2013 00:40:18 platform: Windows endianness
: little
SVN: [Rev: 4567] - using STREFLOP [SSE] - [no-denormals]
Resume In Progress Game: 1799
Resume In Progress Game: 1799
Resume In Progress Game: 1799
Resume In Progress Game: 1799
Resume In Progress Game: 1799
Resume In Progress Game: 1799
Resume In Progress Game: 1799

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 2dba7e8f-e75e-4286-8db5-7c184836492f.dmp
Succeeded: 1
[] *ERROR* In [network_interface.cpp::Glest::Game::NetworkInterface::DisplayErro
rMessage Line: 171] sErr [Server has Disconnected.]
[] *ERROR* Access violation. Illegal write by 0 at 00|Unknown module|Unknown fun
ction
8885735|Unknown module|Unknown function
8944605|Unknown module|Unknown function
5603734|Unknown module|Unknown function
5248810|Unknown module|Unknown function
6237109|Unknown module|U []
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: f2361900-dbbd-424d-ad01-765e58b044bc.dmp
Succeeded: 1
[] *ERROR* Access violation. Illegal read by 8872594 at 7397181288872594|Unknown
 module|Unknown function
8885012|Unknown module|Unknown function
5239103|Unknown module|Unknown function
5273963|Unknown module|Unknown function
6232970|Unknown module|Unknown function
62335 []
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: ff0d5608-d6c2-4be0-9a2e-fb72b1a34f5a.dmp
Succeeded: 1
[] *ERROR* Access violation. Illegal read by 8872594 at 7397181288872594|Unknown
 module|Unknown function
8885012|Unknown module|Unknown function
5239103|Unknown module|Unknown function
5273963|Unknown module|Unknown function
6232970|Unknown module|Unknown function
62335 []
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: ea77415e-0db7-424e-818e-86b482719cda.dmp
Succeeded: 1
[] *ERROR* Access violation. Illegal read by 8872594 at 7397181288872594|Unknown
 module|Unknown function
8885012|Unknown module|Unknown function
5239103|Unknown module|Unknown function
5273963|Unknown module|Unknown function
6232970|Unknown module|Unknown function
62335 []
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: ef35949e-198a-4c69-aeae-3e850594aec5.dmp
Succeeded: 1
[] *ERROR* Access violation. Illegal read by 8872594 at 7397181288872594|Unknown
 module|Unknown function
8885012|Unknown module|Unknown function
5239103|Unknown module|Unknown function
5273963|Unknown module|Unknown function
6232970|Unknown module|Unknown function
62335 []
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 2d817e72-3ee3-4d14-8ad5-860643767a4f.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 026c3989-8634-479c-acf5-ed06f5327d4e.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 6fb57812-b0c5-4822-bcb7-aa255d0a8c98.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 6805d7ee-4968-4652-a9d5-a039a06da5d8.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 9832fd3c-0a9d-484e-b9bb-a8366f762725.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: b7eb32c4-07fc-4177-8766-3d472f996922.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 28819e25-d492-46c4-bafc-4ee7e1ea2922.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 61bd133b-d527-40c3-a6e1-164ad7ff87a2.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 17311d4d-8b5c-4f81-a467-4757e066daf5.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: cc00e5da-1947-4538-b83e-b4a58fab4f1a.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 8c688a2c-68fb-419c-aab1-ae4cf62509ac.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: b12c51e9-2d2e-48e4-98fc-26e49744baf1.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 339b5920-a8b5-4d8b-9501-b709101fb382.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 1acd4cd3-9025-4c7d-a388-0a487f851b75.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: dafe24db-75f7-44af-acac-5cdca7734869.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 46f75623-3ca2-4201-a84a-59652b15601d.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 92019e8d-d5f7-4821-8b06-7ce89388517e.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 2140e618-88cb-4b12-b7c5-461b39a6c2b9.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 0da5581e-c9e5-4678-8427-f3799075a799.dmp
Succeeded: 1
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: 8d8d80a0-6383-494c-b85c-98aea0659825.dmp
Succeeded: 1

In the second game, I saw titi get disconnected.  Shortly (many seconds) afterward, I got disconnected and was able to view the results screen.  But when trying to exit, a crash dump was generated and the game froze.  The terminal output is here:
Code: [Select]
megaglest.exe v3.8.0-dev
Compiled using: VC++: 1600 on: Sep 24 2013 00:40:18 platform: Windows endianness
: little
SVN: [Rev: 4567] - using STREFLOP [SSE] - [no-denormals]
Resume In Progress Game: 1799
Resume In Progress Game: 1799
Resume In Progress Game: 1799
Resume In Progress Game: 1799
Resume In Progress Game: 1799
[] *ERROR* In [network_interface.cpp::Glest::Game::NetworkInterface::DisplayErro
rMessage Line: 171] sErr [Timeout waiting for message.]
[] *ERROR* In [network_interface.cpp::Glest::Game::NetworkInterface::DisplayErro
rMessage Line: 171] sErr [Player lyra, disconnected from the game.]
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client
Check save world CRC to log. isNetworkGame = 1 fileSuffix = _client
Save to log debugCRCWorldLogFile = C:\Users\TheAdmin\AppData\Roaming\megaglest\d
ebugCRCWorld.log_client
[] *ERROR* In [window.cpp::Shared::Platform::Window::handleEvent Line: 352] (c)
Couldn't process event: [UNKNOWN ERROR] codeLocation = f

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\TheAdmin\AppData\Roaming\megaglest\
file: e58c81a8-fc3a-4056-9ef2-ede934f933a8.dmp
Succeeded: 1

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: r3457: Server SegF in ParticleSystem::callParticleOwnerEnd
« Reply #4 on: 24 September 2013, 04:18:08 »
Please try svn rev#: 4568

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: r3457: Server SegF in ParticleSystem::callParticleOwnerEnd
« Reply #5 on: 30 October 2013, 12:37:40 »
looks like this is fixed
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [fixed]r3457: Server SegF in ParticleSystem::callParticleOwnerEnd
« Reply #6 on: 30 October 2013, 12:40:44 »
That's my impression, too, thanks.
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