Author Topic: 3.5.2 (playdeb) Segfault  (Read 2159 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
3.5.2 (playdeb) Segfault
« on: 12 August 2011, 12:51:19 »
A friend of mine was trying MG for the first time today, using the playdeb packages on Debian Sid. And ran into a segmentation fault by the time he clicked on "Exit game":

Quote

micah@algae:~$ megaglest
v3.5.2-GNUC: 40403 [64bit]-Jul 11 2011 17:03:40, SVN: [$Rev: 2287 $], [STREFLOP]
AL lib: pulseaudio.c:612: Context did not connect: Connection refused
In [/build/build-megaglest_3.5.2.4-1~getdeb1~lucid-amd64-JuC9lq/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleSIGSEGV Line: 582] Error detected: signal 11:
[2011-08-12 14:17:17] *ERROR* In [/build/build-megaglest_3.5.2.4-1~getdeb1~lucid-amd64-JuC9lq/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleRuntimeError Line: 358] [In [/build/build-megaglest_3.5.2.4-1~getdeb1~lucid-amd64-JuC9lq/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleSIGSEGV Line: 582] Error detected: signal 11:
] gameInitialized = 1, program = 0x29c1a70
[2011-08-12 14:17:18] *ERROR* In [/build/build-megaglest_3.5.2.4-1~getdeb1~lucid-amd64-JuC9lq/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleRuntimeError Line: 449] [In [/build/build-megaglest_3.5.2.4-1~getdeb1~lucid-amd64-JuC9lq/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleSIGSEGV Line: 582] Error detected: signal 11:

Stack Trace:
megaglest.real:Glest::Game::handleSIGSEGV(int) address [0x556922] line: 0
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7fb0e0fb7480] line: 0
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7fb0e100ec34] line: 0
/usr/lib/libminiupnpc.so.5:parseURL() address [0x7fb0e1cb691a] line: 0
/usr/lib/libminiupnpc.so.5:() address [0x7fb0e1cb7743] line: 0
/usr/lib/libminiupnpc.so.5:UPNP_DeletePortMapping() address [0x7fb0e1cb9553] line: 0
megaglest.real:Shared::Platform::UPNP_Tools::upnp_rem_redirect(int) address [0x7dad05] line: 0
megaglest.real:Shared::PlatformCommon::FTPServerThread::~FTPServerThread() address [0x7ed0e4] line: 0
megaglest.real:Glest::Game::ServerInterface::~ServerInterface() address [0x6a8a15] line: 0
megaglest.real:Glest::Game::NetworkManager::end() address [0x67db57] line: 0
megaglest.real:Glest::Game::Game::quitGame() address [0x4e5416] line: 0
megaglest.real:Glest::Game::Game::quitAndToggleState() address [0x4e5599] line: 0
megaglest.real:Glest::Game::Program::loopWorker() address [0x56eade] line: 0
megaglest.real:Glest::Game::glestMain(int, char**) address [0x56905e] line: 0
]
Segmentation fault

