patch for oft-seen crash in HTMLTokenizer::notifyFinished

Dirk Mueller mueller at kde.org
Tue Dec 16 21:41:54 CET 2003


On Tuesday 16 December 2003 20:38, John Sullivan wrote:

> We had many reports of crashes with the same backtrace. 

... which is?

> One almost-always-reproducible one was:

Doesn't look reproducible to me. I'm more worried about how you were able to 
trigger it. 

As far as I can interpret the patch, it seems that notifyFinished() is 
recursing into itself during script execution, or that in your codebase there 
is another place that dequeues external scripts. The second case would be 
wrong, the first one very weird. It looks to me like scripts would be 
executed out of order then, which is a bug. 


Dirk


More information about the Khtml-devel mailing list