Changes between Initial Version and Version 1 of Ticket #43989


Ignore:
Timestamp:
Jun 11, 2014, 6:54:39 AM (10 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43989

    • Property Cc jonesc@… removed
    • Property Summary changed from Seg fault immediately upon opening root6 to root6: Seg fault immediately upon opening root6
    • Property Owner changed from macports-tickets@… to jonesc@…
    • Property Version changed from 2.3.0 to
    • Property Keywords segmentation fault removed
  • Ticket #43989 – Description

    initial v1  
    1 Hi all, I was having trouble compiling ROOT6 manually, and as I have MacPorts installed for other libs, I decided to try ROOT6 from MacPorts.  It actually compiles without errors, but as soon as I open it (i.e. I type in "root" and press enter), I get a seg fault.  The splash screen comes up and stays up, then it goes away if I click on it.  I am on OSX 10.9.2.  I DO have another version of root (5.34) in a directory, but it's not "installed" in any system folders, it lives entirely in a folder in ~/Software. 
     1Hi all, I was having trouble compiling ROOT6 manually, and as I have MacPorts installed for other libs, I decided to try ROOT6 from MacPorts.  It actually compiles without errors, but as soon as I open it (i.e. I type in "`root`" and press enter), I get a seg fault:
     2
     3{{{
     4 *** Break *** segmentation violation
     5 Generating stack trace...
     6 0x0000000105b7e962 in TROOT::LoadClass(char const*, char const*, bool) (in libCore.6.so) + 194
     7 0x0000000105b7b960 in TROOT::TROOT(char const*, char const*, void (**)()) (in libCore.6.so) + 4848
     8 0x0000000105b79ed9 in ROOT::GetROOT1() (in libCore.6.so) + 89
     9 0x0000000105b8077b in _GLOBAL__I_a (in libCore.6.so) + 27
     10 0x00007fff6c355c2e in <unknown function>
     11 0x00007fff6c355dba in <unknown function>
     12 0x00007fff6c352a62 in <unknown function>
     13 0x00007fff6c3529eb in <unknown function>
     14 0x00007fff6c3528f6 in <unknown function>
     15}}}
     16
     17The splash screen comes up and stays up, then it goes away if I click on it.  I am on OSX 10.9.2.  I DO have another version of `root` (5.34) in a directory, but it's not "installed" in any system folders, it lives entirely in a folder in ~/Software. 
    218
    319The details of my previous compilation issues are here: http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=18143&p=77299#p77299 including the seg fault printout.  I tried installing the +debug variant and running it in lldb, but the process ends with error 139 and I can't do a "backtrace" command. 
    420
    5 As suggested in the other root6 ticket here: https://trac.macports.org/ticket/43917#comment:83 , I tried checking to see if all the provided object and binary files were pointing to the right locations.  Here's how I did it:
     21As suggested in [comment:83:ticket:43917 the other root6 ticket], I tried checking to see if all the provided object and binary files were pointing to the right locations.  Here's how I did it:
    622
     23{{{
    724for abin in `port contents root6|grep 'bin'`; do otool -L $abin|grep -v '/opt/local/.*'|grep -v '/usr/lib/.*'|grep -v '/System/Library/,*'; done
    825for aso in `port contents root6|grep '.*\.so'`; do otool -L $aso|grep -v '/opt/local/.*'|grep -v '/usr/lib/.*'|grep -v '/System/Library/,*'; done
     26}}}
    927
    10 Both commands printed nothing, meaning that when I run otool -L on all *.so and .*bin.* files, all the returned locations are in one of: /opt/local, /usr/lib, or /System/Library
     28Both commands printed nothing, meaning that when I run `otool -L` on all `*.so` and `.*bin.*` files, all the returned locations are in one of: `/opt/local`, `/usr/lib`, or `/System/Library`
    1129
    1230Extra info, output of clang -v:
     31{{{
    1332clang -v
    1433Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
    1534Target: x86_64-apple-darwin13.1.0
    1635Thread model: posix
    17 
     36}}}