I have added to local.conf, in IMAGE_INSTALL_append, the package packagegroup-fsl-gstreamer-full.
Adding that package the error has changed; now there is an out of memory error.
/usr/share/qt5/examples/multimediawidgets/camera/camera
Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
** (camera:1080): CRITICAL **: gst_photography_set_focus_mode: assertion 'photo != NULL' failed
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
Unable to find an X11 visual which matches EGL config 1
camera invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0
CPU: 1 PID: 1080 Comm: camera Not tainted 3.10.53-1.1.0_ga+g496fbe0 #1
[<80013b00>] (unwind_backtrace+0x0/0xf4) from [<80011524>] (show_stack+0x10/0x14
)
[<80011524>] (show_stack+0x10/0x14) from [<8067eb98>] (dump_header.isra.10+0x68/
0x188)
[<8067eb98>] (dump_header.isra.10+0x68/0x188) from [<80093288>] (oom_kill_proces
s+0x268/0x3b8)
[<80093288>] (oom_kill_process+0x268/0x3b8) from [<80093850>] (out_of_memory+0x2
ac/0x2d8)
[<80093850>] (out_of_memory+0x2ac/0x2d8) from [<800976fc>] (__alloc_pages_nodema
sk+0x858/0x89c)
[<800976fc>] (__alloc_pages_nodemask+0x858/0x89c) from [<800af574>] (handle_pte_
fault+0x550/0x74c)
[<800af574>] (handle_pte_fault+0x550/0x74c) from [<800af828>] (handle_mm_fault+0
xb8/0x100)
[<800af828>] (handle_mm_fault+0xb8/0x100) from [<8001860c>] (do_page_fault+0x208
/0x390)
[<8001860c>] (do_page_fault+0x208/0x390) from [<80008394>] (do_DataAbort+0x38/0x
98)
[<80008394>] (do_DataAbort+0x38/0x98) from [<8000ddf4>] (__dabt_usr+0x34/0x40)
Exception stack(0xa837bfb0 to 0xa837bff8)
bfa0: 00000419 00000000 00000df1 328ebe00
bfc0: 7611f4dc 328ec210 328ebe00 00000428 7611f50c 00000001 00001208 00000083
bfe0: 00000419 7ea41210 7605f77c 7605eb88 60000010 ffffffff
Mem-info:
DMA per-cpu:
CPU 0: hi: 186, btch: 31 usd: 94
CPU 1: hi: 186, btch: 31 usd: 17
CPU 2: hi: 186, btch: 31 usd: 172
CPU 3: hi: 186, btch: 31 usd: 77
active_anon:210210 inactive_anon:284 isolated_anon:0
active_file:36 inactive_file:0 isolated_file:0
unevictable:0 dirty:0 writeback:0 unstable:0
free:856 slab_reclaimable:827 slab_unreclaimable:2068
mapped:274 shmem:323 pagetables:807 bounce:0
free_cma:0
DMA free:3500kB min:3336kB low:4168kB high:5004kB active_anon:840840kB inactive_
anon:1136kB active_file:108kB inactive_file:196kB unevictable:0kB isolated(anon)
:0kB isolated(file):0kB present:1048576kB managed:697156kB mlocked:0kB dirty:0kB
writeback:0kB mapped:1096kB shmem:1292kB slab_reclaimable:3308kB slab_unreclaim
able:8272kB kernel_stack:1504kB pagetables:3228kB unstable:0kB bounce:0kB free_c
ma:0kB writeback_tmp:0kB pages_scanned:491 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
DMA: 13*4kB (MR) 10*8kB (MR) 3*16kB (R) 4*32kB (R) 0*64kB 1*128kB (R) 0*256kB 0*
512kB 1*1024kB (R) 1*2048kB (R) 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 3508kB
443 total pagecache pages
0 pages in swap cache
Swap cache stats: add 0, delete 0, find 0/0
Free swap = 0kB
Total swap = 0kB
262144 pages of RAM
1472 free pages
7038 reserved pages
1658 slab pages
264686 pages shared
0 pages swap cached
[ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
[ 208] 0 208 753 108 6 0 -1000 udevd
[ 329] 0 329 816 148 6 0 -1000 udevd
[ 330] 0 330 750 105 6 0 -1000 udevd
[ 783] 0 783 670 54 5 0 0 S01xserver-
nodm
[ 806] 0 806 758 22 5 0 0 xinit
[ 807] 996 807 734 73 5 0 0 dbus-daemon
[ 809] 0 809 41147 1182 83 0 0 Xorg
[ 811] 0 811 1400 88 6 0 0 connmand
[ 816] 0 816 565 23 4 0 0 dropbear
[ 821] 0 821 1252 38 6 0 0 wpa_supplic
antbefore the out of memory error
[ 824] 999 824 599 47 5 0 0 rpcbind
[ 835] 997 835 486 30 5 0 0 rpc.statd
[ 847] 0 847 549 13 4 0 0 syslogd
[ 850] 0 850 549 16 4 0 0 klogd
[ 856] 998 856 825 50 5 0 0 avahi-daemo
n
[ 857] 998 857 825 45 5 0 0 avahi-daemo
n
[ 868] 0 868 1113 81 6 0 0 ofonod
[ 876] 0 876 974 31 5 0 0 oprofile-se
rver
[ 878] 0 878 779 23 5 0 0 autohdmi
[ 885] 0 885 654 36 5 0 0 rc_mxc.S
[ 886] 0 886 550 14 5 0 0 getty
[ 888] 0 888 750 66 5 0 0 sh
[ 890] 0 890 1649 186 6 0 0 matchbox-wi
ndow
[ 894] 0 894 841 54 5 0 0 dbus-launch
[ 895] 0 895 701 42 5 0 0 dbus-daemon
[ 910] 0 910 656 41 5 0 0 Xsession
[ 919] 0 919 5581 268 15 0 0 connman-app
let
[ 950] 0 950 5918 607 15 0 0 matchbox-de
skto
[ 951] 0 951 5829 405 15 0 0 matchbox-pa
nel
[ 955] 0 955 23716 338 14 0 0 pulseaudio
[ 957] 0 957 1506 70 7 0 0 gconfd-2
[ 958] 0 958 3788 188 11 0 0 settings-da
emon
[ 963] 0 963 4191 185 12 0 0 console-kit
-dae
[ 1027] 0 1027 1427 105 7 0 0 matchbox-ke
yboa
[ 1080] 0 1080 263662 205749 500 0 0 camera
Out of memory: Kill process 1080 (camera) score 780 or sacrifice child
Killed process 1080 (camera) total-vm:1054648kB, anon-rss:822700kB, file-rss:296
kB
Killed
If I run the camera example with strace, I see before the out of memory error a lot of lines like the followig one:
ioctl(16, VIDIOC_ENUMSTD, 0x7ed0b5d0) = 0
It looks like an infinite loop.
Any idea ?
Thanks