Closed sergey-239 closed 2 years ago
The creation of the new project when camotics.camotics is available at its default location also leads to the core dump.
*********************************** CAMotics ***********************************
Version: 1.2.2
Author: Joseph Coffland <joseph@cauldrondevelopment.com>
Org: Cauldron Development LLC
Copyright: 2011-2019, Joseph Coffland
Homepage: https://camotics.org/
License: https://www.gnu.org/licenses/gpl-2.0.txt
Date: Sep 13 2022
Time: 22:17:33
Compiler: GNU 12.2.1 20220819 (Red Hat 12.2.1-1)
Options: -faligned-new -std=c++17 -fsigned-char -Wno-deprecated-declarations
-g -Wall -fno-pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection
-fcf-protection -Wno-deprecated-declarations -fPIC
Platform: linux 5.19.6-200.fc36.x86_64
Bits: 64
Mode: Debug
************************************ CBang *************************************
Date: Sep 13 2022
Time: 00:00:00
Compiler: GNU 12.2.1 20220819 (Red Hat 12.2.1-1)
Options: -faligned-new -std=c++17 -fsigned-char -g -Wall -fno-pie -O2
-flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches
-pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection
-fcf-protection -Wno-deprecated-declarations -fPIC
Platform: linux 5.19.6-200.fc36.x86_64
Bits: 64
Mode: Debug
************************************ System ************************************
CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
CPU ID: GenuineIntel Family 6 Model 142 Stepping 9
CPUs: 4
Memory: 7.55GiB
Free Memory: 755.91MiB
Threads: POSIX_THREADS
OS Version: 5.19
Has Battery: true
On Battery: false
UTC Offset: 3
PID: 574098
CWD: /var/lib/mock/fedora-36-x86_64/root/builddir/build/BUILD/CAMotics-1a5cbe93e3d6711744ba733101f13418d9006cf7
Exec: /var/lib/mock/fedora-36-x86_64/root/builddir/build/BUILD/CAMotics-1a5cbe93e3d6711744ba733101f13418d9006cf7/camotics
DPI: 96
********************************************************************************
DEBUG(1):Loading machine Yohudi from /var/lib/mock/fedora-36-x86_64/root/builddir/build/BUILD/CAMotics-1a5cbe93e3d6711744ba733101f13418d9006cf7/machines/yohudi.json
DEBUG(1):Loading machine Taig Mini Mill from /var/lib/mock/fedora-36-x86_64/root/builddir/build/BUILD/CAMotics-1a5cbe93e3d6711744ba733101f13418d9006cf7/machines/taig.json
Opening /var/lib/mock/fedora-36-x86_64/root/builddir/build/BUILD/CAMotics-1a5cbe93e3d6711744ba733101f13418d9006cf7/examples/camotics/camotics.camotics
GCode::Tool Path bounds ((0,0,-1.5), (119.349,16.163,3)) dimensions (119.349,16.163,4.5)
Computing surface at 3 mins 01 secs
DEBUG(1):Times: start=0.00 secs end=3 mins 01 secs duration=3 mins 01 secs
DEBUG(1):GCode::Moves: first=0 last=372
DEBUG(1):AABBTree boxes=754 height=14
DEBUG(1):Partitioned in to 16 jobs
Computing surface bounded by ((-3.2375,-3.175,-3.1625), (122.237,18.175,0.1625)) at 0.175 grid resolution
DEBUG(1):Render time 1.23 secs
Time: 1.43 secs Triangles: 521484 Triangles/sec: 363964.49
Computing surface at 3 mins 01 secs
DEBUG(1):Times: start=3 mins 01 secs end=3 mins 01 secs duration=0.00 secs
DEBUG(1):GCode::Moves: first=372 last=372
DEBUG(1):AABBTree boxes=2 height=2
DEBUG(1):Partitioned in to 0 jobs
Computing surface bounded by ((-3.2375,-3.175,-3.1625), (122.237,18.175,0.1625)) at 0.175 grid resolution
DEBUG(1):Render time 0.00 secs
Time: 0.12 secs Triangles: 521484 Triangles/sec: 4446405.44
New project
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 835, resource id: 10701167, major code: 40 (TranslateCoords), minor code: 0
Computing surface at 0.00 secs
DEBUG(1):AABBTree boxes=0 height=1
WARNING:Empty workpiece, nothing to simulate
DEBUG(1):Render time 0.00 secs
Time: 0.00 secs Triangles: 0 Triangles/sec: 0.00
/usr/include/c++/12/bits/stl_vector.h:1142: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = float; _Alloc = std::allocator<float>; const_reference = const float&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted (core dumped)
Steps to reproduce:
What happens: The app shows the dialog box to choose units and tool table for a new project, then after confirming selections it core dumped on assertion inside stl_vector
Stack trace: