Crash on App Install - SQLException - Failed to Insert row into content

RESOLVED WONTFIX

Status

defect
--
critical
RESOLVED WONTFIX
7 years ago
6 years ago

People

(Reporter: jsmith, Assigned: Harald)

Tracking

Details

(Whiteboard: [nonmwcblocker])

Attachments

(2 attachments)

Reporter

Description

7 years ago
Non-deterministic crash on install of an app.

Steps taken:

1. Start Soup and Login with Browser ID
2. Installed CSS3 Clock

Expected:

Soup should prompt to add a shortcut and launch after install.

Actual:

Crash occurred, force stopping Soup (see log attached). The stack trace indicates a SQLException was thrown when trying to insert a row into content://org.mozilla.labs.Soup.provider.AppsProvider/Apps executed on line 226 of the AppsProvider's insert function.

Device: Samsung Galaxy S2
Reporter

Updated

7 years ago
Severity: normal → critical
Assignee

Updated

7 years ago
Assignee: nobody → hkirschner
Reporter

Comment 1

7 years ago
Being a non-deterministic crash that's non-blocking, we could live with this for MWC, as the crash only non-deterministically occurs during the setup of the devices. From my understanding, post-March 1st, marketplace on developer preview will be going down, making Soup unable to be used for the most part. In that argument, should this be as a Won't Fix?

Counterarguments welcome. Jen, Bill, or David - Can you confirm?
re comment#1: agreed this is a non-blocker. This won't affect the demo pod script since we're not installing apps. This could affect the closed door demo, but let's if this is an intermittent issue and we cannot reliably reproduce then we're ok for MWC.
Reporter

Updated

7 years ago
Whiteboard: [notmwcblocker]
Reporter

Updated

7 years ago
Whiteboard: [notmwcblocker] → [nonmwcblocker]
Assignee

Updated

7 years ago
Duplicate of this bug: 728118
Posted file logcat
moving my log and repro data over since its a dupe.

Repro:
1) install soup.apk, built 16-Feb-2012 18:16 	332K
2) launch soup, and switch Market Provider to store.html
3) Switch soup to Market view, and tap Facebook App
4) say yes to save as shortcut and launch after installation
5) hit OK.  verify Soup crashes.

