• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Segmentation fault (core dumped)

yohanaugusto

New Member
Joined
Sep 28, 2008
Messages
73
Reaction score
0
When I compile in Windows, everything is ok. But when i compile in Linux i get segmentation fault (core dumped).

I found the cause of the problem, but couldn't fix it.

the problem is the "FOR". When i comment the lines, it works. But sometimes server crash..

Code:
if (clients.size() > 0) {
        for (auto& client : clients) {
            client->setPlayer(this);
        }
    }
[code]
 
Back
Top