-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error output written in mysql_log from mysql_tquery/mysql_pquery is corrupted #120
Comments
Another one I just found: using cache_num_rows() to a place without active cache reports line 182 from a_mysql.inc file which actually makes sense since the function is in the include. Instead of calling cache_get_row_count, is there any other way to report the previous place was called from for that specific function? |
Which query were you executing? |
So far any query with error in the syntax or table/column that does not exist. |
I run samp-server.exe many times because of testing and I mostly click on X button instead of typing exit. I get the message that "SA-MP dedicated server has stopped working". I downgrade to R40 and this doesn't happen. Updated to R41 again to make sure and it happens. |
It's getting even more weird. Since today morning, when a fault query (table does not exist) is executed, samp-server.exe stops working immediately. I don't know if the debug output from Visual Studio is at all useful: http://pastebin.com/raw/Vb8vbQyb |
|
Can you also tell me more about your setup (system, used plugins, used includes, ...)? |
I think I managed to reproduce that error gibberish string bug. |
I'm not sure if I can manage to link them all together and compile the plugin myself. In the AppVeyor, the "Configuration: Debug" option does anything useful? Because if I run it, I get: http://i.imgur.com/S7UJrTY.png |
Yes, the AppVeyor debug build should work too. You can press "Retry" in that window and the debugger should open with a call trace somewhere. Take a look at that trace and you should see if that crash was really caused within the SA:MP server or an other plugin. |
The second box is given all the time when clicking "Retry" and no debugger opens. I tried the version for the commit above but the problem still persists. Windows 7 64-bit
|
I finally found the reason causing all this. I was testing the specifiers in logtimeformat (server.cfg) and I apparently had an invalid specifier. I also re-downloaded the last compiled version and it reports the errors again. |
Ah, I see. I should probably check if the datetime format string is valid first and then set it. |
Version R41.
I was testing if some certain errors are given in OnQueryError and just noticed that:
I executed the same faulty query and each time random characters are given.
The text was updated successfully, but these errors were encountered: