Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

Assertion Failed: CFileWriterThread already exited #12

Open
ValterAMSantos opened this issue Jun 4, 2021 · 3 comments
Open

Assertion Failed: CFileWriterThread already exited #12

ValterAMSantos opened this issue Jun 4, 2021 · 3 comments
Assignees

Comments

@ValterAMSantos
Copy link

ValterAMSantos commented Jun 4, 2021

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
Copy link
Author

ValterAMSantos commented Jun 5, 2021

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:
- "8766:8766/udp"
- "8767:8767/udp"
- "16261:16261/udp"
- "16262-16272:16262-16272"
- "27015:27015"
volumes:
- ./server-data:/server-data


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 cyrale self-assigned this Jun 5, 2021
@cyrale
Copy link
Owner

cyrale commented Jun 5, 2021

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

@ValterAMSantos
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants