AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Segmentation Fault - discovering the problem? (https://forums.alliedmods.net/showthread.php?t=278669)

Guxi 02-05-2016 20:10

Segmentation Fault - discovering the problem?
 
I have a plugin that is sending TCP packets with rate of average 1 packet per 2 seconds to a remote server. After the server & plugin is started, it takes few hours for it to be crashed with the message 'Segmentation Fault'.

I reckon it could be a problem with a TCP socket that is repeatedly sending data (buffer size 512). However, i have no real evidence to guide me to towards the real problem.

Since i don't get any additional info about the crash, all i have is 'Segmentation Fault' as an indicator to the problem. What is the way to approach such an error, how can i debug this?

If anyone had any experience with Segmentation Fault and could provide some info about how they dealt with this issue, i would be very thankful.


All times are GMT -4. The time now is 09:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.