Author Topic: [fixed] headless server svn 2833: glewInit failed  (Read 1677 times)

treba

  • Guest
[fixed] headless server svn 2833: glewInit failed
« on: 18 November 2011, 11:04:35 »
just wanded to update to newest svn. but when i tried to start the server again, with or without the new vps option, i got this:

Code: [Select]
./megaglest --headless-server-mode
v3.5.3-beta1-GNUC: 40602-Nov 18 2011 11:50:43, SVN: [Rev: 2833M], [STREFLOP]
Error [main]: glewInit failed: Missing GL version
Error saved to logfile [/home/megaglest/megaglest/logs/error.log]
[2011-11-18 11:59:36] *ERROR* In [/home/megaglest/svn/source/glest_game/main/main.cpp::handleRuntimeError Line: 410] [Missing GL version] gameInitialized = 0, program = 0x9791308
[2011-11-18 11:59:36] *ERROR* In [/home/megaglest/svn/source/glest_game/main/main.cpp::handleRuntimeError Line: 503] [Missing GL version
Stack Trace:
./megaglest:Glest::Game::glestMain(int, char**) address [0x82c8383] line: 3556
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x82ceee0] line: 3662
./megaglest:main() address [0x81a93fd] line: 3682
/lib/libc.so.6:__libc_start_main() address [0xb6e88243] line: 0
./megaglest() [0x81ae629] address [0x81ae629] line: 0
]
******************************************************
    #2 An error occurred and MegaGlest will close.
Error msg = [Missing GL version
Stack Trace:
./megaglest:Glest::Game::glestMain(int, char**) address [0x82c8383] line: 3556
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x82ceee0] line: 3662
./megaglest:main() address [0x81a93fd] line: 3682
/lib/libc.so.6:__libc_start_main() address [0xb6e88243] line: 0
./megaglest() [0x81ae629] address [0x81ae629] line: 0
]

Please report this bug to  http://bugs.megaglest.org
******************************************************
« Last Edit: 19 November 2011, 00:15:28 by softcoder »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: headless server svn 2833: glewInit failed
« Reply #1 on: 18 November 2011, 11:20:20 »
Thanks for your report.

I see the same issue:

Code: [Select]
$ ./dev_rungame --headless-server-mode=exit,vps
Error [main]: glewInit failed: Missing GL version
Forcing quit after game has compelted [exit]
Disabled reading from console [vps]
v3.5.3-beta1-GNUC: 40601 [64bit]-Nov 18 2011 09:58:13, SVN: [Rev: 2833M], [STREFLOP]
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
[2011-11-18 12:15:02] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 410] [Missing GL version] gameInitialized = 0, program = 0x14f85c0
[2011-11-18 12:15:02] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 503] [Missing GL version
Stack Trace:
./megaglest:Glest::Game::glestMain(int, char**) address [0x5b1fe0] line: 3554
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x5b6c97] line: 3662
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7f27fbbd630d] line: 0
./megaglest() [0x4a1ef9] address [0x4a1ef9] line: 0
]
******************************************************
    #2 An error occurred and MegaGlest will close.
Error msg = [Missing GL version
Stack Trace:
./megaglest:Glest::Game::glestMain(int, char**) address [0x5b1fe0] line: 3554
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x5b6c97] line: 3662
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7f27fbbd630d] line: 0
./megaglest() [0x4a1ef9] address [0x4a1ef9] line: 0
]

Please report this bug to  http://bugs.megaglest.org
******************************************************

Segmentation fault detected, analyzing...

warning: [New LWP 2581]
Can't read pathname for load map: input/output error.
[Thread debugging using libthread_db enabled]
64    ../nptl/sysdeps/unix/sysv/linux/raise.c: File or directory not found.
Core was generated by `./megaglest --headless-server-mode=exit,vps'.
Program terminated with signal 6, Aborted.
#0  0x00007f27fbbeb3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
#0  0x00007f27fbbeb3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f27fbbeeb0b in __GI_abort () at abort.c:92
#2  0x00000000005bcc80 in Glest::Game::ExceptionHandler::handleRuntimeError (msg=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:596
#3  0x00000000005b1fe0 in Glest::Game::glestMain (argc=<optimized out>, argv=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:3554
#4  0x00000000005b6c97 in Glest::Game::glestMainWrapper (argc=2, argv=0x7fffe4e516b8) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:3660
#5  0x00007f27fbbd630d in __libc_start_main (main=0x49cef0 <main(int, char**)>, argc=2, ubp_av=0x7fffe4e516b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe4e516a8) at libc-start.c:226
#6  0x00000000004a1ef9 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 · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: headless server svn 2833: glewInit failed
« Reply #2 on: 18 November 2011, 15:08:31 »
- fixed in svn rev2832