Closed Bug 319330 Opened 19 years ago Closed 19 years ago

Sunbird crashes if "javascript.options.strict" is set to true

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 319264

People

(Reporter: ssitter, Unassigned)

Details

Attachments

(2 files)

Sunbird crashes on certain events if "javascript.options.strict" is set to true.

Works with Sunbird 0.3a1+ 2005113006 build.
Fails with Sunbird 0.3a1+ 2005120109 build.

TestCase 1: Steps to Reproduce:

  1. Create new Sunbird profile
  2. Add "user_pref("javascript.options.strict", true);" to your user.js file
  3. Import attached testcase.ics
  --> Sunbird crashes during (or short after) import
  
  4. Change "user_pref("javascript.options.strict", true);" to 
     "user_pref("javascript.options.strict", false);" in your user.js file
  5. Open Sunbird
  --> Sunbird starts, Event is displayed; No error.
  
  6. Close Sunbird
  7. Change "user_pref("javascript.options.strict", false);" back to 
     "user_pref("javascript.options.strict", true);" in your user.js file
  8. Open Sunbird
  --> Sunbird crashes during startup

TestCase 2: Steps to Reproduce:

  1. Create new Sunbird profile
  2. Import attached file testcase.ics
  --> Event is imported and displayed; No error.
  
  3. Close Sunbird
  4. Add "user_pref("javascript.options.strict", true);" to your user.js file
  5. Open Sunbird
  --> Sunbird crashes during startup

  6. Change "user_pref("javascript.options.strict", true);" to 
     "user_pref("javascript.options.strict", false);" in your user.js file
  7. Open Sunbird
  --> Sunbird starts, Event is displayed; No error.

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20051206 Mozilla Sunbird/0.3a1+.
Attached file testcase.ics
Also fails with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051206 Mozilla Sunbird/0.3a1+ running on debian linux.

I used the nightly tinderbox builds that were build with
  ac_add_options --enable-static
  ac_add_options --disable-shared

Potential causers: bug 236617 or 315436.
talkbackid?
Assignee: mostafah → general
Component: General → JavaScript Engine
Product: Calendar → Core
QA Contact: general → general
(In reply to comment #3)
> talkbackid?

Seems that there is no talkback in Sunbird. I'll try to reproduce with a debug build.
Did a debug build based on 2005-12-06 trunk on WinXP.
Attachement shows callstack after Sunbird is restarted with imported event from testcase.ics and js.o.strict set to true.
Hope this helps. I can attach the crash dump file too if needed.
Paging mrbkap!

/be

*** This bug has been marked as a duplicate of 319264 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: