Priority: P1: Critical
Affects Version/s: 5.15.6
Environment:OpenWRT LEDE 17.01-snapshot, Onion Omega2+, MT7688
Commits:6aef29a731 (qt/qtdeclarative/dev) b43fa81bf6 (qt/qtdeclarative/6.2) f4a55f7633 (qt/tqtc-qtdeclarative/5.15) 005460e356 (qt/qtdeclarative/6.3) b43fa81bf6 (qt/tqtc-qtdeclarative/6.2) 005460e356 (qt/tqtc-qtdeclarative/6.3)
I ported a huge JS project to use with QML server side (no GUI, no Quick). On Ubuntu 20.04.3 it runs fine, I checked with Valgrind, no obvious issues.
But when used on my target board Onion Omega2+ running OpenWRT LEDE 17.01-snapshot,
the app crashes randomly, changing the time when it crashes when I comment out particular code lines.
I recompiled QML lib and ran valgrind:
I played with V4 envs listed in the docs with no luck, except that when I set too small QV4_JS_MAX_STACK_SIZE "RangeError: Maximum call stack size exceeded" appear and occasionally i might not crash, but at most times it still does.
Setting QV4_MM_AGGRESSIVE_GC=1 causes th app to run veeeeeery slowly but as far as i remember it finally crashed too.
Setting QV4_FORCE_INTERPRETER=1 did not help either.
Any hints are appreciated, especially if you are not going to fix the bug on this rarely used platform
|For Gerrit Dashboard: QTBUG-100431|
|393706,2||V4: Do not call dtor of an object we continue to use||dev||qt/qtdeclarative||Status: MERGED||+2||0|
|393857,2||V4: Do not call dtor of an object we continue to use||6.2||qt/qtdeclarative||Status: MERGED||+2||0|
|393858,2||V4: Do not call dtor of an object we continue to use||6.3||qt/qtdeclarative||Status: MERGED||+2||0|
|393859,2||V4: Do not call dtor of an object we continue to use||tqtc/lts-5.15||qt/tqtc-qtdeclarative||Status: MERGED||+2||0|
|394489,1||WIP: masm: Check results of madvise()||dev||qt/qtdeclarative||Status: ABANDONED||-2||0|
|398041,2||QML: Protect against EAGAIN when calling madvise on linux||dev||qt/qtdeclarative||Status: MERGED||+2||0|
|402787,2||QML: Protect against EAGAIN when calling madvise on linux||6.2||qt/qtdeclarative||Status: MERGED||+2||0|
|402788,2||QML: Protect against EAGAIN when calling madvise on linux||6.3||qt/qtdeclarative||Status: MERGED||+2||0|
|402789,2||QML: Protect against EAGAIN when calling madvise on linux||tqtc/lts-5.15||qt/tqtc-qtdeclarative||Status: MERGED||+2||0|