browser crashes on ebay web page

RESOLVED WORKSFORME

Status

Firefox OS
Gaia::Browser
RESOLVED WORKSFORME
5 years ago
3 years ago

People

(Reporter: Michelle Luna, Unassigned, NeedInfo)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

812.73 KB, text/plain
Details
(Reporter)

Description

5 years ago
Created attachment 805645 [details]
browser_crash_ebay adb logcat

On the ZTE Open from Ebay, I have a user who reported repeat crashes on the following web page:
http://www.ebay.co.uk/itm/ZTE-Open-powered-by-Firefox-OS-3G-unlocked-smartphone-orange-eBay-exclusive-/171123860758?pt=UK_Mobile_Phones&hash=item27d7c6e516

I was able to repro the crash a few times, it happens at 15:47, see log file.
(Reporter)

Comment 1

5 years ago
Created attachment 805648 [details]
ebay_browser_crash
Attachment #805645 - Attachment is obsolete: true
Comment on attachment 805648 [details]
ebay_browser_crash

From a quick glance it looks like an out of memory situation.
Attachment #805648 - Attachment mime type: text/x-vhdl → text/plain
Was unable to reproduce on gp keon v1.1
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Hi michelle, there's two things I would like to get from you to help with figuring out the crash:
1) can you run |adb shell dmesg| and try to capture the dmesg next time you run into this crash?
It would help to determine whether it's OOM ( https://wiki.mozilla.org/B2G/Debugging_OOMs#Step_1:_Verify_that_it.27s_actually_an_OOM )
2) can you see if you have files in the crash directory?  This might not be possible if it's not rooted:
adb shell ls -l /data/b2g/mozilla/Crash\ Reports/submitted/ 
adb shell ls -l /data/b2g/mozilla/Crash\ Reports/pending/
Flags: needinfo?(mluna)
(Reporter)

Comment 5

5 years ago
Hi,

My device isn't rooted, so I can't get the crash reports, but here is the dmesg: 

adb shell dmesg
<4>[10-08 22:44:59.437] [311: GonkSensors]GonkSensors invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0042be8>] (unwind_backtrace+0x0/0x12c) from [<c0103690>] (dump_header.clone.1+0x74/0x194)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0103690>] (dump_header.clone.1+0x74/0x194) from [<c01037f0>] (oom_kill_process.clone.0+0x40/0x270)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c01037f0>] (oom_kill_process.clone.0+0x40/0x270) from [<c0103cc4>] (out_of_memory+0x2a4/0x384)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0103cc4>] (out_of_memory+0x2a4/0x384) from [<c0107010>] (__alloc_pages_nodemask+0x4a4/0x580)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0107010>] (__alloc_pages_nodemask+0x4a4/0x580) from [<c01012f0>] (filemap_fault+0x308/0x400)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c01012f0>] (filemap_fault+0x308/0x400) from [<c0116254>] (__do_fault+0x50/0x40c)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0116254>] (__do_fault+0x50/0x40c) from [<c0116ac8>] (handle_pte_fault+0x270/0xafc)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0116ac8>] (handle_pte_fault+0x270/0xafc) from [<c01178d8>] (handle_mm_fault+0xd0/0xe0)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c01178d8>] (handle_mm_fault+0xd0/0xe0) from [<c00462f8>] (do_page_fault+0xe0/0x288)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c00462f8>] (do_page_fault+0xe0/0x288) from [<c00371c8>] (do_PrefetchAbort+0x34/0x94)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c00371c8>] (do_PrefetchAbort+0x34/0x94) from [<c003d120>] (ret_from_exception+0x0/0x10)
<4>[10-08 22:44:59.437] [311: GonkSensors]Exception stack(0xc8a3bfb0 to 0xc8a3bff8)
<4>[10-08 22:44:59.437] [311: GonkSensors]bfa0:                                     42ee5c44 00000001 42ee5c64 41225dd5
<4>[10-08 22:44:59.437] [311: GonkSensors]bfc0: 491ff614 00000000 42eac760 41c86640 41a1e69c 404bc934 404bc8ec 42eac778
<4>[10-08 22:44:59.437] [311: GonkSensors]bfe0: 41c76c10 491ff608 40bd4fb3 41225dd4 60000030 ffffffff
<4>[10-08 22:44:59.437] [311: GonkSensors]Mem-info:
<4>[10-08 22:44:59.437] [311: GonkSensors]Normal per-cpu:
<4>[10-08 22:44:59.437] [311: GonkSensors]CPU    0: hi:   90, btch:  15 usd:  36
<4>[10-08 22:44:59.437] [311: GonkSensors]active_anon:39116 inactive_anon:15 isolated_anon:0
<4>[10-08 22:44:59.437] [311: GonkSensors] active_file:1 inactive_file:9 isolated_file:0
<4>[10-08 22:44:59.437] [311: GonkSensors] unevictable:287 dirty:0 writeback:0 unstable:0
<4>[10-08 22:44:59.437] [311: GonkSensors] free:430 slab_reclaimable:399 slab_unreclaimable:2010
<4>[10-08 22:44:59.437] [311: GonkSensors] mapped:200 shmem:23 pagetables:448 bounce:0
<4>[10-08 22:44:59.437] [311: GonkSensors]Normal free:1720kB min:1744kB low:2180kB high:2616kB active_anon:156464kB inactive_anon:60kB active_file:4kB inactive_file:36kB unevictable:1148kB isolated(anon):0kB isolated(file):0kB present:190800kB mlocked:0kB dirty:0kB writeback:0kB mapped:800kB shmem:92kB slab_reclaimable:1596kB slab_unreclaimable:8040kB kernel_stack:1984kB pagetables:1792kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:29233 all_unreclaimable? yes
<4>[10-08 22:44:59.437] [311: GonkSensors]lowmem_reserve[]: 0 0 0
<4>[10-08 22:44:59.437] [311: GonkSensors]Normal: 26*4kB 26*8kB 10*16kB 11*32kB 8*64kB 3*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1720kB
<4>[10-08 22:44:59.437] [311: GonkSensors]320 total pagecache pages
<4>[10-08 22:44:59.437] [311: GonkSensors]54784 pages of RAM
<4>[10-08 22:44:59.437] [311: GonkSensors]810 free pages
<4>[10-08 22:44:59.437] [311: GonkSensors]10601 reserved pages
<4>[10-08 22:44:59.437] [311: GonkSensors]2409 slab pages
<4>[10-08 22:44:59.437] [311: GonkSensors]397 pages shared
<4>[10-08 22:44:59.437] [311: GonkSensors]0 pages swap cached
<6>[10-08 22:44:59.437] [311: GonkSensors][ pid ]   uid  tgid total_vm      rss cpu oom_adj oom_score_adj name
<6>[10-08 22:44:59.437] [311: GonkSensors][   96]     0    96       78       40   0     -16          -941 ueventd
<6>[10-08 22:44:59.437] [311: GonkSensors][  107]  1000   107      224       25   0     -16          -941 servicemanager
<6>[10-08 22:44:59.437] [311: GonkSensors][  108]     0   108     1022       71   0     -16          -941 vold
<6>[10-08 22:44:59.437] [311: GonkSensors][  115]     0   115    50899    13982   0       0             0 b2g
<6>[10-08 22:44:59.437] [311: GonkSensors][  116]     0   116     1894       80   0     -16          -941 netd
<6>[10-08 22:44:59.437] [311: GonkSensors][  117]     0   117      190       24   0     -16          -941 debuggerd
<6>[10-08 22:44:59.437] [311: GonkSensors][  118]  1001   118     5028      398   0     -16          -941 rild
<6>[10-08 22:44:59.437] [311: GonkSensors][  119]  1013   119     4820      303   0     -16          -941 mediaserver
<6>[10-08 22:44:59.437] [311: GonkSensors][  120]  1002   120      358       44   0     -16          -941 dbus-daemon
<6>[10-08 22:44:59.437] [311: GonkSensors][  124]  1017   124      449       45   0     -16          -941 keystore
<6>[10-08 22:44:59.437] [311: GonkSensors][  135]  1000   135      490       33   0     -16          -941 mm-pp-daemon
<6>[10-08 22:44:59.437] [311: GonkSensors][  136]     0   136      218       38   0     -16          -941 sh
<6>[10-08 22:44:59.437] [311: GonkSensors][  140]     0   140      556       37   0     -16          -941 akmd8962_new
<6>[10-08 22:44:59.437] [311: GonkSensors][  145]  2000   145     1388       56   0     -16          -941 adbd
<6>[10-08 22:44:59.437] [311: GonkSensors][  178]  1001   178     1384       77   0     -16          -941 qmuxd
<6>[10-08 22:44:59.437] [311: GonkSensors][  181]  1001   181     1424       97   0     -16          -941 netmgrd
<6>[10-08 22:44:59.447] [311: GonkSensors][  253]     0   253      195       34   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][  254]     0   254      195       34   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][  255]     0   255      195       34   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][  256]     0   256      196       28   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][16539] 26539 16539    16020     2190   0       2           134 Browser
<6>[10-08 22:44:59.447] [311: GonkSensors][16869]  1010 16869      686      102   0     -16          -941 wpa_supplicant
<6>[10-08 22:44:59.447] [311: GonkSensors][17133]  1014 17133      246       45   0     -16          -941 dhcpcd
<6>[10-08 22:44:59.447] [311: GonkSensors][19178] 29178 19178    17318     3038   0       4           267 Homescreen
<6>[10-08 22:44:59.447] [311: GonkSensors][19385]  2000 19385      205       26   0     -16          -941 sh
<6>[10-08 22:44:59.447] [311: GonkSensors][19387]  2000 19387      249       90   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][19464] 29464 19464    44172    18414   0       2           134 Browser
<6>[10-08 22:44:59.447] [311: GonkSensors][19537]     0 19537      251       31   0     -16          -941 sleep
<3>[10-08 22:44:59.447] [311: GonkSensors]Out of memory: Kill process 19464 (Browser) score 552 or sacrifice child
<3>[10-08 22:44:59.447] [311: GonkSensors]Killed process 19464 (Browser) total-vm:176688kB, anon-rss:73612kB, file-rss:44kB
Michelle-Lunas-MacBook-Air:images-keon-v1-train-2013-09-12.Gecko-11e46d9.Gaia-1c38ec5 michelleluna$ adb shell dmesg
<4>[10-08 22:44:59.437] [311: GonkSensors]GonkSensors invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0042be8>] (unwind_backtrace+0x0/0x12c) from [<c0103690>] (dump_header.clone.1+0x74/0x194)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0103690>] (dump_header.clone.1+0x74/0x194) from [<c01037f0>] (oom_kill_process.clone.0+0x40/0x270)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c01037f0>] (oom_kill_process.clone.0+0x40/0x270) from [<c0103cc4>] (out_of_memory+0x2a4/0x384)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0103cc4>] (out_of_memory+0x2a4/0x384) from [<c0107010>] (__alloc_pages_nodemask+0x4a4/0x580)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0107010>] (__alloc_pages_nodemask+0x4a4/0x580) from [<c01012f0>] (filemap_fault+0x308/0x400)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c01012f0>] (filemap_fault+0x308/0x400) from [<c0116254>] (__do_fault+0x50/0x40c)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0116254>] (__do_fault+0x50/0x40c) from [<c0116ac8>] (handle_pte_fault+0x270/0xafc)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c0116ac8>] (handle_pte_fault+0x270/0xafc) from [<c01178d8>] (handle_mm_fault+0xd0/0xe0)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c01178d8>] (handle_mm_fault+0xd0/0xe0) from [<c00462f8>] (do_page_fault+0xe0/0x288)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c00462f8>] (do_page_fault+0xe0/0x288) from [<c00371c8>] (do_PrefetchAbort+0x34/0x94)
<4>[10-08 22:44:59.437] [311: GonkSensors][<c00371c8>] (do_PrefetchAbort+0x34/0x94) from [<c003d120>] (ret_from_exception+0x0/0x10)
<4>[10-08 22:44:59.437] [311: GonkSensors]Exception stack(0xc8a3bfb0 to 0xc8a3bff8)
<4>[10-08 22:44:59.437] [311: GonkSensors]bfa0:                                     42ee5c44 00000001 42ee5c64 41225dd5
<4>[10-08 22:44:59.437] [311: GonkSensors]bfc0: 491ff614 00000000 42eac760 41c86640 41a1e69c 404bc934 404bc8ec 42eac778
<4>[10-08 22:44:59.437] [311: GonkSensors]bfe0: 41c76c10 491ff608 40bd4fb3 41225dd4 60000030 ffffffff
<4>[10-08 22:44:59.437] [311: GonkSensors]Mem-info:
<4>[10-08 22:44:59.437] [311: GonkSensors]Normal per-cpu:
<4>[10-08 22:44:59.437] [311: GonkSensors]CPU    0: hi:   90, btch:  15 usd:  36
<4>[10-08 22:44:59.437] [311: GonkSensors]active_anon:39116 inactive_anon:15 isolated_anon:0
<4>[10-08 22:44:59.437] [311: GonkSensors] active_file:1 inactive_file:9 isolated_file:0
<4>[10-08 22:44:59.437] [311: GonkSensors] unevictable:287 dirty:0 writeback:0 unstable:0
<4>[10-08 22:44:59.437] [311: GonkSensors] free:430 slab_reclaimable:399 slab_unreclaimable:2010
<4>[10-08 22:44:59.437] [311: GonkSensors] mapped:200 shmem:23 pagetables:448 bounce:0
<4>[10-08 22:44:59.437] [311: GonkSensors]Normal free:1720kB min:1744kB low:2180kB high:2616kB active_anon:156464kB inactive_anon:60kB active_file:4kB inactive_file:36kB unevictable:1148kB isolated(anon):0kB isolated(file):0kB present:190800kB mlocked:0kB dirty:0kB writeback:0kB mapped:800kB shmem:92kB slab_reclaimable:1596kB slab_unreclaimable:8040kB kernel_stack:1984kB pagetables:1792kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:29233 all_unreclaimable? yes
<4>[10-08 22:44:59.437] [311: GonkSensors]lowmem_reserve[]: 0 0 0
<4>[10-08 22:44:59.437] [311: GonkSensors]Normal: 26*4kB 26*8kB 10*16kB 11*32kB 8*64kB 3*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1720kB
<4>[10-08 22:44:59.437] [311: GonkSensors]320 total pagecache pages
<4>[10-08 22:44:59.437] [311: GonkSensors]54784 pages of RAM
<4>[10-08 22:44:59.437] [311: GonkSensors]810 free pages
<4>[10-08 22:44:59.437] [311: GonkSensors]10601 reserved pages
<4>[10-08 22:44:59.437] [311: GonkSensors]2409 slab pages
<4>[10-08 22:44:59.437] [311: GonkSensors]397 pages shared
<4>[10-08 22:44:59.437] [311: GonkSensors]0 pages swap cached
<6>[10-08 22:44:59.437] [311: GonkSensors][ pid ]   uid  tgid total_vm      rss cpu oom_adj oom_score_adj name
<6>[10-08 22:44:59.437] [311: GonkSensors][   96]     0    96       78       40   0     -16          -941 ueventd
<6>[10-08 22:44:59.437] [311: GonkSensors][  107]  1000   107      224       25   0     -16          -941 servicemanager
<6>[10-08 22:44:59.437] [311: GonkSensors][  108]     0   108     1022       71   0     -16          -941 vold
<6>[10-08 22:44:59.437] [311: GonkSensors][  115]     0   115    50899    13982   0       0             0 b2g
<6>[10-08 22:44:59.437] [311: GonkSensors][  116]     0   116     1894       80   0     -16          -941 netd
<6>[10-08 22:44:59.437] [311: GonkSensors][  117]     0   117      190       24   0     -16          -941 debuggerd
<6>[10-08 22:44:59.437] [311: GonkSensors][  118]  1001   118     5028      398   0     -16          -941 rild
<6>[10-08 22:44:59.437] [311: GonkSensors][  119]  1013   119     4820      303   0     -16          -941 mediaserver
<6>[10-08 22:44:59.437] [311: GonkSensors][  120]  1002   120      358       44   0     -16          -941 dbus-daemon
<6>[10-08 22:44:59.437] [311: GonkSensors][  124]  1017   124      449       45   0     -16          -941 keystore
<6>[10-08 22:44:59.437] [311: GonkSensors][  135]  1000   135      490       33   0     -16          -941 mm-pp-daemon
<6>[10-08 22:44:59.437] [311: GonkSensors][  136]     0   136      218       38   0     -16          -941 sh
<6>[10-08 22:44:59.437] [311: GonkSensors][  140]     0   140      556       37   0     -16          -941 akmd8962_new
<6>[10-08 22:44:59.437] [311: GonkSensors][  145]  2000   145     1388       56   0     -16          -941 adbd
<6>[10-08 22:44:59.437] [311: GonkSensors][  178]  1001   178     1384       77   0     -16          -941 qmuxd
<6>[10-08 22:44:59.437] [311: GonkSensors][  181]  1001   181     1424       97   0     -16          -941 netmgrd
<6>[10-08 22:44:59.447] [311: GonkSensors][  253]     0   253      195       34   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][  254]     0   254      195       34   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][  255]     0   255      195       34   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][  256]     0   256      196       28   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][16539] 26539 16539    16020     2190   0       2           134 Browser
<6>[10-08 22:44:59.447] [311: GonkSensors][16869]  1010 16869      686      102   0     -16          -941 wpa_supplicant
<6>[10-08 22:44:59.447] [311: GonkSensors][17133]  1014 17133      246       45   0     -16          -941 dhcpcd
<6>[10-08 22:44:59.447] [311: GonkSensors][19178] 29178 19178    17318     3038   0       4           267 Homescreen
<6>[10-08 22:44:59.447] [311: GonkSensors][19385]  2000 19385      205       26   0     -16          -941 sh
<6>[10-08 22:44:59.447] [311: GonkSensors][19387]  2000 19387      249       90   0     -16          -941 logcat
<6>[10-08 22:44:59.447] [311: GonkSensors][19464] 29464 19464    44172    18414   0       2           134 Browser
<6>[10-08 22:44:59.447] [311: GonkSensors][19537]     0 19537      251       31   0     -16          -941 sleep
<3>[10-08 22:44:59.447] [311: GonkSensors]Out of memory: Kill process 19464 (Browser) score 552 or sacrifice child
<3>[10-08 22:44:59.447] [311: GonkSensors]Killed process 19464 (Browser) total-vm:176688kB, anon-rss:73612kB, file-rss:44kB
Michelle-Lunas-MacBook-Air:images-keon-v1-train-2013-09-12.Gecko-11e46d9.Gaia-1c38ec5 michelleluna$
Flags: needinfo?(mluna)
Could not reproduce on ZTE Open 

Software: OPEN_FFOS_V1.0.0B04_MOVISTAR
OS: 1.0.1.0-prerelease
Firmware: V1.01.00.01.019.120
Hardware Version: P75D04B02
Platform version: 18.0
Build ID: 20130621133927
Hi Michelle, 

The following from the dmesg indicates that it's a OOM issue:
Out of memory: Kill process 19464 (Browser) score 552 or sacrifice child
<3>[10-08 22:44:59.447] [311: GonkSensors]Killed process 19464 (Browser) total-vm:176688kB, 

I agree that we need to be better with memory, having said that when it's low on memory, it will kill the process and appear to be a crash.  It would hopefully close any background app before closing the foreground app though...  Was there any other app that was open at the time? or was it all closed other than the browser?
Flags: needinfo?(mluna)
Unable to reproduce. If the issue still exists on a shipping device, please re-open with more info.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.