Open ChrisTruncer opened 10 years ago
I'm having the same problem. I suspected something iffy going on in PySide's or QT's internals. I ran my program throught gdb until it hanged and here's the backtrace:
As you can see, it hangs in QPainter::fillRect().
I think this is a Pyside or QT problem. But I'm open to suggestions on how Ghost or programs using Ghost can go around this problem.
I'm instantiating a ghost object, and then looping through a list of URLs to gather the server header information, and take a screenshot of each URL. However, Ghost will just randomly freeze on a random URL (can change each time). It will completely stop, and you won't even be able to Ctrl+C out of the script, you have to kill -9 it.
Way to re-create, use EyeWitness (based on ghost) at https://github.com/ChrisTruncer/EyeWitness. Then for the file input, just give it like the a top 2000 list or websites from Alexa. It'll work, and then just randomly freezing, without throwing an exception or anything.