Bug 41957 - konqueror crashing... [http://www.ping.de/~sven/daoc/ ]
Summary: konqueror crashing... [http://www.ping.de/~sven/daoc/ ]
Status: CLOSED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-30 11:33 UTC by Vadim Plessky
Modified: 2002-09-16 14:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Plessky 2002-04-30 11:28:14 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: khtml
Version: 4.0 (using KDE 3.0.1 CVS)
Severity: crash
OS: Linux

* * *
On Monday 29 April 2002 18:47 Sven Neuhaus wrote:
|  Hi folks
|
|  I worked on a DOM/JS/DHTML heavy page with Mozilla and IE 6 and thought
|  about adding Konqueror support. I only have Konqueror 2.1.1 available so
|  I tried that. It crashed after I clicked on the select boxes a bit.
|  I then went to #kde on irc.openprojects.org and had some nice guy try it
|  with KDE 3.0.0. It went pretty OK at first (the "initializing..." choice
|  didn't go away as it should) but crashed shortly afterwards.
|  Sorry I can't give you a proper bug report since I don't have a recent
|  KDE setup myself.
|  Anyway I'm hoping someone feels like looking into this.
|  The page is at http://www.ping.de/~sven/daoc/
|  and it uses HTML 4.01 strict. I also checked the style sheets
|  with W3C's validator. The javascript uses a lot of DOM1 functions.
|  Click around on the select options and other buttons a bit until it
|  implodes...

Ok I have Konqueror 3.0.1 from KDE 3.0 branch Mandrake packages from Cooker.

Clicked on Naturalist (?) button on top of the screen backtrace:

[New Thread 1024 (LWP 2145)]
0x410fe509 in wait4 () from /lib/libc.so.6
#0  0x410fe509 in wait4 () from /lib/libc.so.6
#1  0x4117daac in __check_rhosts_file () from /lib/libc.so.6
#2  0x40fa4d96 in waitpid (pid=2257 stat_loc=0x0 options=0)
    at wrapsyscall.c:172
#3  0x40739fa2 in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:224
#4  0x40fa25fb in pthread_sighandler (signo=11 ctx=
      {gs = 0 __gsh = 0 fs = 0 __fsh = 0 es = 43 __esh = 0 ds = 43 
__dsh = 49168 edi = 137710344 esi = 3 ebp = 3221217256 esp = 3221217184 
ebx = 1103930172 edx = 190 ecx = 138268760 eax = 100 trapno = 14 err = 
4 eip = 1103086853 cs = 35 __csh = 0 eflags = 66054 esp_at_signal = 
3221217184 ss = 43 __ssh = 0 fpstate = 0xbfffdd20 oldmask = 2147483648 
cr2 = 240})
    at signals.c:97
#5  0x41071568 in killpg () from /lib/libc.so.6
#6  0x41bee915 in khtml::RenderFlow::printObject (this=0x83daa00 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=10 _ty=175) at render_flow.cpp:168
#7  0x41c105d0 in khtml::RenderFlow::print (this=0x83daa00 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=10 _ty=175) at render_flow.cpp:134
#8  0x41bee915 in khtml::RenderFlow::printObject (this=0x83cc5e0 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=10 _ty=112) at render_flow.cpp:168
#9  0x41c105d0 in khtml::RenderFlow::print (this=0x83cc5e0 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=10 _ty=112) at render_flow.cpp:134
#10 0x41bee915 in khtml::RenderFlow::printObject (this=0x83baf78 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=10 _ty=10) at render_flow.cpp:168
#11 0x41c105d0 in khtml::RenderFlow::print (this=0x83baf78 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=10 _ty=10) at render_flow.cpp:134
#12 0x41bee915 in khtml::RenderFlow::printObject (this=0x8376630 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=0 _ty=0) at render_flow.cpp:168
#13 0x41c1513a in khtml::RenderHtml::print (this=0x8376630 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=0 _ty=0) at render_html.cpp:54
#14 0x41c140d5 in khtml::RenderRoot::printObject (this=0x8388f78 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=0 _ty=0) at render_root.cpp:188
#15 0x41c1400e in khtml::RenderRoot::print (this=0x8388f78 p=0x8354b08 
    _x=190 _y=139 _w=102 _h=128 _tx=0 _ty=0) at render_root.cpp:167
#16 0x41b381d3 in KHTMLView::drawContents (this=0x8354760 p=0xbfffe380 
    ex=190 ey=139 ew=102 eh=192) at xml/dom_nodeimpl.h:265
#17 0x40b53564 in QScrollView::drawContentsOffset ()
   from /usr/lib/qt3/lib/libqt-mt.so.3

Installed:

kdebase3-3.0-18mdk
kdelibs3-3.0-9mdk
kdebase3-nsplugins-3.0-18mdk

Sven: I submitted this message as bug report against khtml you should look at 
bugs.kde.org in order to get bug number.

|
|  Thanks
|  -Sven

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
Comment 1 Sven Neuhaus 2002-04-30 12:06:38 UTC
FYI
I changed the markup on the page to XHTML 1.0; I don't think it affects
the crash however.
Comment 2 Vadim Plessky 2002-04-30 13:48:36 UTC
On Tuesday 30 April 2002 16:06 Sven Neuhaus wrote:
|  FYI
|  I changed the markup on the page to XHTML 1.0; I don't think it affects
|  the crash however.

