[Q] replacing the textarea widget

Koos Vriezen koos.vriezen at xs4all.nl
Fri Sep 3 14:35:06 BST 2004


On Fri, Sep 03, 2004 at 01:54:59PM +0200, David Faure wrote:
> The problem is KonqMainWindow::childView, which uses BrowserHostExtension::findFrameParent()
> and ::frames().
> 
> So the problem is in KHTMLPart::findFrameParent() or KHTMLPart::frames().

With some debuging added (same results w/ or w/o a src page set as SRC). 
Debug output is a continues fragment:
   khtml (part): KHTMLPart::frames frame1false
   khtml (part): KHTMLPart::frames frame2false
   khtml (part): KHTMLPart::frames 2
here KHTMLPart::frames return 2 frames, name and bPreloaded appended of
childframes. This frame has no name (=top frame)

   khtml (part): frame1KHTMLPart::frames 0 frame1
   khtml (part): frame2KHTMLPart::frames 0 frame2
here two time 0 for frame1 resp. frame2

   konqueror:        - viewName=   frame names:frame1,frame2
   khtml (part): KHTMLPart::findFrameParent: this =  URL =
      http://localhost/~koos/frameset.html findFrameParent( frame1 )
   khtml (part): KHTMLPart::checkFrameAccess: Unknown part/domain (nil)
      tries to access part 0x82fde10
So here konqueror asks top frame (after 'this = ' I added the frame
name) with a NULL as callingpart. And that makes
KHTMLPart::checkFrameAccess fail. 

Below the bt just before the call to KHTMLPart::checkFrameAccess. So I guess
its the frame access checks failing here. Can anyone check it with the 
3.3 branch, this was backported, no?

0: /opt/kde-cvs/kde3/lib/libkdecore.so.4(kdBacktrace(int)+0x4b) [0x408d2c2b]
1: /opt/kde-cvs/kde3/lib/libkdecore.so.4(kdBacktrace()+0x2a) [0x408d2f7e]
2: /opt/kde-cvs/kde3/lib/libkhtml.so.4(KHTMLPart::findFrameParent(KParts::ReadOnlyPart*, QString const&, khtml::ChildFrame**)+0xdb) [0x4278f14b]
3: /opt/kde-cvs/kde3/lib/libkhtml.so.4(KHTMLPartBrowserHostExtension::virtual_hook(int, void*)+0x60) [0x427ac6e6]
4: /opt/kde-cvs/kde3/lib/libkparts.so.2(KParts::BrowserHostExtension::findFrameParent(KParts::ReadOnlyPart*, QString const&)+0x6e) [0x401a36c8]
5: /opt/kde-cvs/kde3/lib/libkdeinit_konqueror.so(KonqMainWindow::childView(KParts::ReadOnlyPart*, QString const&, KParts::BrowserHostExtension**, KParts::ReadOnlyPart**)+0x2d2) [0x4009c854]
6: /opt/kde-cvs/kde3/lib/libkdeinit_konqueror.so(KonqMainWindow::findChildView(KParts::ReadOnlyPart*, QString const&, KonqMainWindow**, KParts::BrowserHostExtension**, KParts::ReadOnlyPart**)+0x63) [0x4009d591]
7: /opt/kde-cvs/kde3/lib/libkdeinit_konqueror.so(KonqMainWindow::slotCreateNewWindow(KURL const&, KParts::URLArgs const&, KParts::WindowArgs const&, KParts::ReadOnlyPart*&)+0xcff) [0x400bdf37]
8: /opt/kde-cvs/kde3/lib/libkdeinit_konqueror.so(KonqMainWindow::qt_invoke(int,QUObject*)+0xab3) [0x400d379f]
9: /mnt/hda7/local/koos/kde/cvsup/qt-copy/lib/libqt-mt.so.3(QObject::activate_signal(QConnectionList*, QUObject*)+0x13f) [0x40d8086f]
10: /opt/kde-cvs/kde3/lib/libkparts.so.2(KParts::BrowserExtension::createNewWindow(KURL const&, KParts::URLArgs const&, KParts::WindowArgs const&, KParts::ReadOnlyPart*&)+0xf8) [0x401a3d36]
11: /opt/kde-cvs/kde3/lib/libkhtml.so.4(KJS::Window::openWindow(KJS::ExecState*, KJS::List const&)+0x1c01) [0x428f23cd]
12: /opt/kde-cvs/kde3/lib/libkhtml.so.4(KJS::WindowFunc::tryCall(KJS::ExecState*, KJS::Object&, KJS::List const&)+0x67d) [0x428f3049]
13: /opt/kde-cvs/kde3/lib/libkhtml.so.4(KJS::DOMFunction::call(KJS::ExecState*,KJS::Object&, KJS::List const&)+0x47) [0x428a67a9]
14: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::Object::call(KJS::ExecState*, KJS::Object&, KJS::List const&)+0xec) [0x42a4a704]
15: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::FunctionCallNode::evaluate(KJS::ExecState*) const+0x452) [0x42a16a60]
16: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::ExprStatementNode::execute(KJS::ExecState*)+0xb5) [0x42a1b049]
17: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::SourceElementsNode::execute(KJS::ExecState*)+0x5e) [0x42a2183e]
18: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::BlockNode::execute(KJS::ExecState*)+0xaf) [0x42a1ae75]
19: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::FunctionBodyNode::execute(KJS::ExecState*)+0x39) [0x42a20dc5]
20: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::DeclaredFunctionImp::execute(KJS::ExecState*)+0x3c) [0x42a4432c]
21: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::FunctionImp::call(KJS::ExecState*, KJS::Object&, KJS::List const&)+0x1ac) [0x42a43870]
22: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::Object::call(KJS::ExecState*, KJS::Object&, KJS::List const&)+0xec) [0x42a4a704]
23: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::FunctionCallNode::evaluate(KJS::ExecState*) const+0x452) [0x42a16a60]
24: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::ExprStatementNode::execute(KJS::ExecState*)+0xb5) [0x42a1b049]
25: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::SourceElementsNode::execute(KJS::ExecState*)+0x5e) [0x42a2183e]
26: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::BlockNode::execute(KJS::ExecState*)+0xaf) [0x42a1ae75]
27: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::FunctionBodyNode::execute(KJS::ExecState*)+0x39) [0x42a20dc5]
28: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::DeclaredFunctionImp::execute(KJS::ExecState*)+0x3c) [0x42a4432c]
29: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::FunctionImp::call(KJS::ExecState*, KJS::Object&, KJS::List const&)+0x1ac) [0x42a43870]
30: /opt/kde-cvs/kde3/lib/libkjs.so.1(KJS::Object::call(KJS::ExecState*, KJS::Object&, KJS::List const&)+0xec) [0x42a4a704]
31: /opt/kde-cvs/kde3/lib/libkhtml.so.4(KJS::JSEventListener::handleEvent(DOM::Event&)+0x26e) [0x4291c148]
32: /opt/kde-cvs/kde3/lib/libkhtml.so.4(KJS::JSLazyEventListener::handleEvent(DOM::Event&)+0x42) [0x4291c4b0]
33: /opt/kde-cvs/kde3/lib/libkhtml.so.4(DOM::NodeImpl::handleLocalEvents(DOM::EventImpl*, bool)+0x113) [0x427d1771]
34: /opt/kde-cvs/kde3/lib/libkhtmkhtml (part):
khtml (part): KHTMLPart::checkFrameAccess: Unknown part/domain (nil) tries to access part 0x82fe440




More information about the kfm-devel mailing list