Bug 136494 - [test-case] Crash on javascript manipulation of <h1>...<h5> CSS properties
Summary: [test-case] Crash on javascript manipulation of <h1>...<h5> CSS properties
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 142258 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-30 07:49 UTC by Mark A. Taff
Modified: 2008-04-21 04:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash testcase (3.13 KB, text/html)
2006-10-30 07:51 UTC, Mark A. Taff
Details
Backtrace (1.65 KB, text/plain)
2006-10-30 23:38 UTC, Mark A. Taff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark A. Taff 2006-10-30 07:49:45 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    SuSE RPMs

Konqi krashes on http://www.edmontonsun.com/News/Alberta/2006/10/29/2165333-sun.html.

I've narrowed it down to a javascript error.  The script appears to be trying to change css properties such as color and such for heading elements.

In the attached test case, if you comment out two lines in the script (see source), it won't crash.  These two lines are *very* similar to other lines in the script that seem to work OK.

Potentially relevant is that the script seems to have something to do with *.swf, which I do not have installed thanks to adobe (Linux x86_64).  That possibility should be checked by someone with flash before this bug is confirmed.

Even so, I don't want Konqi to crash on a page just because the page expects flash and I don't have it.

Thanks,

Mark A. Taff
Comment 1 Mark A. Taff 2006-10-30 07:51:59 UTC
Created attachment 18321 [details]
Crash testcase

Test case.  Will crash.
Comment 2 lexual 2006-10-30 08:56:10 UTC
No crash here, 3.5.5, no flash plugin installed.
Comment 3 Mark A. Taff 2006-10-30 09:29:25 UTC
$$$^&%&*()^%&*(% Crash Bugs!  This is the 4th time I've tried to respond.  It won't crash when you click on the test case link.  It will when launched from a desktop icon.  It will also crash when accessed from a webserver. Try http://www.marktaff.com/test2.html

Note I'm changing webhosts, so the file may dissappear, but you should be able to put the test case file on any server and get the same results.

Regards,

Mark
Comment 4 lexual 2006-10-30 11:18:25 UTC
No crash for link: marktaff.com/test2.html
Comment 5 Mark A. Taff 2006-10-30 11:34:14 UTC
Thanks for checking Lexual.  Still crashes here as noted above.  Hopefully someone else can reproduce.
Comment 6 Maksim Orlovich 2006-10-30 15:25:57 UTC
Any chance you're using GPL flash or such?
Comment 7 Maksim Orlovich 2006-10-30 15:29:20 UTC
And also, please specify the backtrace. And yes, the script -only- has to do with flash -- it's replacing html headings with flash ones. 
Comment 8 Mark A. Taff 2006-10-30 23:38:20 UTC
Created attachment 18331 [details]
Backtrace

Backtrace.  Must remember not to use Konqi when working with Konqi crash
bugs...

I don't think I am using any flash.  Searching to "flash" in smart shows
nothing installed.  There is a flash-player 7.0.68.0-1.2 for i586 that isn't
installed (none for x86_64).

I have also tested on another box, this one *i586* Konqi 3.5.5, with no flash. 
On that i586 box, Konqi doesn't crash.

HTH,

Mark
Comment 9 Rodrigo Fernandes 2007-07-05 12:22:25 UTC
No crash here konqueror 3.5.7 (archlinux) with flash plugin with "load on demand only" (even if I run it, it only shows a black background on the flash movie, but no crash)
Comment 10 Tommi Tervo 2007-07-05 12:37:07 UTC
Could you check also that you don't have swfdec|gnash|klash installed.
Comment 11 Tommi Tervo 2007-07-06 13:49:37 UTC
*** Bug 142258 has been marked as a duplicate of this bug. ***
Comment 12 Philip Rodrigues 2008-04-21 02:40:15 UTC
Mark, have you seen this problem with 3.5.9 or one of the 4.0.x releases?
Comment 13 Mark A. Taff 2008-04-21 04:57:21 UTC
I am unable to reproduce this bug from the test case, or from surfing the Edmonton Sun website, despite my best efforts ;-).  I have checked on two machines (x86_64 & i386), both with Konqi 3.5.9 (haven't made the plunge to 4.0 yet).

Something has obviously changed, and I suspect this bug got fixed by the Konqi devs along the way.

I also went and checked out bug 142258 from both boxes, and Konqi works fine there as well.

I am going to close this bug--if anyone can come up with new evidence, please reopen.  Thanks for checking on it Phil.