Webservice Debugs Linux Binaries While-U-Wait 219
null-und-eins writes "A new webservice offers automatic
debugging of Linux binaries. It takes a (with "-g" compiled) binary and two invocations where one fails and the other doesn't. The service repeatedly runs the two programs and tries to find the smallest difference between the two that causes the failure. Nice google-like interface with statistics about its own performance."
Re:Let me get this straight... (Score:5, Informative)
Simon
SFW (Score:0, Informative)
It takes a (with "-g" compiled) binary and two invocations where one fails and the other doesn't. The service repeatedly runs the two programs and tries to find the smallest difference between the two that causes the failure.
Wow! Diff.
Yeah yeah, this works on binaries. If you don't have the source, who cares what the problem is, anyway. It's not like you're going to fix it.
Re:So... (Score:3, Informative)
Re:Ok igor... (Score:5, Informative)
Re:poor admin... (Score:5, Informative)
Re:This is cool but (Score:5, Informative)
It's a bit more complex than just "diff" (Score:4, Informative)
The tool executes your program multiple times, and examines the internal state of the program (variable values and memory contents) at various stages in the execution.
It then automatically isolates the root cause of the failure. This is pretty cool stuff, and ought to save a lot of time tracking down complex bugs.
-Mark
Re:Google-like... wait a second... (Score:5, Informative)
Re:Why "Igor"? Why? Why? (Score:2, Informative)
Re:Question (Score:5, Informative)
While not applying AskIgor (being a huge mix of Python, PHP, and SQL) on itself, we have applied delta debugging on various parts of AskIgor to detect failure-inducing code changes, and especially failure-inducing GDB commands.
We're currently working on Eclipse plugins [uni-sb.de] written in Java, and working on Java - and these will work 100% on themselves.
Re:Google-like... wait a second... (Score:3, Informative)
Google like any decent web crawler respects the robot exclusion protocol. Google have a robots.txt file, and the cached pages are included in that listning. That means no crawler is allowed to download pages from the google cache. You would expect google to respects their own robots.txt listning, so a google cache page will never turn up as a search result or a cached page on google.
Other search engines have been less smart and on one I actually have seen cases where the top hit for some keyword was their own search page for that exact keyword. Unfortunately I don't remember which searchengine it was.
Re:Let me get this straight... (Score:1, Informative)
Hmm... (Score:3, Informative)
Arg, I thought us Euro's didn't have to worry about software patents anymore. Then again, isn't it a bit weird to have AskIgor licensed under the GPL and filing patents on it at the same time? IANAL, but is this possible? You file a patent to make cash from it by licensing it to others (or using the technique yourself), or you make it opensource and give it away freely. They say that "Delta Debugging" isn't patented, but when it's applied to program states it is (will be).
Gotta love IP...
Re:If I only had it two weeks ago.. (Score:3, Informative)
Valgrind, in particular, is really promising; the core architecture is now being used to identify potential race conditions (cases where different threads access the same memory without having the same lock), as well as identifying memory errors (including leaks).
Re:Hmm... (Score:2, Informative)
Re:Doesn't seem that useful. (Score:2, Informative)
Re:It's a bit more complex than just "diff" (Score:3, Informative)
This program basically spins away, then gives you a list of places in the source to inspect to find the error. You might still have to break out gdb, but you're saved the first stage of debugging - figuring out where the problem is.
That's the theory, anyway.
-Mark
That's a segmentation fault. (Score:3, Informative)
Our sandbox crashed - sorry! (Score:2, Informative)
I'm sorry for the inconvenience, and have made sure this problem won't happen again. But remember that this is a research project, and we can't sit besides the machine 24/7.
Re:This is cool but (Score:3, Informative)
http://www.st.cs.uni-sb.de/askigor/faq.php#pate
I'd look at their technology and admire it, but keep a good distance away, unless you want to get shaken down for huge sums of money at a later date!