Konq. crash (cvs from today)
Koos Vriezen
koos.vriezen at xs4all.nl
Fri Aug 16 17:58:12 BST 2002
On Fri, 16 Aug 2002, Hetz Ben Hamo wrote:
> I'm trying to go to this site: http://chat.iol.co.il/chat.asp?joinl=1 (it's a
> Java based chat)
>
> The Java applet doesn't show well (it's random actually - sometimes it shows
> ok and sometimes it stucks on the "load class..." - I'm using IBM 1.3 JRE),
> so when I hit F5 to reload the page - konqueror crashes.
It seems there are now two things broken the last couple of days.
First, the JS 'document[name]' doesn't work any more (name being the
applet name). I don't know why, but it must be the changes in ecma from
yesterday. This causes the applet to timeout, when doing a LiveConnect
call. I can fix this by doing a document.applets[name]' instead.
Second, a recent change in render_replaced.cpp broke deleting of an
AppletWidget. The deleting of the AppletWidget is postponed now, but not
the AppletContext (which is deleted when the part is deleted).
You can apply this patch for preventing a crash.
diff -u -3 -p -r1.36 render_applet.cpp
--- render_applet.cpp 2002/07/16 12:47:33 1.36
+++ render_applet.cpp 2002/08/13 19:15:02
@@ -64,6 +64,8 @@ RenderApplet::RenderApplet(HTMLElementIm
RenderApplet::~RenderApplet()
{
+ delete m_widget;
+ m_widget = 0L;
}
short RenderApplet::intrinsicWidth() const
Regards,
Koos Vriezen
More information about the kfm-devel
mailing list