[Cmb-users] Error starting CMB v4 from superbuild

Robert Michael O'Bara bob.obara at kitware.com
Thu Jun 4 14:55:50 EDT 2015


Hi Amanda,

You are setting a DYLD_LIBRARY_PATH variable before running ModelBuilder in the case of clang?  When running the clang  version through lldb what does the stack look like?

Bob

Robert M. O'Bara, MEng.
Assistant Director of Scientific Computing

Kitware Inc.
28 Corporate Drive
Suite 101
Clifton Park, NY 12065

Phone: (518) 881- 4931




> On Jun 3, 2015, at 5:28 PM, Hines, Amanda M ERDC-RDE-ITL-MS <Amanda.M.Hines at erdc.dren.mil> wrote:
> 
> Yep, with clang I get the following error:
> 
> 
> Find Session      cmb_forwarding
> Find Session      discrete
> Find Session      exodus
> Find Session      native
> Find Session      remus_remote
> zsh: segmentation fault  ./ModelBuilder.app/Contents/MacOS/ModelBuilder
> 
> From: Bob O'Bara <bob.obara at kitware.com <mailto:bob.obara at kitware.com>>
> Date: Wednesday, June 3, 2015 at 4:17 PM
> To: Amanda Hines <amanda.m.hines at erdc.dren.mil <mailto:amanda.m.hines at erdc.dren.mil>>
> Cc: "cmb-users at computationalmodelbuilder.org <mailto:cmb-users at computationalmodelbuilder.org>" <cmb-users at computationalmodelbuilder.org <mailto:cmb-users at computationalmodelbuilder.org>>
> Subject: Re: Error starting CMB v4 from superbuild
> 
> Hi Amanda,
> 
> Have you tried building with the clang compiler in XCode?
> 
> Bob
> 
> Robert M. O'Bara, MEng.
> Assistant Director of Scientific Computing
> 
> Kitware Inc.
> 28 Corporate Drive
> Suite 101
> Clifton Park, NY 12065
> 
> Phone: (518) 881- 4931
> 
> 
> 
> 
>> On Jun 3, 2015, at 5:16 PM, Hines, Amanda M ERDC-RDE-ITL-MS <Amanda.M.Hines at erdc.dren.mil <mailto:Amanda.M.Hines at erdc.dren.mil>> wrote:
>> 
>> I built CMB v4 using the superbuild (commit c327786588dbaa9295daa6c283a58d7cb6f45e53) and am getting a segmentation  fault when trying to run ModelBuilder. I am running on Mac 10.9.5 with brew installed gcc 4.8.4.  Here is the error I get when trying to run ModelBuilder:
>> zsh: segmentation fault  ./ModelBuilder.app/Contents/MacOS/ModelBuilder
>> 
>> I tried running it through gdb and get the following error:
>> 
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00007fff8a58e2ff in legacyToXMPArray () from /usr/lib/libobjc.A.dylib
>> 
>> (gdb) where
>> #0  0x00007fff8a58e2ff in legacyToXMPArray () from /usr/lib/libobjc.A.dylib
>> #1  0x00007fff8a58f53a in typeinfo for _MPExtension () from /usr/lib/libobjc.A.dylib
>> #2  0x00007fff8a590446 in internal_little2_encoding_ns () from /usr/lib/libobjc.A.dylib
>> #3  0x000000268a5ad851 in ?? ()
>> #4  0x00007fff5fbf8eb0 in ?? ()
>> #5  0x0000000109469750 in ?? ()
>>    from /Users/rditlaem/Work/Applications/cmb_v4/build_gcc/paraview/src/paraview-build/lib/libvtkRenderingOpenGL-pv4.3.1.dylib
>> #6  0x00000006772e9818 in ?? ()
>> #7  0x0000002900bf8e20 in ?? ()
>> #8  0x0000000000000000 in ?? ()
>> 
>> Here is a print out of my environment in case it is an environment problem.
>> 
>> TMPDIR=/var/folders/34/qw55shds7r3_pzmjph0qn_04ckzhmq/T/
>> Apple_PubSub_Socket_Render=/tmp/launch-Xbl7tL/Render
>> TERM=xterm-256color
>> LANG=en_US.UTF-8
>> DISPLAY=/tmp/launch-Xwg3Az/org.macosforge.xquartz:0
>> SSH_AUTH_SOCK=/tmp/launch-YW9vuc/Listeners
>> TERM_PROGRAM=Apple_Terminal
>> __CHECKFIX1436934=1
>> TERM_PROGRAM_VERSION=326
>> SHELL=/bin/bash
>> PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
>> SHLVL=1
>> PROMPT=[%c]%# 
>> CLICOLOR=1
>> LSCOLORS=ExFxCxDxBxegedabagacad
>> CC=/usr/local/bin/gcc
>> CXX=/usr/local/bin/g++
>> _=/usr/bin/printenv
>> 
>> Thanks,
>> Amanda
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmb-users/attachments/20150604/3dbcbb94/attachment.html>


More information about the Cmb-users mailing list