Public bug reported:

Running libcamera-hello results in:

[  192.866290] 
================================================================================
[  192.874967] UBSAN: invalid-load in 
/build/linux-raspi-sdHVF4/linux-raspi-6.5.0/include/linux/iosys-map.h:267:9
[  192.885502] load of value 32 is not a valid value for type '_Bool'
[  192.891902] CPU: 0 PID: 2739 Comm: libcamera-hello Tainted: G         C  E   
   6.5.0-1005-raspi #7-Ubuntu
[  192.901599] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT)
[  192.907450] Call trace:
[  192.909896]  dump_backtrace+0x9c/0x128
[  192.913658]  show_stack+0x20/0x38
[  192.916978]  dump_stack_lvl+0xbc/0x120
[  192.920736]  dump_stack+0x18/0x28
[  192.924056]  __ubsan_handle_load_invalid_value+0xac/0xe8
[  192.929385]  dma_buf_vmap_unlocked+0xb4/0xb8
[  192.933666]  vb2_dc_vaddr+0xa8/0xe0 [videobuf2_dma_contig]
[  192.939178]  vb2_plane_vaddr+0x6c/0xd0 [videobuf2_common]
[  192.944603]  cfe_buffer_prepare+0x120/0x1e8 [rp1_cfe]
[  192.949676]  __prepare_dmabuf.constprop.0+0x3e4/0x9b8 [videobuf2_common]
[  192.956407]  __buf_prepare+0x218/0x280 [videobuf2_common]
[  192.961827]  vb2_core_qbuf+0x494/0x660 [videobuf2_common]
[  192.967247]  vb2_qbuf+0xa4/0x108 [videobuf2_v4l2]
[  192.971969]  vb2_ioctl_qbuf+0x68/0x80 [videobuf2_v4l2]
[  192.977127]  v4l_qbuf+0x50/0x70 [videodev]
[  192.981259]  __video_do_ioctl+0x370/0x4d0 [videodev]
[  192.986258]  video_usercopy+0x20c/0x5c8 [videodev]
[  192.991082]  video_ioctl2+0x20/0x90 [videodev]
[  192.995557]  v4l2_ioctl+0x6c/0xb0 [videodev]
[  192.999857]  __arm64_sys_ioctl+0xb4/0x100
[  193.003877]  invoke_syscall+0x50/0x120
[  193.007634]  el0_svc_common.constprop.0+0x6c/0x140
[  193.012437]  do_el0_svc+0x34/0x50
[  193.015756]  el0_svc+0x30/0xc8
[  193.018815]  el0t_64_sync_handler+0x120/0x130
[  193.023183]  el0t_64_sync+0x1a8/0x1b0
[  193.027084] 
================================================================================
[  193.036147] source of link 'rp1-cfe-fe_config':0->'pisp-fe':1 is not a V4L2 
sub-device, driver bug!

** Affects: linux-raspi (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-raspi (Ubuntu Mantic)
     Importance: Undecided
         Status: New

** Also affects: linux-raspi (Ubuntu Mantic)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi in Ubuntu.
https://bugs.launchpad.net/bugs/2039775

Title:
  UBSAN: invalid-load in /build/linux-raspi-sdHVF4/linux-
  raspi-6.5.0/include/linux/iosys-map.h:267:9

Status in linux-raspi package in Ubuntu:
  New
Status in linux-raspi source package in Mantic:
  New

Bug description:
  Running libcamera-hello results in:

  [  192.866290] 
================================================================================
  [  192.874967] UBSAN: invalid-load in 
/build/linux-raspi-sdHVF4/linux-raspi-6.5.0/include/linux/iosys-map.h:267:9
  [  192.885502] load of value 32 is not a valid value for type '_Bool'
  [  192.891902] CPU: 0 PID: 2739 Comm: libcamera-hello Tainted: G         C  E 
     6.5.0-1005-raspi #7-Ubuntu
  [  192.901599] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT)
  [  192.907450] Call trace:
  [  192.909896]  dump_backtrace+0x9c/0x128
  [  192.913658]  show_stack+0x20/0x38
  [  192.916978]  dump_stack_lvl+0xbc/0x120
  [  192.920736]  dump_stack+0x18/0x28
  [  192.924056]  __ubsan_handle_load_invalid_value+0xac/0xe8
  [  192.929385]  dma_buf_vmap_unlocked+0xb4/0xb8
  [  192.933666]  vb2_dc_vaddr+0xa8/0xe0 [videobuf2_dma_contig]
  [  192.939178]  vb2_plane_vaddr+0x6c/0xd0 [videobuf2_common]
  [  192.944603]  cfe_buffer_prepare+0x120/0x1e8 [rp1_cfe]
  [  192.949676]  __prepare_dmabuf.constprop.0+0x3e4/0x9b8 [videobuf2_common]
  [  192.956407]  __buf_prepare+0x218/0x280 [videobuf2_common]
  [  192.961827]  vb2_core_qbuf+0x494/0x660 [videobuf2_common]
  [  192.967247]  vb2_qbuf+0xa4/0x108 [videobuf2_v4l2]
  [  192.971969]  vb2_ioctl_qbuf+0x68/0x80 [videobuf2_v4l2]
  [  192.977127]  v4l_qbuf+0x50/0x70 [videodev]
  [  192.981259]  __video_do_ioctl+0x370/0x4d0 [videodev]
  [  192.986258]  video_usercopy+0x20c/0x5c8 [videodev]
  [  192.991082]  video_ioctl2+0x20/0x90 [videodev]
  [  192.995557]  v4l2_ioctl+0x6c/0xb0 [videodev]
  [  192.999857]  __arm64_sys_ioctl+0xb4/0x100
  [  193.003877]  invoke_syscall+0x50/0x120
  [  193.007634]  el0_svc_common.constprop.0+0x6c/0x140
  [  193.012437]  do_el0_svc+0x34/0x50
  [  193.015756]  el0_svc+0x30/0xc8
  [  193.018815]  el0t_64_sync_handler+0x120/0x130
  [  193.023183]  el0t_64_sync+0x1a8/0x1b0
  [  193.027084] 
================================================================================
  [  193.036147] source of link 'rp1-cfe-fe_config':0->'pisp-fe':1 is not a 
V4L2 sub-device, driver bug!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2039775/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to