[MacPorts] #43989: root6: Seg fault immediately upon opening root6 (was: Seg fault immediately upon opening root6)

MacPorts noreply at macports.org
Tue Jun 10 23:54:40 PDT 2014


#43989: root6: Seg fault immediately upon opening root6
------------------------+----------------------
  Reporter:  jfcaron@…  |      Owner:  jonesc@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  root6      |
------------------------+----------------------
Changes (by mojca@…):

 * cc: jonesc@… (removed)
 * owner:  macports-tickets@… => jonesc@…
 * version:  2.3.0 =>
 * keywords:  segmentation fault =>


Old description:

> 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.
>
> The 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.
>
> 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:
>
> for abin in `port contents root6|grep 'bin'`; do otool -L $abin|grep -v
> '/opt/local/.*'|grep -v '/usr/lib/.*'|grep -v '/System/Library/,*'; done
> for aso in `port contents root6|grep '.*\.so'`; do otool -L $aso|grep -v
> '/opt/local/.*'|grep -v '/usr/lib/.*'|grep -v '/System/Library/,*'; done
>
> 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.
>
> Extra info, output of clang -v:
> clang -v
> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> Target: x86_64-apple-darwin13.1.0
> Thread model: posix

New description:

 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:

 {{{
  *** Break *** segmentation violation
  Generating stack trace...
  0x0000000105b7e962 in TROOT::LoadClass(char const*, char const*, bool)
 (in libCore.6.so) + 194
  0x0000000105b7b960 in TROOT::TROOT(char const*, char const*, void (**)())
 (in libCore.6.so) + 4848
  0x0000000105b79ed9 in ROOT::GetROOT1() (in libCore.6.so) + 89
  0x0000000105b8077b in _GLOBAL__I_a (in libCore.6.so) + 27
  0x00007fff6c355c2e in <unknown function>
  0x00007fff6c355dba in <unknown function>
  0x00007fff6c352a62 in <unknown function>
  0x00007fff6c3529eb in <unknown function>
  0x00007fff6c3528f6 in <unknown function>
 }}}

 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.

 The 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.

 As 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:

 {{{
 for abin in `port contents root6|grep 'bin'`; do otool -L $abin|grep -v
 '/opt/local/.*'|grep -v '/usr/lib/.*'|grep -v '/System/Library/,*'; done
 for aso in `port contents root6|grep '.*\.so'`; do otool -L $aso|grep -v
 '/opt/local/.*'|grep -v '/usr/lib/.*'|grep -v '/System/Library/,*'; done
 }}}

 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`.

 Extra info, output of clang -v:
 {{{
 clang -v
 Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
 Target: x86_64-apple-darwin13.1.0
 Thread model: posix
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/43989#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list