Opened 10 years ago
Last modified 8 years ago
#43989 closed defect
root6: Seg fault immediately upon opening root6 — at Version 1
Reported by: | jfcaron3 | Owned by: | jonesc@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca@… | |
Port: | root6 |
Description (last modified by mojca (Mojca Miklavec))
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 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
Change History (1)
comment:1 Changed 10 years ago by mojca (Mojca Miklavec)
Cc: | jonesc@… removed |
---|---|
Description: | modified (diff) |
Keywords: | segmentation fault removed |
Owner: | changed from macports-tickets@… to jonesc@… |
Summary: | Seg fault immediately upon opening root6 → root6: Seg fault immediately upon opening root6 |
Version: | 2.3.0 |