Chromium Radxa build crashing

Hi, I’m running the latest Debian release for Rock 5A, everything updated to latest.

I am running chromium-bin (version is 111.0.5563.147) but I frequently see these errors and occasionally a crash:

*** stack smashing detected ***: terminated
[0910/044944.052198:ERROR:process_memory_range.cc(75)] read out of range
[2710:2710:0910/051443.876819:ERROR:gpu_process_host.cc(952)] GPU process exited unexpectedly: exit_code=11

I’m wondering if anyone else has observed this behaviour and how to resolve?

Please tell the kernel version by cmd “uname -a”.

Hi Nasca,

The version is 5.10.110-39-rockchip

It seems that you have already upgraded the ROCK 5A kernel to the latest version.
Can you describe the reproduction method?
For example: which image did you download? did you update or upgrade the system kernel,? Or which website is more stable for reproducing the issue, etc.?

I downloaded the b18 image from https://github.com/radxa-build/rock-5a/releases/, and updated latest packages using rsetup.

It doesn’t seem to matter which site I load, or which command line flags I use (trying various ones).

Can you suggest any specific test or info to report?

Your kernel version is b39?

And you can refer to toppic Crashes since last kernel updates, rock 5a and rock 4c+ uses the same kernel branch.

Yes, I am using the 39 build.
5.10.110-39-rockchip #17309c71b SMP Thu Aug 29 03:31:32 UTC 2024 aarch64 GNU/Linux

I also just upgraded all packages to the latest version and the result is the same. Perhaps I should test an older kernel version, as per that other issue?

Can you send me a log of the errors so I can analyze this issue?

Sorry for the late reply. The logs from Chromium just show that error I posted earlier. Is there some other logging information that I can provide? I note some errors about libGL, but the GPU seems to be in use.

Here’s the extended logging info:

libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
[4933:4933:1022/110311.784620:ERROR:gpu_init.cc(525)] Passthrough is not supported, GL is egl, ANGLE is
[4857:4887:1022/110312.673378:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.StartServiceByName: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[4857:4887:1022/110313.678399:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.StartServiceByName: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
*** stack smashing detected ***: terminated
[1022/110321.394899:ERROR:process_memory_range.cc(75)] read out of range
*** stack smashing detected ***: terminated
[1022/110412.907202:ERROR:process_memory_range.cc(75)] read out of range
*** stack smashing detected ***: terminated
[1022/110413.134694:ERROR:process_memory_range.cc(75)] read out of range
*** stack smashing detected ***: terminated
[1022/110413.362998:ERROR:process_memory_range.cc(75)] read out of range
*** stack smashing detected ***: terminated
[1022/110413.575821:ERROR:process_memory_range.cc(75)] read out of range

Hi @Michael_Cartmel, We recently came out with kernel 6.1 system, you can try it, according to the current test situation, there is no such problem.

Ok, I will try it. Is this the build b2 (rsdk)?

Yes, rock-5a_bookworm_kde_b2.

I am now using the b2 build and I have the same error. Do you have another idea? Perhaps it’s the way I’m trying to launch it.

rock@rock-e281f9ff652b:~DISPLAY=:0 /usr/bin/chromium --kiosk --url https://theage.com.au --noerrdialogs --autoplay-policy=no-user-gesture-required --enable-features=OverlayScrollbar,VaapiVideoDecoder,Vulkan --disable-restore-session-state --window-size=801,480 --window-position=0,0 --ignore-gpu-blocklistst
[15366:15366:1101/134809.093629:ERROR:gpu_init.cc(525)] Passthrough is not supported, GL is egl, ANGLE is
[15366:15366:1101/134809.203912:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.204111:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.204194:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.204296:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.204385:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.204470:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.204550:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.204646:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.206631:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.206729:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.206830:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.206903:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.206995:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.207062:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.207132:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15366:15366:1101/134809.207196:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
[15331:15349:1101/134809.985774:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.StartServiceByName: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[15331:15349:1101/134810.988915:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.StartServiceByName: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
*** stack smashing detected ***: terminated
[1101/134818.255106:ERROR:process_memory_range.cc(75)] read out of range

:0 is gdm, desktop is :1

I don’t understand your response, sorry.

Are you saying I’m running Chromium incorrectly?

DISPLAY=:0 is gdm, DISPLAY=:1 is desktop

Ok, thanks for clarifying, but I run the xserver without a desktop as it’s intended to be a kiosk, so I just have DISPLAY=:0