Andre87
Posts: 2
Joined: Fri Aug 18, 2017 9:35 am

raspistill GL scene yuv crashes Pi - please assist verification

Fri Aug 18, 2017 10:51 am

Hi Folks,

I have a RPi Zero W with an OV5647 sensor (RPi Camera (G) from Waveshare).
Running

Code: Select all

raspisill -t 10000 -g -gs yuv
gives me an image with RGB and Y quadrants looking right, but U and V seem like memory noise. After the first image, the preview is no longer updated and sometimes even the whole Pi crashes. I need to power-cycle it to get the camera back online.
Surprisingly

Code: Select all

raspisill -t 10000 -g -gs sobel
just runs fine. So, camera, Pi, OpenGL all seem fine. Only the U and V images do not work properly.

Could anybody with Pi+Camera check if it works with your setup? Somebody has an idea what is going wrong?

I just used a freshly installed Raspbian Lite and also did update, dist-upgrade, rpi-update.
Here is a bunch of system and error logs:

Code: Select all

pi@raspberrypi:~ $ vcgencmd get_mem arm
arm=384M

pi@raspberrypi:~ $ vcgencmd get_mem gpu
gpu=128M

pi@raspberrypi:~ $ vcgencmd get_camera
supported=1 detected=1

pi@raspberrypi:~ $ vcgencmd version
Aug  8 2017 12:05:45
Copyright (c) 2012 Broadcom
version 196063438d7bb0769861c86f948ae653727adb7e (clean) (release)

pi@raspberrypi:~ $ raspistill -d -v

raspistill Camera App v1.3.11

Width 2592, Height 1944, quality 85, filename (null)
Time delay 5000, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Link to latest frame enabled  no
Full resolution preview No
Capture method : Single capture

Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
Camera component done
Encoder component done
Starting component connection stage
Connecting camera preview port to video render.
Connecting camera stills port to encoder input port
Closing down
Close down completed, all components disconnected, disabled and destroyed

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.9.43+ #1026 Wed Aug 16 22:26:02 BST 2017 armv6l GNU/Linux

Code: Select all

pi@raspberrypi:~ $ sudo vcdbg log assert
334035.848: assert( (uint32_t)handle < g_mgr.num_handles ) failed; ../../../../../vcfw/rtos/common/rtos_common_mem.c::get_header line 869 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334035.911: assert( is_aligned_32(g_mgr.handles[handle].header) ) failed; ../../../../../vcfw/rtos/common/rtos_common_mem.c::get_header line 872 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334035.972: assert( h && h->ref_count != 0 ) failed; ../../../../../vcfw/rtos/common/rtos_common_mem.c::mem_release line 4140 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334036.033: assert( (uint32_t)handle < g_mgr.num_handles ) failed; ../../../../../vcfw/rtos/common/rtos_common_mem.c::get_header line 869 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334036.078: assert( h && h->ref_count != 0 ) failed; ../../../../../vcfw/rtos/common/rtos_common_mem.c::mem_release line 4140 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334036.119: assert( (uint32_t)handle < g_mgr.num_handles ) failed; ../../../../../vcfw/rtos/common/rtos_common_mem.c::get_header line 869 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334036.179: assert( is_aligned_32(g_mgr.handles[handle].header) ) failed; ../../../../../vcfw/rtos/common/rtos_common_mem.c::get_header line 872 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334036.240: assert( h && h->ref_count != 0 ) failed; ../../../../../vcfw/rtos/common/rtos_common_mem.c::mem_release line 4140 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334036.450: assert( _count(interlock->users) == 2 ) failed; ../../../../../middleware/khronos/common/khrn_interlock.c::khrn_interlock_read line 74 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334036.492: assert( _count(user) == 1 ) failed; ../../../../../middleware/khronos/common/2708/khrn_interlock_4.c::khrn_interlock_flush line 174 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334036.550: assert( 0 ) failed; ../../../../../middleware/khronos/common/2708/khrn_render_state_4.c::khrn_render_state_flush line 223 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------
334036.592: assert( !interlock->users ) failed; ../../../../../middleware/khronos/common/khrn_interlock.c::khrn_interlock_read line 76 rev 1960634
vcdbg_ctx_get_dump_stack: dump_stack failed
----------------

Code: Select all

