Nesting in presence of Tabs: crash
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.
Always indicate your operating system and QCAD version.
Indicate the post processor used.
Attach drawing files and screenshots.
Post one question per topic.
Nesting in presence of Tabs: crash
Hi all,
I'm trying out the CAM-> Nesting function and found it to worked really well UNTIL I added a tabs on the shape to be nested. QCAD crashes after a period of high CPU load.
I tried with simpler shapes (for instant just a circle) and asked to nest in just 4 such instances. Even this simple test makes QCAD crash if the shapes includes a tab. If I remove the tab QCAD nests correctly without crashing.
Is this a known bug?
P.S. I'm on linux ubuntu 64 bits, QCAD 3.27.9
Thank you
I'm trying out the CAM-> Nesting function and found it to worked really well UNTIL I added a tabs on the shape to be nested. QCAD crashes after a period of high CPU load.
I tried with simpler shapes (for instant just a circle) and asked to nest in just 4 such instances. Even this simple test makes QCAD crash if the shapes includes a tab. If I remove the tab QCAD nests correctly without crashing.
Is this a known bug?
P.S. I'm on linux ubuntu 64 bits, QCAD 3.27.9
Thank you
Re: Nesting in presence of Tabs: crash
I couldn't immediately reproduce this. Could you please attach your file? Thanks.
Re: Nesting in presence of Tabs: crash
Hello Andrew,
thank you for the feedback.
Here's an example file.
Basically if I ask to perform nesting of the circular object with tabs included, QCAD would invariable hang and freeze. If I delete the tabs, nesting works without any issue.
Version:
3.28.2.0 (3.28.2)
Internet:
QCAD.org
Build Date:
Aug 30 2023
Revision:
a8039fc
Qt Version:
5.8.0
Architecture:
x86_64
Compiler:
gcc 4.8.1
thank you for the feedback.
Here's an example file.
Basically if I ask to perform nesting of the circular object with tabs included, QCAD would invariable hang and freeze. If I delete the tabs, nesting works without any issue.
Version:
3.28.2.0 (3.28.2)
Internet:
QCAD.org
Build Date:
Aug 30 2023
Revision:
a8039fc
Qt Version:
5.8.0
Architecture:
x86_64
Compiler:
gcc 4.8.1
- Attachments
-
- test_nesting.dxf
- (102.5 KiB) Downloaded 326 times
Re: Nesting in presence of Tabs: crash
Hi,
I can confirm the issue when the selected items to nest contain a TAB.
While writing this answer my browser closed twice and the harddisk is still rambling away.
The nesting attempt was preformed at least 5min. ago.
Regards,
CVH
I can confirm the issue when the selected items to nest contain a TAB.
While writing this answer my browser closed twice and the harddisk is still rambling away.
The nesting attempt was preformed at least 5min. ago.
Regards,
CVH
Re: Nesting in presence of Tabs: crash
@andrew could you let us know if this is a difficult bug to fix?
Thank you
Thank you
Re: Nesting in presence of Tabs: crash
Andrew,
Downloaded and installed the latest trial version: qcadcam-3.28.2-trial-win32-installer.msi
With the provided example: test_nesting.dxf
And it seems to be a decent crash, the system is unresponsive for an extended period of time.
Other running apps are unresponsive too or fail altogether when addressed. I was unable to close or kill the QCAD process.
Forced a hard reset and rebooted Windows.
As newyd_cnc initially reported:
Without selecting a TAB all is fine but then you need to add TAB's in a later process, after Nesting.
On the sheet will fit at least 225 such circles and then one would need to add at least 15x15x2+60 TAB's.
A simple task with a uniform item to nest but not straightforward with several irregular shapes, with arbitrary nesting positioning/rotations.
Regards,
CVH
Downloaded and installed the latest trial version: qcadcam-3.28.2-trial-win32-installer.msi
With the provided example: test_nesting.dxf
- Selected the circle and the rightmost TAB.
Menu CAM .. Nesting
In the Options Toolbar opted for 4 copies.
The other options as default: Rotations=1; Sheet Margin=0.1; Margin=0.5; Tolerance=0.001; Alignment=Left-Bottom; Strategy=Hull
Selected the sheet (red square).
Acknowledged with a right click (Done).
And it seems to be a decent crash, the system is unresponsive for an extended period of time.
Other running apps are unresponsive too or fail altogether when addressed. I was unable to close or kill the QCAD process.
Forced a hard reset and rebooted Windows.
As newyd_cnc initially reported:
Without selecting a TAB all is fine but then you need to add TAB's in a later process, after Nesting.
On the sheet will fit at least 225 such circles and then one would need to add at least 15x15x2+60 TAB's.
A simple task with a uniform item to nest but not straightforward with several irregular shapes, with arbitrary nesting positioning/rotations.
Regards,
CVH
Re: Nesting in presence of Tabs: crash
Thanks for the details.
I've added a bug report at:
https://www.qcad.org/rsforum/viewtopic.php?p=42574
The problem should be fixed for the next release.
I've added a bug report at:
https://www.qcad.org/rsforum/viewtopic.php?p=42574
The problem should be fixed for the next release.
Re: Nesting in presence of Tabs: crash
Thanks Andrew.
Remark that the above link and the Changelog link bring us back to this forum topic.
The link to the (fixed) bug report is:
https://qcad.org/bugtracker/index.php?d ... sk_id=2502
Regards,
CVH
Remark that the above link and the Changelog link bring us back to this forum topic.
The link to the (fixed) bug report is:
https://qcad.org/bugtracker/index.php?d ... sk_id=2502
Regards,
CVH
Re: Nesting in presence of Tabs: crash
Is there any preliminary date for the new release including this bugfix?andrew wrote: ↑Mon Nov 06, 2023 2:32 pmThanks for the details.
I've added a bug report at:
https://www.qcad.org/rsforum/viewtopic.php?p=42574
The problem should be fixed for the next release.
Thank you
Re: Nesting in presence of Tabs: crash
Yesterday Andrew has set the open source version to snapshot 3.28.2.6
https://github.com/qcad/qcad/commit/e2c ... 59148fc5bb
A new release is very likely.
Main releases require rigorous testing.
For evaluating purposes you can download the latest snapshot (> 3.28.2.5 if any) from your personal download page.
Regards,
CVH
Re: Nesting in presence of Tabs: crash
Version 3.29 ... 3.29.1 is released.
Should be fixed
Regards,
CVH
Should be fixed
Regards,
CVH