Closed Bug 629551 Opened 13 years ago Closed 13 years ago

Fennec crashes if trying to display about:sync-log

Categories

(Firefox for Android Graveyard :: General, defect, P4)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dre, Unassigned)

Details

Nightly build from the 27th.  Enabled sync logging to try to figure out issue with sync not working.

rsoderberg was debugging and tried to visit about:sync-log.  Fennec hung and then wouldn't restart.
Note that Daniel's about:sync-log was a 2.7MB file at the time, as we were trying to debug why his Sync always said "In Progress" but never synced (that's another bug).  I was able to find the sync-log in his Fennec profile dir and he emailed it to me directly, without using Fennec to view it.

Steps I performed:

1. Opened Fennec. Went to about:config.
2. Set services.sync.log.logger.engine.history to Trace.
3. Set services.sync.log.appender.debugLog.enabled to True.
4. Set services.sync.log.appender.debugLog.maxSize to 16777216.
5. Left the about:config screen.
6. Force quit Fennec.
7. Started Fennec.
8. Clicked "Sync Now" in preferences, waited for a minute.
9. Went to about:sync-log.

At this point, the page tried to render, succeeded for a moment, I tried to scroll, it froze, repainted, and then crashed to gray.  I was able to get to the tabs list on the left and close the crashed tab.  Later inspection showed that about:sync-log was trying to render a 2.7MB log.  (Incidentally, that is the expected size of that logfile for a user with lots of history entries to sync.)
Crash stack? Still happen?
Priority: -- → P4
about:sync-log now displays a directory listing
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.