Skip to content

BUG: Bad page map in process libcamera-vid pte:4033b0403030388 pmd:0308d003 #4766

@CarlFK

Description

@CarlFK

libcamera-vid --rotation 180 --fullscreen -t 0 --inline --listen -o tcp://${ip}:4444

Ran for 24 hours
connected a few times with vlc tcp/h264://198.0.220.197:22644 (port forwarded to ${ip}:4444)

[63222.218734] BUG: Bad page map in process libcamera-vid  pte:4033b0403030388 pmd:0308d003
[63222.226996] addr:00000000f1401000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f1401
[63222.237758] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.243157] CPU: 0 PID: 2036 Comm: libcamera-vid Tainted: G         C        5.10.63-v8+ #1488
[63222.243161] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.243166] Call trace:
[63222.243183]  dump_backtrace+0x0/0x1b8
[63222.243190]  show_stack+0x20/0x30
[63222.243198]  dump_stack+0xf0/0x158
[63222.243207]  print_bad_pte+0x168/0x1c0
[63222.243212]  vm_normal_page+0xa4/0xc8
[63222.243217]  unmap_page_range+0x2d4/0x710
[63222.243222]  unmap_single_vma+0x44/0x50
[63222.243226]  unmap_vmas+0xe4/0x108
[63222.243232]  exit_mmap+0xdc/0x190
[63222.243240]  mmput+0x64/0x128
[63222.243245]  do_exit+0x324/0xad0
[63222.243250]  do_group_exit+0x4c/0xa8
[63222.243256]  get_signal+0xf0/0x830
[63222.243262]  do_notify_resume+0x330/0x6d8
[63222.243267]  work_pending+0xc/0x43c
[63222.243277] Disabling lock debugging due to kernel taint
[63222.243324] BUG: Bad page map in process libcamera-vid  pte:40404e303040404 pmd:0308d003
[63222.251587] addr:00000000f1403000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f1403
[63222.262183] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.267513] CPU: 1 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.267517] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.267522] Call trace:
[63222.267535]  dump_backtrace+0x0/0x1b8
[63222.267541]  show_stack+0x20/0x30
[63222.267549]  dump_stack+0xf0/0x158
[63222.267558]  print_bad_pte+0x168/0x1c0
[63222.267569]  vm_normal_page+0xa4/0xc8
[63222.267574]  unmap_page_range+0x2d4/0x710
[63222.267578]  unmap_single_vma+0x44/0x50
[63222.267582]  unmap_vmas+0xe4/0x108
[63222.267589]  exit_mmap+0xdc/0x190
[63222.267597]  mmput+0x64/0x128
[63222.267602]  do_exit+0x324/0xad0
[63222.267607]  do_group_exit+0x4c/0xa8
[63222.267614]  get_signal+0xf0/0x830
[63222.267620]  do_notify_resume+0x330/0x6d8
[63222.267626]  work_pending+0xc/0x43c
[63222.267636] BUG: Bad page map in process libcamera-vid  pte:4cc03040304d003 pmd:0308d003
[63222.275921] addr:00000000f1404000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f1404
[63222.286456] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.291796] CPU: 1 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.291807] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.291812] Call trace:
[63222.291826]  dump_backtrace+0x0/0x1b8
[63222.291832]  show_stack+0x20/0x30
[63222.291839]  dump_stack+0xf0/0x158
[63222.291848]  print_bad_pte+0x168/0x1c0
[63222.291854]  vm_normal_page+0xa4/0xc8
[63222.291858]  unmap_page_range+0x2d4/0x710
[63222.291863]  unmap_single_vma+0x44/0x50
[63222.291867]  unmap_vmas+0xe4/0x108
[63222.291873]  exit_mmap+0xdc/0x190
[63222.291880]  mmput+0x64/0x128
[63222.291887]  do_exit+0x324/0xad0
[63222.291891]  do_group_exit+0x4c/0xa8
[63222.291898]  get_signal+0xf0/0x830
[63222.291904]  do_notify_resume+0x330/0x6d8
[63222.291909]  work_pending+0xc/0x43c
[63222.291919] BUG: Bad page map in process libcamera-vid  pte:4034104040404e3 pmd:0308d003
[63222.300186] addr:00000000f1406000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f1406
[63222.310766] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.316176] CPU: 1 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.316180] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.316184] Call trace:
[63222.316197]  dump_backtrace+0x0/0x1b8
[63222.316203]  show_stack+0x20/0x30
[63222.316210]  dump_stack+0xf0/0x158
[63222.316218]  print_bad_pte+0x168/0x1c0
[63222.316223]  vm_normal_page+0xa4/0xc8
[63222.316231]  unmap_page_range+0x2d4/0x710
[63222.316236]  unmap_single_vma+0x44/0x50
[63222.316240]  unmap_vmas+0xe4/0x108
[63222.316246]  exit_mmap+0xdc/0x190
[63222.316253]  mmput+0x64/0x128
[63222.316259]  do_exit+0x324/0xad0
[63222.316263]  do_group_exit+0x4c/0xa8
[63222.316270]  get_signal+0xf0/0x830
[63222.316276]  do_notify_resume+0x330/0x6d8
[63222.316280]  work_pending+0xc/0x43c
[63222.316290] swap_info_get: Bad swap file entry 403030303031704
[63222.316299] BUG: Bad page map in process libcamera-vid  pte:ab03030303170404 pmd:0308d003
[63222.324661] addr:00000000f1407000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f1407
[63222.335230] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.340579] CPU: 1 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.340584] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.340589] Call trace:
[63222.340600]  dump_backtrace+0x0/0x1b8
[63222.340606]  show_stack+0x20/0x30
[63222.340613]  dump_stack+0xf0/0x158
[63222.340622]  print_bad_pte+0x168/0x1c0
[63222.340627]  unmap_page_range+0x2c0/0x710
[63222.340636]  unmap_single_vma+0x44/0x50
[63222.340644]  unmap_vmas+0xe4/0x108
[63222.340653]  exit_mmap+0xdc/0x190
[63222.340666]  mmput+0x64/0x128
[63222.340675]  do_exit+0x324/0xad0
[63222.340682]  do_group_exit+0x4c/0xa8
[63222.340692]  get_signal+0xf0/0x830
[63222.340700]  do_notify_resume+0x330/0x6d8
[63222.340707]  work_pending+0xc/0x43c
[63222.340757] BUG: Bad page map in process libcamera-vid  pte:40303b803030304 pmd:0308d003
[63222.349050] addr:00000000f1408000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f1408
[63222.359599] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.364966] CPU: 0 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.364971] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.364975] Call trace:
[63222.364988]  dump_backtrace+0x0/0x1b8
[63222.364995]  show_stack+0x20/0x30
[63222.365003]  dump_stack+0xf0/0x158
[63222.365012]  print_bad_pte+0x168/0x1c0
[63222.365016]  vm_normal_page+0xa4/0xc8
[63222.365021]  unmap_page_range+0x2d4/0x710
[63222.365025]  unmap_single_vma+0x44/0x50
[63222.365031]  unmap_vmas+0xe4/0x108
[63222.365037]  exit_mmap+0xdc/0x190
[63222.365046]  mmput+0x64/0x128
[63222.365051]  do_exit+0x324/0xad0
[63222.365056]  do_group_exit+0x4c/0xa8
[63222.365062]  get_signal+0xf0/0x830
[63222.365068]  do_notify_resume+0x330/0x6d8
[63222.365073]  work_pending+0xc/0x43c
[63222.365082] swap_info_get: Bad swap file entry 403030403630403
[63222.365091] BUG: Bad page map in process libcamera-vid  pte:303040363040304 pmd:0308d003
[63222.373331] addr:00000000f140a000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f140a
[63222.383907] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.389240] CPU: 0 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.389246] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.389251] Call trace:
[63222.389261]  dump_backtrace+0x0/0x1b8
[63222.389268]  show_stack+0x20/0x30
[63222.389276]  dump_stack+0xf0/0x158
[63222.389290]  print_bad_pte+0x168/0x1c0
[63222.389295]  unmap_page_range+0x2c0/0x710
[63222.389299]  unmap_single_vma+0x44/0x50
[63222.389304]  unmap_vmas+0xe4/0x108
[63222.389310]  exit_mmap+0xdc/0x190
[63222.389318]  mmput+0x64/0x128
[63222.389324]  do_exit+0x324/0xad0
[63222.389329]  do_group_exit+0x4c/0xa8
[63222.389337]  get_signal+0xf0/0x830
[63222.389347]  do_notify_resume+0x330/0x6d8
[63222.389355]  work_pending+0xc/0x43c
[63222.389366] BUG: Bad page map in process libcamera-vid  pte:404c603040403d7 pmd:0308d003
[63222.397648] addr:00000000f140b000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f140b
[63222.408190] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.413533] CPU: 0 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.413538] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.413542] Call trace:
[63222.413555]  dump_backtrace+0x0/0x1b8
[63222.413561]  show_stack+0x20/0x30
[63222.413567]  dump_stack+0xf0/0x158
[63222.413575]  print_bad_pte+0x168/0x1c0
[63222.413580]  vm_normal_page+0xa4/0xc8
[63222.413584]  unmap_page_range+0x2d4/0x710
[63222.413589]  unmap_single_vma+0x44/0x50
[63222.413593]  unmap_vmas+0xe4/0x108
[63222.413599]  exit_mmap+0xdc/0x190
[63222.413607]  mmput+0x64/0x128
[63222.413612]  do_exit+0x324/0xad0
[63222.413617]  do_group_exit+0x4c/0xa8
[63222.413622]  get_signal+0xf0/0x830
[63222.413628]  do_notify_resume+0x330/0x6d8
[63222.413633]  work_pending+0xc/0x43c
[63222.413642] BUG: Bad page map in process libcamera-vid  pte:f503030404d00304 pmd:0308d003
[63222.421975] addr:00000000f140c000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f140c
[63222.432528] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.437863] CPU: 0 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.437869] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.437874] Call trace:
[63222.437889]  dump_backtrace+0x0/0x1b8
[63222.437895]  show_stack+0x20/0x30
[63222.437904]  dump_stack+0xf0/0x158
[63222.437916]  print_bad_pte+0x168/0x1c0
[63222.437921]  vm_normal_page+0xa4/0xc8
[63222.437925]  unmap_page_range+0x2d4/0x710
[63222.437930]  unmap_single_vma+0x44/0x50
[63222.437934]  unmap_vmas+0xe4/0x108
[63222.437940]  exit_mmap+0xdc/0x190
[63222.437947]  mmput+0x64/0x128
[63222.437953]  do_exit+0x324/0xad0
[63222.437958]  do_group_exit+0x4c/0xa8
[63222.437968]  get_signal+0xf0/0x830
[63222.437978]  do_notify_resume+0x330/0x6d8
[63222.437984]  work_pending+0xc/0x43c
[63222.437999] swap_info_get: Bad swap file entry 40304031d040303
[63222.438010] BUG: Bad page map in process libcamera-vid  pte:304031d04030304 pmd:0308d003
[63222.446262] addr:00000000f140d000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f140d
[63222.456829] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.462209] CPU: 0 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.462214] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.462219] Call trace:
[63222.462228]  dump_backtrace+0x0/0x1b8
[63222.462235]  show_stack+0x20/0x30
[63222.462241]  dump_stack+0xf0/0x158
[63222.462249]  print_bad_pte+0x168/0x1c0
[63222.462254]  unmap_page_range+0x2c0/0x710
[63222.462258]  unmap_single_vma+0x44/0x50
[63222.462262]  unmap_vmas+0xe4/0x108
[63222.462269]  exit_mmap+0xdc/0x190
[63222.462276]  mmput+0x64/0x128
[63222.462281]  do_exit+0x324/0xad0
[63222.462286]  do_group_exit+0x4c/0xa8
[63222.462293]  get_signal+0xf0/0x830
[63222.462299]  do_notify_resume+0x330/0x6d8
[63222.462304]  work_pending+0xc/0x43c
[63222.462317] BUG: Bad page map in process libcamera-vid  pte:403040383030404 pmd:0308d003
[63222.470570] addr:00000000f140f000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f140f
[63222.481131] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.486464] CPU: 0 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.486470] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.486475] Call trace:
[63222.486490]  dump_backtrace+0x0/0x1b8
[63222.486496]  show_stack+0x20/0x30
[63222.486503]  dump_stack+0xf0/0x158
[63222.486517]  print_bad_pte+0x168/0x1c0
[63222.486522]  vm_normal_page+0xa4/0xc8
[63222.486527]  unmap_page_range+0x2d4/0x710
[63222.486531]  unmap_single_vma+0x44/0x50
[63222.486536]  unmap_vmas+0xe4/0x108
[63222.486542]  exit_mmap+0xdc/0x190
[63222.486549]  mmput+0x64/0x128
[63222.486554]  do_exit+0x324/0xad0
[63222.486559]  do_group_exit+0x4c/0xa8
[63222.486569]  get_signal+0xf0/0x830
[63222.486579]  do_notify_resume+0x330/0x6d8
[63222.486587]  work_pending+0xc/0x43c
[63222.486601] BUG: Bad page map in process libcamera-vid  pte:603550904040496 pmd:0308d003
[63222.494878] addr:00000000f1410000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f1410
[63222.505456] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.510818] CPU: 0 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.510823] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.510827] Call trace:
[63222.510839]  dump_backtrace+0x0/0x1b8
[63222.510845]  show_stack+0x20/0x30
[63222.510851]  dump_stack+0xf0/0x158
[63222.510859]  print_bad_pte+0x168/0x1c0
[63222.510864]  vm_normal_page+0xa4/0xc8
[63222.510869]  unmap_page_range+0x2d4/0x710
[63222.510873]  unmap_single_vma+0x44/0x50
[63222.510877]  unmap_vmas+0xe4/0x108
[63222.510883]  exit_mmap+0xdc/0x190
[63222.510892]  mmput+0x64/0x128
[63222.510898]  do_exit+0x324/0xad0
[63222.510902]  do_group_exit+0x4c/0xa8
[63222.510909]  get_signal+0xf0/0x830
[63222.510915]  do_notify_resume+0x330/0x6d8
[63222.510919]  work_pending+0xc/0x43c
[63222.510964] BUG: Bad page map in process libcamera-vid  pte:2d07050704d00705 pmd:0308d003
[63222.519297] addr:00000000f1411000 vm_flags:00200073 anon_vma:ffffff8002131160 mapping:0000000000000000 index:f1411
[63222.529883] file:(null) fault:0x0 mmap:0x0 readpage:0x0
[63222.535230] CPU: 0 PID: 2036 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[63222.535235] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[63222.535239] Call trace:
[63222.535253]  dump_backtrace+0x0/0x1b8
[63222.535263]  show_stack+0x20/0x30
[63222.535270]  dump_stack+0xf0/0x158
[63222.535280]  print_bad_pte+0x168/0x1c0
[63222.535285]  vm_normal_page+0xa4/0xc8
[63222.535290]  unmap_page_range+0x2d4/0x710
[63222.535294]  unmap_single_vma+0x44/0x50
[63222.535301]  unmap_vmas+0xe4/0x108
[63222.535310]  exit_mmap+0xdc/0x190
[63222.535320]  mmput+0x64/0x128
[63222.535329]  do_exit+0x324/0xad0
[63222.535336]  do_group_exit+0x4c/0xa8
[63222.535347]  get_signal+0xf0/0x830
[63222.535356]  do_notify_resume+0x330/0x6d8
[63222.535364]  work_pending+0xc/0x43c
[63222.538491] BUG: Bad rss-counter state mm:000000002696f19f type:MM_ANONPAGES val:1
[63222.546226] BUG: Bad rss-counter state mm:000000002696f19f type:MM_SWAPENTS val:-3
[81381.021347] Unable to handle kernel paging request at virtual address 0004c505040503f8
[81381.029468] Mem abort info:
[81381.032571]   ESR = 0x96000004
[81381.035934]   EC = 0x25: DABT (current EL), IL = 32 bits
[81381.041708]   SET = 0, FnV = 0
[81381.045069]   EA = 0, S1PTW = 0
[81381.048490] Data abort info:
[81381.051824]   ISV = 0, ISS = 0x00000004
[81381.055953]   CM = 0, WnR = 0
[81381.059298] [0004c505040503f8] address between user and kernel address ranges
[81381.066755] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[81381.072412] Modules linked in: cmac algif_hash aes_arm64 algif_skcipher af_alg bnep hci_uart btbcm bluetooth ecdh_generic ecc ov5647 brcmfmac brcmutil ftdi_sio usbserial raspberrypi_hwmon cfg80211 8021q bcm2835_unicam garp rfkill stp llc v4l2_dv_timings v4l2_fwnode bcm2835_codec(C) bcm2835_isp(C) bcm2835_v4l2(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) videobuf2_dma_contig videobuf2_vmalloc snd_bcm2835(C) videobuf2_memops videobuf2_v4l2 videobuf2_common snd_pcm snd_timer videodev vc_sm_cma(C) snd mc uio_pdrv_genirq uio drm fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6 overlay i2c_mux_pinctrl i2c_mux i2c_bcm2835 sha256_generic
[81381.130229] CPU: 0 PID: 3540 Comm: libcamera-vid Tainted: G    B    C        5.10.63-v8+ #1488
[81381.138961] Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
[81381.145315] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[81381.151412] pc : poll_freewait+0x7c/0xd0
[81381.155386] lr : poll_freewait+0x60/0xd0
[81381.159357] sp : ffffffc011feb950
[81381.162711] x29: ffffffc011feb950 x28: ffffffc011feba7c 
[81381.168099] x27: 0000000000000000 x26: ffffff8009fb9d00 
[81381.173485] x25: ffffff8009fb9d01 x24: 0000000000000020 
[81381.178871] x23: ffffffc011febb38 x22: ffffffc011febb68 
[81381.184258] x21: ffffff800308d000 x20: ffffff800308d010 
[81381.189644] x19: 0504c505040503c0 x18: 0000000000000000 
[81381.195030] x17: 0000000000000000 x16: 0000000000000000 
[81381.200416] x15: 0000000000000000 x14: 0000000000000000 
[81381.205802] x13: 0000000000000000 x12: 0000000000000000 
[81381.211189] x11: 0000000000000001 x10: 00000000000019e0 
[81381.216575] x9 : ffffffc0102c5d84 x8 : ffffff8004c3b880 
[81381.221962] x7 : 000000000000000e x6 : ffffffc011feb890 
[81381.227349] x5 : 0000000000000000 x4 : ffffff8009cdf238 
[81381.232734] x3 : 0000000000000000 x2 : 0000000000000002 
[81381.238119] x1 : 0000000000000002 x0 : 0000000000000009 
[81381.243506] Call trace:
[81381.245982]  poll_freewait+0x7c/0xd0
[81381.249604]  do_sys_poll+0x2fc/0x5a0
[81381.253226]  __arm64_compat_sys_ppoll_time64+0xbc/0xf0
[81381.258436]  el0_svc_common.constprop.3+0xc0/0x1f8
[81381.263290]  do_el0_svc_compat+0x24/0x50
[81381.267266]  el0_svc_compat+0x20/0x30
[81381.270976]  el0_sync_compat_handler+0xe4/0x110
[81381.275567]  el0_sync_compat+0x184/0x1c0
[81381.279545] Code: b4000255 f94006b3 910042b4 d1010273 (f9401e60) 
[81381.285724] ---[ end trace d86432dc20a7aa5d ]---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions