AnsweredAssumed Answered

mplayer crashed in 2011R1 in second run

Question asked by karthikeyan on May 25, 2012
Latest reply on Jun 8, 2012 by sonic

Hi,

   We are using a BF527 based platform. We are running 2011r1 uClinux distro and toolchain. We tried to run the mplayer for the second time and it crashed . The following is the log. Actually there is enough space in the ram (free command is executed at last) still the loading of mplayer fails. For the first time it worked well. But the subsequent call crashed. Any idea why its crashing eventhough there is enough memory?

 

 

 

root:/>mplayer /mnt/sdcard/apps/Pep.mpg -really-quiet -framedrop

warn_alloc_failed: 28 callbacks suppressed

mplayer: page allocation failure: order:11, mode:0xd0

Hardware Trace:

   0 Target : <0x0020a48c> { _dump_stack + 0x0 }

Source : <0x0003b7c2> { _warn_alloc_failed + 0x7a } JUMP.L

   1 Target : <0x0003b7c2> { _warn_alloc_failed + 0x7a }

Source : <0x0020a660> { _printk + 0x14 } RTS

   2 Target : <0x0020a65c> { _printk + 0x10 }

Source : <0x00011768> { _vprintk + 0x164 } RTS

   3 Target : <0x0001175c> { _vprintk + 0x158 }

Source : <0xffa00c58> { __common_int_entry + 0xcc } RTI

   4 Target : <0xffa00bf6> { __common_int_entry + 0x6a }

Source : <0xffa00a40> { _return_from_int + 0x58 } RTS

   5 Target : <0xffa00a40> { _return_from_int + 0x58 }

Source : <0xffa00a16> { _return_from_int + 0x2e } IF !CC JUMP pcrel

   6 Target : <0xffa009e8> { _return_from_int + 0x0 }

Source : <0xffa00bf2> { __common_int_entry + 0x66 } JUMP.L

   7 Target : <0xffa00bf0> { __common_int_entry + 0x64 }

Source : <0xffa00340> { _asm_do_IRQ + 0x60 } RTS

   8 Target : <0xffa00338> { _asm_do_IRQ + 0x58 }

Source : <0x00014d10> { ___local_bh_enable + 0x38 } RTS

   9 Target : <0x00014cd8> { ___local_bh_enable + 0x0 }

Source : <0x000153c6> { ___do_softirq + 0xc6 } JUMP.L

  10 Target : <0x000153ba> { ___do_softirq + 0xba }

Source : <0x0001539e> { ___do_softirq + 0x9e } IF CC JUMP pcrel

  11 Target : <0x00015388> { ___do_softirq + 0x88 }

Source : <0x00035b22> { _rcu_bh_qs + 0x5e } RTS

  12 Target : <0x00035b08> { _rcu_bh_qs + 0x44 }

Source : <0x00035adc> { _rcu_bh_qs + 0x18 } IF CC JUMP pcrel

  13 Target : <0x00035ac4> { _rcu_bh_qs + 0x0 }

Source : <0x00015384> { ___do_softirq + 0x84 } CALL pcrel

  14 Target : <0x0001537c> { ___do_softirq + 0x7c }

Source : <0x00019252> { _run_timer_softirq + 0xc6 } RTS

  15 Target : <0x000191a4> { _run_timer_softirq + 0x18 }

Source : <0x00026540> { _hrtimer_run_pending + 0x0 } RTS

Stack info:

SP: [0x020abc0c] <0x020abc0c> /* kernel dynamic memory */

Memory from 0x020abc00 to 020ac000

020abc00: 00000000  020abc0c  00000001 [0000001c] 0003b7c6  00000000  000000d0  00000010

020abc20: 003481e4  0000000b  000000d0  0003bb1a  00000000  000000d0  00000001  00000001

020abc40: 000000d0  00000000  0000000b  002ef8a0  00000001  00000040  002eee8c  00000000

020abc60: 020aa008  020aa000  020aa008  020aa000  00000040  020aa000  01fff040  000200d0

020abc80: 00000000  00000800  00000004  00000004  00000040  00000000  00000040  002eee8c

020abca0: 00000000  00000000  002eee8c  002eee8c  02dfb3a0  00045c54  00000000  00ced284

020abcc0: 02a4eab4  0000000b  00000484  00000000  00000004  00000010  0000000b  010abd14

020abce0: 00000000  00000000  00000000  00000484  00484000  00000484  000080d0  0000ffff

020abd00: 00000000  00070412  00d3f840  00e00864  020abe10  00000005  00001802  02a4c80c

020abd20: 00000000  000486c2  00000007  0203aca0  00000005  00001802  00000000  0004e3d2

020abd40: 00e00860  0201de04  00000000  00000002  00000000  02dfb420  00000000  00d3fc00

020abd60: 000707ee  020aa000  02dfb420  020abdb4  00020000  00e04d00  00000090  00000001

020abd80: ffffffff  02dfb3a0  02a4c7e0  002696dc  00000080  002eee8c  02dfb420  0003b8d4

020abda0: 00000000  002ef8a0  002ef8a4  000280d2  00e04d00  464c457f  00010101  00000000

020abdc0: 00000000  006a0003  00000001  00000c40  00000034  00004d4c  00000002  00200034

020abde0: 00280004  000d000e  0221f220  00000000  00000000  00000000  00000000  00000000

020abe00: 00020000  00000000  00000000  80000020  464c457f  00010101  00000000  00000000

020abe20: 006a0002  00000001  00028100  00000034  004e5254  00000002  00200034  0028000a

020abe40: 001c001d  00d3f800  00e00860  00000000  00000000  00000000  00000000  00020000

020abe60: 00000000  00000000  80000060  00d3fc02 <0004db70> 002d5e70  002d5b7c  00d3fc00

020abe80: fffffff8  00000000  00000000  020abf24  00f7c4a0  020abf24  0001f000  00d1fbcc

020abea0: 0004e832  00cac66c  00cacba8  00d21808  00000000  00d3fc00  02219000  00000001

020abec0: 00001000  00cacba8  00d3fc00  00000000  0000194a  00001914  0000000b  02219000

020abee0: 00cacba8  00cac66c  00cefff7  00000000  00000000  00384007  020abf24 <ffa008a2>

020abf00: 00000000  ffffe000  00ceffee  00ceffee  00fff040  00348040  c0000000  00cefff7

020abf20: 00ceffee  0030ea0e  00008000  00000000  00000000  020ac000  0030ea0e  0030ea0e

020abf40: 003337b0  ffa00fb0  02000000  00330857  0032157d  0033084c  0032157a  00000000

020abf60: 00000000  00000000  00000000  00000000  00000000  00000000  7ffff000  000000c0

020abf80: 00000137  00000000  00000000  00000000  00000000  0000005b  00001802  00000001

020abfa0: fffffffc  00000007  00000003  00d21808  00d1ffdb  00d1fbc0  00d1fbcc  00d1ffe3

020abfc0: 00d21808  00d21808  00d23c8c  00312c84  0000000b  00000009  00d1ffdb  00ceffee

020abfe0: 00cefff7  c0000000  00cac66c  00cacba8  00ceffee  00ceffee  0000000b  00000006

Return addresses in stack:

address : <0x0004db70> { _search_binary_handler + 0x58 }
root:/>mplayer /mnt/sdcard/apps/Pep.mpg -really-quiet -framedrop

warn_alloc_failed: 28 callbacks suppressed

mplayer: page allocation failure: order:11, mode:0xd0

Hardware Trace:

   0 Target : <0x0020a48c> { _dump_stack + 0x0 }

Source : <0x0003b7c2> { _warn_alloc_failed + 0x7a } JUMP.L

   1 Target : <0x0003b7c2> { _warn_alloc_failed + 0x7a }

Source : <0x0020a660> { _printk + 0x14 } RTS

   2 Target : <0x0020a65c> { _printk + 0x10 }

Source : <0x00011768> { _vprintk + 0x164 } RTS

   3 Target : <0x0001175c> { _vprintk + 0x158 }

Source : <0xffa00c58> { __common_int_entry + 0xcc } RTI

   4 Target : <0xffa00bf6> { __common_int_entry + 0x6a }

Source : <0xffa00a40> { _return_from_int + 0x58 } RTS

   5 Target : <0xffa00a40> { _return_from_int + 0x58 }

Source : <0xffa00a16> { _return_from_int + 0x2e } IF !CC JUMP pcrel

   6 Target : <0xffa009e8> { _return_from_int + 0x0 }

Source : <0xffa00bf2> { __common_int_entry + 0x66 } JUMP.L

   7 Target : <0xffa00bf0> { __common_int_entry + 0x64 }

Source : <0xffa00340> { _asm_do_IRQ + 0x60 } RTS

   8 Target : <0xffa00338> { _asm_do_IRQ + 0x58 }

Source : <0x00014d10> { ___local_bh_enable + 0x38 } RTS

   9 Target : <0x00014cd8> { ___local_bh_enable + 0x0 }

Source : <0x000153c6> { ___do_softirq + 0xc6 } JUMP.L

  10 Target : <0x000153ba> { ___do_softirq + 0xba }

Source : <0x0001539e> { ___do_softirq + 0x9e } IF CC JUMP pcrel

  11 Target : <0x00015388> { ___do_softirq + 0x88 }

Source : <0x00035b22> { _rcu_bh_qs + 0x5e } RTS

  12 Target : <0x00035b08> { _rcu_bh_qs + 0x44 }

Source : <0x00035adc> { _rcu_bh_qs + 0x18 } IF CC JUMP pcrel

  13 Target : <0x00035ac4> { _rcu_bh_qs + 0x0 }

Source : <0x00015384> { ___do_softirq + 0x84 } CALL pcrel

  14 Target : <0x0001537c> { ___do_softirq + 0x7c }

Source : <0x00019252> { _run_timer_softirq + 0xc6 } RTS

  15 Target : <0x000191a4> { _run_timer_softirq + 0x18 }

Source : <0x00026540> { _hrtimer_run_pending + 0x0 } RTS

Stack info:

SP: [0x020abc0c] <0x020abc0c> /* kernel dynamic memory */

Memory from 0x020abc00 to 020ac000

020abc00: 00000000  020abc0c  00000001 [0000001c] 0003b7c6  00000000  000000d0  00000010

020abc20: 003481e4  0000000b  000000d0  0003bb1a  00000000  000000d0  00000001  00000001

020abc40: 000000d0  00000000  0000000b  002ef8a0  00000001  00000040  002eee8c  00000000

020abc60: 020aa008  020aa000  020aa008  020aa000  00000040  020aa000  01fff040  000200d0

020abc80: 00000000  00000800  00000004  00000004  00000040  00000000  00000040  002eee8c

020abca0: 00000000  00000000  002eee8c  002eee8c  02dfb3a0  00045c54  00000000  00ced284

020abcc0: 02a4eab4  0000000b  00000484  00000000  00000004  00000010  0000000b  010abd14

020abce0: 00000000  00000000  00000000  00000484  00484000  00000484  000080d0  0000ffff

020abd00: 00000000  00070412  00d3f840  00e00864  020abe10  00000005  00001802  02a4c80c

020abd20: 00000000  000486c2  00000007  0203aca0  00000005  00001802  00000000  0004e3d2

020abd40: 00e00860  0201de04  00000000  00000002  00000000  02dfb420  00000000  00d3fc00

020abd60: 000707ee  020aa000  02dfb420  020abdb4  00020000  00e04d00  00000090  00000001

020abd80: ffffffff  02dfb3a0  02a4c7e0  002696dc  00000080  002eee8c  02dfb420  0003b8d4

020abda0: 00000000  002ef8a0  002ef8a4  000280d2  00e04d00  464c457f  00010101  00000000

020abdc0: 00000000  006a0003  00000001  00000c40  00000034  00004d4c  00000002  00200034

020abde0: 00280004  000d000e  0221f220  00000000  00000000  00000000  00000000  00000000

020abe00: 00020000  00000000  00000000  80000020  464c457f  00010101  00000000  00000000

020abe20: 006a0002  00000001  00028100  00000034  004e5254  00000002  00200034  0028000a

020abe40: 001c001d  00d3f800  00e00860  00000000  00000000  00000000  00000000  00020000

020abe60: 00000000  00000000  80000060  00d3fc02 <0004db70> 002d5e70  002d5b7c  00d3fc00

020abe80: fffffff8  00000000  00000000  020abf24  00f7c4a0  020abf24  0001f000  00d1fbcc

020abea0: 0004e832  00cac66c  00cacba8  00d21808  00000000  00d3fc00  02219000  00000001

020abec0: 00001000  00cacba8  00d3fc00  00000000  0000194a  00001914  0000000b  02219000

020abee0: 00cacba8  00cac66c  00cefff7  00000000  00000000  00384007  020abf24 <ffa008a2>

020abf00: 00000000  ffffe000  00ceffee  00ceffee  00fff040  00348040  c0000000  00cefff7

020abf20: 00ceffee  0030ea0e  00008000  00000000  00000000  020ac000  0030ea0e  0030ea0e

020abf40: 003337b0  ffa00fb0  02000000  00330857  0032157d  0033084c  0032157a  00000000

020abf60: 00000000  00000000  00000000  00000000  00000000  00000000  7ffff000  000000c0

020abf80: 00000137  00000000  00000000  00000000  00000000  0000005b  00001802  00000001

020abfa0: fffffffc  00000007  00000003  00d21808  00d1ffdb  00d1fbc0  00d1fbcc  00d1ffe3

020abfc0: 00d21808  00d21808  00d23c8c  00312c84  0000000b  00000009  00d1ffdb  00ceffee

020abfe0: 00cefff7  c0000000  00cac66c  00cacba8  00ceffee  00ceffee  0000000b  00000006

Return addresses in stack:

address : <0x0004db70> { _search_binary_handler + 0x58 }
address : <0xffa008a2> { _system_call + 0x6a }

Mem-Info:

DMA per-cpu:

CPU0: hi:0, btch:   1 usd:   0

active_anon:0 inactive_anon:0 isolated_anon:0

active_file:0 inactive_file:4 isolated_file:0

unevictable:3496 dirty:0 writeback:0 unstable:0

free:10135 slab_reclaimable:332 slab_unreclaimable:430

mapped:0 shmem:0 pagetables:0 bounce:0

DMA free:40540kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:16kB unevictable:13984kB isolated(anon):s

lowmem_reserve[]: 0 0 0

DMA: 9*4kB 11*8kB 14*16kB 16*32kB 16*64kB 16*128kB 9*256kB 7*512kB 4*1024kB 5*2048kB 2*4096kB 1*8192kB 0*16384kB 0*32768kB = 40540kB

3501 total pagecache pages

16128 pages RAM

906 pages reserved

5 pages shared

5041 pages non-shared

Allocation of length 4734976 from process 933 (mplayer) failed

DMA per-cpu:

CPU0: hi:0, btch:   1 usd:   0

active_anon:0 inactive_anon:0 isolated_anon:0

active_file:0 inactive_file:4 isolated_file:0

unevictable:3496 dirty:0 writeback:0 unstable:0

free:10135 slab_reclaimable:332 slab_unreclaimable:430

mapped:0 shmem:0 pagetables:0 bounce:0

DMA free:40540kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:16kB unevictable:13984kB isolated(anon):s

lowmem_reserve[]: 0 0 0

DMA: 9*4kB 11*8kB 14*16kB 16*32kB 16*64kB 16*128kB 9*256kB 7*512kB 4*1024kB 5*2048kB 2*4096kB 1*8192kB 0*16384kB 0*32768kB = 40540kB

3501 total pagecache pages

SEGV

root:/> free

         total     used     free   shared  buffers
Mem:     60888    20556    40332        0       16
-/+ buffers:          20540    40348
address : <0xffa008a2> { _system_call + 0x6a }

Mem-Info:

DMA per-cpu:

CPU0: hi:0, btch:   1 usd:   0

active_anon:0 inactive_anon:0 isolated_anon:0

active_file:0 inactive_file:4 isolated_file:0

unevictable:3496 dirty:0 writeback:0 unstable:0

free:10135 slab_reclaimable:332 slab_unreclaimable:430

mapped:0 shmem:0 pagetables:0 bounce:0

DMA free:40540kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:16kB unevictable:13984kB isolated(anon):s

lowmem_reserve[]: 0 0 0

DMA: 9*4kB 11*8kB 14*16kB 16*32kB 16*64kB 16*128kB 9*256kB 7*512kB 4*1024kB 5*2048kB 2*4096kB 1*8192kB 0*16384kB 0*32768kB = 40540kB

3501 total pagecache pages

16128 pages RAM

906 pages reserved

5 pages shared

5041 pages non-shared

Allocation of length 4734976 from process 933 (mplayer) failed

DMA per-cpu:

CPU0: hi:0, btch:   1 usd:   0

active_anon:0 inactive_anon:0 isolated_anon:0

active_file:0 inactive_file:4 isolated_file:0

unevictable:3496 dirty:0 writeback:0 unstable:0

free:10135 slab_reclaimable:332 slab_unreclaimable:430

mapped:0 shmem:0 pagetables:0 bounce:0

DMA free:40540kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:16kB unevictable:13984kB isolated(anon):s

lowmem_reserve[]: 0 0 0

DMA: 9*4kB 11*8kB 14*16kB 16*32kB 16*64kB 16*128kB 9*256kB 7*512kB 4*1024kB 5*2048kB 2*4096kB 1*8192kB 0*16384kB 0*32768kB = 40540kB

3501 total pagecache pages

SEGV

root:/> free

         total     used     free   shared  buffers
Mem:     60888    20556    40332        0       16
-/+ buffers:          20540    40348

Outcomes