Whatever code you are removing to disable the program's use of WebKit obviously contains the problem then. Probably a NULL/dangling pointer or a reference to a variable that goes out of scope. If you cannot reproduce it in a debugger (you should be able to) then it is time to add bits of the functionality back in until the break reappears.