Skip to content
Qt 6.11 is out! See what's new in the release blog
  • 0 Votes
    3 Posts
    162 Views
    T
    @Nils-Sjoberg Thanks for the suggestion! I tested with: OPENSSL_armcap=0 Unfortunately, it doesn't change the behaviour. The application still crashes on the Raspberry Pi 3, so it doesn't appear to be an OpenSSL CPU capability detection issue. However, I have an interesting update that may help narrow down the problem. Originally, my WebEngineProfile was configured like this: property string tmpDir: session.getPlatform() == "windows" ? "C:/Temp/xx" : "/tmp" WebEngineProfile { offTheRecord: false persistentStoragePath: tmpDir + "/xx-webengine-" + content.uuid() cachePath: tmpDir + "/xx-webcache-" + content.uuid() } So every WebEngineView was using a profile stored under /tmp, with a directory name based on content.uuid(). I then changed only the profile/cache location to a persistent directory under the user's home instead of /tmp, for example: persistentStoragePath: "/home/xx/.local/share/xx/NeoPlayer/WebEngine/profile" cachePath: "/home/xx/.local/share/xx/NeoPlayer/WebEngine/cache" (or an equivalent persistent location). Since this change: the application progresses much further during startup, several crashes no longer occur, the remaining crash is now consistently inside QtWebEngineCore, typically in a thread named CacheThread_Blo, with a backtrace ending in malloc() / operator new() inside libQt5WebEngineCore.so. In other words, changing only persistentStoragePath and cachePath significantly changes the failure mode. What puzzles me is that the original code works perfectly on a Raspberry Pi 5, while it crashes on the Raspberry Pi 3. Some additional comparison between the two systems: Both run Debian 13 (Trixie). /tmp is a tmpfs on both systems. Both use the same application source code. Both are built from the same Qt 5.15.17 build system (with architecture-specific binaries). The Raspberry Pi 5 runs AArch64 (64-bit), while the Raspberry Pi 3 runs ARMv7 (32-bit). This makes me wonder whether the issue is not /tmp itself, but rather how QtWebEngine/Chromium initializes and manages a WebEngineProfile on 32-bit ARM. Changing the profile location seems to alter the internal initialization sequence enough that the crash either disappears or occurs much later during startup. Am I overlooking something about how WebEngineProfile is expected to be used? In particular: Is storing a WebEngineProfile under /tmp considered bad practice or unsupported? Is creating profile directories dynamically using content.uuid() likely to expose issues or race conditions inside QtWebEngine? Would you instead recommend creating a single long-lived WebEngineProfile and reusing it across all WebEngineView instances? Has anyone seen similar behaviour where changing only persistentStoragePath or cachePath changes or eliminates crashes in QtWebEngine? If there are other diagnostics that would help identify the root cause, I'd be happy to run them and share the results.
  • 0 Votes
    3 Posts
    2k Views
    H
    Hi @jsulm Thanks for you response :-) I think i have setup the sysroot correctly. In the "Preferences" -> "Kits" and under the Sysroot, i have defined: /opt/fsl-imx-wayland/6.6-scarthgap-imx-full-image/sysroots/cortexa7t2hf-neon-poky-linux-gnueabi
  • Error enabling xcb on arm

    Unsolved Mobile and Embedded xcb arm7
    4
    0 Votes
    4 Posts
    3k Views
    SGaistS
    Hi, What more ideas ? Did you check that you have the library I mentioned for your target ?
  • 0 Votes
    21 Posts
    18k Views
    T
    The chromium snapshot is outdated. There is already a fix for that! link text
  • 0 Votes
    5 Posts
    4k Views
    raven-worxR
    @KroMignon you can try the following: QMAKE_CXXFLAGS_RELEASE -= -Os QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO -= -Os Maybe add an other optimization flag as desired.
  • Qt5.x on jetson TK1?

    Unsolved Mobile and Embedded qt5.x on jetson arm7
    10
    0 Votes
    10 Posts
    7k Views
    Andrey VolodinA
    I got tackled with space issue. It seems that now qt 5.7 installs with configure and make -j 4. But how to verify that installation is successful? It seems that qt doesn't use make install. Does that mean that qt make doesn't update environment variables and can by default be started from bin folder manually? Or is it prefix which updates environmental variables? Regards, Andrey