02-16 20:06:19.782: ERROR/AndroidRuntime(3973): FATAL EXCEPTION: Thread-54
02-16 20:06:19.782: ERROR/AndroidRuntime(3973): android.database.SQLException: Failed to insert row into content://org.mozilla.labs.Soup.provider.AppsProvider/apps
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at org.mozilla.labs.Soup.provider.AppsProvider.insert(AppsProvider.java:226)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at android.content.ContentProvider$Transport.insert(ContentProvider.java:210)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at android.content.ContentResolver.insert(ContentResolver.java:606)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at org.mozilla.labs.Soup.plugins.MozAppsPlugin$2$1$2.onClick(MozAppsPlugin.java:273)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:159)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at android.os.Handler.dispatchMessage(Handler.java:99)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at android.os.Looper.loop(Looper.java:143)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at org.mozilla.labs.Soup.plugins.MozAppsPlugin$2$1.run(MozAppsPlugin.java:333)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at java.lang.Thread.run(Thread.java:1027)
02-16 20:06:19.792: WARN/ActivityManager(1331):   Force finishing activity org.mozilla.labs.Soup/.app.StoreActivity
02-16 20:06:19.812: DEBUG/Sensors(1331): Enable akm: en = 0
02-16 20:06:19.812: DEBUG/SensorService(1331): noteStopSensor: uid = 0x3e8, handle = 0x0
02-16 20:06:19.822: INFO/CarouselTimeLog(1434): onStart() finish: 1329451579831
02-16 20:06:19.822: DEBUG/CarouselDummyActivity(1434): CarouselDummyActivity.onResume: tab_allapps
02-16 20:06:19.862: DEBUG/Background traffic light(1434): traffic light: RED, mBackgroundTrafficLight = true
02-16 20:06:19.872: DEBUG/William(1434): - refreshUsageStatCache -
02-16 20:06:19.952: DEBUG/AutoSetting(1496): service - mBroadcastReceiver: action = com.htc.content.Intent.ACTION_BACKGROUND_OP_STOP
02-16 20:06:20.042: ERROR/WindowManager(3973): Activity org.mozilla.labs.Soup.app.StoreActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@407e17f8 that was originally added here
02-16 20:06:20.042: ERROR/WindowManager(3973): android.view.WindowLeaked: Activity org.mozilla.labs.Soup.app.StoreActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@407e17f8 that was originally added here
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.view.ViewRoot.<init>(ViewRoot.java:275)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.view.Window$LocalWindowManager.addView(Window.java:430)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.app.Dialog.show(Dialog.java:288)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.app.AlertDialog$Builder.show(AlertDialog.java:802)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at org.mozilla.labs.Soup.plugins.MozAppsPlugin$2$1.run(MozAppsPlugin.java:331)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at java.lang.Thread.run(Thread.java:1027)
02-16 20:06:20.042: DEBUG/SoupActivity.SoupViewClient(3973): onPageStarted: about:blank
02-16 20:06:20.052: DEBUG/SoupActivity.SoupViewClient(3973): onPageFinished: about:blank
02-16 20:06:20.062: DEBUG/skia(3973): SwapPlugins [MainUrl] about:blank
02-16 20:06:20.202: DEBUG/AK8975(1241): Compass CLOSE 
02-16 20:06:21.514: DEBUG/ConnectivityService(1331): getMobileDataEnabled returning false
02-16 20:06:22.485: INFO/Process(3973): Sending signal. PID: 3973 SIG: 9
02-16 20:06:22.485: WARN/InputManagerService(1331): [unbindCurrentClientLocked] Disable input method client.
02-16 20:06:22.485: WARN/InputManagerService(1331): [startInputLocked] Enable input method client.
02-16 20:06:22.525: DEBUG/SurfaceFlinger(1331): layer=0x147e4b0 is not in the purgatory list
02-16 20:06:22.525: INFO/ActivityManager(1331): Process org.mozilla.labs.Soup (pid 3973) has died.
02-16 20:06:19.782: ERROR/AndroidRuntime(3973): android.database.SQLException: Failed to insert row into content://org.mozilla.labs.Soup.provider.AppsProvider/apps
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at org.mozilla.labs.Soup.provider.AppsProvider.insert(AppsProvider.java:226)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at android.content.ContentProvider$Transport.insert(ContentProvider.java:210)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at android.content.ContentResolver.insert(ContentResolver.java:606)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at org.mozilla.labs.Soup.plugins.MozAppsPlugin$2$1$2.onClick(MozAppsPlugin.java:273)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:159)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at android.os.Handler.dispatchMessage(Handler.java:99)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at android.os.Looper.loop(Looper.java:143)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at org.mozilla.labs.Soup.plugins.MozAppsPlugin$2$1.run(MozAppsPlugin.java:333)
02-16 20:06:19.782: ERROR/AndroidRuntime(3973):     at java.lang.Thread.run(Thread.java:1027)
02-16 20:06:19.792: WARN/ActivityManager(1331):   Force finishing activity org.mozilla.labs.Soup/.app.StoreActivity
02-16 20:06:19.812: DEBUG/Sensors(1331): Enable akm: en = 0
02-16 20:06:19.812: DEBUG/SensorService(1331): noteStopSensor: uid = 0x3e8, handle = 0x0
02-16 20:06:19.822: INFO/CarouselTimeLog(1434): onStart() finish: 1329451579831
02-16 20:06:19.822: DEBUG/CarouselDummyActivity(1434): CarouselDummyActivity.onResume: tab_allapps
02-16 20:06:19.862: DEBUG/Background traffic light(1434): traffic light: RED, mBackgroundTrafficLight = true
02-16 20:06:19.872: DEBUG/William(1434): - refreshUsageStatCache -
02-16 20:06:19.952: DEBUG/AutoSetting(1496): service - mBroadcastReceiver: action = com.htc.content.Intent.ACTION_BACKGROUND_OP_STOP
02-16 20:06:20.042: ERROR/WindowManager(3973): Activity org.mozilla.labs.Soup.app.StoreActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@407e17f8 that was originally added here
02-16 20:06:20.042: ERROR/WindowManager(3973): android.view.WindowLeaked: Activity org.mozilla.labs.Soup.app.StoreActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@407e17f8 that was originally added here
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.view.ViewRoot.<init>(ViewRoot.java:275)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.view.Window$LocalWindowManager.addView(Window.java:430)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.app.Dialog.show(Dialog.java:288)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at android.app.AlertDialog$Builder.show(AlertDialog.java:802)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at org.mozilla.labs.Soup.plugins.MozAppsPlugin$2$1.run(MozAppsPlugin.java:331)
02-16 20:06:20.042: ERROR/WindowManager(3973):     at java.lang.Thread.run(Thread.java:1027)
02-16 20:06:20.042: DEBUG/SoupActivity.SoupViewClient(3973): onPageStarted: about:blank
02-16 20:06:20.052: DEBUG/SoupActivity.SoupViewClient(3973): onPageFinished: about:blank
02-16 20:06:20.062: DEBUG/skia(3973): SwapPlugins [MainUrl] about:blank
02-16 20:06:20.202: DEBUG/AK8975(1241): Compass CLOSE 
02-16 20:06:21.514: DEBUG/ConnectivityService(1331): getMobileDataEnabled returning false
02-16 20:06:22.485: INFO/Process(3973): Sending signal. PID: 3973 SIG: 9
02-16 20:06:22.485: WARN/InputManagerService(1331): [unbindCurrentClientLocked] Disable input method client.
02-16 20:06:22.485: WARN/InputManagerService(1331): [startInputLocked] Enable input method client.
02-16 20:06:22.525: DEBUG/SurfaceFlinger(1331): layer=0x147e4b0 is not in the purgatory list
02-16 20:06:22.525: INFO/ActivityManager(1331): Process org.mozilla.labs.Soup (pid 3973) has died.
Assignee

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.