View Issue Details

IDProjectCategoryView StatusLast Update
0003661FreeCADBugpublic2018-11-14 11:51
ReporterKammutierSpule Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Product Version0.16 
Summary0003661: memcmp-sse4 crash while starting FreeCad
DescriptionOS: Latest Linux Mint
FreeCad version: 0.16 and 0.18 15058

FreeCad crashed with:

Thread 1 "freecad" received signal SIGSEGV, Segmentation fault.
__memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:998
998 ../sysdeps/x86_64/multiarch/memcmp-sse4.S: No such file or directory.
Steps To ReproduceI first installed FreeCad-daily it worked ok until I Force Quit.
Then I try to start again and it give me this error.
I thought it could be because daily, then I start the stable freecad an it also crashes.
Additional Information
Thread 1 "freecad" received signal SIGSEGV, Segmentation fault.
__memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:998
998	../sysdeps/x86_64/multiarch/memcmp-sse4.S: No such file or directory.
(gdb) backtrace
#0  0x00007ffff4adfe30 in __memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:998
#1  0x00007fffbb4423db in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
0000002  0x00007fffbbf5f98e in  () at /usr/lib/python2.7/dist-packages/PySide2/QtCore.x86_64-linux-gnu.so
0000003  0x00007fffbbfe95ae in initQtCore () at /usr/lib/python2.7/dist-packages/PySide2/QtCore.x86_64-linux-gnu.so
0000004  0x00007ffff6618cab in _PyImport_LoadDynamicModule () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000005  0x00007ffff669cafe in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000006  0x00007ffff6619e91 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000007  0x00007ffff661a176 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000008  0x00007ffff661a565 in PyImport_ImportModuleLevel () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000009  0x00007ffff657cde4 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000010 0x00007ffff651c333 in PyObject_Call () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000011 0x00007ffff66a67a7 in PyEval_CallObjectWithKeywords () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000012 0x00007ffff6572ac9 in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000013 0x00007ffff66a7278 in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000014 0x00007ffff656f029 in PyEval_EvalCode () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000015 0x00007ffff66971cc in PyImport_ExecCodeModuleEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000016 0x00007ffff669c462 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000017 0x00007ffff669ca3e in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000018 0x00007ffff6619e91 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000019 0x00007ffff661a392 in PyImport_ImportModuleLevel () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000020 0x00007ffff657cde4 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000021 0x00007ffff651c333 in PyObject_Call () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000022 0x00007ffff66a67a7 in PyEval_CallObjectWithKeywords () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000023 0x00007ffff6572ac9 in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000024 0x00007ffff66a7278 in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000025 0x00007ffff656f029 in PyEval_EvalCode () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000026 0x00007ffff6612546 in PyRun_StringFlags () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000027 0x00007ffff6575384 in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000028 0x00007ffff66a7278 in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000029 0x00007ffff6574db6 in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000030 0x00007ffff66a7278 in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000031 0x00007ffff656f029 in PyEval_EvalCode () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000032 0x00007ffff6612546 in PyRun_StringFlags () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000033 0x00007ffff6ad1ba6 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) () at /usr/lib/freecad/lib/libFreeCADBase.so
0000034 0x00007ffff742889c in Gui::Application::runApplication() () at /usr/lib/freecad/lib/libFreeCADGui.so



Msg: FreeCAD 0.16, Libs: 0.16R
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Log: Time = Mon Oct 29 20:52:51 2018
Log: AppDataSkipVendor = true
Log: AppHomePath = /usr/lib/freecad/
Log: AppIcon = freecad
Log: AppTempPath = /tmp/
Log: BinPath = /usr/lib/freecad/bin/
Log: BuildRepositoryURL = https://code.launchpad.net/~vcs-imports/freecad/trunk
Log: BuildRevision = 
Log: BuildRevisionDate = 2017/12/07 19:09:19
Log: BuildVersionMajor = 0
Log: BuildVersionMinor = 16
Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##


