Bug 18891 - Crash: Nightly Build fails repeatable on a web page
Summary: Crash: Nightly Build fails repeatable on a web page
Status: CLOSED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (PowerPC) OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-04 15:40 PDT by Alexander Willner
Modified: 2008-05-04 17:02 PDT (History)
0 users

See Also:


Attachments
OS-X dump file (75.32 KB, text/plain)
2008-05-04 15:46 PDT, Alexander Willner
no flags Details
Example file (486 bytes, text/html)
2008-05-04 15:46 PDT, Alexander Willner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Willner 2008-05-04 15:40:47 PDT
I crashed each time I pressed the right mouse button on a web page that was created by my own. I also opened the site with the stable version of Safari (3.1.1), but here no crash appeared.

I used a valid XHTML 1.0 and tried to remove as much code as possible to help you to identify the problem. What you need to reproduce the error (if one is missing no Webkit will not crash):
1. XML declaration
2. Link to a JavaScript in the header
3. div container in the body
4. A missing image with an alt-attribute
5. Press the right mouse button on the missing image

Please find an example here:

<?xml version="1.0" encoding="utf-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <!-- xml declaraion, javascript, div container and alt attribute crashes webkit?! -->
    <script type="text/javascript" src="resources/javascript/javascript.jsFileDoesNotExist"></script>
  </head>
  <body>
      <div>
        <img src="./resources/database/banner/1.jpgFileDoesNotExist" alt="BannerImage" />
      </div>
  </body>
</html>
Comment 1 Alexander Willner 2008-05-04 15:46:21 PDT
Created attachment 20962 [details]
OS-X dump file
Comment 2 Alexander Willner 2008-05-04 15:46:51 PDT
Created attachment 20963 [details]
Example file
Comment 3 Alexander Willner 2008-05-04 15:50:45 PDT
Sorry, missed an important fact: I'm using trunk 32847
Comment 4 Matt Lilek 2008-05-04 16:07:48 PDT
This doesn't crash for me - please remove the extensions you have installed as they look directly responsible for this:

2   jp.hetima.SafariStand         	0x06bd2214 _hetima_conMenuForElement + 320
3   com.fsb.SafariBlock           	0x007915d4 -[NSObject(SafariBlock) sb_webView:contextMenuItemsForElement:defaultMenuItems:] + 32
Comment 5 Alexander Willner 2008-05-04 16:20:25 PDT
(In reply to comment #4)
> This doesn't crash for me - please remove the extensions you have installed as
> they look directly responsible for this:
> 
> 2   jp.hetima.SafariStand               0x06bd2214 _hetima_conMenuForElement +
> 320

You're right. Seems to be a problem with SafariStand.
Comment 6 Alexander Willner 2008-05-04 16:24:45 PDT
(In reply to comment #5)
> You're right. Seems to be a problem with SafariStand.

It also seems to be fixed in the current version 3.0L161. The crash appeared with 3.0L153.