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: 4955
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: 8786
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

j22
Newbie Member
Posts: 3
Joined: Sat Feb 22, 2014 8:50 pm

Re: QCAD on Ubuntu 22.04.1 crashes

Post by j22 » Tue May 14, 2024 11:42 pm

PC running Mint LMDE 6 (based on Debian 12) , kernel 6.1.0-18-and64 x86_64
Qcad 3.24.3

I recently changed OS from Mint 20.3 to Mint LMDE6. version 3.24.3 was running good on 20.3. Reinstall using the 3.24.3 .run file seemed to go ok , no errors reported. When I tried to start qcad there was no splash screen, only a qcad label showed in the panel for a few seconds before disappearing. Qcad did not start. Thinking it might be a PATH issue I added the install directory location to the path. Now when starting from the icon I get a splash screen for a few seconds then nothing. Starting from command line I get the same string of error messages as Asala reported in this thread.

I don't have a trial version to delete. I have previous versions of qcad going back to 3.16.2. I do not have an installer for 3.24.3 with qt5 in the label.

If qt5 is somehow part of the fix how do I get there from here?

Thank you.

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

Re: QCAD on Ubuntu 22.04.1 crashes

Post by CVH » Wed May 15, 2024 11:30 am

@j22,

Version 3.24.3 is over 4 years old.
I don't think that there is still support for that. :?

You could renew your licence and update to the latest version.
On your personal download page (Or on the trial page) scroll further down beyond 'All Downloads'.

Regards,
CVH

Post Reply

Return to “QCAD Installation and Upgrades”