Author Topic: [lacks info] r3476:SegF while trying to start a scenario  (Read 2510 times)

slick666

  • Guest
Sorry guys Megaglest dumped on me but this time it looks like a different error. Here is a copy of the run

Code: [Select]
BUILD COMPLETE.

To launch MegaGlest from the current directory, use:
  mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/
To launch MegaGlest from within the build directory, use:
  ../mk/linux/megaglest --ini-path=../mk/linux/ --data-path=../mk/linux/
landon@Mactel:~/workspace/megaglest/megaglest$ cd mk/linux/
landon@Mactel:~/workspace/megaglest/megaglest/mk/linux$ ./megaglest
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 on: Jul 17 2012 22:54:18
SVN: [Rev: 3476] - using STREFLOP [SSE] - [no-denormals]
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
In [menu_state_scenario.cpp::launchGame Line: 293] scenarioInfo.file [/home/landon/workspace/megaglest/megaglest/mk/linux//scenarios/kill_the_magic/kill_the_magic.xml] [autumn][overgrown_city][megapack]
In [/home/landon/workspace/megaglest/megaglest/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
Error saved to logfile [/home/landon/.megaglest/error.log]
[2012-07-17 23:02:51] *ERROR* In [/home/landon/workspace/megaglest/megaglest/source/glest_game/main/main.cpp::handleRuntimeError Line: 369] [In [/home/landon/workspace/megaglest/megaglest/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
] gameInitialized = 1, program = 0xa2ee0d0
[2012-07-17 23:02:51] *ERROR* In [/home/landon/workspace/megaglest/megaglest/source/glest_game/main/main.cpp::handleRuntimeError Line: 388] [In [/home/landon/workspace/megaglest/megaglest/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x83aa65b] line: 378
./megaglest() [0x8392b58]address [0x8392b58]
[0xaf7400]address [0xaf7400] line: 0
]
Segmentation fault (core dumped)
landon@Mactel:~/workspace/megaglest/megaglest/mk/linux$

(Edit by tomreyn: the output above was initially posted to / available at http://megaglest.pzt.me/5x22)

I looked at the lines it was complaining about and couldn't make much of it. If you guys need something more verbose and let me know. I can't quite understand what it doesn't like.
« Last Edit: 22 September 2012, 18:23:13 by tomreyn »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r3476:SegF while trying to start a scenario
« Reply #1 on: 18 July 2012, 11:49:07 »
As the bug reporting guideleines suggest, please start a new topic for every new issue, thanks.

Edit (tomreyn): I had provided incorrect information here - removing this now to not misguide others. Apologies.
« Last Edit: 22 September 2012, 18:31:16 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: r3476:SegF while trying to start a scenario
« Reply #2 on: 18 July 2012, 15:32:23 »
Edit (tomreyn): Removing Titi's correction of my incorrect statement so this is not out of context.

-------------------

Looking at the stacktrace it says:
...
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
...
I think the system had(has?) sound problems ....

Did it only happen once or is it reproducible?
« Last Edit: 22 September 2012, 18:30:55 by tomreyn »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: r3476:SegF while trying to start a scenario
« Reply #3 on: 18 July 2012, 15:34:10 »
Please run with --verbose and post the output here

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r3476:SegF while trying to start a scenario
« Reply #4 on: 19 July 2012, 01:05:09 »
Looking at the stacktrace it says:
...
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
...
I think the system had(has?) sound problems ....

This is a common issue on some versions of Ubuntu actually, and has been around for a while. I think this also happens with other games, too, so I don't think this has much to do with MegaGlest.
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 · · ·

slick666

  • Guest
Re: r3476:SegF while trying to start a scenario
« Reply #5 on: 19 July 2012, 03:35:04 »
Please run with --verbose and post the output here

The verbose output is over 30,000 lines of output. The megaglest pastebin can't handle something that large. Is there something else or some part I can post for you?

Looking at the stacktrace it says:
...
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
...
I think the system had(has?) sound problems ....

This is a common issue on some versions of Ubuntu actually, and has been around for a while. I think this also happens with other games, too, so I don't think this has much to do with MegaGlest.

I can kind of see your point but the sound does play. Just for a second before it crashes but it does play. The system does play Youtube and other games no problem so I don't see why it would be a fault of the system though.

slick666

  • Guest
Re: r3476:SegF while trying to start a scenario
« Reply #6 on: 19 July 2012, 03:52:12 »
Update, still present in 3481

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: r3476:SegF while trying to start a scenario
« Reply #7 on: 19 July 2012, 23:23:23 »
Are you able to setup a remote desktop session of some kind with us? Visit us in the IRC channel #glest on freenode

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r3476:SegF while trying to start a scenario
« Reply #8 on: 19 July 2012, 23:42:18 »
Sorry for not spelling out that the PulseAudio warning is basically harmless other than I think when you have it you may rarely have some slight stuttering when CPU or disk gets busy, but that's it really. It is also clearly unrelated to any other issue you may have.

What's the issue you still encounter now, Slick666? Is the game still crashing?

You can upload large logs to any file hosting site, preferrably one where you don't have to go through the hoops to download the file. I think http://www.sendspace.com/ is somewhat user-friendly there.

Finally, to ensure you are really really up to date, run svn up on the uppermost directory you checked out from the MegaGlest subversion repository, then run svn diff on the same directory. It should list any locally made changes (and you should have none).
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 · · ·

slick666

  • Guest
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #9 on: 21 July 2012, 19:50:03 »
Sorry for the delay guys. Yea I've been following the build and it's still failing for me. I'm on the road so I don't have access to the same system I've talked about before. I've moved from a Core Duo (32-bit) to a Core2 Duo (64-bit) but it has the same graphics and is experiencing the same problem. Here isa the latest output.

Code: [Select]
BUILD COMPLETE.

To launch MegaGlest from the current directory, use:
  mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/
To launch MegaGlest from within the build directory, use:
  ../mk/linux/megaglest --ini-path=../mk/linux/ --data-path=../mk/linux/
landon@Blackjack:~/workspace/trunk$ mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 [64bit] on: Jul 21 2012 14:41:28
SVN: [Rev: 3497] - using STREFLOP [SSE] - [no-denormals]
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
Error saved to logfile [/home/landon/.megaglest/error.log]
[2012-07-21 14:44:14] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 369] [In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
] gameInitialized = 1, program = 0x1418db0
[2012-07-21 14:44:15] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 388] [In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:

Stack Trace:
mk/linux/megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x786150] line: 379
mk/linux/megaglest() [0x770497]address [0x770497]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f8f0094b4c0] line: 0
]
Segmentation fault (core dumped)
landon@Blackjack:~/workspace/trunk$

