FATAL Crash

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

outreal
Posts: 2
Joined: 23 Nov 2020, 19:47

Re: FATAL Crash

Postby outreal » 26 Dec 2020, 06:36

Hi all,

I think I know why UDP Loop is happening in SFS 2.15 and 2.16, which seems to be SFS bug. I managed to reproduce it in production and workaround it. Lapo, could you please check your emails. I sent you recently an email to arrange a zoom call, so that I can report a bug and describe a fix I made.

Thanks.
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: FATAL Crash

Postby Lapo » 26 Dec 2020, 19:56

We have replied to your email.
Let's keep the conversation in one place. Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
tyagunov
Posts: 18
Joined: 08 Dec 2016, 12:39

Re: FATAL Crash

Postby tyagunov » 20 Feb 2023, 16:32

I faced same issue local server on MacOS works like a champ. But test server started on Debian has
Problems in SocketWriter::UDP inner loop.
java.lang.NullPointerException
at com.smartfoxserver.bitswarm.core.SocketWriterV3.udpSend(SocketWriterV3.java:515)
at com.smartfoxserver.bitswarm.core.SocketWriterV3.access$12(SocketWriterV3.java:484)

smarfox version 2.18.0 both (local and test server). Maybe you already have some solution?
TCP/UDP set as 0.0.0.0 both
Thank you
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: FATAL Crash

Postby Lapo » 20 Feb 2023, 17:04

Hi,
that's not really a crash (i.e. process death) but rather a problem with UDP communications.

Can you provide more details as to what seems to trigger the error, or do you have a way to reproduce it?

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
tyagunov
Posts: 18
Joined: 08 Dec 2016, 12:39

Re: FATAL Crash

Postby tyagunov » 20 Feb 2023, 18:50

yes you are right. I found reason:
Problem with "Problems in SocketWriter::UDP inner loop" was in firewall settings. In my case UFW.
>sudo ufw allow 9933/udp
and problem solved!
Thanks!
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: FATAL Crash

Postby Lapo » 21 Feb 2023, 09:10

Great :)
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 38 guests