Closed Bug 717307 Opened 13 years ago Closed 12 years ago

StrictMode violation in org.mozilla.gecko.GeckoPreferences, instances=2, limit=1

Categories

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

ARM
Android
defect

Tracking

(fennec-)

RESOLVED FIXED
Tracking Status
fennec - ---

People

(Reporter: aaronmt, Unassigned)

References

Details

I/ActivityManager(  152): START {cmp=org.mozilla.fennec/org.mozilla.gecko.GeckoPreferences} from pid 2868
I/GeckoApp( 2868): pause
I/ActivityManager(  152): Displayed org.mozilla.fennec/org.mozilla.gecko.GeckoPreferences: +144ms
I/GeckoApp( 2868): stop
D/AudioHardware(   82): AudioHardware pcm playback is going to standby.
D/AudioHardware(   82): closePcmOut_l() mPcmOpenCnt: 1
I/InputReader(  152): Reconfiguring input devices.  changes=0x00000004
I/InputReader(  152): Device reconfigured: id=7, name='mxt224_ts_input', surface size is now 480x800, mode is 1
I/ActivityManager(  152): Config changed: {1.0 302mcc220mnc en_US layoutdir=0 sw320dp w533dp h294dp nrml long land finger -keyb/v/h -nav/h s.75}
E/StrictMode( 2868): class org.mozilla.gecko.GeckoPreferences; instances=2; limit=1
E/StrictMode( 2868): android.os.StrictMode$InstanceCountViolation: class org.mozilla.gecko.GeckoPreferences; instances=2; limit=1
E/StrictMode( 2868): 	at android.os.StrictMode.setClassInstanceLimit(StrictMode.java:1)

I seem to get this on rotation when viewing Preferences.
Is this bad?
maybe not.
tracking-fennec: --- → -
Priority: -- → P4
Just saw this as well.

Repro:
1) install 3-27-2012 nightly fennec build, Galaxy Nexus.  
2) have an existing profile with history available in your about:home page
3) from "Tabs from last time", click on one of the entries that is there.  (it must be a tab you've previously opened)
4) Watch logcat, and see the error.

03-27 23:19:26.289: INFO/ActivityManager(196): START {cmp=org.mozilla.fennec/org.mozilla.gecko.TabsTray} from pid 8525
03-27 23:19:26.344: INFO/GeckoApp(8525): pause
03-27 23:19:26.375: INFO/GeckoViewsFactory(8525): Creating custom Gecko view: TabsTray$TabsListContainer
03-27 23:19:26.375: INFO/GeckoViewsFactory(8525): Creating custom Gecko view: LinkTextView
03-27 23:19:26.391: INFO/WindowManager(196): createSurface Window{41dbb470 org.mozilla.fennec/org.mozilla.gecko.TabsTray paused=false}: DRAW NOW PENDING
03-27 23:19:26.672: INFO/ActivityManager(196): Displayed org.mozilla.fennec/org.mozilla.gecko.TabsTray: +324ms
03-27 23:19:28.664: INFO/ActivityManager(196): START {cmp=org.mozilla.fennec/org.mozilla.gecko.RemoteTabs (has extras)} from pid 8525
03-27 23:19:28.773: INFO/WindowManager(196): createSurface Window{41e7e670 org.mozilla.fennec/org.mozilla.gecko.RemoteTabs paused=false}: DRAW NOW PENDING
03-27 23:19:28.922: INFO/ActivityManager(196): Displayed org.mozilla.fennec/org.mozilla.gecko.RemoteTabs: +193ms
03-27 23:19:28.922: WARN/ResourceType(196): Skipping entry 0x7f040001 in package table 0 because it is not complex!
03-27 23:19:28.977: DEBUG/dalvikvm(8525): GC_EXPLICIT freed 2861K, 16% free 17534K/20871K, paused 2ms+6ms
03-27 23:19:28.992: ERROR/StrictMode(8525): class org.mozilla.gecko.TabsTray; instances=2; limit=1
03-27 23:19:28.992: ERROR/StrictMode(8525): android.os.StrictMode$InstanceCountViolation: class org.mozilla.gecko.TabsTray; instances=2; limit=1
03-27 23:19:28.992: ERROR/StrictMode(8525):     at android.os.StrictMode.setClassInstanceLimit(StrictMode.java:1)
03-27 23:19:33.211: INFO/EventLogService(369): Aggregate from 1332913773104 (log), 1332913773104 (data)
03-27 23:19:33.305: INFO/ServiceDumpSys(369): dumping service [account]
Depends on: 770345
Fixed via bug 770345
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.