Are you able to setup a remote desktop session of some kind with us? Visit us in the IRC channel #glest on freenode

softcoder, I think I can set something up I just added #glest to my channel list and I'l be in and out till this evening when I get on I'll try pinging you from there and we'll see what we can do. Thanks again guys

slick666

  • Guest
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #10 on: 24 July 2012, 05:50:32 »
Hey guys, have been poking at this and updating along with the trunk but I'm not sure how to move this forward. I've been able to get onto IRC a couple times but not really with much time. I'm on the road for the next week or two so It might be tough to coordinate a time to work with softcoder live. In the meantime perhaps this might help.

I've taken the verbose output and stripped out the line that have the word error...

Code: [Select]
Property key [IntroText5] now has value [v3.6.1-dev]
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FONT_BASE_SIZE, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FONT_SCALE_SIZE, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FONT_SCALE_CENTERH_FACTOR, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FONT_CHARCOUNT, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FONT_TYPENAME, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FONT_CHARSET, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FONT_MULTIBYTE, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FONT_RIGHTTOLEFT, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: MEGAGLEST_FONT, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: MEGAGLEST_FONT_FAMILY, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FONT_HEIGHT_TEXT, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
Using Font::charCount = 256, Font::fontTypeName [Times New Roman] Shared::Platform::charSet = 1, Font::fontIsMultibyte = 0, Font::fontIsRightToLeft = 0
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FontDisplayPrefix, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FontDisplayPostfix, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:06] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FontDisplayBaseSize, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
#

So only 48 lines in there is a bunch of language errors. This doesn't seem to be enough to kill off the program off so the output continues.

Code: [Select]
[2012-07-24 00:00:07] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FontDisplayPrefix, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:07] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FontDisplayPostfix, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:07] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FontDisplaySmallBaseSize, loaded from: mk/linux/data/lang/english.lng] for uselanguage []

At line 122 the language errors continue.

Code: [Select]
[2012-07-24 00:00:07] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FontMenuNormalPrefix, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:07] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FontMenuNormalPostfix, loaded from: mk/linux/data/lang/english.lng] for uselanguage []
[2012-07-24 00:00:07] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/global/lang.cpp::hasString Line: 358] Error [Value not found in propertyMap: FontMenuNormalBaseSize, loaded from: mk/linux/data/lang/english.lng] for uselanguage []

At line 183 the same thing again, again at 244, 305, 366, 823. Then it starts to get interesting again

Code: [Select]
Camera: 99,-36 173,37 268,-36 194,37

Frustrum #0 [6]: [-0.792406][-0.528271][-0.304997][163.688004]
Frustrum #1 [6]: [0.792406][-0.528271][-0.304997][-127.917320]
Frustrum #2 [6]: [0.000000][0.000000][-1.000000][24.000000]
Frustrum #3 [6]: [0.000000][-0.866025][0.500000][5.320508]
Frustrum #4 [6]: [0.000000][0.862698][0.505720][998155.625000]
Frustrum #5 [6]: [0.000000][-0.866025][-0.500000][28.320509]
END
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 355]
Error saved to logfile [/home/landon/.megaglest/error.log]
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 368] program = 0x23f9e10 gameInitialized = 1 msg [In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
]
[2012-07-24 00:00:26] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 369] [In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
] gameInitialized = 1, program = 0x23f9e10
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 374]
In [/home/landon/workspace/trunk/source/shared_lib/sources/platform/sdl/platform_util.cpp::getStackTrace Line: 186]
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 383]
[2012-07-24 00:00:26] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 388] [In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:

Stack Trace:
mk/linux/megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x786260] line: 379
mk/linux/megaglest() [0x7705a7]address [0x7705a7]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7fbb573304c0] line: 0
]
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 392]
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 398]
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 401]
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 403]
Segmentation fault (core dumped)

At line 30499 we have our first Camera debug output. I'm assuming this is at the end of the loading of the scenario. This is where the program starts to unravel. The error is caught first in main.cpp line 4836. This is where I loose the ability to follow the problem further. Why line 4836? What code block threw the error? I hope this actually helps and is not the wild ramblings of a user that has not got enough sleep.

Thanks again for all your work I'm off to get some shut eye.


tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #11 on: 25 July 2012, 10:39:16 »
Hey Slick, since you're working on a different system now, please describe this system in more detail. You can use the Linux system report utility (see my forum signature below) to do so. Please also provide information on whether you use any non-official packages / package repositories or newer/older versions of packages on this system. We also seem to lack instructions on how to reproduce this issue. All of this information seems to be lacking on your old system and the issue you encountered there, too.

Responding to your updates: These errors you posted about missing values in the translation files (value not found in propertyMap) are indeed irrelevant here. The output where the game tries to catch and handle the error does not provide much/the relevant information (which is not your fault).

What you can do now in addition to making information on your system and on how to reproduce the issue available, is a backtrace. Here's how you do this:
First create a full rebuild of the game, using:
Code: [Select]
LANG=C
cd /home/landon/workspace/trunk/
rm -r build/
svn up
svn diff . >svndiff.txt 2>&1
./build-mg.sh

