[Solved] Bug #2834 FC 0.16 installed via pacman "sudo pacman -Syu freecad" segfaults

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

[Solved] Bug #2834 FC 0.16 installed via pacman "sudo pacman -Syu freecad" segfaults

Post by Kunda1 »

issue #2834
FreeCAD installed normally by pacman ("sudo pacman -Syu freecad").
Starting from menu results in splash screen with "Initalizing ..." messages scrolling through the bottom of the window. That disappears and the FreeCAD SegFaults/CoreDumps immediately. Starting from the console produces the text in the Additional Info block below. I have also included the log file below along with a stack trace from gdb.

Console Output:

[gary@tehachapimtn ~]$ freecad -l
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##

Segmentation fault (core dumped)


============================================================================

FreeCAD Log File:

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

Log: Time = Sat Jan 7 20:58:18 2017
Log: AppDataSkipVendor = true
Log: AppHomePath = /usr/
Log: AppIcon = freecad
Log: AppTempPath = /tmp/
Log: BinPath = /usr/bin/
Log: BuildRepositoryURL = Unknown
Log: BuildRevision = Unknown
Log: BuildRevisionDate = Unknown
Log: BuildVersionMajor = 0
Log: BuildVersionMinor = 16
Log: CSF_GraphicShr = /opt/opencascade/lib/libTKOpenGl.so
Log: CSF_IGESDefaults = /opt/opencascade/src/XSTEPResource
Log: CSF_LANGUAGE = us
Log: CSF_MDTVTexturesDirectory = /opt/opencascade/src/Textures
Log: CSF_PluginDefaults = /opt/opencascade/src/StdResource
Log: CSF_SHMessage = /opt/opencascade/src/SHMessage
Log: CSF_STEPDefaults = /opt/opencascade/src/XSTEPResource
Log: CSF_StandardDefaults = /opt/opencascade/src/StdResource
Log: CSF_UnitsDefinition = /opt/opencascade/src/UnitsAPI/Units.dat
Log: CSF_UnitsLexicon = /opt/opencascade/src/UnitsAPI/Lexi_Expr.dat
Log: CSF_XCAFDefaults = /opt/opencascade/src/StdResource
Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##


