Address Sanitizer - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Development (https://forum.cuberite.org/forum-13.html) +--- Thread: Address Sanitizer (/thread-815.html) |
Address Sanitizer - ThuGie - 02-23-2013 Hey guys, I just read a post about the new chrome, And they listed a tool they used to find most of the problems. http://code.google.com/p/address-sanitizer/wiki/AddressSanitizer Could this perhaps be added to mcserver to check if there are anything it picks up and fix it ? RE: Address Sanitizer - xoft - 02-23-2013 Looks great, but they only have a linux / clang version available, as far as I can see. I'm not a linux guy, so I don't think I'm capable of running that. Maybe someone else has the expertise necessary? Although I think that after all those valgrind sessions there aren't many bugs left, if any at all. RE: Address Sanitizer - bearbin - 02-23-2013 This does say it will be supported with GCC (in 4.8) so it may be possible to use it. It might work with Cygwin even as well. RE: Address Sanitizer - xoft - 02-23-2013 Well, what do I know, MCServer might compile under clang, so it might already be usable. No-one has tried that yet, though. Maybe we should (and then, if it works, we can try to make MCServer App for iOS - iOS uses clang compiler afaik) RE: Address Sanitizer - ThuGie - 03-20-2013 Any progress on this. RE: Address Sanitizer - xoft - 03-21-2013 Haven't tried, really, because I don't see a reason why now - the server seems stable enough. Also I no longer have access to a computer with clang environment installed RE: Address Sanitizer - ThuGie - 03-22-2013 Well as STR_Warrior posted in the tracker it aint working correctly on linux atm compiling fine. just chunks not loading correctly. Stop via console sometimes works sometimes it says shutting down but still running and stops accepting console commands. having to reboot the whole thing. RE: Address Sanitizer - xoft - 03-22-2013 I'm testing the server on linux (on a RasPi) quite regularly and chunks do load for me. It takes a bit of time, but they eventually do load. The stop command hanging the server is a different thing, it's because of the webserver library we're using, I've been meaning to rewrite the whole thing for ages, just wasn't brave enough to start - it's an awful lot of work to do for a very little effect. RE: Address Sanitizer - ThuGie - 03-22-2013 I see i myself am unable to get ingame cause of driver issues. Anyway i only run the server for everything else you got to have STR_Warrior :p. RE: Address Sanitizer - Seadragon91 - 06-28-2015 Because of any issues in cuberite, I bump this up. Have found this and it looks interessting. https://code.google.com/p/thread-sanitizer/wiki/CppManual This requires at least clang 3.2. I think adding a build option with the flag Code: -fsanitize=thread -fPIE -g -O2 https://gist.github.com/Seadragon91 |