Changes between Initial Version and Version 1 of Ticket #43989
- Timestamp:
- Jun 11, 2014, 6:54:39 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43989
- Property Cc jonesc@… removed
-
Property
Summary
changed from
Seg fault immediately upon opening root6
toroot6: 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. 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: 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 17 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. 2 18 3 19 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. 4 20 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:21 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: 6 22 23 {{{ 7 24 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 8 25 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 26 }}} 9 27 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.28 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`. 11 29 12 30 Extra info, output of clang -v: 31 {{{ 13 32 clang -v 14 33 Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) 15 34 Target: x86_64-apple-darwin13.1.0 16 35 Thread model: posix 17 36 }}}