Log: Debug = 0
Log: DocPath = /usr/doc/
Log: ExeName = FreeCAD
Log: ExeVendor = FreeCAD
Log: ExeVersion = 0.16
Log: LoggingFile = 1
Log: LoggingFileName = /home/gary/.FreeCAD/FreeCAD.log
Log: MaintainerUrl = http://www.freecadweb.org/wiki/index.ph ... =Main_Page
Log: PATH = /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/opt/opencascade/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
Log: PYTHONPATH =
Log: PythonSearchPath = :/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/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/gary/.FreeCAD/system.cfg
Log: UserAppData = /home/gary/.FreeCAD/
Log: UserHomePath = /home/gary
Log: UserParameter = /home/gary/.FreeCAD/user.cfg
Log: Verbose =
Log: Create Application
Log: Run App init script
Log: Init: starting App::FreeCADInit.py
Log: Init: Searching for modules...
Log: Init: Initializing /usr/share/freecad/Mod/Sketcher... done
Log: Init: Initializing /usr/share/freecad/Mod/ReverseEngineering... done
Log: Init: Initializing /usr/share/freecad/Mod/Image... done
Log: Init: Initializing /usr/share/freecad/Mod/PartDesign... done
Log: Init: Initializing /usr/share/freecad/Mod/Ship(Init.py not found)... ignore
Log: Init: Initializing /usr/share/freecad/Mod/Plot(Init.py not found)... ignore
Log: Init: Initializing /usr/share/freecad/Mod/MeshPart... done
Log: Init: Initializing /usr/share/freecad/Mod/OpenSCAD... done
Log: Init: Initializing /usr/share/freecad/Mod/Fem... done
Log: Init: Initializing /usr/share/freecad/Mod/Spreadsheet... done
Log: Init: Initializing /usr/share/freecad/Mod/Start... done
Log: Init: Initializing /usr/share/freecad/Mod/Draft... done
Log: Init: Initializing /usr/share/freecad/Mod/Test... done
Log: Init: Initializing /usr/share/freecad/Mod/Import... done
Log: Init: Initializing /usr/share/freecad/Mod/Complete... done
Log: Init: Initializing /usr/share/freecad/Mod/Web... done
Log: Init: Initializing /usr/share/freecad/Mod/Material... done
Log: Init: Initializing /usr/share/freecad/Mod/Raytracing... done
Log: Init: Initializing /usr/share/freecad/Mod/Mesh... done
Log: Init: Initializing /usr/share/freecad/Mod/Path... done
Log: Init: Initializing /usr/share/freecad/Mod/Part... done
Log: Init: Initializing /usr/share/freecad/Mod/Arch... done
Log: Init: Initializing /usr/share/freecad/Mod/Robot... done
Log: Init: Initializing /usr/share/freecad/Mod/Points... done
Log: Init: Initializing /usr/share/freecad/Mod/Idf... done
Log: Init: Initializing /usr/share/freecad/Mod/Inspection... done
Log: Init: Initializing /usr/share/freecad/Mod/Drawing... done
Log: Using /usr/share/freecad/Mod as module path!
Log: System path after init:
Log: /usr/bin
Log: /usr/share/freecad/Mod/Sketcher
Log: /usr/share/freecad/Mod/ReverseEngineering
Log: /usr/share/freecad/Mod/Image
Log: /usr/share/freecad/Mod/PartDesign
Log: /usr/share/freecad/Mod/Ship
Log: /usr/share/freecad/Mod/Plot
Log: /usr/share/freecad/Mod/MeshPart
Log: /usr/share/freecad/Mod/OpenSCAD
Log: /usr/share/freecad/Mod/Fem
Log: /usr/share/freecad/Mod/Spreadsheet
Log: /usr/share/freecad/Mod/Start
Log: /usr/share/freecad/Mod/Draft
Log: /usr/share/freecad/Mod/Test
Log: /usr/share/freecad/Mod/Import
Log: /usr/share/freecad/Mod/Complete
Log: /usr/share/freecad/Mod/Web
Log: /usr/share/freecad/Mod/Material
Log: /usr/share/freecad/Mod/Raytracing
Log: /usr/share/freecad/Mod/Mesh
Log: /usr/share/freecad/Mod/Path
Log: /usr/share/freecad/Mod/Part
Log: /usr/share/freecad/Mod/Arch
Log: /usr/share/freecad/Mod/Robot
Log: /usr/share/freecad/Mod/Points
Log: /usr/share/freecad/Mod/Idf
Log: /usr/share/freecad/Mod/Inspection
Log: /usr/share/freecad/Mod/Drawing
Log: /usr/local/sbin
Log: /usr/local/bin
Log: /usr/bin
Log: /usr/lib/jvm/default/bin
Log: /opt/opencascade/bin
Log: /usr/bin/site_perl
Log: /usr/bin/vendor_perl
Log: /usr/bin/core_perl
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/share/freecad/Mod/Sketcher... done
Log: Init: Initializing /usr/share/freecad/Mod/ReverseEngineering... done
Log: Init: Initializing /usr/share/freecad/Mod/Image... done
Log: Init: Initializing /usr/share/freecad/Mod/PartDesign... done
Log: Init: Initializing /usr/share/freecad/Mod/Ship... done
Log: Init: Initializing /usr/share/freecad/Mod/Plot... done
Log: Init: Initializing /usr/share/freecad/Mod/MeshPart... done
Log: Init: Initializing /usr/share/freecad/Mod/OpenSCAD... done
Log: Init: Initializing /usr/share/freecad/Mod/Fem... done
Log: Init: Initializing /usr/share/freecad/Mod/Spreadsheet... done
Log: Init: Initializing /usr/share/freecad/Mod/Start... done
Log: Init: Initializing /usr/share/freecad/Mod/Draft... done
Log: Init: Initializing /usr/share/freecad/Mod/Test... done
Log: Init: Initializing /usr/share/freecad/Mod/Import... done
Log: Init: Initializing /usr/share/freecad/Mod/Complete... done
Log: Init: Initializing /usr/share/freecad/Mod/Web... done
Log: Init: Initializing /usr/share/freecad/Mod/Material... done
Log: Init: Initializing /usr/share/freecad/Mod/Raytracing... done
Log: Init: Initializing /usr/share/freecad/Mod/Mesh... done
Log: Init: Initializing /usr/share/freecad/Mod/Path... done
Log: Init: Initializing /usr/share/freecad/Mod/Part... done
Log: Init: Initializing /usr/share/freecad/Mod/Arch... done
Log: Init: Initializing /usr/share/freecad/Mod/Robot... done
Log: Init: Initializing /usr/share/freecad/Mod/Points... done
Log: Init: Initializing /usr/share/freecad/Mod/Idf(InitGui.py not found)... ignore
Log: Init: Initializing /usr/share/freecad/Mod/Inspection... done
Log: Init: Initializing /usr/share/freecad/Mod/Drawing... done
Log: Init: Loading FreeCAD GUI
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench StartWorkbench
Log: Loading GUI of Web module... done
Log: Loading GUI of Start module... done
Log: Loading Start module... done


=========================================================================================

gdb stack trace:

[gary@tehachapimtn .FreeCAD]$ gdb freecad
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from freecad...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/freecad
warning: Cannot call inferior functions, Linux kernel PaX protection forbids return to non-executable pages!
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##

[New LWP 22470]
[New LWP 22477]

Thread 1 "freecad" received signal SIGSEGV, Segmentation fault.
0x0000032468a6e164 in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
(gdb) bt
#0 0x0000032468a6e164 in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
#1 0x0000032468a6ede1 in _dl_lookup_symbol_x () from /lib64/ld-linux-x86-64.so.2
#2 0x0000032468a738f4 in _dl_fixup () from /lib64/ld-linux-x86-64.so.2
#3 0x0000032468a7a963 in _dl_runtime_resolve_avx () from /lib64/ld-linux-x86-64.so.2
#4 0x0000038f0d757d20 in ?? ()
#5 0x0000032468a09580 in ?? ()
#6 0x5502780a8d3ba700 in ?? ()
#7 0x0000000004c35390 in ?? ()
#8 0x0000038f0d758980 in ?? ()
#9 0x0000000005397688 in ?? ()
#10 0x0000038f0d757c20 in ?? ()
#11 0x0000038f0d757d20 in ?? ()
#12 0x0000032449703fe0 in ?? ()
#13 0x0000000004693c20 in ?? ()
#14 0x0000038f0d757c70 in ?? ()
#15 0x0000000005397670 in ?? ()
#16 0x000003244a25960f in ?? ()
#17 0x000003244a230910 in ?? ()
#18 0x00000324672d6031 in ?? ()
#19 0x0000032449485900 in ?? ()
#20 0x0000000000000013 in ?? ()
#21 0x0000000000000050 in ?? ()
#22 0x00000324676b24da in ?? ()
#23 0x0000038f0d757d10 in ?? ()
#24 0x00000324676a6c77 in ?? ()
#25 0x00000000006067e0 in vtable for std::basic_streambuf<char, std::char_traits<char> > ()
#26 0x000003244a230aa8 in ?? ()
#27 0x00000000054047b4 in ?? ()
#28 0x000003244a254f74 in ?? ()
#29 0x0000032449be1894 in ?? ()
#30 0x5502780a8d3ba700 in ?? ()
#31 0x00000324673843c6 in ?? ()
#32 0x0000038f0d757d20 in ?? ()
#33 0x00000324542caf30 in ?? ()
#34 0x0000038f0d757d10 in ?? ()
#35 0x00000000051924d0 in ?? ()
#36 0x00000324497032b0 in ?? ()
#37 0x0000032468a09580 in ?? ()
#38 0x00000324497032ea in ?? ()
#39 0x00000324542caf30 in ?? ()
#40 0x5502780a8d3ba700 in ?? ()
#41 0x0000032468a09558 in ?? ()
#42 0x00000324676af26c in ?? ()
#43 0x0000032468a096c0 in ?? ()
#44 0x000003244a4a4638 in ?? ()
#45 0x0000032468a096c0 in ?? ()
#46 0x00000324542c4cd0 in ?? ()
#47 0x000003244949df60 in ?? ()
#48 0x000000000000002e in ?? ()
#49 0x0000038f0d757d00 in ?? ()
#50 0x0000000000000000 in ?? ()
(gdb)
Last edited by Kunda1 on Mon Jul 08, 2019 6:19 pm, edited 1 time in total.
Reason: [Solved]
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Bug #2834 FC 0.16 installed via pacman "sudo pacman -Syu freecad" segfaults

Post by Kunda1 »

Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply