Closed
Bug 1038623
Opened 10 years ago
Closed 9 years ago
[dolphin][3rd] Aviary crashed frequently when user try to edit a picture or open a picture
Categories
(Tech Evangelism Graveyard :: Other, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: angelc04, Unassigned)
References
Details
(Whiteboard: [sprd332695][partner-blocker])
Attachments
(2 files)
Steps to reproduce
----------------------------------------------------------------------------
1. Install Aviary from Marketplace
2. Launch Aviary
--> it took over 10s for the pic preview appears
3. Tap on "Edit this photo"
--> Aviary crashed
4. Launch Aviary again
5. Tap on Gallery, select Gallery or Camera
--> Aviary crashed
Please help.
Reporter | ||
Updated•10 years ago
|
Whiteboard: [sprd332695]
Reporter | ||
Updated•10 years ago
|
blocking-b2g: --- → 1.4?
Whiteboard: [sprd332695] → [sprd332695][partner-blocker]
Reporter | ||
Updated•10 years ago
|
blocking-b2g: 1.4? → ---
Comment 1•10 years ago
|
||
Danny,
Can you try this on dolphin and see if this is due to OOM?
If it is OOM, is it expected (all bg apps killed and nothing else but fg app to kill) ?
Thanks
Flags: needinfo?(dliang)
Reporter | ||
Comment 2•10 years ago
|
||
It should be OOM problem. I tested on latest dolphin build, this app is not that easily crashed now. But I still see some OOM kill. Please see attached logcat.
Reporter | ||
Comment 3•10 years ago
|
||
attached slog.
Comment 4•10 years ago
|
||
Thanks Peipei's help, update my comments as following:
1. Application Aviary is killed by LMK
2. The RSS of Aviary is higher, it's around 8810*4 = 35MB before it's killed.
3. The free_files = (4237-848-433)*4 = 11.5MB, it's ok and won't cause LMK.
08-18 15:33:44.675 <6>[ 7097.527043] c0 lowmemorykiller: send sigkill to selected process:
08-18 15:33:44.675 <6>[ 7097.527091] c0 lowmemorykiller: Killing 'Aviary' (1856), adj 3,
08-18 15:33:44.675 <6>[ 7097.527091] c0 to free 70068kB on behalf of 'kswapd0' (21) because
08-18 15:33:44.675 <6>[ 7097.527091] c0 cache 11824kB is below limit 20480kB for oom_score_adj 2
08-18 15:33:44.675 <6>[ 7097.527091] c0 Free memory is -2280kB above reserved
08-18 15:33:44.675 <6>[ 7097.527091] c0 min adj 10 zram: adj 2 free 19% usage 53496kB
08-18 15:33:44.675 <4>[ 7097.527117] c0 lowmemorykiller: kswapd0 invoked lmk: gfp_mask=0xd0, order=-1, oom_score_adj=0
08-18 15:33:44.675 <4>[ 7097.527132] c0 CPU: 0 PID: 21 Comm: kswapd0 Tainted: G W O 3.10.17-00008-g384185e #1
08-18 15:33:44.675 <4>[ 7097.527176] c0 [<c0013a1c>] (unwind_backtrace+0x0/0x11c) from [<c0012174>] (show_stack+0x10/0x14)
08-18 15:33:44.675 <4>[ 7097.527199] c0 [<c0012174>] (show_stack+0x10/0x14) from [<c03c742c>] (lowmem_shrink+0x634/0x74c)
08-18 15:33:44.675 <4>[ 7097.527221] c0 [<c03c742c>] (lowmem_shrink+0x634/0x74c) from [<c00a6d98>] (shrink_slab+0x160/0x214)
08-18 15:33:44.675 <4>[ 7097.527239] c0 [<c00a6d98>] (shrink_slab+0x160/0x214) from [<c00a97ec>] (kswapd+0x4e0/0x704)
08-18 15:33:44.675 <4>[ 7097.527258] c0 [<c00a97ec>] (kswapd+0x4e0/0x704) from [<c0055974>] (kthread+0xa0/0xb0)
08-18 15:33:44.675 <4>[ 7097.527280] c0 [<c0055974>] (kthread+0xa0/0xb0) from [<c000f4d8>] (ret_from_fork+0x14/0x3c)
08-18 15:33:44.675 <4>[ 7097.527288] c0 Mem-info:
08-18 15:33:44.675 <4>[ 7097.527297] c0 Normal per-cpu:
08-18 15:33:44.675 <4>[ 7097.527306] c0 CPU 0: hi: 90, btch: 15 usd: 58
08-18 15:33:44.675 <4>[ 7097.527326] c0 active_anon:7804 inactive_anon:7845 isolated_anon:9
08-18 15:33:44.675 <4>[ 7097.527326] c0 active_file:1980 inactive_file:784 isolated_file:0
08-18 15:33:44.675 <4>[ 7097.527326] c0 unevictable:192 dirty:0 writeback:1 unstable:0
08-18 15:33:44.675 <4>[ 7097.527326] c0 free:697 slab_reclaimable:695 slab_unreclaimable:2037
08-18 15:33:44.675 <4>[ 7097.527326] c0 mapped:3616 shmem:848 pagetables:495 bounce:0
08-18 15:33:44.675 <4>[ 7097.527326] c0 free_cma:359
08-18 15:33:44.675 <4>[ 7097.527374] c0 Normal free:2788kB min:1856kB low:3168kB high:3632kB active_anon:31216kB inactive_anon:31380kB active_file:7920kB inactive_file:3136kB unevictable:768kB isolated(anon):36kB isolated(file):0kB present:262144kB managed:215516kB mlocked:0kB dirty:0kB writeback:4kB mapped:14464kB shmem:3392kB slab_reclaimable:2780kB slab_unreclaimable:8148kB kernel_stack:2408kB pagetables:1980kB unstable:0kB bounce:0kB free_cma:1436kB writeback_tmp:0kB pages_scanned:79 all_unreclaimable? no
08-18 15:33:44.675 <4>[ 7097.527383] c0 lowmem_reserve[]: 0 0 0
08-18 15:33:44.675 <4>[ 7097.527396] c0 Normal: 337*4kB (MC) 52*8kB (C) 64*16kB (MC) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2788kB
08-18 15:33:44.675 <4>[ 7097.527427] c0 4237 total pagecache pages
08-18 15:33:44.675 <4>[ 7097.527438] c0 433 pages in swap cache
08-18 15:33:44.675 <4>[ 7097.527447] c0 Swap cache stats: add 212941, delete 212508, find 23908/103550
08-18 15:33:44.675 <4>[ 7097.527453] c0 Free swap = 96156kB
08-18 15:33:44.675 <4>[ 7097.527460] c0 Total swap = 204796kB
08-18 15:33:44.705 <4>[ 7097.551601] c0 65536 pages of RAM
08-18 15:33:44.705 <4>[ 7097.551635] c0 5368 free pages
08-18 15:33:44.705 <4>[ 7097.551643] c0 10494 reserved pages
08-18 15:33:44.705 <4>[ 7097.551649] c0 1825 slab pages
08-18 15:33:44.705 <4>[ 7097.551655] c0 268961 pages shared
08-18 15:33:44.705 <4>[ 7097.551662] c0 432 pages swap cached
...
08-18 15:33:44.705 <6>[ 7097.551671] c0 [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
...
08-18 15:33:44.705 <6>[ 7097.552267] c0 [ 1856] 11856 1856 50062 8810 109 8775 134 Aviary
...
Hi Ying,
Could you help to check what's the root cause to let LMK kill Aviary application?
By my investigation, free memory and cache are enough, is there any other way to trigger LMK?
Flags: needinfo?(dliang) → needinfo?(ying.xu)
Comment 6•10 years ago
|
||
A demo video. FYI.
- https://bug1055493.bugzilla.mozilla.org/attachment.cgi?id=8475105
Comment 7•10 years ago
|
||
@ Didem - Would you ping me and let me know where Photoshop/Aviary currently stands regarding Bug Mgmt?
Flags: needinfo?(dersoz)
Comment 8•10 years ago
|
||
Hi Michael,
Aviary is build by Xoriant and will be maintained by Xoriant. Legal team is in the process of finalizing the maintenance agreement with Xoriant which will include the maintenance of the Aviary app as well.
Thanks,
Didem
Flags: needinfo?(dersoz)
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•