Closed Bug 42048 Opened 24 years ago Closed 24 years ago

Cancelling the file picker causes crash

Categories

(Core :: XUL, defect, P1)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jwbaker, Assigned: bryner)

References

Details

(Keywords: crash, Whiteboard: [nsbeta2+][dogfood-])

Attachments

(1 file)

(note: the XP File Picker needs its own component)
(note: i strongly prefer my native file picker to the XP one)

On Linux build 2000060908 (M17), cancelling in the XP file picker causes a
segmentation fault.  To reproduce:

1) Start Moz
2) Pick "Save Page As" from the "File" menu
3) Close the file picker by clicking "Cancel", or using your platform's window
destruction widget.

Mozilla exits with a segmentation fault.  The nightly build is stripped so I
don't have a backtrace.  These are the dying gasps from the console:

-*- filepicker: CI: {c47de916-1dd1-11b2-8141-82507fa02b21}
-*- filepicker: IID:nsIFilePicker
nsIDOMWindow id value = {a6cf906b-15b3-11d2-932e-00805f8add32}
WEBSHELL+ = 5
WEBSHELL- = 4
./run-mozilla.sh: line 29:  3133 Segmentation fault      $prog ${1+"$@"}
Adding crash keyword
Keywords: crash
adding dogfood keyword, assigning to pavlov
Assignee: trudelle → pavlov
Keywords: dogfood
Priority: P3 → P1
Target Milestone: --- → M16
Putting on [nsbeta2+][dogfood-] radar.  Does not need a fix ASAP for daily work, 
but we should fix this for beta2.
Whiteboard: [nsbeta2+][dogfood-]
Changing status to assigned to bring this bug onto Bugzilla's default search
radar.
That is, will someone sufficiently empowered please change the status to
assigned.  Some day Gerv will give me some Bugzilla experience points :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
i havn't seen this since i checked in teh event queue love a week ago.  has
anyone else?
Yeah, I get this with today's build.
I'll take this, since I have a fix.
Assignee: pavlov → bryner
Attached patch Fix for bugSplinter Review
Fix checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Confirmed fixed on Linux build 2000061214 (M17).
Yep. verified. 
Status: RESOLVED → VERIFIED
*** Bug 42124 has been marked as a duplicate of this bug. ***
See bug 44975
Adding keyword to bugs which already show a nsbeta2 triage value in the status 
whiteboard so the queries don't get screwed up.
Keywords: nsbeta2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: