{"action":"created","issue":{"url":"https://api.github.com/repos/Pottus/ColAndreas/issues/20","repository_url":"https://api.github.com/repos/Pottus/ColAndreas","labels_url":"https://api.github.com/repos/Pottus/ColAndreas/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/Pottus/ColAndreas/issues/20/comments","events_url":"https://api.github.com/repos/Pottus/ColAndreas/issues/20/events","html_url":"https://github.com/Pottus/ColAndreas/issues/20","id":163460167,"number":20,"title":"CA_RayCastLineID crash","user":{"login":"NexiusTailer","id":13169094,"avatar_url":"https://avatars.githubusercontent.com/u/13169094?v=3","gravatar_id":"","url":"https://api.github.com/users/NexiusTailer","html_url":"https://github.com/NexiusTailer","followers_url":"https://api.github.com/users/NexiusTailer/followers","following_url":"https://api.github.com/users/NexiusTailer/following{/other_user}","gists_url":"https://api.github.com/users/NexiusTailer/gists{/gist_id}","starred_url":"https://api.github.com/users/NexiusTailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NexiusTailer/subscriptions","organizations_url":"https://api.github.com/users/NexiusTailer/orgs","repos_url":"https://api.github.com/users/NexiusTailer/repos","events_url":"https://api.github.com/users/NexiusTailer/events{/privacy}","received_events_url":"https://api.github.com/users/NexiusTailer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-01T19:29:26Z","updated_at":"2016-07-01T23:21:06Z","closed_at":null,"body":"So, after a long test I get the crash: if you use CA_RayCastLineID at water (20000), then instead of return that number you will see this:\r\n\r\n> [22:22:30] [debug] Server crashed while executing creator.amx\r\n> [22:22:31] [debug] AMX backtrace:\r\n> [22:22:31] [debug] #0 native CA_RayCastLineID () from Colandreas.DLL\r\n> [22:22:31] [debug] #1 00005aac in public OnPlayerUpdate (0) from creator.amx\r\n> [22:22:31] [debug] Native backtrace:\r\n> [22:22:31] [debug] #0 611c74cd in ?? () from plugins\\Colandreas.DLL\r\n> [22:22:31] [debug] #1 611c8b08 in ?? () from plugins\\Colandreas.DLL\r\n> [22:22:31] [debug] #2 004010b6 in ?? () from samp-server.exe\r\n> [22:22:31] [debug] #3 6b5262ca in ?? () from plugins\\crashdetect.DLL\r\n> [22:22:31] [debug] #4 6b528b28 in ?? () from plugins\\crashdetect.DLL\r\n> [22:22:31] [debug] #5 6b5209c7 in ?? () from plugins\\crashdetect.DLL\r\n> [22:22:31] [debug] #6 6b52631a in ?? () from plugins\\crashdetect.DLL\r\n> [22:22:31] [debug] #7 69f24509 in ?? () from plugins\\streamer.DLL\r\n> [22:22:31] [debug] #8 0046bdaf in ?? () from samp-server.exe\r\n> [22:22:31] [debug] #9 0048fb34 in ?? () from samp-server.exe\r\n> [22:22:31] [debug] #10 773fd8ea in ?? () from C:\\Windows\\SYSTEM32\\ntdll.dll"},"comment":{"url":"https://api.github.com/repos/Pottus/ColAndreas/issues/comments/230066952","html_url":"https://github.com/Pottus/ColAndreas/issues/20#issuecomment-230066952","issue_url":"https://api.github.com/repos/Pottus/ColAndreas/issues/20","id":230066952,"user":{"login":"NexiusTailer","id":13169094,"avatar_url":"https://avatars.githubusercontent.com/u/13169094?v=3","gravatar_id":"","url":"https://api.github.com/users/NexiusTailer","html_url":"https://github.com/NexiusTailer","followers_url":"https://api.github.com/users/NexiusTailer/followers","following_url":"https://api.github.com/users/NexiusTailer/following{/other_user}","gists_url":"https://api.github.com/users/NexiusTailer/gists{/gist_id}","starred_url":"https://api.github.com/users/NexiusTailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NexiusTailer/subscriptions","organizations_url":"https://api.github.com/users/NexiusTailer/orgs","repos_url":"https://api.github.com/users/NexiusTailer/repos","events_url":"https://api.github.com/users/NexiusTailer/events{/privacy}","received_events_url":"https://api.github.com/users/NexiusTailer/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T23:21:06Z","updated_at":"2016-07-01T23:21:06Z","body":"Any created objects didn't exist.\r\nUnfortunately I not fully understand the problem.\r\nWith -d3 crashdetect only confirmed that the problem in this function\r\n\r\nHowever, this code must crash your server:\r\n> public OnPlayerUpdate(playerid)\r\n> {\r\n> \tnew Float:tmp;\r\n> \tCA_RayCastLineID(1983.875366, 555.897338, 11.122355, 2028.804321, 567.251770, -7.651627, tmp, tmp, tmp);\r\n> \treturn 1;\r\n> }\r\n\r\nI do not know, but the crash occurs precisely around these coordinates"}}
{"actor":{"display_login":"NexiusTailer"}}