LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2017, 06:53 PM   #1
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 171

Rep: Reputation: 40
FreeCAD does not start - segmentation fault


I am on Slackware64 plus multilib, current version.
I used the queue list to compile FreeCAD with it's dependencies from slackbuilds.org, compiled without errors but when i try to start it i got this error:
Code:
bash-4.4$ FreeCAD
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Falha de segmentação
"Falha de segmentação" in english is "Segmentation fault"
Any ideas on how to find where the error is will be appreciated.

Last edited by frushiyama; 05-23-2017 at 06:54 PM. Reason: correcting typos
 
Old 05-23-2017, 07:05 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
-current or 14.2?

You could try
Code:
strace FreeCAD
to see if the trace provides more information on what exactly is blowing up.
 
Old 05-24-2017, 09:55 AM   #3
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 40
I am on -current
Here is the output from
Code:
strace FreeCAD
https://drive.google.com/file/d/0Bzl...FMQXQzQ3c/view
 
Old 05-24-2017, 07:01 PM   #4
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
There is a package available in the Salix extra repo that was built from the slackbuild on Slackbuilds.org. It runs fine here.

http://download.salixos.org/x86_64/e..._64-2salix.txz
 
1 members found this post helpful.
Old 05-24-2017, 09:27 PM   #5
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
I tried it to with the recommended packages. The last few lines of strace.
Code:
stat("/opt/FreeCAD/icons/applications-python.svg", 0x7fff4f1a0d20) = -1 ENOENT (No such file or directory)
stat("/home/batman/.FreeCAD/icons/applications-python.svg", 0x7fff4f1a0d20) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3545, ...}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} ---
+++ killed by SIGSEGV +++
 
Old 05-24-2017, 10:10 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
When you run -current, you get to debug the problem, which might require you to run it under gdb or DDD to be able to figure out what the problem actually is.

@RadicalDreamer, are you running multilib as well? Or pure 64 bit?
 
Old 05-24-2017, 10:21 PM   #7
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
I'm running multilib
 
Old 05-25-2017, 08:34 AM   #8
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by laprjns View Post
There is a package available in the Salix extra repo that was built from the slackbuild on Slackbuilds.org. It runs fine here.

http://download.salixos.org/x86_64/e..._64-2salix.txz
Did you have to install any other dependency? I'm getting this error:
Code:
bash-4.4$ FreeCAD
FreeCAD: error while loading shared libraries: libboost_filesystem.so.1.59.0: cannot open shared object file: No such file or directory
I'll try to compile FreeCAD in my VM of Slackware64-14.2 tonight, to see if this is a -current issue.
 
Old 05-25-2017, 09:43 AM   #9
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by frushiyama View Post
Did you have to install any other dependency? I'm getting this error:
Code:
bash-4.4$ FreeCAD
FreeCAD: error while loading shared libraries: libboost_filesystem.so.1.59.0: cannot open shared object file: No such file or directory
I'll try to compile FreeCAD in my VM of Slackware64-14.2 tonight, to see if this is a -current issue.
The Salix package was compiled against Slackware 14.2 libraries. -current has boost 1.63, which is the reason for the error when you try to run the Salix package on -current. That wouldn't be the reason for your original segmentation fault, though.

(By the way, FreeCAD built from SBo scripts works fine here on Slackware64-14.2.)
 
1 members found this post helpful.
Old 05-26-2017, 01:43 AM   #10
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
FreeCAD -h and -c (console) works!

FreeCAD -t 1
Code:
testAggregates (TestSpreadsheet.SpreadsheetCases)
Test all aggregate functions ... ok
testAlias (TestSpreadsheet.SpreadsheetCases)
Playing with aliases ... ok
testAmbiguousAlias (TestSpreadsheet.SpreadsheetCases)
Try to set the same alias twice (bug #2402) ... ok
testClearAlias (TestSpreadsheet.SpreadsheetCases)
This was causing a crash ... ok
testCrossDocumentLinks (TestSpreadsheet.SpreadsheetCases)
Expressions accross files are not saved (bug #2442) ... Importing project files......
Importing project files......                   (100.0 %)
ok                                              (100.0 %)
testFunctions (TestSpreadsheet.SpreadsheetCases)
Test all built-in simple functions ... ok
testInsertRows (TestSpreadsheet.SpreadsheetCases)
Inserting rows -- check renaming of internal cells ... ok
testInvoluteGear (TestSpreadsheet.SpreadsheetCases)
Support of boolean or integer values ... *** Abort *** an exception was raised, but no catch was found.
        ... The exception is:SIGSEGV 'segmentation violation' detected. Address 0
 
Old 06-21-2017, 11:34 PM   #11
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
It looks like the issue is with Coin and Pivy: https://bugzilla.redhat.com/show_bug.cgi?id=1323159

Code:
bash-4.4$ python
Python 2.7.13 (default, Dec 28 2016, 13:21:25) 
[GCC 5.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pivy
Segmentation fault
 
  


Reply

Tags
segmentation fault



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Segmentation Fault on Backtrack 5 Linux. X11 Refuses to Start graison Linux - Laptop and Netbook 2 10-20-2011 12:00 AM
Getting Segmentation Fault when im trying to start this program :/ Fronix Linux - Server 5 12-30-2008 12:34 AM
KSplash segmentation fault. KDE won't start dracolich Linux - General 7 05-26-2007 07:31 AM
Xfce's Mousepad wont start: Segmentation fault (core dumped) Mr_Shameless *BSD 4 05-19-2007 10:56 PM
Wine wont start program, segmentation fault, artsdsp nontoxic Linux - Software 3 03-21-2005 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration