Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Qt-upgrade] The app is crashing on linux with qt 5.15.8 #13311

Closed
alexjba opened this issue Jan 26, 2024 · 5 comments
Closed

[Qt-upgrade] The app is crashing on linux with qt 5.15.8 #13311

alexjba opened this issue Jan 26, 2024 · 5 comments

Comments

@alexjba
Copy link
Contributor

alexjba commented Jan 26, 2024

Description

The app is crashing on Linux when it's being compiled against qt 5.15.8. The crash seems to be related to nimqml or DOtherSide.

Note: We have colleagues that are using the debug builds with qt 5.15.8 or newer and it works. Could be a more specific issue that's reproducible on release, on specific flows or just on the nix builds.

Original crash

i was able to launch the build from https://ci.status.im/job/status-desktop/job/systems/job/linux/job/x86_64/job/package_nix/13/
i was not able to create account in this build, it fails with:

raceback (most recent call last)
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/nim_status_client.nim(208) nim_status_client
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/nim_status_client.nim(205) mainProc
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/vendor/nimqml/src/nimqml/private/qguiapplication.nim(29) exec
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/vendor/nimqml/src/nimqml/private/qobject.nim(52) qobjectCallback
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/vendor/nimqml/src/nimqml/private/qobject.nim(37) onSlotCalled
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/vendor/nimbus-build-system/vendor/Nim/lib/core/macros.nim(558) onSlotCalled
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/core/signals/signals_manager.nim(63) receiveSignal
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/core/signals/signals_manager.nim(60) processSignal
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/core/eventemitter.nim(58) emit
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/startup/controller.nim(137) :anonymous
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/startup/io_interface.nim(118) onNodeLogin
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/startup/module.nim(444) onNodeLogin
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/startup/io_interface.nim(174) finishAppLoading
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/startup/module.nim(337) finishAppLoading
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/boot/app_controller.nim(486) finishAppLoading
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/boot/app_controller.nim(461) load
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/io_interface.nim(32) load
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/module.nim(644) load
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/network_connection/io_interface.nim(8) load
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/network_connection/module.nim(40) load
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/network_connection/view.nim(33) load
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/network_connection/io_interface.nim(17) viewDidLoad
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/network_connection/module.nim(50) viewDidLoad
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/network_connection/module.nim(47) checkIfModuleDidLoad
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/io_interface.nim(73) networkConnectionModuleDidLoad
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/module.nim(847) networkConnectionModuleDidLoad
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/module.nim(811) checkIfModuleDidLoad
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/boot/app_controller.nim(407) mainDidLoad
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/boot/app_controller.nim(390) chekForWalletConnectPairings
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/core/eventemitter.nim(58) emit
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/wallet_section/wallet_connect/controller.nim(67) :anonymous
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/src/app/modules/main/wallet_section/wallet_connect/controller.nim(132) setHasActivePairings
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/vendor/nimbus-build-system/vendor/Nim/lib/core/macros.nim(556) hasActivePairingsChanged
/home/jenkins/workspace/status-desktop/systems/linux/x86_64/package_nix/vendor/nimqml/src/nimqml/private/qobject.nim(35) emit
SIGABRT: Abnormal termination.
Aborted (core dumped)

Originally posted by @anastasiyaig in #9232 (comment)

@yakimant
Copy link
Member

Please ask me, when you will need some help debugging.

So far there is a manual job:
https://ci.status.im/job/status-desktop/job/systems/job/linux/job/x86_64/job/package_nix/

Nix + Qt 5.15.8 branch:
#9232

Or you can run locally:

nix-shell --show-trace --pure --run 'make --debug tgz-linux V=1'

@alexandraB99 alexandraB99 added this to the 0.17 milestone Jan 29, 2024
@yakimant
Copy link
Member

I do investigation on this issue in my PR too:
#9232

@yakimant
Copy link
Member

Qt WebEngine was causing the problems, disabling helped: #13540

Now the question is - do we really need it? And if so - we need to debug the crash further.

@iurimatias
Copy link
Member

disregard last message / deleted

@iurimatias
Copy link
Member

duplicate of #9350

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants