View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001392 | PartDesign | Bug | public | 2014-02-08 14:37 | 2014-05-12 15:12 |
Reporter | willizhavoc | Assigned To | wmayer | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 0.13 | ||||
Fixed in Version | 0.14 | ||||
Summary | 0001392: When I use the sweep tool, the computer crashes. | ||||
Description | The sweep tool ALWAYS crashes the program when I click "ok" to make the sweep! | ||||
Tags | OCC Bug | ||||
FreeCAD Information | |||||
|
Your information are very sparse. Can you offer an example or a step-by-step description? Also good to know is the used OS. |
|
I can get it to crash under specific circumstances only. See the forum here http://forum.freecadweb.org/viewtopic.php?f=10&t=5982&p=47691#p47691 If I select two lines that could be made into a wire (but have not been) as they start and finish at the same point, and then try to sweep them [Thread 0x7fffd0e32700 (LWP 23310) exited] Attach observer 0x21a4418 [New Thread 0x7fffd0e32700 (LWP 23313)] Attach observer 0x21b08a0 Program received signal SIGSEGV, Segmentation fault. 0x00007fff76264ac4 in BRepFill_SectionLaw::Law(int) const () from /usr/local/tests/OCE_master_OpenMP_gl2ps_freeimg/lib/libTKBool.so.8 OS: Ubuntu 12.04.4 LTS Platform: 64-bit Version: 0.14.3236 (Git) Branch: master Hash: 629d5cc1fe193c88d1dfefccd000bfc7cd6f9fc0 Python version: 2.7.3 Qt version: 4.8.2 Coin version: 3.1.3 SoQt version: 1.5.0 OCC version: 6.7.0 the problem is that the two lines are on the same plane, sweep wants to sweep from one to the other, along the path, but the path is perpendicular to the plane of the two lines, so trying to sweep from one profile to the next makes no sense as the path is perpendicular to the direction the sweep needs to be going to get from one profile to the next. But still FreeCAD should produce an exception/error message etc. not crash. |
|
In this file attached, sweepcrashtestfile.fcstd to make the crash, select Line and Line001 as profiles and Line003 as the path ...and you will get the bug i.e. crash FreeCAD If you also look at sweep006, I have used Line and Line001 as the profiles again but swept along line004, this does not crash but produces an unexpected result. |
|
|
|
> But still FreeCAD should produce an exception/error message etc. not crash. You can't blame FreeCAD for bugs inside OCC. On Windows we don't get a crash because the signal handling seems to work somewhat better than on Linux. Btw, the error is inside BRepFill_PipeShell::Build() where an invalid index is accessed inside an array ("mySection->Law(1)->GetDomain(FirstS, LastS);"). |
|
Duplicate of 0001419 which is basically fixed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-08 14:37 | willizhavoc | New Issue | |
2014-02-08 16:51 | wmayer | Note Added: 0004170 | |
2014-03-03 11:48 | wmayer | Status | new => feedback |
2014-03-03 12:45 | jmaustpc | Note Added: 0004362 | |
2014-03-03 12:56 | jmaustpc | Note Added: 0004363 | |
2014-03-03 12:56 | jmaustpc | File Added: sweepcrashtestfile.fcstd | |
2014-03-03 13:05 | shoogen | Priority | urgent => high |
2014-03-03 13:05 | shoogen | Severity | major => crash |
2014-03-03 13:05 | shoogen | Status | feedback => acknowledged |
2014-03-04 09:59 | wmayer | Note Added: 0004374 | |
2014-03-04 10:01 | wmayer | Note Edited: 0004374 | |
2014-03-04 10:52 | shoogen | Tag Attached: OCC Bug | |
2014-05-12 15:11 | wmayer | Relationship added | duplicate of 0001419 |
2014-05-12 15:12 | wmayer | Note Added: 0004662 | |
2014-05-12 15:12 | wmayer | Status | acknowledged => closed |
2014-05-12 15:12 | wmayer | Assigned To | => wmayer |
2014-05-12 15:12 | wmayer | Resolution | open => duplicate |
2014-05-12 15:12 | wmayer | Fixed in Version | => 0.14 |