Closed
Bug 673674
Opened 13 years ago
Closed 13 years ago
Fennec freezes when viewing a non .txt file from disk
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox7 fixed)
VERIFIED
FIXED
Firefox 7
Tracking | Status | |
---|---|---|
firefox7 | --- | fixed |
People
(Reporter: glandium, Assigned: dougt)
References
Details
(Keywords: verified-aurora)
Attachments
(2 files)
19.85 KB,
text/plain
|
Details | |
1.72 KB,
patch
|
blassey
:
review+
christian
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(This may be related to bug 661978) - Go to about:sync-log - Tap on one of the .log files - Fennec freezes (tested on a nightly) I think the same problem may happen for different file types read from other file:///... directory listings (which about:sync-log is, now)
Comment 1•13 years ago
|
||
I can reproduce this on Nexus S, 2.3.4. tapping a log file in about:sync-log will freeze phone, and then throw the force quit activity dialog. Working on getting a logcat
Comment 2•13 years ago
|
||
Reporter | ||
Updated•13 years ago
|
Attachment #548253 -
Attachment mime type: text/rtf → text/plain
Comment 3•13 years ago
|
||
I'm seeing this too, although I remember it used to work when I first landed bug 610832. I wonder if bug 673309 has fixed it (it renamed .log to .txt).
Blocks: 610832
Comment 4•13 years ago
|
||
Confirmed. Fennec nightly lockup clicking log file. Files stored on SD card.
Comment 5•13 years ago
|
||
Sync annoyance indeed resolved by Bug 673309. Fennec bug still remains, so let's leave this open.
Comment 6•13 years ago
|
||
Thanks for verifying, Tony. Indeed an underlying Fennec issue, presumably with '.log' files. Changing the summary accordingly.
Summary: Fennec freezes when opening sync log file → Fennec freezes when a .log file from disk
Comment 7•13 years ago
|
||
Tony, can you confirm that Fennec Aurora is also affected? If so, we should probably land bug 673309 there too to cover for the underlying Fennec issue.
Comment 8•13 years ago
|
||
I t looks like we try to open the *.log files using nsMimeInfo::LaunchWithFile on desktop and android. Desktop works, opening in the a text editor. Android seems to fail, maybe it is not finding an app (intent) that can open log files.
Comment 9•13 years ago
|
||
(In reply to comment #8) > I t looks like we try to open the *.log files using > nsMimeInfo::LaunchWithFile on desktop and android. Desktop works, opening in > the a text editor. Except in most cases .log files (much like .txt files) end up being opened by Firefox itself. (Bug 671911 is an exception that we haven't been able to reproduce.) > Android seems to fail, maybe it is not finding an app > (intent) that can open log files. Either that, or it hangs trying to delegate the intent. Failing explicitly with an error message would be better than hanging.
![]() |
||
Updated•13 years ago
|
Summary: Fennec freezes when a .log file from disk → Fennec freezes when opening a .log file from disk
Comment 10•13 years ago
|
||
(In reply to comment #7) > Tony, can you confirm that Fennec Aurora is also affected? If so, we should > probably land bug 673309 there too to cover for the underlying Fennec issue. note to self to check this.
Assignee | ||
Comment 11•13 years ago
|
||
couple of problems. I am glad that we are going to use .txt for the log files, but that doesn't fix the underlying android's problem. It looks like nsMIMEInfoAndroid needs some love. we probably should start caching requests to java. I'll do that work here.
Assignee: nobody → doug.turner
Summary: Fennec freezes when opening a .log file from disk → Fennec freezes when a .log file from disk
I was able to open the log file, after long tapping on it, and then saving it to the doc folder. I was not able to open it from where it resides normally. file:///data/data/org.mozilla.fennec/files/mozilla/<profileid>.default/weave/logs/
Comment 13•13 years ago
|
||
changing title to non .txt files, as file handler also locks up on other types (.json)
Summary: Fennec freezes when a .log file from disk → Fennec freezes when viewing a non .txt file from disk
Comment 14•13 years ago
|
||
(In reply to comment #10) > (In reply to comment #7) > > Tony, can you confirm that Fennec Aurora is also affected? If so, we should > > probably land bug 673309 there too to cover for the underlying Fennec issue. > > note to self to check this. and yes, it happens on aurora and nighty also.
Comment 17•13 years ago
|
||
Comment on attachment 548699 [details] [diff] [review] patch v.1 Review of attachment 548699 [details] [diff] [review]: -----------------------------------------------------------------
Attachment #548699 -
Flags: review?(blassey.bugs) → review+
Assignee | ||
Comment 18•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/38e2e8f4b0b2
tracking-fennec: --- → ?
Comment 19•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/38e2e8f4b0b2
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 8
Comment 20•13 years ago
|
||
Verified Fixed Mozilla/5.0 (Android; Linux armv7l; rv:8.0a1) Gecko/20110728 Firefox/8.0a1 Fennec/8.0a1
Status: RESOLVED → VERIFIED
Comment 21•13 years ago
|
||
Comment on attachment 548699 [details] [diff] [review] patch v.1 Per LegNeato's comment on Bug 673309, nominating this for Aurora.
Attachment #548699 -
Flags: approval-mozilla-aurora?
Comment 22•13 years ago
|
||
Comment on attachment 548699 [details] [diff] [review] patch v.1 Approved for releases/mozilla-aurora
Attachment #548699 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 23•13 years ago
|
||
Pushed to mozilla-aurora: http://hg.mozilla.org/releases/mozilla-aurora/rev/4b51e77c121a /me thinks about which flags to set...
Updated•13 years ago
|
status-firefox7:
--- → fixed
Target Milestone: Firefox 8 → Firefox 7
Comment 24•13 years ago
|
||
Verified Fixed on Aurora Mozilla/5.0 (Android; Linux armv7l; rv:7.0a2) Gecko/20110803 Firefox/7.0a2 Fennec/7.0a2
Keywords: verified-aurora
Updated•11 years ago
|
tracking-fennec: ? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•