Author Topic: [Fixed] invalid value at file: [..]source/game/graphics/renderer.c  (Read 1136 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
I just got this when I invoked glestadv with the --lastgame argument:

Quote
terminate called after throwing an instance of 'std::runtime_error'
  what():  OpenGL error: invalid value at file: /home/tomreyn/SCM/glestae/source/game/graphics/renderer.cpp, line 377

Code: (gae-crash.txt) [Select]
Crash
Version: Advanced Engine git-master
Time: Sat Apr 16 17:14:09 2011
Description: SIGABRT:
Address: 0x3e8000019b7
Backtrace:
./build/source/game/glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0xf7) [0x713717]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60) [0x7fe9d6ec5c60]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fe9d4fb3d05]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x186) [0x7fe9d4fb7ab6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x11d) [0x7fe9d586a6dd]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb9926) [0x7fe9d5868926]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb88f9) [0x7fe9d58678f9]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(__gxx_personality_v0+0x235) [0x7fe9d5868215]
/lib/x86_64-linux-gnu/libgcc_s.so.1(+0xf44b) [0x7fe9d532344b]
/lib/x86_64-linux-gnu/libgcc_s.so.1(_Unwind_Resume+0x8b) [0x7fe9d53238bb]
./build/source/game/glestadv(_ZN5Glest4Main7ProgramD1Ev+0xe5) [0x57f0d5]
./build/source/game/glestadv(_ZN5Glest4Main9glestMainEiPPc+0x720) [0x579870]
./build/source/game/glestadv(main+0x35) [0x579a55]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff) [0x7fe9d4f9eeff]
./build/source/game/glestadv() [0x4c5089]

last_gamesettings.gs, all relevant log and configuration files are available for download.
« Last Edit: 18 April 2011, 07:48:32 by silnarm »
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 · · ·

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: invalid value at file: [..]source/game/graphics/renderer.c
« Reply #1 on: 17 April 2011, 02:26:23 »
Invalid loading of tech trees was throwing a runtime_exception that was being unhandled. The problem is that it thinks Random is a faction when loading with --lastgame. Should the previously determined factions be saved then used or new random factions each time it's run?
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: invalid value at file: [..]source/game/graphics/renderer.c
« Reply #2 on: 17 April 2011, 06:07:33 »
I'd say choose a new random faction each game, as they obviously wanted it random last time, so would be more likely to want a "different" game again, instead of the same opponents.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: invalid value at file: [..]source/game/graphics/renderer.c
« Reply #3 on: 17 April 2011, 17:22:40 »
To  me, too, this sounds like what a user would want / expect to happen.
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 · · ·

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: invalid value at file: [..]source/game/graphics/renderer.c
« Reply #4 on: 18 April 2011, 05:08:35 »
I've made it possible to load random factions with -lastgame now.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

 

anything