cyrale / project-zomboid

A Project Zomboid server with LinuxGSM.
29 stars 56 forks source link

Assertion Failed: CFileWriterThread already exited #12

Open ValterAMSantos opened 3 years ago

ValterAMSantos commented 3 years ago

Hey, i was trying to setup a server using your docker image and i get the following error, any idea on what's causing it?

project-zomboid_1 | Local build: 3417034 project-zomboid_1 | Remote build: 3417034 project-zomboid_1 | * Branch: public project-zomboid_1 | https://steamdb.info/app/380870/ project-zomboid_1 | project-zomboid_1 | Game server installed and updated! project-zomboid_1 | openjdk version "11.0.9.1" 2020-11-04 [ OK ] Starting ****: Project Zomboid Server project-zomboid_1 | 1622847909859 znet: Java_zombie_core_znet_SteamUtils_n_1Shutdown project-zomboid_1 | src/tier1/fileio.cpp (4913) : Assertion Failed: s_bExit project-zomboid_1 | src/tier1/fileio.cpp (4913) : Assertion Failed: s_bExit project-zomboid_1 | src/tier1/fileio.cpp (4915) : Assertion Failed: m_vecRegisteredWriters.Count() == 0 project-zomboid_1 | src/tier1/fileio.cpp (4915) : Assertion Failed: m_vecRegisteredWriters.Count() == 0 project-zomboid_1 | Bad thread localsrc/tier1/fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited project-zomboid_1 | src/tier1/fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited project-zomboid_1 | Bad thread localBad thread localsrc/tier1/fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited project-zomboid_1 | src/tier1/fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited

Any help would be than grateful.

ValterAMSantos commented 3 years ago

forgot to say i'm using the following docker compose:

version: "3.0"

services: project-zomboid: image: cyrale/project-zomboid restart: unless-stopped environment: SERVER_NAME: "***" ADMIN_PASSWORD: "**" RCON_PASSWORD: "**" LGSM_SERVER_CONFIG: ip="*...***" ports:


if i run the imagen using docker run command the server starts without problem but gives me a failed initialize p2p connection from the client side

if there's a fix for the p2p error i would happily use the docker run command instead of docker-compose. I know the p2p error isn't caused by firewall /port-fowarding. i tried with all firewalls down and still no luck. theres a couple of post regarding this error with the current version but it has to do on how you start the server (see bellow) https://theindiestone.com/forums/index.php?/topic/17240-failed-to-establish-p2p-connection-with-server/ https://steamcommunity.com/app/108600/discussions/1/483367798522247897/

cyrale commented 3 years ago

Are you trying to start an unnamed server or have you hid the name? I see SERVER_NAME: "" and this is not possible.

ValterAMSantos commented 3 years ago

nope, i left it blank because contained someone's real name. both in docker/compose and docker run command the variable name is correctly set.