Now install the "gdb" package. Once it's installed, reproduce the issue, starting the game as:
Code: [Select]
ulimit -c unlimited
rm -f core*
 mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/

Once the game fails again, you should now have a file in the current directory whose name is core or core.#####, where ##### is a number. You can now run gdb, the GNU Debugger, on this file (which is a memory dump), to get us more information on what went wrong when the game failed:
Code: [Select]
gdb -q -n -ex "bt" -batch mk/linux/megaglest core* >backtrace.txt 2>&1
Finally, make the files /home/landon/workspace/trunk/svndiff.txt and /home/landon/workspace/trunk/backtrace.txt as well as the file created by the system report utility available to us either by posting them to a pastebin such as http://paste.megaglest.org (you need to make sure that neither the start or end of the file are cut off after pasting, though, there are limits to how much text you can post there!) or by uploading them in a ZIP or other common archive format to a file hosting site such as http://www.sendspace.com/.
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 · · ·

slick666

  • Guest
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #12 on: 25 July 2012, 23:19:58 »
Ok here is the pastebin of the system report. sorry to switch hardware on you guys but I'm on the road until Monday and I'm getting the same behavior.

http://megaglest.pzt.me/559j

I ran the code below but I'm afraid I don't get any core files

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #13 on: 26 July 2012, 07:08:59 »
I notice many errors like:

Code: [Select]
ln: failed to create symbolic link
Are you missing dependencies?

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #14 on: 26 July 2012, 11:53:46 »
I ran the code below but I'm afraid I don't get any core files

Since you don't say it, did you reproduce the crash, too?

As Softcoder says, you seem to be missing dependencies. Have you run mk/linux/setupBuildDeps.sh? If so, what's its output?
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 · · ·

slick666

  • Guest
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #15 on: 26 July 2012, 19:02:47 »
I ran the code below but I'm afraid I don't get any core files

Since you don't say it, did you reproduce the crash, too?

As Softcoder says, you seem to be missing dependencies. Have you run mk/linux/setupBuildDeps.sh? If so, what's its output?

Sorry for not being clear, had the exact same error and the exact same behavior.

Here is what I got from mk/linux/setupBuildDeps.sh
Code: [Select]
landon@Blackjack:~/workspace/trunk$ sudo mk/linux/setupBuildDeps.sh
We have detected the following system:
 [ Ubuntu ] [ 12.04 ] [ precise ] [ x86_64 ]

On supported systems, we will now install build dependencies.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
build-essential set to manually installed.
cmake is already the newest version.
subversion is already the newest version.
Suggested packages:
  autoconf2.13 autoconf-archive gnu-standards autoconf-doc
The following NEW packages will be installed:
  autoconf autogen automake libopts25 libopts25-dev m4
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2548 kB of archives.
After this operation, 7554 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main m4 amd64 1.4.16-2ubuntu1 [200 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main autoconf all 2.68-1ubuntu2 [560 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main libopts25 amd64 1:5.12-0.1ubuntu1 [59.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main libopts25-dev amd64 1:5.12-0.1ubuntu1 [103 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main autogen amd64 1:5.12-0.1ubuntu1 [1053 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main automake all 1:1.11.3-1ubuntu2 [571 kB]                                                             
Fetched 2548 kB in 10s (248 kB/s)                                                                                                                           
Selecting previously unselected package m4.
(Reading database ... 282241 files and directories currently installed.)
Unpacking m4 (from .../m4_1.4.16-2ubuntu1_amd64.deb) ...
Selecting previously unselected package autoconf.
Unpacking autoconf (from .../autoconf_2.68-1ubuntu2_all.deb) ...
Selecting previously unselected package libopts25.
Unpacking libopts25 (from .../libopts25_1%3a5.12-0.1ubuntu1_amd64.deb) ...
Selecting previously unselected package libopts25-dev.
Unpacking libopts25-dev (from .../libopts25-dev_1%3a5.12-0.1ubuntu1_amd64.deb) ...
Selecting previously unselected package autogen.
Unpacking autogen (from .../autogen_1%3a5.12-0.1ubuntu1_amd64.deb) ...
Replaced by files in installed package libopts25-dev ...
Selecting previously unselected package automake.
Unpacking automake (from .../automake_1%3a1.11.3-1ubuntu2_all.deb) ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 2 added doc-base files...
Setting up m4 (1.4.16-2ubuntu1) ...
Setting up autoconf (2.68-1ubuntu2) ...
Setting up libopts25 (1:5.12-0.1ubuntu1) ...
Setting up libopts25-dev (1:5.12-0.1ubuntu1) ...
Setting up autogen (1:5.12-0.1ubuntu1) ...
Setting up automake (1:1.11.3-1ubuntu2) ...
update-alternatives: using /usr/bin/automake-1.11 to provide /usr/bin/automake (automake) in auto mode.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libglew1.6-dev' instead of 'libglew-dev'
libcurl4-gnutls-dev is already the newest version.
libglew1.6-dev is already the newest version.
libjpeg-dev is already the newest version.
liblua5.1-0-dev is already the newest version.
libpng12-dev is already the newest version.
libsdl1.2-dev is already the newest version.
libvorbis-dev is already the newest version.
libx11-dev is already the newest version.
libx11-dev set to manually installed.
libftgl-dev is already the newest version.
libluajit-5.1-dev is already the newest version.
libwxbase2.8-dev is already the newest version.
libwxgtk2.8-dev is already the newest version.
libgl1-mesa-dev is already the newest version.
libgl1-mesa-dev set to manually installed.
libglu1-mesa-dev is already the newest version.
libglu1-mesa-dev set to manually installed.
libxml2-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  libicu-dev libxerces-c3.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libalut0 libvlccore-dev
Suggested packages:
  libxerces-c2-doc
The following packages will be REMOVED:
  libxerces-c-dev
The following NEW packages will be installed:
  libalut-dev libalut0 libircclient-dev libvlc-dev libvlccore-dev libxerces-c2-dev
0 upgraded, 6 newly installed, 1 to remove and 0 not upgraded.
Need to get 1616 kB of archives.
After this operation, 10.0 MB disk space will be freed.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe libalut0 amd64 1.1.0-3 [25.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe libalut-dev amd64 1.1.0-3 [31.1 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe libircclient-dev amd64 1.3+dfsg1-3 [43.3 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/universe libvlccore-dev amd64 2.0.1-4 [668 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/universe libvlc-dev amd64 2.0.1-4 [75.3 kB]                                                               
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/universe libxerces-c2-dev amd64 2.8.0+deb1-2build3 [772 kB]                                               
Fetched 1616 kB in 10s (153 kB/s)                                                                                                                           
(Reading database ... 282635 files and directories currently installed.)
Removing libxerces-c-dev ...
Selecting previously unselected package libalut0.
(Reading database ... 282053 files and directories currently installed.)
Unpacking libalut0 (from .../libalut0_1.1.0-3_amd64.deb) ...
Selecting previously unselected package libalut-dev.
Unpacking libalut-dev (from .../libalut-dev_1.1.0-3_amd64.deb) ...
Selecting previously unselected package libircclient-dev.
Unpacking libircclient-dev (from .../libircclient-dev_1.3+dfsg1-3_amd64.deb) ...
Selecting previously unselected package libvlccore-dev.
Unpacking libvlccore-dev (from .../libvlccore-dev_2.0.1-4_amd64.deb) ...
Selecting previously unselected package libvlc-dev.
Unpacking libvlc-dev (from .../libvlc-dev_2.0.1-4_amd64.deb) ...
Selecting previously unselected package libxerces-c2-dev.
Unpacking libxerces-c2-dev (from .../libxerces-c2-dev_2.8.0+deb1-2build3_amd64.deb) ...
Processing triggers for man-db ...
Setting up libalut0 (1.1.0-3) ...
Setting up libalut-dev (1.1.0-3) ...
Setting up libircclient-dev (1.3+dfsg1-3) ...
Setting up libvlccore-dev (2.0.1-4) ...
Setting up libvlc-dev (2.0.1-4) ...
Setting up libxerces-c2-dev (2.8.0+deb1-2build3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Installation of build dependencies complete.
landon@Blackjack:~/workspace/trunk$ mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 [64bit] on: Jul 26 2012 13:26:26
SVN: [Rev: 3507] - using STREFLOP [SSE] - [no-denormals]
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
Error saved to logfile [/home/landon/.megaglest/error.log]
[2012-07-26 13:44:00] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 369] [In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
] gameInitialized = 1, program = 0x30bcde0
[2012-07-26 13:44:00] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 388] [In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:

Stack Trace:
mk/linux/megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x786ab0] line: 379
mk/linux/megaglest() [0x770df7]address [0x770df7]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7fce711a04c0] line: 0
]
Segmentation fault (core dumped)

Still couldn't find any core file. Did a
Code: [Select]
find ./ | grep core and didn't find a core files hiding around.

I notice many errors like:

Code: [Select]
ln: failed to create symbolic link
Are you missing dependencies?

I think it's dependency version incompatability. Take this example
Code: [Select]
...
default library [/home/landon/workspace/trunk/mk/linux/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libdirectfb-1.2.so.9] pointed to from [/home/landon/workspace/trunk/mk/linux/lib/libdirectfb-1.2.so.0]
ln: failed to create symbolic link `/home/landon/workspace/trunk/mk/linux/lib/libdirectfb-1.2.so.0': No such file or directory
...

so the library libdirectfb-1.2.so.0 doesn't exist. it finds libdirectfb-1.2.so.9 and it seems to point to that dependency but then the next line says that it fails. These seem to be in onflict with each other. does the system use the newer library or does it truley fail?

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #16 on: 26 July 2012, 20:03:27 »
you did not rebuild the binary since updating the deps. please do a rebuild and then see if it still crashes.

slick666

  • Guest
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #17 on: 26 July 2012, 21:47:14 »
Sorry about that. did a rm -r ./build from trunk and did a ./build-mg.sh.

Code: [Select]
\Linking CXX executable ../../../mk/linux/megaglest
[100%] Built target megaglest

BUILD COMPLETE.

To launch MegaGlest from the current directory, use:
  mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/
Or change into mk/linux and run it from there:
  ./megaglest --ini-path=./ --data-path=./
landon@Blackjack:~/workspace/trunk$ mk/linux/megaglest --ini-path=mk/linux/ --data-path=mk/linux/
megaglest v3.6.1-dev
Compiled using: GNUC: 40603 [64bit] on: Jul 26 2012 16:34:16
SVN: [Rev: 3507] - using STREFLOP [SSE] - [no-denormals]
In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
Error saved to logfile [/home/landon/.megaglest/error.log]
[2012-07-26 16:44:43] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 369] [In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:
] gameInitialized = 1, program = 0x24a9de0
[2012-07-26 16:44:43] *ERROR* In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 388] [In [/home/landon/workspace/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 4836] Error detected: signal 11:

Stack Trace:
mk/linux/megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x6a1f50] line: 379
mk/linux/megaglest() [0x68c297]address [0x68c297]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f40b28e54c0] line: 0
]
Segmentation fault (core dumped)

still got the same behavior.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #18 on: 26 July 2012, 22:01:27 »
Please try with --verbose added to the commandline and paste the output.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [lacks info] r3476:SegF while trying to start a scenario
« Reply #19 on: 26 July 2012, 22:11:14 »
Since --verbose creates a lot of output. it may be better to capture it directly in a fileto make sure you don't end up with parts of the output missing. The FAQ describes how to do so.
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: [lacks info] r3476:SegF while trying to start a scenario
« Reply #21 on: 27 July 2012, 17:55:35 »
None of those outputs are helping. Let me know when you can are setup in a way that i can remote into your computer and take a look.

Thanks

 

anything