Core Dumped on quit

Discussions around the CAM Add-On of QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Indicate the post processor used.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
stema
Newbie Member
Posts: 4
Joined: Wed Jan 22, 2020 2:03 pm

Core Dumped on quit

Post by stema » Wed Jan 22, 2020 2:24 pm

Hi!
versions 3.24.0 and 3.24.2 core dumps on quit, I’m not have this problem under 3.23.0. The core dump only happens if I open a file or save a file and then quit the program.

It is good to draw and create drawings and quit without any core dump as long as I not save my work, if I do, it core dumps when I quit program! I don’t have this behavior in the 3.23.0 version.
This is the error message I got. same for the 3.24.2 version.
  QCAD version  3.24.0
Warning:  RPropertyTypeId::generateId: property already initialized:  7RObject : "" : "Invisible"
09:52:54: Debug:    RGLES3DPlugin::initScriptExtensions
09:52:55: Debug:    RGraphicsViewGLES3D::initializeGL
09:52:56: Debug:    RGLES3DPlugin::initScriptExtensions
09:53:03: Debug:    calling odInitialize
09:53:04: Debug:    dropped global XDATA (no res buf):  "ViewportCenter"
09:53:04: Debug:    RGLES3DPlugin::initScriptExtensions
09:53:08: Debug:    done
pure virtual method called
terminate called without an active exception
./qcad: line 9:  4735 Aborted                 (core dumped) LD_LIBRARY_PATH="$DIR" "$binary" "$@"

QCAD has unexpectedly quit.

Please use the offscreen 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                                                     
                    
I have test on 3 different computers all on Kubuntu 18.04 latest update. I’m using Qcad from tar archive qcadcam-3.24.0-pro-linux-x86_64.

Can anyone confirm if this is related to my computers, settings, Kubuntu OS or is this actually a program fault.

/Stema

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

Re: Core Dumped on quit

Post by andrew » Wed Jan 22, 2020 2:45 pm

I don't have Kubuntu 18.04 here at the moment, but Ubuntu 18.04 which doesn't have that problem with QCAD 3.24.2. Also the "qcad-3.24.2-pro-linux-qt5.13-x86_64" package seems to work just fine (using a newer Qt version).

It could be that there is an incompatible Qt style plugin that attempts to unify the look of all applications on your system.

If so, you can work around it with:

Code: Select all

./qcad -style plastique

stema
Newbie Member
Posts: 4
Joined: Wed Jan 22, 2020 2:03 pm

Re: Core Dumped on quit

Post by stema » Wed Jan 22, 2020 2:55 pm

Sorry this did not solve the problem.

/Stema

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

Re: Core Dumped on quit

Post by andrew » Wed Jan 22, 2020 3:55 pm

OK, thanks.

I've installed Kubuntu 18.04 and everything works fine with QCAD 3.24.2.

However, I've just noticed that you are running QCAD/CAM, not QCAD. We're most likely looking at an OpenGL problem. Try removing (not renaming, removing) the file plugins/libqcadles3d.so

I will move this to the correct QCAD/CAM forum.

stema
Newbie Member
Posts: 4
Joined: Wed Jan 22, 2020 2:03 pm

Re: Core Dumped on quit

Post by stema » Wed Jan 22, 2020 4:25 pm

After I moved the file to /root I have same result.
I can change to the 3.24.2 version if you preferred?

sudo mv libqcadgles3d.so /root
stema@E7470:/opt/qcadcam-3.24.0-pro-linux-x86_64$ ./qcad
QCAD version  3.24.0
Warning:  RPropertyTypeId::generateId: property already initialized:  7RObject : "" : "Invisible"
16:10:46: Debug:    calling odInitialize
16:10:46: Debug:    dropped global XDATA (no res buf):  "ViewportCenter"
16:10:50: Debug:    done
pure virtual method called
terminate called without an active exception
./qcad: line 9:  3341 Aborted                 (core dumped) LD_LIBRARY_PATH="$DIR" "$binary" "$@"

QCAD has unexpectedly quit.

Please use the offscreen 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
/Stema

stema
Newbie Member
Posts: 4
Joined: Wed Jan 22, 2020 2:03 pm

Re: Core Dumped on quit

Post by stema » Thu Jan 23, 2020 5:25 pm

For your information.
I have reinstalled my computer with a fresh Kubuntu 18.04 and the latest updates and only Qcad/cam version 3.23.0 and 3.24.0 and 3.24.2 and I still get the same behavior. 3.23.0 working and both 3.24 core dumped.

This is no big deal, I just wanted to make you aware of the problem, hopefully you will find a solution to this :)

Thanks for your effort in Qcad, I absolutely love it!

/Stema

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

Re: Core Dumped on quit

Post by andrew » Thu Jan 23, 2020 5:53 pm

Thanks for the details.

Yes, I can also reproduce this problem here now (only under KUbuntu 18.04, not Ubuntu 18.04). The virtual method call seems to happen in a third party library (OpenDesign). It could be an incompatibility. One of those really weird issues.. Let us know if the problem occurs anywhere else than on exit.

Post Reply

Return to “QCAD/CAM”