QCAD on Ubuntu 22.04.1 crashes

Post your question about installing or upgrading QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Post one question per topic.

Post Reply
asala
Newbie Member
Posts: 3
Joined: Tue Oct 24, 2023 9:51 pm

QCAD on Ubuntu 22.04.1 crashes

Post by asala » Tue Oct 24, 2023 10:01 pm

PC with 6.2.0-34-generic #34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 13:12:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

First I installed QCAD trial version: all right, no issues.
Then I purchased the PRO version, downloaded qcad-3.28.2-pro-linux-x86_64.run, made it executable and run from a terminal window. Apparently the installation was OK. No errors

But starting it I get the splash screen, then nothing. Running ./qcad from terminal window I get
~/opt/qcad-3.28.2-pro-linux-x86_64$ ./qcad
QCAD version 3.28.2
22:57:57: Debug: loading plugins...
22:57:57: Debug: RDwgPlugin::init
22:57:57: Debug: RProScriptsPlugin::init
22:57:57: Debug: RTracePlugin::init
22:57:57: Debug: loading static plugins...
22:57:57: Debug: trying to load theme stylesheet: themes/Default/stylesheet.css
22:57:57: Debug: trying to load theme stylesheet: themes/Default/stylesheet_linux.css
22:57:58: Debug: loading plugins...
22:57:58: Debug: loading static plugins...
22:57:58: Debug: checking for QCAD Pro updates...
Warning: QSslSocket: cannot resolve CRYPTO_num_locks
Warning: QSslSocket: cannot resolve CRYPTO_set_id_callback
Warning: QSslSocket: cannot resolve CRYPTO_set_locking_callback
Warning: QSslSocket: cannot resolve ERR_free_strings
Warning: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
Warning: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
Warning: QSslSocket: cannot resolve sk_new_null
Warning: QSslSocket: cannot resolve sk_push
Warning: QSslSocket: cannot resolve sk_free
Warning: QSslSocket: cannot resolve sk_num
Warning: QSslSocket: cannot resolve sk_pop_free
Warning: QSslSocket: cannot resolve sk_value
Warning: QSslSocket: cannot resolve SSL_get_peer_certificate
Warning: QSslSocket: cannot resolve SSL_library_init
Warning: QSslSocket: cannot resolve SSL_load_error_strings
Warning: QSslSocket: cannot resolve SSL_get_ex_new_index
Warning: QSslSocket: cannot resolve SSLv2_client_method
Warning: QSslSocket: cannot resolve SSLv3_client_method
Warning: QSslSocket: cannot resolve SSLv23_client_method
Warning: QSslSocket: cannot resolve SSLv2_server_method
Warning: QSslSocket: cannot resolve SSLv3_server_method
Warning: QSslSocket: cannot resolve SSLv23_server_method
Warning: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
Warning: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
Warning: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
Warning: QSslSocket: cannot resolve SSLeay
Warning: QSslSocket: cannot resolve SSLeay_version
Warning: QSslSocket: cannot call unresolved function CRYPTO_num_locks
Warning: QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
Warning: QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
Warning: QSslSocket: cannot call unresolved function SSL_library_init
Warning: QSslSocket: cannot call unresolved function SSLv23_client_method
Warning: QSslSocket: cannot call unresolved function sk_num
./qcad: line 13: 115534 Segmentation fault (core dumped) QT_AUTO_SCREEN_SCALE_FACTOR=0 LD_LIBRARY_PATH="$DIR" "$binary" "$@"

QCAD has unexpectedly quit.

Please use the offscreen or minimal platform plugin for headless systems
(without a running X11 server):
./qcad -platform offscreen

In addition, you might have to override the default Qt style
to prevent the loading of a native desktop style (such as GTK):
./qcad -style plastique


BTW, the trial version keeps working correctly

What should I do ?

Thank you and best regards

CVH
Premier Member
Posts: 3480
Joined: Wed Sep 27, 2017 4:17 pm

Re: QCAD on Ubuntu 22.04.1 crashes

Post by CVH » Wed Oct 25, 2023 6:29 am

Hi, and welcome to the QCAD forum.

Similar crash report with solution here:
https://www.qcad.org/rsforum/viewtopic.php?f=34&t=9490

I would remove the trial version first. :wink:

Regards,
CVH

User avatar
andrew
Site Admin
Posts: 9063
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD on Ubuntu 22.04.1 crashes

Post by andrew » Wed Oct 25, 2023 7:08 am

Please try the installer "qcad-3.28.2-pro-linux-qt5.14-x86_64.run" instead (labeled "QCAD Professional 3.28.2 for Linux Qt 5.14 64bit (Installer)" on your download page).

asala
Newbie Member
Posts: 3
Joined: Tue Oct 24, 2023 9:51 pm

Re: QCAD on Ubuntu 22.04.1 crashes

Post by asala » Wed Oct 25, 2023 7:35 am

andrew wrote:
Wed Oct 25, 2023 7:08 am
Please try the installer "qcad-3.28.2-pro-linux-qt5.14-x86_64.run" instead (labeled "QCAD Professional 3.28.2 for Linux Qt 5.14 64bit (Installer)" on your download page).
This version seems OK. Let me check it thoroughly
Thank you for your support

asala
Newbie Member
Posts: 3
Joined: Tue Oct 24, 2023 9:51 pm

Re: QCAD on Ubuntu 22.04.1 crashes

Post by asala » Wed Oct 25, 2023 7:53 am

CVH wrote:
Wed Oct 25, 2023 6:29 am
Hi, and welcome to the QCAD forum.

Similar crash report with solution here:
https://www.qcad.org/rsforum/viewtopic.php?f=34&t=9490

I would remove the trial version first. :wink:

Regards,
CVH
Yes, it seems the same problem with the same solution, and it works. Thank you
BTW I uninstalled the trial version but... things don't change. The solution is to use qt5 version.

Best regards

Post Reply

Return to “QCAD Installation and Upgrades”