2025-07-27 17:02 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002167Spring engineGeneralpublic2010-12-13 20:16
ReporterSirMaverick 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusresolvedResolutionunable to reproduce 
Product Version 
Target VersionFixed in Version 
Summary0002167: crash at start with 0.82.3-759-g17eb3f0
DescriptionSometimes spring crashes at start with 0.82.3-759-g17eb3f0 (master). Sometimes it starts without errors.
Additional InformationX Error of failed request: GLXBadPbuffer
  Major opcode of failed request: 128 (GLX)
  Minor opcode of failed request: 28 (X_GLXDestroyPbuffer)
  Serial number of failed request: 1867
  Current serial number in output stream: 1867
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
pure virtual method called
terminate called recursively

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xa6a00b70 (LWP 25139)]
0xb7fe2424 in __kernel_vsyscall ()

(gdb) bt
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb765b751 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb765eb82 in *__GI_abort () at abort.c:92
0000003 0xb787b442 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/libstdc++.so.6
0000004 0xb7879405 in ?? () from /usr/lib/libstdc++.so.6
0000005 0xb7879442 in std::terminate() () from /usr/lib/libstdc++.so.6
#6 0xb787a0f5 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#7 0x080a6c50 in boost::system::error_code::message (this=0x9862420)
    at /usr/include/boost/system/error_code.hpp:350
#8 boost::system::system_error::what (this=0x9862420)
    at /usr/include/boost/system/system_error.hpp:68
#9 0xb787b574 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/libstdc++.so.6
0000010 0xb7879405 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb7879442 in std::terminate() () from /usr/lib/libstdc++.so.6
0000012 0xb7879581 in __cxa_throw () from /usr/lib/libstdc++.so.6
0000013 0x081226ca in boost::throw_exception<boost::system::system_error> (e=...)
    at /usr/include/boost/throw_exception.hpp:65
0000014 0x081229f6 in boost::asio::detail::posix_mutex::lock (this=0x985737c)
    at /usr/include/boost/asio/detail/posix_mutex.hpp:78
#15 0x0860fa6c in scoped_lock (this=0xa6c05ff0)
    at /usr/include/boost/asio/detail/scoped_lock.hpp:36
#16 boost::asio::detail::task_io_service<boost::asio::detail::epoll_reactor<false> >::poll (this=0xa6c05ff0)
    at /usr/include/boost/asio/detail/task_io_service.hpp:127
#17 boost::asio::io_service::poll (this=0xa6c05ff0)
    at /usr/include/boost/asio/impl/io_service.ipp:94
#18 netcode::UDPListener::Update (this=0xa6c05ff0)
    at /home/spring/spring/spring/spring-git/rts/System/Net/UDPListener.cpp:64
#19 0x080c09ce in CGameServer::UpdateLoop (this=0xa6c05b38)
    at /home/spring/spring/spring/spring-git/rts/Game/GameServer.cpp:1999
0000020 0xb79ac0d5 in thread_proxy () from /usr/lib/libboost_thread.so.1.42.0
#21 0xb7f05955 in start_thread (arg=0xa6a00b70) at pthread_create.c:300
#22 0xb76fce7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon script.txt (1,159 bytes) 2010-10-08 16:50 -
    [GAME]
    {
    	HostIP=localhost;
    	HostPort=8452;
    	IsHost=1;
    	MyPlayerName=Host;
    
    	Mapname=Comet Catcher Redux;
    	GameType=Balanced Annihilation V7.19;
    
    	startpostype=2;
    	[mapoptions]
    	{
    	}
    	[modoptions]
    	{
    deathmode=com;
    diminishingmms=0;
    disablemapdamage=0;
    fixedallies=0;
    gamemode=0;
    ghostedbuildings=1;
    limitdgun=0;
    maxspeed=1;
    maxunits=500;
    minspeed=0.5;
    mo_comgate=0;
    mo_coop=1;
    mo_enemywrecks=1;
    mo_greenfields=0;
    mo_noowner=0;
    mo_noshare=1;
    mo_nowrecks=0;
    mo_preventdraw=0;
    mo_progmines=0;
    startenergy=1000;
    startmetal=1000;
    	}
    	NumRestrictions=0;
    	[RESTRICT]
    	{
    	}
    
    	NumPlayers=2;
    	NumUsers=2;
    
    	[PLAYER0]
    	{
    		Name=Host;
    		Spectator=0;
    		Team=0;
    	}
    	[PLAYER1]
    	{
    		Name=Player1;
    		Spectator=0;
    		Team=1;
    	}
    	[TEAM0]
    	{
    		TeamLeader=0;
    		AllyTeam=0;
    		RGBColor=1.0 0.0 0.0;
    		Side=ARM;
    		Handicap=0;
    	}
    	[TEAM1]
    	{
    		TeamLeader=1;
    		AllyTeam=1;
    		RGBColor=0.0 1.0 0.0;
    		Side=ARM;
    		Handicap=0;
    	}
    	[ALLYTEAM1]
    	{
    		NumAllies=0;
    		StartRectLeft=0.760;
    		StartRectTop=0.000;
    		StartRectRight=1.000;
    		StartRectBottom=1.000;
    	}
    	[ALLYTEAM0]
    	{
    		NumAllies=0;
    		StartRectLeft=0.000;
    		StartRectTop=0.000;
    		StartRectRight=0.230;
    		StartRectBottom=1.000;
    	}
    }
    
    
    txt file icon script.txt (1,159 bytes) 2010-10-08 16:50 +
  • ? file icon script.txt-client (102 bytes) 2010-10-08 16:56
  • ? file icon infolog.txt-client (8,258 bytes) 2010-10-08 16:56
  • ? file icon console.txt-client (3,506 bytes) 2010-10-08 16:56
  • ? file icon 02-infolog.txt-host (4,666 bytes) 2010-10-08 17:05
  • ? file icon 02-console.txt-host (4,855 bytes) 2010-10-08 17:05

-Relationships
related to 0002170resolvedabma current spring-master hangs on exit 
+Relationships

-Notes

~0005708

SirMaverick (reporter)

After running server a few times in gdb without crash I started client (*-client). Client crashed with SIGSEGV/SIGPIPE.

~0005709

SirMaverick (reporter)

02-* host crashed with

X Error of failed request: BadGC (invalid GC parameter)
  Major opcode of failed request: 60 (X_FreeGC)
  Resource id in failed request: 0x36001a8
  Serial number of failed request: 1105
  Current serial number in output stream: 1867
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
AL lib: ALc.c:1420: alcDestroyContext(): deleting 32 Source(s)
[Thread 0xa6a08b70 (LWP 25781) exited]

Program received signal SIGSEGV, Segmentation fault

~0005710

SirMaverick (reporter)

Same setup doesn't crash with current release.

~0005711

SirMaverick (reporter)

Without gdb, also possible for host:

[...]
Loaded widget from mod: LupsManager <gfx_lups_manager.lua>
Loaded widget from mod: BA_AllyCursors <gui_ba_ally_cursors.lua>
X Error of failed request: GLXBadPbuffer
  Major opcode of failed request: 128 (GLX)
  Minor opcode of failed request: 28 (X_GLXDestroyPbuffer)
  Serial number of failed request: 1955
  Current serial number in output stream: 1955
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
pure virtual method called
terminate called recursively
AL lib: ALc.c:1420: alcDestroyContext(): deleting 32 Source(s)
AL lib: ALc.c:1818: alcCloseDevice(): deleting 251 Buffer(s)
spring: /build/buildd-openal-soft_1.12.854-2-i386-alXmuJ/openal-soft-1.12.854/OpenAL32/Include/alMain.h:75: EnterCriticalSection: Assertion `ret == 0' failed.
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively

Infolog ends at last "Loaded widget from mod". "terminate called recursively" is printed a many times.

~0006071

abma (administrator)

please retry with current master, it seems to be fixed! (if it still crashes, please reopen)
+Notes

-Issue History
Date Modified Username Field Change
2010-10-08 16:37 SirMaverick New Issue
2010-10-08 16:50 SirMaverick File Added: script.txt
2010-10-08 16:56 SirMaverick File Added: script.txt-client
2010-10-08 16:56 SirMaverick File Added: infolog.txt-client
2010-10-08 16:56 SirMaverick File Added: console.txt-client
2010-10-08 16:58 SirMaverick Note Added: 0005708
2010-10-08 17:05 SirMaverick File Added: 02-infolog.txt-host
2010-10-08 17:05 SirMaverick File Added: 02-console.txt-host
2010-10-08 17:06 SirMaverick Note Added: 0005709
2010-10-08 17:08 SirMaverick Note Added: 0005710
2010-10-08 17:14 SirMaverick Note Added: 0005711
2010-10-11 00:09 Kloot Relationship added related to 0002170
2010-12-13 20:16 abma Note Added: 0006071
2010-12-13 20:16 abma Status new => resolved
2010-12-13 20:16 abma Resolution open => unable to reproduce
2010-12-13 20:16 abma Assigned To => abma
+Issue History