Closed
Bug 168064
Opened 22 years ago
Closed 22 years ago
MRJPluginCarbon crashes if ~/Library/Logs doesn't exist
Categories
(Core Graveyard :: Java: OJI, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0.2
People
(Reporter: beard, Assigned: beard)
Details
(Keywords: crash, topembed+, Whiteboard: [adt3])
Attachments
(1 file)
2.99 KB,
patch
|
bnesse
:
review+
sfraser_bugs
:
superreview+
jesup
:
approval+
|
Details | Diff | Splinter Review |
Now why would that never exist? If an end user doesn't have Crash Reporter
turned on for one. Doh! Patching coming up.
Assignee | ||
Comment 1•22 years ago
|
||
This patch adds additional JNI exception handling in the case that
MRJSession.open() generates an exception, and adds code to create the
directories that don't exist along the console path (i.e. ~/Library/Logs).
Updated•22 years ago
|
Comment 2•22 years ago
|
||
+ if (!parentFile.exists()) {
+ parentFile.mkdirs();
+ }
could this also throw an exception that crashes?
Assignee | ||
Comment 3•22 years ago
|
||
Yes, that code could still throw exceptions, and the code which checks for these
exceptions is in the patch to MRJSession.cpp.
Comment 4•22 years ago
|
||
Comment on attachment 98787 [details] [diff] [review]
Check JNI exceptions, create ~/Library/Logs if necessary
r=bnesse.
Attachment #98787 -
Flags: review+
Comment 5•22 years ago
|
||
Comment on attachment 98787 [details] [diff] [review]
Check JNI exceptions, create ~/Library/Logs if necessary
sr=sfraser
Attachment #98787 -
Flags: superreview+
Assignee | ||
Comment 6•22 years ago
|
||
Fixes checked into trunk.
Updated•22 years ago
|
Keywords: mozilla1.0.2
Comment 7•22 years ago
|
||
Comment on attachment 98787 [details] [diff] [review]
Check JNI exceptions, create ~/Library/Logs if necessary
a=rjesup@wgate.com for 1.0 branch checkin. Change mozilla1.0.2+ to fixed1.0.2
when checked in
Attachment #98787 -
Flags: approval+
Updated•22 years ago
|
Keywords: mozilla1.0.2 → mozilla1.0.2+
Target Milestone: --- → mozilla1.0.2
Assignee | ||
Comment 8•22 years ago
|
||
Fixes checked into 1.0 and chimera branches.
Keywords: mozilla1.0.2+ → fixed1.0.2
Comment 9•22 years ago
|
||
pmac: pls verify this as fixed on the 1.0 branch, then replace "fixed1.0.2" with
"verified1.0.2". thanks!
Comment 10•22 years ago
|
||
Patrick, should this bug be RESOLVED FIXED? Looks like you checked in
Comment 11•22 years ago
|
||
Should this land on the 1.1 branch too?
Comment 12•22 years ago
|
||
Please verify the bug. Once verified, change the keyword fixed1.0.2 to
verified1.0.2
Comment 14•22 years ago
|
||
Verified the patch on the trunk
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•