Hello Sven!

As you are the person who created this web page - I guess you can create a 
testcase.
Snip page to 1K of HTML code in size until crash happens.
When it's ready - send testcase to the same address as attachment or inline.

probably you should check DHTML invoked after pressing button.

Cheers
-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
Comment 3 Sven Neuhaus 2002-04-30 13:58:51 UTC
Hi

there is a problem with this: I can't test the page because I don't have
KDE 3.0...

-Sven

Am Die 2002-04-30 um 15.48 schrieb Vadim Plessky:
> On Tuesday 30 April 2002 16:06 Sven Neuhaus wrote:
> |  FYI
> |  I changed the markup on the page to XHTML 1.0; I don't think it affects
> |  the crash however.
> 
> As you are the person who created this web page - I guess you can create a 
> testcase.
> Snip page to 1K of HTML code in size until crash happens.
> When it's ready - send testcase to the same address as attachment or inline.
> 
> probably you should check DHTML invoked after pressing button.
Comment 4 Vadim Plessky 2002-04-30 16:46:02 UTC
On Tuesday 30 April 2002 16:06 Sven Neuhaus wrote:
|  FYI
|  I changed the markup on the page to XHTML 1.0; I don't think it affects
|  the crash however.

Tested with Konqueror running from konsole:

Results:
...
khtml (part): DONE: 5461
khtml (cache): Loader::slotFinished url = 
http://www.ping.de/~sven/pics/valid-xhtml10.png expires Tue Apr 30 21:41:53 
2002
khtml (cache):

[ after pressing on combo box  ]
khtml (jscript): ScriptInterpreter::mark marking 4199 DOM objects
khtml (jscript): ScriptInterpreter::mark marking 4405 DOM objects
khtml (jscript): ScriptInterpreter::mark marking 4596 DOM objects
QGArray::at: Absolute index 120 out of range
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 2198
Loading required GL library /usr/X11R6/lib/libGL.so.1.3.401
kdecore (KLocale): WARNING: found no definition of PluralForm for en_GB
kdecore (KLocale): WARNING: found no definition of PluralForm for en_GB

Backtrace (same type as it was before)

[New Thread 1024 (LWP 2198)]
0x41226509 in wait4 () from /lib/libc.so.6
#0  0x41226509 in wait4 () from /lib/libc.so.6
#1  0x412a5aac in __check_rhosts_file () from /lib/libc.so.6
#2  0x410b4d96 in waitpid (pid=2211 stat_loc=0x0 options=0)
    at wrapsyscall.c:172
#3  0x40829fa2 in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:224
#4  0x410b25fb in pthread_sighandler (signo=11 ctx=
      {gs = 0 __gsh = 0 fs = 0 __fsh = 0 es = 43 __esh = 0 ds = 43 
__dsh = 0 edi = 136090824 esi = 3 ebp = 3221218408 esp = 3221218332 ebx 
= 1101505340 edx = 190 ecx = 137648856 eax = 137185688 trapno = 14 err = 
4 eip = 49 cs = 35 __csh = 0 eflags = 66195 esp_at_signal = 3221218332 
ss = 43 __ssh = 0 fpstate = 0xbfffe1a0 oldmask = 2147483648 cr2 = 49}) at 
signals.c:97
#5  0x41199568 in killpg () from /lib/libc.so.6
#6  0x4199e915 in khtml::RenderFlow::printObject (this=0x8343480 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=10 _ty=160) at render_flow.cpp:168
#7  0x419c05d0 in khtml::RenderFlow::print (this=0x8343480 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=10 _ty=160) at render_flow.cpp:134
#8  0x4199e915 in khtml::RenderFlow::printObject (this=0x815bf88 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=10 _ty=97) at render_flow.cpp:168
#9  0x419c05d0 in khtml::RenderFlow::print (this=0x815bf88 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=10 _ty=97) at render_flow.cpp:134
#10 0x4199e915 in khtml::RenderFlow::printObject (this=0x82e7598 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=10 _ty=10) at render_flow.cpp:168
#11 0x419c05d0 in khtml::RenderFlow::print (this=0x82e7598 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=10 _ty=10) at render_flow.cpp:134
#12 0x4199e915 in khtml::RenderFlow::printObject (this=0x82dc618 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=0 _ty=0) at render_flow.cpp:168
#13 0x419c513a in khtml::RenderHtml::print (this=0x82dc618 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=0 _ty=0) at render_html.cpp:54
#14 0x419c40d5 in khtml::RenderRoot::printObject (this=0x82ef138 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=0 _ty=0) at render_root.cpp:188
#15 0x419c400e in khtml::RenderRoot::print (this=0x82ef138 p=0x81c94c8 
    _x=190 _y=124 _w=182 _h=128 _tx=0 _ty=0) at render_root.cpp:167
#16 0x418e81d3 in KHTMLView::drawContents (this=0x814d208 p=0xbfffe800 
    ex=190 ey=124 ew=182 eh=192) at xml/dom_nodeimpl.h:265
#17 0x40c72564 in QScrollView::drawContentsOffset ()
   from /usr/lib/qt3/lib/libqt-mt.so.3

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
Comment 5 Dirk Mueller 2002-05-09 23:23:35 UTC
fixed
Comment 6 Dirk Mueller 2002-06-15 16:34:23 UTC
Fixed in CVS.