pi@raspberrypi:~ $ sudo vcdbg malloc
Pool 0x9f7fa9d8 (1f00a798)
Malloc pool size=34K (pool=0x1f7fa9d8-0x1f8032ac)
0x1f7fa9f0 = hole(34K)
Malloced:0 Remaining:34K Failed allocs:0
Malloc pool size=49K (pool=0x1f7ee5f8-0x1f7fa8cc)
0x1f7ee610 = hole(49K)
Malloced:0 Remaining:49K Failed allocs:0
Malloc pool size=98K (pool=0x1f7d5c38-0x1f7ee4ec)
0x1f7d5c60 = malloc(16K)  [fx_legacy_scratch_hi]
0x1f7d9c80 = malloc(16K)  [fx_legacy_scratch_lo]
0x1f7ddc90 = hole(66K)
Malloced:32K Remaining:66K Failed allocs:0
Malloc pool size=42K (pool=0x1f7cb5f8-0x1f7d5b2c)
0x1f7cb620 = malloc(560)  [Video SW Denoise State]
0x1f7cb880 = malloc(8.8K) [brcm drc handle]
0x1f7cdbe0 = malloc(96)   [fx_legacy handle]
0x1f7cdc60 = malloc(14K)  [Annotate state]
0x1f7d1500 = malloc(4.4K) [stabilise state]
0x1f7d26d0 = hole(13K)
Malloced:28K Remaining:13K Failed allocs:0
Malloc pool size=1000 (pool=0x1f736cd8-0x1f736fec)
0x1f736cf0 = hole(764)
Malloced:0 Remaining:772 Failed allocs:0
Malloc pool size=9.7M (pool=0x1f5d97d8-0x1ff7ff2c)
0x1f5d9800 = malloc(128K) [call from 0x1eeb7d2c]
0x1f5f9820 = malloc(56)   [call from 0x1ee44a74]
0x1f5fa000 = malloc(138K) [call from 0x1eca54c0]
0x1f61d1a0 = malloc(512)  [v3d_gfxh16_thre]
0x1f61d3c0 = malloc(7.3K) [dma_transfer_xfers]
0x1f61f0e0 = malloc(7.0K) [Gencmd service state]
0x1f620d20 = malloc(180)  [vcos_cmd_entries]
0x1f620e00 = malloc(4.0K) [reaper]
0x1f621e20 = malloc(8.0K) [call from 0x1ef78e04]
0x1f623e40 = malloc(100)  [call from 0x1ef78e20]
0x1f623ee0 = malloc(3.3K) [call from 0x1ec911f8]
0x1f624c60 = malloc(32K)  [call from 0x1ed37418]
0x1f62cc80 = malloc(512)  [call from 0x1ede8a96]
0x1f62cea0 = malloc(3.3K) [call from 0x1ec911f8]
0x1f62dc20 = malloc(3.3K) [call from 0x1ec911f8]
0x1f62e9a0 = malloc(272)  [call from 0x1ed37738]
0x1f62eae0 = malloc(272)  [call from 0x1ed37738]
0x1f62ec20 = malloc(272)  [call from 0x1ed37738]
0x1f62ed60 = malloc(272)  [call from 0x1ed37738]
0x1f62eea0 = malloc(272)  [call from 0x1ed37738]
0x1f62efe0 = malloc(272)  [call from 0x1ed37738]
0x1f62f120 = malloc(272)  [call from 0x1ed37738]
0x1f62f260 = malloc(272)  [call from 0x1ed37738]
0x1f62f3a0 = malloc(272)  [call from 0x1ed37738]
0x1f62f4e0 = malloc(272)  [call from 0x1ed37738]
0x1f62f620 = malloc(272)  [call from 0x1ed37738]
0x1f62f760 = malloc(272)  [call from 0x1ed37738]
0x1f62f8a0 = malloc(272)  [call from 0x1ed37738]
0x1f62f9e0 = malloc(272)  [call from 0x1ed37738]
0x1f62fb20 = malloc(272)  [call from 0x1ed37738]
0x1f62fc60 = malloc(272)  [call from 0x1ed37738]
0x1f62fda0 = malloc(272)  [call from 0x1ed37738]
0x1f62fee0 = malloc(272)  [call from 0x1ed37738]
0x1f630020 = malloc(272)  [call from 0x1ed37738]
0x1f630160 = malloc(272)  [call from 0x1ed37738]
0x1f6302a0 = malloc(272)  [call from 0x1ed37738]
0x1f6303e0 = malloc(272)  [call from 0x1ed37738]
0x1f630520 = malloc(272)  [call from 0x1ed37738]
0x1f630660 = malloc(272)  [call from 0x1ed37738]
0x1f6307a0 = malloc(272)  [call from 0x1ed37738]
0x1f6308e0 = malloc(272)  [call from 0x1ed37738]
0x1f630a20 = malloc(272)  [call from 0x1ed37738]
0x1f630b60 = malloc(272)  [call from 0x1ed37738]
0x1f630ca0 = malloc(272)  [call from 0x1ed37738]
0x1f630de0 = malloc(272)  [call from 0x1ed37738]
0x1f630f20 = malloc(272)  [call from 0x1ed37738]
0x1f631060 = malloc(272)  [call from 0x1ed37738]
0x1f6311a0 = malloc(272)  [call from 0x1ed37738]
0x1f6312e0 = malloc(272)  [call from 0x1ed37738]
0x1f631420 = malloc(272)  [call from 0x1ed37738]
0x1f631560 = malloc(272)  [call from 0x1ed37738]
0x1f6316a0 = malloc(272)  [call from 0x1ed37738]
0x1f6317e0 = malloc(272)  [call from 0x1ed37738]
0x1f631920 = malloc(272)  [call from 0x1ed37738]
0x1f631a60 = malloc(272)  [call from 0x1ed37738]
0x1f631ba0 = malloc(272)  [call from 0x1ed37738]
0x1f631ce0 = malloc(272)  [call from 0x1ed37738]
0x1f631e20 = malloc(272)  [call from 0x1ed37738]
0x1f631f60 = malloc(272)  [call from 0x1ed37738]
0x1f6320a0 = malloc(272)  [call from 0x1ed37738]
0x1f6321e0 = malloc(272)  [call from 0x1ed37738]
0x1f632320 = malloc(272)  [call from 0x1ed37738]
0x1f632460 = malloc(272)  [call from 0x1ed37738]
0x1f6325a0 = malloc(272)  [call from 0x1ed37738]
0x1f6326e0 = malloc(272)  [call from 0x1ed37738]
0x1f632820 = malloc(512)  [call from 0x1ec661e2]
0x1f632a40 = malloc(16K)  [call from 0x1ec66214]
0x1f636a60 = malloc(4.0K) [call from 0x1ec66270]
0x1f637a80 = malloc(4.0K) [call from 0x1edbec4c]
0x1f638aa0 = malloc(4.0K) [call from 0x1edbecb2]
0x1f639ac0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639b20 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639b80 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639be0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639c40 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639ca0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639d00 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639d60 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639dc0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639e20 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639e80 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639ee0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639f40 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f639fa0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a000 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a060 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a0c0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a120 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a180 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a1e0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a240 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a2a0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a300 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a360 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a3c0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a420 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a480 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a4e0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a540 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a5a0 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a600 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a660 = malloc(60)   [GPIOMAN_DEFINE_T]
0x1f63a6c0 = malloc(8)    [call from 0x1ec90540]
0x1f63a700 = malloc(4.0K) [powerman]
0x1f63b720 = malloc(3.0K) [call from 0x1ed011da]
0x1f63c340 = malloc(356K) [call from 0x1ed01210]
0x1f695360 = malloc(356K) [call from 0x1ed0124a]
0x1f6ee380 = malloc(66K)  [call from 0x1ed0128c]
0x1f6feb60 = malloc(1.1K) [call from 0x1ef15600]
0x1f6fefe0 = malloc(16K)  [call from 0x1ec84104]
0x1f703000 = malloc(16K)  [mbox_read]
0x1f707020 = malloc(4.0K) [display_update]
0x1f708040 = malloc(4.0K) [temp_check]
0x1f709060 = malloc(16K)  [vchiq dma_xfer]
0x1f70d120 = malloc(16K)  [vchiq dma_xfer]
0x1f7111e0 = malloc(16K)  [vchiq dma_xfer]
0x1f7152a0 = malloc(16K)  [vchiq dma_xfer]
0x1f719360 = malloc(8.0K) [VCHIQ-0]
0x1f71b380 = malloc(8.0K) [VCHIQr-0]
0x1f71d3a0 = malloc(8.0K) [VCHIQs-0]
0x1f71f3c0 = malloc(56)   [imageconv stats]
0x1f71f420 = malloc(36)   [vchiq_shim]
0x1f71f480 = malloc(256)  [vchiu_queue_init]
0x1f71f5a0 = malloc(476)  [VCHIQ service]
0x1f71f7a0 = malloc(36)   [vchiq_shim]
0x1f71f800 = malloc(256)  [vchiu_queue_init]
0x1f71f920 = malloc(476)  [VCHIQ service]
0x1f71fb20 = malloc(36)   [vchiq_shim]
0x1f71fb80 = malloc(256)  [vchiu_queue_init]
0x1f71fca0 = malloc(476)  [VCHIQ service]
0x1f71fea0 = malloc(36)   [vchiq_shim]
0x1f71ff00 = malloc(256)  [vchiu_queue_init]
0x1f720020 = malloc(476)  [VCHIQ service]
0x1f720220 = malloc(36)   [vchiq_shim]
0x1f720280 = malloc(256)  [vchiu_queue_init]
0x1f7203a0 = malloc(476)  [VCHIQ service]
0x1f7205a0 = malloc(36)   [vchiq_shim]
0x1f720600 = malloc(256)  [vchiu_queue_init]
0x1f720720 = malloc(476)  [VCHIQ service]
0x1f720920 = malloc(36)   [vchiq_shim]
0x1f720980 = malloc(256)  [vchiu_queue_init]
0x1f720aa0 = malloc(476)  [VCHIQ service]
0x1f720ca0 = malloc(36)   [vchiq_shim]
0x1f720d00 = malloc(256)  [vchiu_queue_init]
0x1f720e20 = malloc(476)  [VCHIQ service]
0x1f721020 = malloc(2.0K) [call from 0x1ef78e04]
0x1f721820 = malloc(100)  [call from 0x1ef78e20]
0x1f7218c0 = malloc(4.0K) [GCMD_V]
0x1f7228e0 = malloc(2.0K) [HAUDVCHI]
0x1f723100 = malloc(36)   [vchiq_shim]
0x1f723160 = malloc(256)  [vchiu_queue_init]
0x1f723280 = malloc(476)  [VCHIQ service]
0x1f723480 = malloc(37K)  [ILCS State]
0x1f72c780 = malloc(1.0K) [vchiu_queue_init]
0x1f72cba0 = malloc(476)  [VCHIQ service]
0x1f72cda0 = malloc(52)   [ILCS_VC_COMMON]
0x1f72ce00 = malloc(4.0K) [ILCS_VC]
0x1f72de20 = malloc(3.0K) [call from 0x1ef2547e]
0x1f72ea40 = malloc(36)   [vchiq_shim]
0x1f72eaa0 = malloc(256)  [vchiu_queue_init]
0x1f72ebc0 = malloc(476)  [VCHIQ service]
0x1f72edc0 = malloc(36)   [vchiq_shim]
0x1f72ee20 = malloc(256)  [vchiu_queue_init]
0x1f72ef40 = malloc(476)  [VCHIQ service]
0x1f72f140 = malloc(36)   [vchiq_shim]
0x1f72f1a0 = malloc(256)  [vchiu_queue_init]
0x1f72f2c0 = malloc(476)  [VCHIQ service]
0x1f72f4c0 = malloc(36)   [vchiq_shim]
0x1f72f520 = malloc(256)  [vchiu_queue_init]
0x1f72f640 = malloc(476)  [VCHIQ service]
0x1f72f840 = malloc(36)   [vchiq_shim]
0x1f72f8a0 = malloc(256)  [vchiu_queue_init]
0x1f72f9c0 = malloc(476)  [VCHIQ service]
0x1f72fbc0 = malloc(36)   [vchiq_shim]
0x1f72fc20 = malloc(256)  [vchiu_queue_init]
0x1f72fd40 = malloc(476)  [VCHIQ service]
0x1f72ff40 = malloc(36)   [vchiq_shim]
0x1f72ffa0 = malloc(256)  [vchiu_queue_init]
0x1f7300c0 = malloc(476)  [VCHIQ service]
0x1f7302c0 = malloc(36)   [vchiq_shim]
0x1f730320 = malloc(256)  [vchiu_queue_init]
0x1f730440 = malloc(476)  [VCHIQ service]
0x1f730640 = malloc(3.0K) [call from 0x1ef25564]
0x1f731260 = malloc(36)   [vchiq_shim]
0x1f7312c0 = malloc(256)  [vchiu_queue_init]
0x1f7313e0 = malloc(476)  [VCHIQ service]
0x1f7315e0 = malloc(36)   [vchiq_shim]
0x1f731640 = malloc(256)  [vchiu_queue_init]
0x1f731760 = malloc(476)  [VCHIQ service]
0x1f731960 = malloc(36)   [vchiq_shim]
0x1f7319c0 = malloc(256)  [vchiu_queue_init]
0x1f731ae0 = malloc(476)  [VCHIQ service]
0x1f731ce0 = malloc(36)   [vchiq_shim]
0x1f731d40 = malloc(256)  [vchiu_queue_init]
0x1f731e60 = malloc(476)  [VCHIQ service]
0x1f732060 = malloc(36)   [vchiq_shim]
0x1f7320c0 = malloc(256)  [vchiu_queue_init]
0x1f7321e0 = malloc(476)  [VCHIQ service]
0x1f7323e0 = malloc(36)   [vchiq_shim]
0x1f732440 = malloc(256)  [vchiu_queue_init]
0x1f732560 = malloc(476)  [VCHIQ service]
0x1f732760 = malloc(36)   [vchiq_shim]
0x1f7327c0 = malloc(256)  [vchiu_queue_init]
0x1f7328e0 = malloc(476)  [VCHIQ service]
0x1f732ae0 = malloc(36)   [vchiq_shim]
0x1f732b40 = malloc(256)  [vchiu_queue_init]
0x1f732c60 = malloc(476)  [VCHIQ service]
0x1f732e60 = malloc(476)  [VCHIQ service]
0x1f733060 = malloc(535)  [mmal component]
0x1f7332a0 = malloc(256)  [mmal port]
0x1f7333c0 = malloc(120)  [mmal format]
0x1f733460 = malloc(24)   [mmal ril module]
0x1f7334a0 = malloc(3.7K) [mmal port]
0x1f7343c0 = malloc(3.7K) [mmal port]
0x1f7352e0 = malloc(1.9K) [MMAL buffer headers]
0x1f735a80 = malloc(740)  [mmal_pool payload]
0x1f735da0 = malloc(740)  [mmal_pool payload]
0x1f7360c0 = malloc(740)  [mmal_pool payload]
0x1f7363e0 = malloc(740)  [mmal_pool payload]
0x1f736700 = malloc(656)  [call from 0x1ee8123e]
0x1f7369c0 = malloc(728)  [call from 0x1ef1f37a]
0x1f736cc0 = malloc(1.0K) [call from 0x1ec786ca]
0x1f7370e0 = malloc(1.8K) [wfc server stream pool]
0x1f737860 = malloc(1.5K) [wfc server stream image pool]
0x1f737ea0 = malloc(1.3K) [wfc server stream pool]
0x1f7383e0 = malloc(196)  [wfc server stream back image pool]
0x1f7384e0 = malloc(4.0K) [wfc_server]
0x1f739500 = malloc(17K)  [call from 0x1ecb11a2]
0x1f73d7c0 = malloc(12)   [mmal ports]
0x1f73d800 = malloc(3.7K) [mmal port]
0x1f73e720 = malloc(120)  [mmal format]
0x1f73e7c0 = malloc(120)  [mmal format]
0x1f73e860 = malloc(120)  [mmal format]
0x1f73e900 = malloc(4)    [mmal ports]
0x1f73e940 = malloc(276)  [mmal port]
0x1f73ea80 = malloc(120)  [mmal format]
0x1f73eb20 = malloc(1.7K) [mmal-clock]
0x1f73f220 = malloc(28)   [MMAL queue]
0x1f73f260 = malloc(28)   [MMAL queue]
0x1f73f2a0 = malloc(28)   [MMAL queue]
0x1f73f2e0 = malloc(28)   [MMAL queue]
0x1f73f320 = malloc(28)   [MMAL queue]
0x1f73f360 = malloc(48)   [MMAL pool]
0x1f73f3c0 = malloc(20)   [mmal ports]
0x1f73f400 = malloc(40)   [call from 0x1eecf318]
0x1f73f460 = malloc(28)   [MMAL queue]
0x1f73f4a0 = malloc(48)   [MMAL pool]
0x1f73f500 = malloc(8)    [call from 0x1eeeedae]
0x1f73f540 = malloc(40)   [In-pipe SW saturation control stage]
0x1f73f5a0 = malloc(8)    [call from 0x1eeeebf0]
0x1f73f5e0 = malloc(476)  [VCHIQ service]
0x1f73f7e0 = malloc(320K) [KHRN_S]
0x1f78f800 = malloc(36)   [vchiq_shim]
0x1f78f860 = malloc(256)  [vchiu_queue_init]
0x1f78f980 = malloc(476)  [VCHIQ service]
0x1f78fb80 = malloc(4.0K) [HREQ task]
0x1f790ba0 = malloc(4.6K) [call from 0x1ef25714]
0x1f791e20 = malloc(4.0K) [FILESERV]
0x1f792e40 = malloc(36)   [vchiq_shim]
0x1f792ea0 = malloc(256)  [vchiu_queue_init]
0x1f792fc0 = malloc(476)  [VCHIQ service]
0x1f7931c0 = malloc(608)  [Shared Memory Service]
0x1f793440 = malloc(4.0K) [sm_thread]
0x1f794460 = malloc(36)   [vchiq_shim]
0x1f7944c0 = malloc(256)  [vchiu_queue_init]
0x1f7945e0 = malloc(476)  [VCHIQ service]
0x1f7947e0 = malloc(488)  [Shared Memory Cache Test]
0x1f794a00 = malloc(4.0K) [smct_thread]
0x1f795a20 = malloc(36)   [vchiq_shim]
0x1f795a80 = malloc(256)  [vchiu_queue_init]
0x1f795ba0 = malloc(476)  [VCHIQ service]
0x1f795da0 = malloc(1.3K) [CEA modes table]
0x1f7962e0 = malloc(1.7K) [DMT modes table]
0x1f7969e0 = malloc(4.0K) [call from 0x1ef26b32]
0x1f797a00 = malloc(36)   [vchiq_shim]
0x1f797a60 = malloc(256)  [vchiu_queue_init]
0x1f797b80 = malloc(476)  [VCHIQ service]
0x1f797d80 = malloc(36)   [vchiq_shim]
0x1f797de0 = malloc(256)  [vchiu_queue_init]
0x1f797f00 = malloc(476)  [VCHIQ service]
0x1f798100 = malloc(36)   [vchiq_shim]
0x1f798160 = malloc(256)  [vchiu_queue_init]
0x1f798280 = malloc(476)  [VCHIQ service]
0x1f798480 = malloc(36)   [vchiq_shim]
0x1f7984e0 = malloc(256)  [vchiu_queue_init]
0x1f798600 = malloc(476)  [VCHIQ service]
0x1f798800 = malloc(36)   [vchiq_shim]
0x1f798860 = malloc(256)  [vchiu_queue_init]
0x1f798980 = malloc(476)  [VCHIQ service]
0x1f798b80 = malloc(36)   [vchiq_shim]
0x1f798be0 = malloc(256)  [vchiu_queue_init]
0x1f798d00 = malloc(476)  [VCHIQ service]
0x1f798f00 = malloc(36)   [vchiq_shim]
0x1f798f60 = malloc(256)  [vchiu_queue_init]
0x1f799080 = malloc(476)  [VCHIQ service]
0x1f799280 = malloc(36)   [vchiq_shim]
0x1f7992e0 = malloc(256)  [vchiu_queue_init]
0x1f799400 = malloc(476)  [VCHIQ service]
0x1f799600 = malloc(4.0K) [call from 0x1ef26c4a]
0x1f79a620 = malloc(36)   [vchiq_shim]
0x1f79a680 = malloc(256)  [vchiu_queue_init]
0x1f79a7a0 = malloc(476)  [VCHIQ service]
0x1f79a9a0 = malloc(36)   [vchiq_shim]
0x1f79aa00 = malloc(256)  [vchiu_queue_init]
0x1f79ab20 = malloc(476)  [VCHIQ service]
0x1f79ad20 = malloc(36)   [vchiq_shim]
0x1f79ad80 = malloc(256)  [vchiu_queue_init]
0x1f79aea0 = malloc(476)  [VCHIQ service]
0x1f79b0a0 = malloc(36)   [vchiq_shim]
0x1f79b100 = malloc(256)  [vchiu_queue_init]
0x1f79b220 = malloc(476)  [VCHIQ service]
0x1f79b420 = malloc(36)   [vchiq_shim]
0x1f79b480 = malloc(256)  [vchiu_queue_init]
0x1f79b5a0 = malloc(476)  [VCHIQ service]
0x1f79b7a0 = malloc(36)   [vchiq_shim]
0x1f79b800 = malloc(256)  [vchiu_queue_init]
0x1f79b920 = malloc(476)  [VCHIQ service]
0x1f79bb20 = malloc(36)   [vchiq_shim]
0x1f79bb80 = malloc(256)  [vchiu_queue_init]
0x1f79bca0 = malloc(476)  [VCHIQ service]
0x1f79bea0 = malloc(36)   [vchiq_shim]
0x1f79bf00 = malloc(256)  [vchiu_queue_init]
0x1f79c020 = malloc(476)  [VCHIQ service]
0x1f79c220 = malloc(4.0K) []
0x1f79d240 = malloc(36)   [vchiq_shim]
0x1f79d2a0 = malloc(256)  [vchiu_queue_init]
0x1f79d3c0 = malloc(476)  [VCHIQ service]
0x1f79d5c0 = malloc(36)   [vchiq_shim]
0x1f79d620 = malloc(256)  [vchiu_queue_init]
0x1f79d740 = malloc(476)  [VCHIQ service]
0x1f79d940 = malloc(36)   [vchiq_shim]
0x1f79d9a0 = malloc(256)  [vchiu_queue_init]
0x1f79dac0 = malloc(476)  [VCHIQ service]
0x1f79dcc0 = malloc(36)   [vchiq_shim]
0x1f79dd20 = malloc(256)  [vchiu_queue_init]
0x1f79de40 = malloc(476)  [VCHIQ service]
0x1f79e040 = malloc(36)   [vchiq_shim]
0x1f79e0a0 = malloc(256)  [vchiu_queue_init]
0x1f79e1c0 = malloc(476)  [VCHIQ service]
0x1f79e3c0 = malloc(36)   [vchiq_shim]
0x1f79e420 = malloc(256)  [vchiu_queue_init]
0x1f79e540 = malloc(476)  [VCHIQ service]
0x1f79e740 = malloc(36)   [vchiq_shim]
0x1f79e7a0 = malloc(256)  [vchiu_queue_init]
0x1f79e8c0 = malloc(476)  [VCHIQ service]
0x1f79eac0 = malloc(36)   [vchiq_shim]
0x1f79eb20 = malloc(256)  [vchiu_queue_init]
0x1f79ec40 = malloc(476)  [VCHIQ service]
0x1f79ee40 = malloc(4.0K) []
0x1f79fe60 = malloc(36)   [vchiq_shim]
0x1f79fec0 = malloc(256)  [vchiu_queue_init]
0x1f79ffe0 = malloc(476)  [VCHIQ service]
0x1f7a01e0 = malloc(36)   [vchiq_shim]
0x1f7a0240 = malloc(256)  [vchiu_queue_init]
0x1f7a0360 = malloc(476)  [VCHIQ service]
0x1f7a0560 = malloc(36)   [vchiq_shim]
0x1f7a05c0 = malloc(256)  [vchiu_queue_init]
0x1f7a06e0 = malloc(476)  [VCHIQ service]
0x1f7a08e0 = malloc(36)   [vchiq_shim]
0x1f7a0940 = malloc(256)  [vchiu_queue_init]
0x1f7a0a60 = malloc(476)  [VCHIQ service]
0x1f7a0c60 = malloc(36)   [vchiq_shim]
0x1f7a0cc0 = malloc(256)  [vchiu_queue_init]
0x1f7a0de0 = malloc(476)  [VCHIQ service]
0x1f7a0fe0 = malloc(36)   [vchiq_shim]
0x1f7a1040 = malloc(256)  [vchiu_queue_init]
0x1f7a1160 = malloc(476)  [VCHIQ service]
0x1f7a1360 = malloc(36)   [vchiq_shim]
0x1f7a13c0 = malloc(256)  [vchiu_queue_init]
0x1f7a14e0 = malloc(476)  [VCHIQ service]
0x1f7a16e0 = malloc(36)   [vchiq_shim]
0x1f7a1740 = malloc(256)  [vchiu_queue_init]
0x1f7a1860 = malloc(476)  [VCHIQ service]
0x1f7a1a60 = malloc(36)   [vchiq_shim]
0x1f7a1ac0 = malloc(256)  [vchiu_queue_init]
0x1f7a1be0 = malloc(476)  [VCHIQ service]
0x1f7a1de0 = malloc(36)   [vchiq_shim]
0x1f7a1e40 = malloc(256)  [vchiu_queue_init]
0x1f7a1f60 = malloc(476)  [VCHIQ service]
0x1f7a2160 = malloc(36)   [vchiq_shim]
0x1f7a21c0 = malloc(256)  [vchiu_queue_init]
0x1f7a22e0 = malloc(476)  [VCHIQ service]
0x1f7a24e0 = malloc(36)   [vchiq_shim]
0x1f7a2540 = malloc(256)  [vchiu_queue_init]
0x1f7a2660 = malloc(476)  [VCHIQ service]
0x1f7a2860 = malloc(36)   [vchiq_shim]
0x1f7a28c0 = malloc(256)  [vchiu_queue_init]
0x1f7a29e0 = malloc(476)  [VCHIQ service]
0x1f7a2be0 = malloc(36)   [vchiq_shim]
0x1f7a2c40 = malloc(256)  [vchiu_queue_init]
0x1f7a2d60 = malloc(476)  [VCHIQ service]
0x1f7a2f60 = malloc(36)   [vchiq_shim]
0x1f7a2fc0 = malloc(256)  [vchiu_queue_init]
0x1f7a30e0 = malloc(476)  [VCHIQ service]
0x1f7a32e0 = malloc(36)   [vchiq_shim]
0x1f7a3340 = malloc(256)  [vchiu_queue_init]
0x1f7a3460 = malloc(476)  [VCHIQ service]
0x1f7a3660 = malloc(476)  [VCHIQ service]
0x1f7a3860 = malloc(476)  [VCHIQ service]
0x1f7a3a60 = malloc(476)  [VCHIQ service]
0x1f7a3c60 = malloc(476)  [VCHIQ service]
0x1f7a3e60 = malloc(476)  [VCHIQ service]
0x1f7a4060 = malloc(476)  [VCHIQ service]
0x1f7a4260 = malloc(476)  [VCHIQ service]
0x1f7a4460 = malloc(476)  [VCHIQ service]
0x1f7a4660 = malloc(476)  [VCHIQ service]
0x1f7a4860 = malloc(476)  [VCHIQ service]
0x1f7a4a60 = malloc(476)  [VCHIQ service]
0x1f7a4c60 = malloc(32)   [q]
0x1f7a4ca0 = malloc(32)   [q]
0x1f7a4ce0 = malloc(32)   [q]
0x1f7a4d20 = malloc(4.0K) [stack]
0x1f7a5d40 = malloc(4.0K) [stack]
0x1f7a6d60 = malloc(4.0K) [stack]
0x1f7a7d80 = malloc(4.3K) [mmal debug log]
0x1f7a8ec0 = malloc(16K)  [mmal_host_log]
0x1f7acf00 = malloc(512)  [vchiu_queue_init]
0x1f7ad120 = malloc(476)  [VCHIQ service]
0x1f7ad320 = malloc(40)   [call from 0x1ee52096]
0x1f7ad380 = malloc(40)   [call from 0x1ee52096]
0x1f7ad3e0 = malloc(40)   [call from 0x1ee52096]
0x1f7ad440 = malloc(40)   [call from 0x1ee52096]
0x1f7ad4a0 = malloc(40)   [call from 0x1ee52096]
0x1f7ad500 = malloc(40)   [call from 0x1ee52096]
0x1f7ad560 = malloc(40)   [call from 0x1ee52096]
0x1f7ad5c0 = malloc(40)   [call from 0x1ee52096]
0x1f7ad620 = malloc(40)   [call from 0x1ee52096]
0x1f7ad680 = malloc(40)   [call from 0x1ee52096]
0x1f7ad6e0 = malloc(40)   [call from 0x1ee52096]
0x1f7ad740 = malloc(40)   [call from 0x1ee52096]
0x1f7ad7a0 = malloc(40)   [call from 0x1ee52096]
0x1f7ad800 = malloc(40)   [call from 0x1ee52096]
0x1f7ad860 = malloc(40)   [call from 0x1ee52096]
0x1f7ad8c0 = malloc(40)   [call from 0x1ee52096]
0x1f7ad920 = malloc(40)   [call from 0x1ee52096]
0x1f7ad980 = malloc(40)   [call from 0x1ee52096]
0x1f7ad9e0 = malloc(40)   [call from 0x1ee52096]
0x1f7ada40 = malloc(40)   [call from 0x1ee52096]
0x1f7adaa0 = malloc(40)   [call from 0x1ee52096]
0x1f7adb00 = malloc(256)  [mmal msg queue mem]
0x1f7adc20 = malloc(4.0K) [mmal msg queue ]
0x1f7aec40 = malloc(4.0K) [mmal msg queue ]
0x1f7afc60 = malloc(4.0K) [mmal worker]
0x1f7b0c80 = malloc(476)  [VCHIQ service]
0x1f7b0e80 = malloc(4.0K) [vc watchdog]
0x1f7b1ea0 = malloc(30K)  [call from 0x1ecc52dc]
0x1f7b9720 = malloc(32K)  [call from 0x1ecc53f4]
0x1f7c1740 = malloc(32K)  [call from 0x1ecc5406]
0x1f7c9760 = malloc(1.9K) [MMAL buffer headers]
0x1f7c9f00 = malloc(1.9K) [call from 0x1ef1f37a]
0x1f7ca6a0 = malloc(1.9K) [call from 0x1ef1f37a]
0x1f7cae40 = malloc(1.9K) [call from 0x1ef1f37a]
0x1f7cb5e0 = malloc(42K)  [call from 0x1ec787f2]
0x1f7d5c20 = malloc(98K)  [call from 0x1ec78848]
0x1f7ee5e0 = malloc(49K)  [call from 0x1ec787f2]
0x1f7fa9c0 = malloc(34K)  [call from 0x1ec78848]
0x1f8033a0 = malloc(450K) [camplus ctrl object]
0x1f873be0 = malloc(131K) [call from 0x1ecb61b6]
0x1f894920 = malloc(101K) [call from 0x1ecb61d6]
0x1f8adcc0 = malloc(190K) [ISP BRCM Tuner state]
0x1f8dd360 = malloc(24K)  [AGC State]
0x1f8e3400 = malloc(223K) [AWB State]
0x1f91b1e0 = malloc(3.0K) [AWB State (stats.r_mean)]
0x1f91be00 = malloc(3.0K) [AWB State (stats.g_mean)]
0x1f91ca20 = malloc(3.0K) [AWB State (stats.b_mean)]
0x1f91e000 = malloc(4.0K) [Aligned pdf]
0x1f920000 = malloc(4.0K) [Aligned pdf]
0x1f922000 = malloc(4.0K) [Aligned pdf]
0x1f924000 = malloc(4.0K) [Aligned pdf]
0x1f926000 = malloc(4.0K) [Aligned pdf]
0x1f927640 = malloc(77K)  [call from 0x1ee12f6c]
0x1f93a920 = malloc(261K) [call from 0x1ee3a402]
0x1f97bde0 = malloc(7.9K) [call from 0x1ee3a474]
0x1f97dda0 = malloc(4.3K) [call from 0x1ee096b8]
0x1f97ef20 = malloc(596)  [call from 0x1ee07822]
0x1f97f1a0 = malloc(240)  [call from 0x1ee1464e]
0x1f97f2c0 = malloc(4.1K) [call from 0x1ee04c96]
0x1f980360 = malloc(11K)  [call from 0x1ee0853a]
0x1f982f00 = malloc(2.1K) [call from 0x1ee07f4a]
0x1f983780 = malloc(864)  [call from 0x1ee07072]
0x1f983b00 = malloc(2.1K) [call from 0x1ee0d1a6]
0x1f984380 = malloc(584)  [call from 0x1ee11d54]
0x1f984600 = malloc(532)  [call from 0x1ee08e70]
0x1f984840 = malloc(44)   [call from 0x1ee16014]
0x1f9848a0 = malloc(21K)  [call from 0x1ee178ba]
0x1f989b00 = malloc(14K)  [call from 0x1ee0f4c4]
0x1f98d340 = malloc(1.0K) [call from 0x1ee0f52c]
0x1f98d780 = malloc(164)  [call from 0x1ee06588]
0x1f98d860 = malloc(450K) [camplus ctrl object]
0x1f9fe0a0 = malloc(131K) [call from 0x1ecb61b6]
0x1fa1ede0 = malloc(101K) [call from 0x1ecb61d6]
0x1fa38180 = malloc(190K) [ISP BRCM Tuner state]
0x1fa67820 = malloc(24K)  [AGC State]
0x1fa6d8c0 = malloc(40)   [In-pipe SW saturation control stage]
0x1fa6d920 = malloc(223K) [AWB State]
0x1faa5700 = malloc(3.0K) [AWB State (stats.r_mean)]
0x1faa6320 = malloc(3.0K) [AWB State (stats.g_mean)]
0x1faa6f40 = malloc(3.0K) [AWB State (stats.b_mean)]
0x1faa8000 = malloc(4.0K) [Aligned pdf]
0x1faaa000 = malloc(4.0K) [Aligned pdf]
0x1faac000 = malloc(4.0K) [Aligned pdf]
0x1faae000 = malloc(4.0K) [Aligned pdf]
0x1fab0000 = malloc(4.0K) [Aligned pdf]
0x1fab1b60 = malloc(77K)  [LS State]
0x1fac4e40 = malloc(261K) [LSACLS State]
0x1fb06300 = malloc(7.9K) [LSACLS State]
0x1fb082c0 = malloc(4.3K) [Distortion State]
0x1fb09440 = malloc(596)  [Debug State]
0x1fb096c0 = malloc(4.1K) [BL State]
0x1fb0a760 = malloc(864)  [CC State]
0x1fb0aae0 = malloc(164)  [Chrom State]
0x1fb0abc0 = malloc(2.1K) [DefPix State]
0x1fb0b440 = malloc(11K)  [Denoise State]
0x1fb0dfe0 = malloc(14K)  [Focus State]
0x1fb11820 = malloc(1.0K) [call from 0x1ee0ed40]
0x1fb11c60 = malloc(240)  [Motion Detect State]
0x1fb11d80 = malloc(21K)  [Sharpen State]
0x1fb16fe0 = malloc(2.1K) [DRC State]
0x1fb17860 = malloc(584)  [HDR State]
0x1fb17ae0 = malloc(532)  [DF State]
0x1fb17d20 = malloc(44)   [REGISTRATION State]
0x1fb17d80 = malloc(28)   [MMAL queue]
0x1fb17dc0 = malloc(48)   [MMAL pool]
0x1fb17e20 = malloc(4.7K) [MMAL buffer headers]
0x1fb190e0 = malloc(764)  [mmal ril omx buf pool]
0x1fb19400 = malloc(541)  [mmal component]
0x1fb19640 = malloc(262)  [mmal port]
0x1fb19780 = malloc(120)  [mmal format]
0x1fb19820 = malloc(24)   [mmal ril module]
0x1fb19860 = malloc(16K)  [vchiu_queue_init]
0x1fb1d880 = malloc(16K)  [vchiu_queue_init]
0x1fb218a0 = malloc(476)  [VCHIQ service]
0x1fb21aa0 = malloc(60)   [call from 0x1ee32178]
0x1fb21b00 = malloc(476)  [VCHIQ service]
0x1fb21d00 = malloc(456)  [LSACLS Thread Data]
0x1fb21ef0 = hole(472)
0x1fb220e0 = malloc(96)   [call from 0x1ee540aa]
0x1fb22160 = malloc(71K)  [ILImageEncode]
0x1fb33e80 = malloc(4)    [mmal ports]
0x1fb33ec0 = malloc(3.8K) [mmal port]
0x1fb34e00 = malloc(120)  [mmal format]
0x1fb34ea0 = malloc(4)    [mmal ports]
0x1fb34ee0 = malloc(3.8K) [mmal port]
0x1fb35e20 = malloc(120)  [mmal format]
0x1fb35ec0 = malloc(28)   [MMAL queue]
0x1fb35f00 = malloc(28)   [MMAL queue]
0x1fb35f40 = malloc(28)   [MMAL queue]
0x1fb35f80 = malloc(48)   [MMAL pool]
0x1fb35fe0 = malloc(1.9K) [MMAL buffer headers]
0x1fb36780 = malloc(740)  [mmal_pool payload]
0x1fb36aa0 = malloc(740)  [mmal_pool payload]
0x1fb36dc0 = malloc(740)  [mmal_pool payload]
0x1fb370e0 = malloc(740)  [mmal_pool payload]
0x1fb37400 = malloc(12)   [mmal ports]
0x1fb37440 = malloc(28)   [MMAL queue]
0x1fb37480 = malloc(48)   [MMAL pool]
0x1fb374e0 = malloc(4.7K) [MMAL buffer headers]
0x1fb387a0 = malloc(764)  [mmal ril omx buf pool]
0x1fb38ac0 = malloc(764)  [mmal ril omx buf pool]
0x1fb38de0 = malloc(60)   [call from 0x1ee32178]
0x1fb38e40 = malloc(476)  [VCHIQ service]
0x1fb39040 = malloc(60)   [call from 0x1ee32178]
0x1fb390a0 = malloc(456)  [AWB Task Data]
0x1fb39290 = hole(22K)
0x1fb3eb40 = malloc(60)   [call from 0x1ee32178]
0x1fb3eba0 = malloc(16K)  [vchiu_queue_init]
0x1fb42bc0 = malloc(476)  [VCHIQ service]
0x1fb42db0 = hole(17K)
0x1fb47040 = malloc(16K)  [vchiu_queue_init]
0x1fb4b060 = malloc(8.0K) [khrn_llat_threa]
0x1fb4d080 = malloc(128K) [LSACLS Stack]
0x1fb6d0a0 = malloc(8.0K) [AWB Stack]
0x1fb6f0b0 = hole(4.1M)
Malloced:5.5M Remaining:4.1M Failed allocs:0

Code: Select all

pi@raspberrypi:~ $ sudo vcdbg reloc

Relocatable heap version 4 found at 0x18000000
total space allocated is 108M, with 106M relocatable, 2.3M legacy and 0 offline
1 legacy blocks of size 2359296

free list at 0x1d00b9a0
next pointer 0x80808080 out of bounds in free list at 0x1c55df80
2056M free memory in 2 free block(s)
largest free block is 2056M bytes

0x18000000: legacy block 2.3M
0x18240000: free 63M
[ 125] 0x1c0fa460: used 1.5M (refcount 1 lock count 0, size  1572864, align 4096, data 0x1c0fb000, d1Rual) 'KHRN_IMAGE_T.storage'
[  81] 0x1c27b480: used  96K (refcount 1 lock count 0, size    98304, align  256, data 0x1c27b500, D1ruAl) 'khrn_hw_bin_mem'
[ 122] 0x1c2935a0: used  96K (refcount 1 lock count 0, size    98304, align  256, data 0x1c293600, D1ruAl) 'khrn_hw_bin_mem'
[ 109] 0x1c2ab6c0: used  96K (refcount 1 lock count 0, size    98304, align  256, data 0x1c2ab700, D1ruAl) 'khrn_hw_bin_mem'
[ 112] 0x1c2c37e0: used  96K (refcount 1 lock count 0, size    98304, align  256, data 0x1c2c3800, D1ruAl) 'khrn_hw_bin_mem'
[ 114] 0x1c2db900: used 196K (refcount 1 lock count 0, size   196608, align 4096, data 0x1c2dc000, d1Rual) 'KHRN_IMAGE_T.storage'
0x1c30c920: free 1.3M
[ 104] 0x1c45c920: used 196K (refcount 1 lock count 0, size   196608, align 4096, data 0x1c45d000, d1Rual) 'KHRN_IMAGE_T.storage'
[ 124] 0x1c48d940: used 772K (refcount 1 lock count 0, size   786432, align 4096, data 0x1c48e000, d1Rual) 'KHRN_IMAGE_T.storage'
[  93] 0x1c54e960: used   96 (refcount 1 lock count 1, size       24, align    4, data 0x1c54e980, d0rual) 'GL20_PROGRAM_T.uniform_data'
[ 108] 0x1c54e9c0: used 5.1K (refcount 1 lock count 0, size     5120, align    4, data 0x1c54e9e0, d0RUal) 'GLSL_COPY_CONTEXT_T.mh_blob'
0x1c54fe00: free 56K
0x1c55dfa0: corrupt entry (space 0x81818080)
resynced at 0x1c55e6c0 (skipped 1824 bytes)
[ 113] 0x1c55e6c0: used 196K (refcount 1 lock count 0, size   196608, align 4096, data 0x1c55f000, d1Rual) 'KHRN_IMAGE_T.storage'
0x1c58f6e0: free 96
[ 107] 0x1c58f740: used  608 (refcount 1 lock count 0, size      540, align    4, data 0x1c58f760, d0rual) 'GLXX_TEXTURE_T'
[  92] 0x1c58f9a0: used  608 (refcount 3 lock count 0, size      540, align    4, data 0x1c58f9c0, d0rual) 'GLXX_TEXTURE_T'
[ 105] 0x1c58fc00: used  608 (refcount 1 lock count 0, size      540, align    4, data 0x1c58fc20, d0rual) 'GLXX_TEXTURE_T'
[  94] 0x1c58fe60: used 1.3K (refcount 2 lock count 1, size     1200, align    4, data 0x1c58fe80, d0rual) 'GL20_PROGRAM_T'
[  95] 0x1c590360: used  256 (refcount 1 lock count 0, size      168, align    1, data 0x1c590380, d0rual) 'mem_strdup'
[  96] 0x1c590460: used  256 (refcount 1 lock count 0, size      183, align    1, data 0x1c590480, d0rual) 'mem_strdup'
[  98] 0x1c590560: used  608 (refcount 9 lock count 0, size      540, align    4, data 0x1c590580, d0rual) 'GLXX_TEXTURE_T'
[  99] 0x1c5907c0: used  608 (refcount 8 lock count 0, size      540, align    4, data 0x1c5907e0, d0rual) 'GLXX_TEXTURE_T'
[ 100] 0x1c590a20: used  608 (refcount 9 lock count 0, size      540, align    4, data 0x1c590a40, d0rual) 'GLXX_TEXTURE_T'
[ 101] 0x1c590c80: used  13K (refcount 2 lock count 1, size    13084, align    4, data 0x1c590ca0, d0rual) 'GLXX_SERVER_STATE_T'
[  97] 0x1c593fe0: used 2.1K (refcount 1 lock count 0, size     2048, align    4, data 0x1c594000, d0rual) 'KHRN_MAP_T.storage'
[  88] 0x1c594820: used 2.1K (refcount 1 lock count 0, size     2048, align    4, data 0x1c594840, d0rual) 'KHRN_MAP_T.storage'
[  89] 0x1c595060: used 2.1K (refcount 1 lock count 0, size     2048, align    4, data 0x1c595080, d0rual) 'KHRN_MAP_T.storage'
[  90] 0x1c5958a0: used 2.1K (refcount 1 lock count 0, size     2048, align    4, data 0x1c5958c0, d0rual) 'KHRN_MAP_T.storage'
[  87] 0x1c5960e0: used 2.1K (refcount 1 lock count 0, size     2048, align    4, data 0x1c596100, d0rual) 'KHRN_MAP_T.storage'
[  85] 0x1c596920: used  192 (refcount 1 lock count 0, size      100, align    4, data 0x1c596940, d0rual) 'GLXX_SHARED_T'
[  86] 0x1c5969e0: used 3.0M (refcount 1 lock count 0, size  3145728, align 4096, data 0x1c597000, d1Rual) 'KHRN_IMAGE_T.storage'
[  83] 0x1c897a00: used 3.0M (refcount 1 lock count 0, size  3145728, align 4096, data 0x1c898000, d1Rual) 'KHRN_IMAGE_T.storage'
[  80] 0x1cb98a20: used 3.0M (refcount 1 lock count 0, size  3145728, align 4096, data 0x1cb99000, d1Rual) 'KHRN_IMAGE_T.storage'
[  78] 0x1ce99a40: used  192 (refcount 3 lock count 0, size      116, align    4, data 0x1ce99a60, d0rual) 'EGL_SERVER_SURFACE_T'
[ 123] 0x1ce99b00: used 1.0M (refcount 1 lock count 0, size  1048576, align   32, data 0x1ce99b20, d3ruAl) 'khdispatch_workspace'
[ 120] 0x1cf99b40: used  576 (refcount 1 lock count 0, size      512, align    4, data 0x1cf99b60, d0rual) 'KHRN_MAP_T.storage'
[ 116] 0x1cf99d80: used 1.1K (refcount 1 lock count 0, size     1024, align    4, data 0x1cf99da0, d0rual) 'KHRN_PID_MAP_T.storage'
[ 110] 0x1cf9a1c0: used  576 (refcount 1 lock count 0, size      512, align    4, data 0x1cf9a1e0, d0rual) 'KHRN_MAP_T.storage'
[ 121] 0x1cf9a400: used  576 (refcount 1 lock count 0, size      512, align    4, data 0x1cf9a420, d0rual) 'KHRN_MAP_T.storage'
[  76] 0x1cf9a640: used  16K (refcount 1 lock count 0, size    16384, align   32, data 0x1cf9a660, d0rual) 'stabilise current image'
[  77] 0x1cf9e680: used 3.1K (refcount 1 lock count 0, size     3072, align   32, data 0x1cf9e6a0, d0rual) 'stabilise ref_ss'
[  51] 0x1cf9f2c0: used  48K (refcount 1 lock count 0, size    49152, align   32, data 0x1cf9f2e0, d0rual) 'stabilise ref'
[  52] 0x1cfab300: used 3.1K (refcount 1 lock count 0, size     3072, align   32, data 0x1cfab320, d0rual) 'stabilise ref_ss'
[  53] 0x1cfabf40: used  48K (refcount 1 lock count 0, size    49152, align   32, data 0x1cfabf60, d0rual) 'stabilise ref'
[  54] 0x1cfb7f80: used 140K (refcount 1 lock count 0, size   143616, align   32, data 0x1cfb7fa0, d0ruAl) 'drc lp'
[  60] 0x1cfdb0c0: used 4.6K (refcount 1 lock count 0, size     4608, align   32, data 0x1cfdb0e0, d0ruAl) 'drc out'
[  62] 0x1cfdc300: used  17K (refcount 1 lock count 0, size    17408, align   32, data 0x1cfdc320, d0ruAl) 'drc out'
[  63] 0x1cfe0740: used  66K (refcount 1 lock count 0, size    67584, align   32, data 0x1cfe0760, d0ruAl) 'drc out'
[  33] 0x1cff0f80: used  52K (refcount 1 lock count 0, size    53504, align    4, data 0x1cff0fa0, d1rual) 'AWB State (makesum_direct)'
[  34] 0x1cffe0c0: used  18K (refcount 1 lock count 0, size    18432, align    4, data 0x1cffe0e0, d1rual) 'AWB State (CCMs)'
[  35] 0x1d002900: used  18K (refcount 1 lock count 0, size    18432, align    4, data 0x1d002920, d1rual) 'AWB State (CCMs)'
[  36] 0x1d007140: used  18K (refcount 1 lock count 0, size    18432, align    4, data 0x1d007160, d1rual) 'AWB State (CCMs)'
0x1d00b980: free 64
[  79] 0x1d00b9c0: used   64 (refcount 1 lock count 0, size        0, align   32, data 0x1d00b9e0, d3ruAl) 'khdispatch_readahead'
[ 119] 0x1d00ba00: used  160 (refcount 1 lock count 0, size       96, align    4, data 0x1d00ba20, d0rual) 'KHRN_MAP_64_T.storage'
[  84] 0x1d00baa0: used  576 (refcount 1 lock count 0, size      512, align    4, data 0x1d00bac0, d0rual) 'KHRN_MAP_T.storage'
[  41] 0x1d00bce0: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d00bd00, d1rual) 'ril.image_encode:in:0(OPQV)'
[  42] 0x1d00bda0: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d00bdc0, d1rual) 'ril.image_encode:in:0(OPQV)'
[  68] 0x1d00be60: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d00be80, d1rual) 'ril.image_encode:in:0(OPQV)'
[  69] 0x1d00bf20: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d00bf40, d1rual) 'ril.image_encode:in:0(OPQV)'
[  70] 0x1d00bfe0: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d00c000, d1rual) 'ril.image_encode:in:0(OPQV)'
[  71] 0x1d00c0a0: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d00c0c0, d1rual) 'ril.image_encode:in:0(OPQV)'
[  72] 0x1d00c160: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d00c180, d1rual) 'ril.image_encode:in:0(OPQV)'
[  61] 0x1d00c220: used 4.6K (refcount 1 lock count 0, size     4608, align   32, data 0x1d00c240, d0ruAl) 'drc in'
[  67] 0x1d00d460: used  17K (refcount 1 lock count 0, size    17408, align   32, data 0x1d00d480, d0ruAl) 'drc in'
[  27] 0x1d0118a0: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d0118c0, d0rual) 'ls table 4'
[  28] 0x1d017b00: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d017b20, d0rual) 'ls table 3'
[  18] 0x1d01dd60: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d01dd80, d0rual) 'ls table 2'
[  17] 0x1d023fc0: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d023fe0, d0rual) 'ls table 1'
[  32] 0x1d02a220: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d02a240, d0rual) 'ls table 0'
[  82] 0x1d030480: used   96 (refcount 1 lock count 0, size       22, align    1, data 0x1d0304a0, d1rual) 'khrn_hw_null_render'
[  73] 0x1d0304e0: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d030500, d1rual) 'ril.image_encode:in:0(OPQV)'
[  74] 0x1d0305a0: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d0305c0, d1rual) 'ril.image_encode:in:0(OPQV)'
[  75] 0x1d030660: used  192 (refcount 1 lock count 0, size      128, align   32, data 0x1d030680, d1rual) 'ril.image_encode:in:0(OPQV)'
[  55] 0x1d030720: used  320 (refcount 1 lock count 0, size      256, align   32, data 0x1d030740, d0ruAl) 'drc in last lvl'
[  56] 0x1d030860: used  448 (refcount 1 lock count 0, size      384, align   32, data 0x1d030880, d0ruAl) 'drc out'
[  57] 0x1d030a20: used  448 (refcount 1 lock count 0, size      384, align   32, data 0x1d030a40, d0ruAl) 'drc in'
[  58] 0x1d030be0: used 1.3K (refcount 1 lock count 0, size     1280, align   32, data 0x1d030c00, d0ruAl) 'drc out'
[  59] 0x1d031120: used 1.3K (refcount 1 lock count 0, size     1280, align   32, data 0x1d031140, d0ruAl) 'drc in'
[  64] 0x1d031660: used  66K (refcount 1 lock count 0, size    67584, align   32, data 0x1d031680, d0ruAl) 'drc in'
[  65] 0x1d041ea0: used  192 (refcount 1 lock count 0, size      128, align    4, data 0x1d041ec0, d0rual) 'mmal opaque image'
[  66] 0x1d041f60: used  192 (refcount 1 lock count 0, size      128, align    4, data 0x1d041f80, d0rual) 'mmal opaque image'
[  19] 0x1d042020: used  192 (refcount 1 lock count 0, size      128, align    4, data 0x1d042040, d0rual) 'mmal opaque image'
[  20] 0x1d0420e0: used  192 (refcount 1 lock count 0, size      128, align    4, data 0x1d042100, d0rual) 'mmal opaque image'
[  21] 0x1d0421a0: used  192 (refcount 1 lock count 0, size      128, align    4, data 0x1d0421c0, d0rual) 'mmal opaque image'
[  22] 0x1d042260: used  192 (refcount 1 lock count 0, size      128, align    4, data 0x1d042280, d0rual) 'mmal opaque image'
[  23] 0x1d042320: used  192 (refcount 1 lock count 0, size      128, align    4, data 0x1d042340, d0rual) 'mmal opaque image'
[  24] 0x1d0423e0: used  192 (refcount 1 lock count 0, size      128, align    4, data 0x1d042400, d0rual) 'mmal opaque image'
[  25] 0x1d0424a0: used  192 (refcount 5 lock count 0, size      128, align    4, data 0x1d0424c0, d0rual) 'mmal opaque image'
[  26] 0x1d042560: used  192 (refcount 2 lock count 0, size      128, align    4, data 0x1d042580, d0rual) 'mmal opaque image'
[  37] 0x1d042620: used 4.3K (refcount 1 lock count 0, size     4378, align    4, data 0x1d042640, d0rual) 'distortion table'
[  38] 0x1d043780: used 135K (refcount 1 lock count 0, size   138240, align    4, data 0x1d0437a0, d0rual) 'isp sw stage buffers'
[  39] 0x1d0653c0: used 271K (refcount 1 lock count 0, size   277512, align    4, data 0x1d0653e0, d0rual) 'concurrent mdata'
[  40] 0x1d0a9020: used 4.3K (refcount 1 lock count 0, size     4378, align    4, data 0x1d0a9040, d0rual) 'distortion table'
[  31] 0x1d0aa180: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d0aa1a0, d0rual) 'ls table isp'
[  30] 0x1d0b03e0: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d0b0400, d0rual) 'ls table tx1'
[  29] 0x1d0b6640: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d0b6660, d0rual) 'ls table tx0'
[   9] 0x1d0bc8a0: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d0bc8c0, d0rual) 'ls table 1'
[  10] 0x1d0c2b00: used  25K (refcount 1 lock count 0, size    25100, align    4, data 0x1d0c2b20, d0rual) 'ls table 0'
[  11] 0x1d0c8d60: used  52K (refcount 1 lock count 0, size    53504, align    4, data 0x1d0c8d80, d1rual) 'AWB State (makesum_direct)'
[  12] 0x1d0d5ea0: used  18K (refcount 1 lock count 0, size    18432, align    4, data 0x1d0d5ec0, d1rual) 'AWB State (CCMs)'
[  13] 0x1d0da6e0: used  18K (refcount 1 lock count 0, size    18432, align    4, data 0x1d0da700, d1rual) 'AWB State (CCMs)'
[  14] 0x1d0def20: used  18K (refcount 1 lock count 0, size    18432, align    4, data 0x1d0def40, d1rual) 'AWB State (CCMs)'
[  15] 0x1d0e3760: used 135K (refcount 1 lock count 0, size   138240, align    4, data 0x1d0e3780, d0rual) 'isp sw stage buffers'
[  16] 0x1d1053a0: used 271K (refcount 1 lock count 0, size   277512, align    4, data 0x1d1053c0, d0rual) 'concurrent mdata'
[  43] 0x1d149000: used 6.1M (refcount 1 lock count 3, size  6422528, align 4096, data 0x1d14a000, d1rual) 'cameraRIL:input pool'
[  44] 0x1d76a020: used 401K (refcount 1 lock count 0, size   406720, align 4096, data 0x1d76b000, d1ruAl) 'cameraRIL: lowres pool'
[  45] 0x1d7ce500: used 401K (refcount 1 lock count 0, size   406720, align 4096, data 0x1d7cf000, d1ruAl) 'cameraRIL: lowres pool'
[  46] 0x1d8329e0: used 401K (refcount 1 lock count 0, size   406720, align 4096, data 0x1d833000, d1ruAl) 'cameraRIL: lowres pool'
[  47] 0x1d896ec0: used 7.3M (refcount 1 lock count 0, size  7635648, align 4096, data 0x1d897000, d1ruAl) 'cameraRIL: hires stills pool'
[  48] 0x1dfe01a0: used 1.4M (refcount 1 lock count 1, size  1438912, align 4096, data 0x1dfe1000, d1rual) 'cameraRIL: hires vid pool'
[  49] 0x1e140680: used 1.4M (refcount 1 lock count 0, size  1438912, align 4096, data 0x1e141000, d1rual) 'cameraRIL: hires vid pool'
[  50] 0x1e2a0b60: used 1.4M (refcount 1 lock count 0, size  1438912, align 4096, data 0x1e2a1000, d1rual) 'cameraRIL: hires vid pool'
[   5] 0x1e401040: used  832 (refcount 1 lock count 0, size      740, align   32, data 0x1e401060, d1rual) 'ril mem ril.camera-0'
[   6] 0x1e401380: used  832 (refcount 1 lock count 0, size      740, align   32, data 0x1e4013a0, d1rual) 'ril mem ril.camera-0'
[   7] 0x1e4016c0: used  832 (refcount 1 lock count 0, size      740, align   32, data 0x1e4016e0, d1rual) 'ril mem ril.camera-0'
[   8] 0x1e401a00: used  832 (refcount 1 lock count 0, size      740, align   32, data 0x1e401a20, d1rual) 'ril mem ril.camera-0'
[   4] 0x1e401d40: used  576 (refcount 1 lock count 0, size      512, align    4, data 0x1e401d60, d0rual) 'ILCS VC buffer pool'
[   3] 0x1e401f80: used 8.0M (refcount 1 lock count 8, size  8355840, align 4096, data 0x1e402000, d3rual) 'ARM FB'
[   2] 0x1ebfafa0: used  16K (refcount 1 lock count 0, size    16384, align   32, data 0x1ebfafc0, d0ruAl) 'audioplus_tmp_buf'
[   1] 0x1ebfefe0: used 4.0K (refcount 1 lock count 0, size        0, align 4096, data 0x1ebff000, d1rual) 'camera fast alloc arena'
heap corruption detected
small allocs not requested
Last edited by Andre87 on Mon Aug 21, 2017 9:17 am, edited 1 time in total.

Andre87
Posts: 2
Joined: Fri Aug 18, 2017 9:35 am

Re: raspistill GL scene yuv crashes Pi

Mon Aug 21, 2017 9:16 am

Please assist me on verifying this issue by running

Code: Select all

raspisill -t 10000 -g -gs yuv
on your camera-attached Pi and let me know if it works. Please also post your camera and Pi type.

kernelcode
Posts: 16
Joined: Tue Nov 22, 2011 3:47 pm

Re: raspistill GL scene yuv crashes Pi - please assist verification

Tue Oct 17, 2017 7:11 pm

Happens for me too. Raspberry Pi 3, v1 camera.

Not just for raspistill either, in my own code which uses the Y, U, V textures it crashes in the same manner.

Using the Y plane is OK, but as soon as the U or V is included it crashes.
yuv_scene.jpg
yuv_scene.jpg (131.73 KiB) Viewed 608 times

kernelcode
Posts: 16
Joined: Tue Nov 22, 2011 3:47 pm

Re: raspistill GL scene yuv crashes Pi - please assist verification

Sun Nov 19, 2017 9:18 pm

This has been fixed in the latest firmware update - works fine now

https://github.com/raspberrypi/userland/issues/433 (closed)

Return to “Troubleshooting”