View Issue Details

IDProjectCategoryView StatusLast Update
0002990FreeCADBugpublic2017-03-28 20:52
Reporterduncan_bayne Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformFreeBSD 
Product Version0.17 
Summary0002990: FreeBSD: Segfault on File -> New
DescriptionFreeCAD is segfaulting whenever I click File, then New.

Snipped backtrace from gdb:

#0  0x0000000816800380 in __driDriverGetExtensions_i915 () from /usr/local/lib/dri/i965_dri.so
(gdb) bt
#0  0x0000000816800380 in __driDriverGetExtensions_i915 () from /usr/local/lib/dri/i965_dri.so
#1  0x00000008167eb90d in __driDriverGetExtensions_i915 () from /usr/local/lib/dri/i965_dri.so
0000002  0x0000000800f6826f in Gui::View3DInventorViewer::renderScene () from /usr/local/FreeCAD/lib/libFreeCADGui.so
0000003  0x0000000800f3f200 in SIM::Coin3D::Quarter::QuarterWidget::paintEvent () from /usr/local/FreeCAD/lib/libFreeCADGui.so
0000004  0x0000000805c5997c in QWidget::event () from /usr/local/lib/qt4/libQtGui.so.4
Steps To Reproduce1. Launch FreeCAD.

➜  ~ FreeCAD
FreeCAD 0.17, Libs: 0.17RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2016
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##


2. Click File
3. Click New

[1]    8171 segmentation fault (core dumped)  FreeCAD
Additional Information
OS: UNIX
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.Unknown
Build type: Release
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1

FreeBSD x220 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22 06:12:04 UTC 2017     
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
amd64 
TagsFreeBSD
FreeCAD Information

Activities

duncan_bayne

2017-03-28 06:31

reporter   ~0008722

I tried editing this issue to clean up the broken code block, and add OS info, but Mantis Tracker isn't configured to allow users to edit issues.

So, my apologies for the broken formatting above :) My OS details are:

FreeBSD x220 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22 06:12:04 UTC 2017     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

Kunda1

2017-03-28 17:22

administrator   ~0008723

FreeBSD ;)
We don't see much of that here. Please open a forum thread to get more attention from the community to help troubleshoot this issue. Then please bidirectionally link ticket <=> forum thread.

duncan_bayne

2017-03-28 20:50

reporter   ~0008726

Fixed it :) Looking at the backtrace in more detail I guessed the problem might lie with my Intel graphics drivers, not FreeCAD. I reinstalled them with:

cd /usr/ports/x11-drivers/xf86-video-intel
make deinstall clean
portmaster x11-drivers/xf86-video-intel

The latest driver code fixed the crash. Hopefully this helps anyone else experiencing the same problem.

Kunda1

2017-03-28 20:52

administrator   ~0008727

Great to hear. Cheers.
Closing.

Issue History

Date Modified Username Field Change
2017-03-28 06:24 duncan_bayne New Issue
2017-03-28 06:31 duncan_bayne Note Added: 0008722
2017-03-28 17:17 Kunda1 Additional Information Updated
2017-03-28 17:18 Kunda1 Description Updated
2017-03-28 17:18 Kunda1 Steps to Reproduce Updated
2017-03-28 17:22 Kunda1 Note Added: 0008723
2017-03-28 17:23 Kunda1 Tag Attached: FreeBSD
2017-03-28 18:51 Kunda1 Platform => FreeBSD
2017-03-28 19:41 Kunda1 Summary Segfault on File -> New => FreeBSD: Segfault on File -> New
2017-03-28 20:50 duncan_bayne Note Added: 0008726
2017-03-28 20:52 Kunda1 Status new => closed
2017-03-28 20:52 Kunda1 Resolution open => no change required
2017-03-28 20:52 Kunda1 Note Added: 0008727