Closed Bug 829064 Opened 12 years ago Closed 12 years ago

Starting maps or marketplace apps with no internet connection causes app to crash

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 824677
B2G C4 (2jan on)

People

(Reporter: briansmith, Unassigned)

Details

(Keywords: regression)

STR: 1. Disable wifi 2. Remove SIM (not sure if this is necessary) 3. Restart phone (to ensure app wasn't already loaded) 4. Ensure that there is no wifi enabled 5. start marketplace app and/or maps app EXPECTED RESULTS: App starts and/or we get a "Network connection unavailable" error ACTUAL RESULTS: The app crashes and you are returned to the home screen. Connecting to wifi (and waiting a little bit for the connection to be established) causes the crashing to stop. Krupa said that she gets the "network connection unavailable" error in the build she was testing. Gaia revision: 86549ba5af5de93302648a325ee75f1543459bac Gecko revision: m-i a200bde12057
blocking-basecamp: --- → ?
logcat of the crash: I/IdleService( 109): next timeout 1000 msec from now I/IdleService( 109): SetTimerExpiryIfBefore: next timeout 1000 msec from now I/IdleService( 109): reset timer expiry to 1010 msec from now I/IdleService( 109): Reset idle timeout: tell observer 4708a050 user is back E/GeckoConsole( 109): Content JS INFO at app://system.gaiamobile.org/js/window_manager.js:1099 in createFrame: %%%%% Launching Marketplace as remote (OOP) D/memalloc( 109): /dev/pmem: Allocated buffer base:0x4945a000 size:614400 offset:1843200 fd:111 D/memalloc( 109): /dev/pmem: Allocated buffer base:0x4945a000 size:614400 offset:2457600 fd:134 E/profiler( 573): Registering start signal D/memalloc( 109): /dev/pmem: Allocated buffer base:0x4945a000 size:614400 offset:3072000 fd:102 D/memalloc( 109): /dev/pmem: Freeing buffer base:0x4961c000 size:614400 offset:1843200 fd:111 D/memalloc( 109): /dev/pmem: Freeing buffer base:0x496b2000 size:614400 offset:2457600 fd:134 D/memalloc( 109): /dev/pmem: Freeing buffer base:0x49586000 size:614400 offset:1228800 fd:94 D/memalloc( 369): /dev/pmem: Unmapping buffer base:0x44100000 size:1843200 offset:1228800 E/AKMD2 ( 121): GetMagneticVector has failed (0x0020). D/memalloc( 109): /dev/pmem: Allocated buffer base:0x4945a000 size:614400 offset:1228800 fd:94 I/IdleService( 109): Get idle time: time since reset 941 msec I/IdleService( 109): Idle timer callback: current idle time 941 msec I/IdleService( 109): next timeout 58 msec from now I/IdleService( 109): SetTimerExpiryIfBefore: next timeout 58 msec from now I/IdleService( 109): reset timer expiry to 68 msec from now I/IdleService( 109): Get idle time: time since reset 1007 msec I/IdleService( 109): Idle timer callback: current idle time 1007 msec I/IdleService( 109): next timeout 4294967293992 msec from now I/IdleService( 109): SetTimerExpiryIfBefore: next timeout 4294967293992 msec from now I/IdleService( 109): reset timer expiry to 4294967294002 msec from now I/IdleService( 109): Idle timer callback: tell observer 4708a050 user is idle I/IdleService( 109): Get idle time: time since reset 1007 msec D/memalloc( 109): /dev/pmem: Freeing buffer base:0x49586000 size:614400 offset:1228800 fd:94 D/memalloc( 109): /dev/pmem: Freeing buffer base:0x49748000 size:614400 offset:3072000 fd:102 I/Gecko ( 573): ###################################### forms.js loaded I/Gecko ( 109): NeckoParent::AllocPRemoteOpenFile: FATAL error: app without webapps-manage permission is requesting file '/data/local/webapps/system.gaiamobile.org/application.zip' but is only allowed to open its own application.zip: KILLING CHILD PROCESS I/Gecko ( 109): I/Gecko ( 109): ###!!! [Parent][AsyncChannel] Error: Value error: message was deserialized, but contained an illegal value I/Gecko ( 109): I/Gecko ( 109): I/Gecko ( 109): ###!!! [Parent][AsyncChannel] Error: Route error: message sent to unknown actor ID I/Gecko ( 109): I/Gecko ( 109): [Parent 109] WARNING: waitpid failed pid:573 errno:10: file /home/mozilla/firefox/src/ipc/chromium/src/base/process_util_posix.cc, line 260 I/Gecko ( 109): I/Gecko ( 109): ###!!! [Parent][AsyncChannel] Error: Channel error: cannot send/recv I/Gecko ( 109): D/memalloc( 109): /dev/pmem: Allocated buffer base:0x4945a000 size:614400 offset:1228800 fd:94 D/memalloc( 369): /dev/pmem: Mapped buffer base:0x44100000 size:1843200 offset:1228800 fd:29 I/Gecko ( 109): [Parent 109] WARNING: waitpid failed pid:573 errno:10: file /home/mozilla/firefox/src/ipc/chromium/src/base/process_util_posix.cc, line 260 D/memalloc( 109): /dev/pmem: Allocated buffer base:0x4945a000 size:614400 offset:1843200 fd:100 D/memalloc( 109): /dev/pmem: Allocated buffer base:0x4945a000 size:614400 offset:2457600 fd:130 D/memalloc( 109): /dev/pmem: Freeing buffer base:0x496b2000 size:614400 offset:2457600 fd:130 D/memalloc( 109): /dev/pmem: Freeing buffer base:0x4961c000 size:614400 offset:1843200 fd:100 I/Gecko ( 109): [Parent 109] WARNING: waitpid failed pid:573 errno:10: file /home/mozilla/firefox/src/ipc/chromium/src/base/process_util_posix.cc, line 260 I/Gecko ( 109): [Parent 109] WARNING: Failed to deliver SIGKILL to 573!(3).: file /home/mozilla/firefox/src/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc, line 118 I/Gecko ( 109): [Parent 109] WARNING: waitpid failed pid:573 errno:10: file /home/mozilla/firefox/src/ipc/chromium/src/base/process_util_posix.cc, line 260 I/Gecko ( 109): [Parent 109] WARNING: Failed to deliver SIGKILL to 573!(3).: file /home/mozilla/firefox/src/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc, line 118 Note in particular this line: I/Gecko ( 109): NeckoParent::AllocPRemoteOpenFile: FATAL error: app without webapps-manage permission is requesting file '/data/local/webapps/system.gaiamobile.org/application.zip' but is only allowed to open its own application.zip: KILLING CHILD PROCESS and there are other errors after it.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
blocking-basecamp: ? → ---
You need to log in before you can comment on or make changes to this bug.