Boost errors when running wesnothd on Ubuntu

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderator: Forum Moderators

Post Reply
User avatar
MarisaG
Posts: 9
Joined: March 13th, 2020, 10:58 am
Location: South San Francisco, CA
Contact:

Boost errors when running wesnothd on Ubuntu

Post by MarisaG »

I am able to compile wesnothd with no issue, but when running it I get a boost error when it starts:

Code: Select all

2025-04-11 00:57:37 info server: Server configuration from file: '/home/USER/wesnoth/myconfig.cfg' read.
terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
  what():  assign: Bad file descriptor [system:9 at /usr/include/boost/asio/detail/impl/reactive_descriptor_service.ipp:120 in function 'assign']
./runwesnoth-server: line 3:  7759 Aborted                 (core dumped) ./wesnothd -v -c /home/wesnothowner/wesnoth/myconfig.cfg
Any ideas what's going on?
--- wesnoth.gameplayer.club - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month
Soliton
Site Administrator
Posts: 1731
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Re: Boost errors when running wesnothd on Ubuntu

Post by Soliton »

Sounds like you configured fifo_path to point to a path that cannot be opened. The given path should either be an existing, usable fifo or not exist so the fifo can get created there.
"If gameplay requires it, they can be made to live on Venus." -- scott
User avatar
MarisaG
Posts: 9
Joined: March 13th, 2020, 10:58 am
Location: South San Francisco, CA
Contact:

Re: Boost errors when running wesnothd on Ubuntu

Post by MarisaG »

Awesome, that pointed me in the right direction. Thanks!
--- wesnoth.gameplayer.club - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month
Post Reply