Jorge wrote:
On Sat, Sep 27, 2008 at 05:29:28PM +0000, corvid wrote:
It's still possible to crash dillo if you click on a remote link and quickly click on some images to load them. Doesn't crash every time, but typically within four tries or so. I had assumed it was the same thing as whatever was wrong with the menu crash, so I'd ignored it.
If I stick a_Bw_stop_clients(bw, BW_Img); in the DilloHtml destructor, I can no longer get it to crash, but I randomly got a "Cache_process_queue Caught busy!!!" while browsing earlier today, so there's something wrong with just doing that. (Assuming it's related; I'm not in the habit of getting that MSG.)
That message means big trouble: the event loop stepped over itself...
I've tried several different ways but can't get to crash it.
Does the attached patch help?
Seems to be working well so far. Is there any danger in adding something like a_Nav_cancel_expect to a_UIcmd_stop()? PS Stop should have a keyboard shortcut, I think. I long had a reflex of hitting ESC from the netscape/mozilla days, but of course ESC would be inconsistent for dillo.