« Last Edit: 12 August 2011, 12:58:03 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
Re: 3.5.2 (playdeb) Segfault
« Reply #1 on: 12 August 2011, 20:03:54 »
This seems to be the same bug already reported (and fixed in our install packages). The playdeb packages have the bug that was fixed in the latest source tarball (which was discovered by svenstaro in Arch Linux and fixed in that distro's package)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: 3.5.2 (playdeb) Segfault
« Reply #2 on: 15 August 2011, 14:56:16 »
According to http://sourceforge.net/projects/megaglest/files/current_release/ our latest source tarball is version 3.5.2.4 (last modified 2011-07-09).
According to http://www.playdeb.net/updates/ubuntu/11.04/?q=megaglest the latest playdeb.net Natty build is version 3.5.2.4-1~getdeb1 and according to http://www.playdeb.net/updates/ubuntu/10.04/?q=megaglest their latest Lucid build is version 3.5.2.4-1~getdeb1~lucid (both last updated on 2011-07-11).
According to https://www.archlinux.org/packages/community/x86_64/megaglest/ the latest Arch Linux x86_64 build is version 3.5.2.4-1 and according to https://www.archlinux.org/packages/community/i686/megaglest/ their latest i686 build is also version 3.5.2.4-1.

Based on these version numbers and dates it would seem that playdeb would have built from a source version which should already have had the fix.

Update (2011-09-16): In fact I think what happened is that the 3.5.2.4 source tarballs we released are of a revision which still has this issue, while our installers are built of a later revision (>= r2305).
« Last Edit: 16 September 2011, 19:32:00 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

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: 3.5.2 (playdeb) Segfault
« Reply #3 on: 17 August 2011, 15:45:54 »
This issue is now being tracked on the playdeb/getdeb bug tracker, and they would like to know which patch fixes this issue.
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 · · ·

david

  • Guest
Re: 3.5.2 (playdeb) Segfault
« Reply #4 on: 2 October 2011, 12:16:05 »
Hi,

I've got the same bug when i want to start a new single player game.

here is the complete output if it can help:

Code: [Select]
megaglest
v3.5.2-GNUC: 40502 [64bit]-Jul 11 2011 20:15:02, SVN: [$Rev: 2287 $], [STREFLOP]
In [/build/build-megaglest_3.5.2.4-1~getdeb1-amd64-byD4lN/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleSIGSEGV Line: 582] Error detected: signal 11:
[2011-10-02 13:40:36] *ERROR* In [/build/build-megaglest_3.5.2.4-1~getdeb1-amd64-byD4lN/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleRuntimeError Line: 358] [In [/build/build-megaglest_3.5.2.4-1~getdeb1-amd64-byD4lN/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleSIGSEGV Line: 582] Error detected: signal 11:
] gameInitialized = 1, program = 0x2aa6ae0
[2011-10-02 13:40:36] *ERROR* In [/build/build-megaglest_3.5.2.4-1~getdeb1-amd64-byD4lN/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleRuntimeError Line: 449] [In [/build/build-megaglest_3.5.2.4-1~getdeb1-amd64-byD4lN/megaglest-3.5.2.4/source/glest_game/main/main.cpp::handleSIGSEGV Line: 582] Error detected: signal 11:

Stack Trace:
megaglest.real:Glest::Game::handleSIGSEGV(int) address [0x55fb22] line: 0
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7f7ab4142d80] line: 0
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7f7ab42360f8] line: 0
/usr/lib/libminiupnpc.so.5:parseURL() address [0x7f7ab4e5157a] line: 0
/usr/lib/libminiupnpc.so.5:() address [0x7f7ab4e524aa] line: 0
/usr/lib/libminiupnpc.so.5:UPNP_DeletePortMapping() address [0x7f7ab4e54375] line: 0
megaglest.real:Shared::Platform::UPNP_Tools::upnp_rem_redirect(int) address [0x7cd634] line: 0
megaglest.real:Shared::PlatformCommon::FTPServerThread::~FTPServerThread() address [0x7d2ff4] line: 0
megaglest.real:Shared::PlatformCommon::FTPServerThread::~FTPServerThread() address [0x7d3249] line: 0
megaglest.real:Glest::Game::ServerInterface::launchGame(Glest::Game::GameSettings const*) address [0x6739ac] line: 0
megaglest.real:Glest::Game::MenuStateCustomGame::PlayNow() address [0x6394f0] line: 0
megaglest.real:Glest::Game::MenuStateCustomGame::mouseClick(int, int, Shared::Platform::MouseButton) address [0x63a566] line: 0
megaglest.real:Glest::Game::MainWindow::eventMouseDown(int, int, Shared::Platform::MouseButton) address [0x55f4f5] line: 0
megaglest.real:Shared::Platform::Window::handleMouseDown(SDL_Event) address [0x7b0e61] line: 0
]
Erreur de segmentation

Edit by Omega: Inserted [code] tags
« Last Edit: 3 October 2011, 21:50:13 by Omega »