Log: Debug = 0
Log: DocPath = /usr/lib/freecad/doc/
Log: ExeName = FreeCAD
Log: ExeVendor = FreeCAD
Log: ExeVersion = 0.16
Log: LoggingFile = 1
Log: LoggingFileName = /home/kammutierspule/.FreeCAD/FreeCAD.log
Log: MaintainerUrl = http://www.freecadweb.org/wiki/index.php?title=Main_Page
Log: PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Log: PYTHONPATH = 
Log: PythonSearchPath = :/usr/bin/../lib/python2.7:/usr/bin/../lib/python2.7/plat-x86_64-linux-gnu:/usr/bin/../lib/python2.7/lib-tk:/usr/bin/../lib/python2.7/lib-old:/usr/bin/../lib/python2.7/lib-dynload
Log: RunMode = Gui
Log: SplashAlignment = Bottom|Left
Log: SplashInfoColor = #c8c8c8
Log: SplashScreen = freecadsplash
Log: SplashTextColor = #ffffff
Log: StartWorkbench = StartWorkbench
Log: SystemParameter = /home/kammutierspule/.FreeCAD/system.cfg
Log: UserAppData = /home/kammutierspule/.FreeCAD/
Log: UserHomePath = /home/kammutierspule
Log: UserParameter = /home/kammutierspule/.FreeCAD/user.cfg
Log: Verbose = 
Log: Create Application
Log: Run App init script
Log: Init: starting App::FreeCADInit.py
Log: Log: Init:   Searching for modules...
Log: Init:      Initializing /usr/lib/freecad/Mod/Sketcher... done
Log: Init:      Initializing /usr/lib/freecad/Mod/ReverseEngineering... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Image... done
Log: Init:      Initializing /usr/lib/freecad/Mod/PartDesign... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Ship(Init.py not found)... ignore
Log: Init:      Initializing /usr/lib/freecad/Mod/Plot(Init.py not found)... ignore
Log: Init:      Initializing /usr/lib/freecad/Mod/MeshPart... done
Log: Init:      Initializing /home/kammutierspule/.FreeCAD/Mod/cadquery_module... done
Log: Init:      Initializing /usr/lib/freecad/Mod/OpenSCAD... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Fem... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Spreadsheet... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Start... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Points... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Draft... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Test... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Import... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Complete... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Material... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Raytracing... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Part... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Path... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Arch... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Robot... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Mesh... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Idf... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Inspection... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Drawing... done
Log: Using /usr/lib/freecad/Mod as module path!
Log: Using /usr/lib/freecad/Mod as module path!
Log: System path after init:
Log:    /usr/lib/freecad/bin
Log:    /usr/lib/freecad/Mod/Sketcher
Log:    /usr/lib/freecad/Mod/ReverseEngineering
Log:    /usr/lib/freecad/Mod/Image
Log:    /usr/lib/freecad/Mod/PartDesign
Log:    /usr/lib/freecad/Mod/Ship
Log:    /usr/lib/freecad/Mod/Plot
Log:    /usr/lib/freecad/Mod/MeshPart
Log:    /home/kammutierspule/.FreeCAD/Mod/cadquery_module
Log:    /usr/lib/freecad/Mod/OpenSCAD
Log:    /usr/lib/freecad/Mod/Fem
Log:    /usr/lib/freecad/Mod/Spreadsheet
Log:    /usr/lib/freecad/Mod/Start
Log:    /usr/lib/freecad/Mod/Points
Log:    /usr/lib/freecad/Mod/Draft
Log:    /usr/lib/freecad/Mod/Test
Log:    /usr/lib/freecad/Mod/Import
Log:    /usr/lib/freecad/Mod/Complete
Log:    /usr/lib/freecad/Mod/Material
Log:    /usr/lib/freecad/Mod/Raytracing
Log:    /usr/lib/freecad/Mod/Part
Log:    /usr/lib/freecad/Mod/Path
Log:    /usr/lib/freecad/Mod/Arch
Log:    /usr/lib/freecad/Mod/Robot
Log:    /usr/lib/freecad/Mod/Mesh
Log:    /usr/lib/freecad/Mod/Idf
Log:    /usr/lib/freecad/Mod/Inspection
Log:    /usr/lib/freecad/Mod/Drawing
Log:    /usr/local/sbin
Log:    /usr/local/bin
Log:    /usr/sbin
Log:    /usr/bin
Log:    /sbin
Log:    /bin
Log:    /usr/games
Log:    /usr/local/games
Log:    /snap/bin
Log: Init: App::FreeCADInit.py done
Log: Init: Creating Gui::Application and QApplication
Log: Local server 'FreeCAD' started
Log: OpenGL version 3.0 or higher is present
Log: Run Gui init script
Log: Init: Running FreeCADGuiInit.py start script...
Log: Init:   Searching modules...
Log: Init:      Initializing /usr/lib/freecad/Mod/Sketcher... done
Log: Init:      Initializing /usr/lib/freecad/Mod/ReverseEngineering... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Image... done
Log: Init:      Initializing /usr/lib/freecad/Mod/PartDesign... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Ship... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Plot... done
Log: Init:      Initializing /usr/lib/freecad/Mod/MeshPart... done
Log: Module: Part
Log: Loading Part module... done
Log: Loading Drawing module... done
Err: *** Abort *** an exception was raised, but no catch was found.Err: 
Err: 	... The exception is:Err: SIGSEGV 'segmentation violation' detected. Address 0Err: 
TagsNo tags attached.
FreeCAD Information

Activities

KammutierSpule

2018-10-29 21:09

reporter   ~0012114

I solved this issue by deleting the folder ~/.FreeCad

KammutierSpule

2018-10-29 23:29

reporter   ~0012115

I found that it is related with cadquery_module
After install that module it will start crashing.

wmayer

2018-10-30 13:12

administrator   ~0012118

Which Qt and Py versions is FreeCAD built against? And which Py (or Qt) version does cadquery depend on?
It's possible that you run into a Qt4 vs Qt5 or Py2 vs Py3 issue here.

KammutierSpule

2018-10-30 13:21

reporter   ~0012119

> Which Qt and Py versions is FreeCAD built against?

Where can I check this information?

KammutierSpule

2018-11-11 19:25

reporter   ~0012178

Hi Wmayer, here are the versions I could find:
FreeCAD 0.18, Libs: 0.18R15094 (Git)
About->Libraries:
Qt 4.8.7
Python 2.7.15rc1

I don't know (yet) about CadQuery versions..

Kunda1

2018-11-12 19:32

administrator   ~0012181

Can you try using the py3/Qt5 build
https://github.com/FreeCAD/FreeCAD/releases/tag/0.18_pre
Download the Conda build:
https://github.com/FreeCAD/FreeCAD/releases/download/0.18_pre/FreeCAD_0.18.15187_Conda_Py3Qt5_glibc2.12-x86_64.AppImage

KammutierSpule

2018-11-13 00:14

reporter   ~0012183

It looks ok with that version!
Installed cadquery in the addonmanager and it worked with no crash.

OS: Linux Mint 19
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15187 (Git) AppImage
Build type: Release
Branch: master
Hash: 04005b5e452a7b8624f2aeac5180787d4f6a88fa
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

Kunda1

2018-11-13 15:01

administrator   ~0012190

@KammutierSpule thanks for reporting. This is good news. Feel free to follow the appimage daily builds. Checkout https://freecadweb.org/wiki/Appimage

@wmayer, I'm resolving this ticket and will let you close it if you deem it necessary.

Issue History

Date Modified Username Field Change
2018-10-29 21:04 KammutierSpule New Issue
2018-10-29 21:09 KammutierSpule Note Added: 0012114
2018-10-29 23:29 KammutierSpule Note Added: 0012115
2018-10-30 13:12 wmayer Note Added: 0012118
2018-10-30 13:21 KammutierSpule Note Added: 0012119
2018-11-11 19:25 KammutierSpule Note Added: 0012178
2018-11-12 19:32 Kunda1 Note Added: 0012181
2018-11-13 00:14 KammutierSpule Note Added: 0012183
2018-11-13 15:01 Kunda1 Status new => resolved
2018-11-13 15:01 Kunda1 Resolution open => no change required
2018-11-13 15:01 Kunda1 Note Added: 0012190
2018-11-14 11:51 wmayer Status resolved => closed