View Issue Details

IDProjectCategoryView StatusLast Update
0002818FreeCADBugpublic2017-03-30 13:01
Reportersdh4 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformLinuxOSFedoraOS Version25
Product Version0.16 
Fixed in Version0.17 
Summary0002818: MEFISTO2 meshing segfaults in 0.16 on Fedora 25
DescriptionMEFISTO2 meshing consistently segfaults in 0.16 under Fedora 25

I don't think this related to Bug 0002612, as smesh < 7.0 and the fix for 0002612 doesn't look like it would make any difference.

freecad-0.16-2.fc25.x86_64
smesh-6.6-1.fc25.x86_64
OCE-modeling-0.17.1-2.fc25.x86_64
OCE-ocaf-0.17.1-2.fc25.x86_64
OCE-debuginfo-0.17.1-2.fc25.x86_64
OCE-visualization-0.17.1-2.fc25.x86_64
OCE-foundation-0.17.1-2.fc25.x86_64
boost-1.60.0-9.fc25.x86_64
Steps To Reproduce1. Run FreeCAD
2. Create a cube
3. Attempt to create a MEFISTO mesh
4. Warning message about segfault
Additional InformationFrom gdb:
Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007fff6919ba89 in qutr2d (
    p1=<error reading variable: Cannot access memory at address 0xfa8041dabc8>, p2=...,
    p3=<error reading variable: Cannot access memory at address 0xc000004129988>, qualite=6.9533558063670365e-310)
    at /usr/src/debug/smesh-6.6/src/MEFISTO2/trte.f:70
70 a = sqrt( (p2(1)-p1(1))**2 + (p2(2)-p1(2))**2 )

next stack frame up:
#1 0x00007fff69199495 in qualitetrte_ (mnpxyd=mnpxyd@entry=0x41d9c20,
    mosoar=@0x7fffffff8c08: 7, mxsoar=@0x7fffffff8c10: 63072,
    mnsoar=mnsoar@entry=0x44b4c50, moartr=@0x7fffffff8c20: 3,
    mxartr=@0x7fffffff8c28: 42048, mnartr=0x483a270,
    nbtria=@0x7fffffff8e18: 1, quamoy=@0x7fffffff8c58: 0,
    quamin=@0x7fffffff8c60: 2)
    at /usr/src/debug/smesh-6.6/src/MEFISTO2/aptrte.cpp:798
798 qualite );
nosotr[0] and nosotr[2] look invalid:

(gdb) print nosotr[0]
$1 = 717259538600
(gdb) print nosotr[1]
$2 = 84
(gdb) print nosotr[2]
$3 = 140737488325264
(gdb) print nt
$4 = 1
TagsMesh
FreeCAD Information

Activities

Kunda1

2017-01-14 20:20

administrator   ~0007769

Forum thread: http://forum.freecadweb.org/viewtopic.php?f=10&t=19900

Kunda1

2017-03-28 18:57

administrator   ~0008724

@NormandC do you mind weighing on this ?

Kunda1

2017-03-29 18:24

administrator   ~0008734

@sdh4 can you reproduce on 0.17 ?

sdh4

2017-03-30 01:36

reporter   ~0008736

Seems to not be an issue in a self-compiled 0.17 tree off of github.... So maybe don't worry about it.

Kunda1

2017-03-30 13:01

administrator   ~0008737

Thanks. Marking unable to reproduce and fixed in 0.17

Issue History

Date Modified Username Field Change
2016-12-16 01:48 sdh4 New Issue
2017-01-14 20:18 Kunda1 Tag Attached: Mesh
2017-01-14 20:20 Kunda1 Note Added: 0007769
2017-03-28 18:57 Kunda1 Note Added: 0008724
2017-03-29 18:24 Kunda1 Status new => feedback
2017-03-29 18:24 Kunda1 Note Added: 0008734
2017-03-30 01:36 sdh4 Note Added: 0008736
2017-03-30 01:36 sdh4 Status feedback => new
2017-03-30 13:01 Kunda1 Status new => closed
2017-03-30 13:01 Kunda1 Resolution open => unable to reproduce
2017-03-30 13:01 Kunda1 Fixed in Version => 0.17
2017-03-30 13:01 Kunda1 Note Added: 0008737