Author Topic: [fixed] r4260: SegF when shutting down (Ubuntu 13.04 x86_64)  (Read 652 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
I just noticed that r4260 failed to shut down cleanly when I used it some hours ago. Sadly I don't have a core file. Here's what I've got:

Code: (terminal output) [Select]
megaglest v3.8-dev
Compiled using: GNUC: 40703 [64bit] on: May  5 2013 13:54:35 platform: Linux-X64 endianness: little
SVN: [Rev: 4260M] - using STREFLOP [SSE] - [no-denormals]
radeon: Acquired access to Hyper-Z.
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5238] Error detected: signal 11:
Error saved to logfile [/home/user1/.megaglest/error.log]
[2013-05-05 16:59:42] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 635] [In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5238] Error detected: signal 11:
] gameInitialized = 1, program = 0x2f8a930

Code: (error.log) [Select]
[2013-05-05 16:59:43] Runtime Error information:
======================================================
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5238] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x679947] line: 645
./megaglest() [0x679b0f]address [0x679b0f]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7fb2083310b0] line: 0
./megaglest:irc_process_select_descriptors()address [0xb05d1a] line: 0
./megaglest:irc_run()address [0xb047c8] line: 0
./megaglest:Shared::PlatformCommon::IRCThread::execute()address [0xa1b7fa] line: 680
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0xa06b82] line: 90
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7fb20c0dc196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7fb20c11ce49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7fb20beb3f8e] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7fb2083f3e1d] line: 0
« Last Edit: 15 May 2013, 05:01:49 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 · · ·

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r4260: SegF when shutting down (Ubuntu 13.04 x86_64)
« Reply #1 on: 5 May 2013, 16:49:23 »
I am able to reproduce this now. A core file seems to be never written, though.

Steps to reproduce:
  • Start game, select "new game", then "Internet game".
  • As soon as "IRC people online" turns green (but does not yet show logged-in users), click on "return", again on "return", and on "exit" in rapid succession.
This may or may not be the same as what's discussed at https://forum.megaglest.org/index.php?topic=9004.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 · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: r4260: SegF when shutting down (Ubuntu 13.04 x86_64)
« Reply #2 on: 15 May 2013, 04:54:53 »
Hopefully fixed now in svn rev#: 4270

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r4260: SegF when shutting down (Ubuntu 13.04 x86_64)
« Reply #3 on: 15 May 2013, 05:01:30 »
Looks very good, thank you!
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 · · ·