<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Amanda,<div class=""><br class=""></div><div class="">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?</div><div class=""><br class=""></div><div class="">Bob</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Robert M. O'Bara, MEng.<br class="">Assistant Director of Scientific Computing<br class=""><br class="">Kitware Inc.<br class="">28 Corporate Drive<br class="">Suite 101<br class="">Clifton Park, NY 12065<br class=""><br class="">Phone: (518) 881- 4931</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jun 3, 2015, at 5:28 PM, Hines, Amanda M ERDC-RDE-ITL-MS <<a href="mailto:Amanda.M.Hines@erdc.dren.mil" class="">Amanda.M.Hines@erdc.dren.mil</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">Yep, with clang I get the following error:</div>
<div class=""><br class="">
</div>
<div class=""><div style="margin: 0px; font-family: Menlo; min-height: 16px;" class=""><br class="">
</div><div style="margin: 0px; font-family: Menlo;" class="">Find Session cmb_forwarding</div><div style="margin: 0px; font-family: Menlo;" class="">Find Session discrete</div><div style="margin: 0px; font-family: Menlo;" class="">Find Session exodus</div><div style="margin: 0px; font-family: Menlo;" class="">Find Session native</div><div style="margin: 0px; font-family: Menlo;" class="">Find Session remus_remote</div><div style="margin: 0px; font-family: Menlo;" class="">zsh: segmentation fault ./ModelBuilder.app/Contents/MacOS/ModelBuilder</div>
</div>
<div class=""><br class="">
</div>
<span id="OLK_SRC_BODY_SECTION" class="">
<div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);" class="">
<span style="font-weight:bold" class="">From: </span>Bob O'Bara <<a href="mailto:bob.obara@kitware.com" class="">bob.obara@kitware.com</a>><br class="">
<span style="font-weight:bold" class="">Date: </span>Wednesday, June 3, 2015 at 4:17 PM<br class="">
<span style="font-weight:bold" class="">To: </span>Amanda Hines <<a href="mailto:amanda.m.hines@erdc.dren.mil" class="">amanda.m.hines@erdc.dren.mil</a>><br class="">
<span style="font-weight:bold" class="">Cc: </span>"<a href="mailto:cmb-users@computationalmodelbuilder.org" class="">cmb-users@computationalmodelbuilder.org</a>" <<a href="mailto:cmb-users@computationalmodelbuilder.org" class="">cmb-users@computationalmodelbuilder.org</a>><br class="">
<span style="font-weight:bold" class="">Subject: </span>Re: Error starting CMB v4 from superbuild<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Amanda,
<div class=""><br class="">
</div>
<div class="">Have you tried building with the clang compiler in XCode?</div>
<div class=""><br class="">
</div>
<div class="">Bob</div>
<div class=""><br class="">
<div class="">
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Robert M. O'Bara, MEng.<br class="">
Assistant Director of Scientific Computing<br class="">
<br class="">
Kitware Inc.<br class="">
28 Corporate Drive<br class="">
Suite 101<br class="">
Clifton Park, NY 12065<br class="">
<br class="">
Phone: (518) 881- 4931</div>
<div class=""><br class="">
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
<div style="" class="">
<blockquote type="cite" class="">
<div class="">On Jun 3, 2015, at 5:16 PM, Hines, Amanda M ERDC-RDE-ITL-MS <<a href="mailto:Amanda.M.Hines@erdc.dren.mil" class="">Amanda.M.Hines@erdc.dren.mil</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class=""><font face="Calibri,sans-serif" class="">I built CMB v4 using the superbuild (commit </font><font color="#afad24" face="Menlo" class="">c327786588dbaa9295daa6c283a58d7cb6f45e53</font>) 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:</div>
<div class="">
<div style="margin: 0px; font-family: Menlo;" class="">zsh: segmentation fault ./ModelBuilder.app/Contents/MacOS/ModelBuilder</div>
<div style="margin: 0px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-family: Menlo;" class="">I tried running it through gdb and get the following error:</div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-family: Menlo;" class="">Program received signal SIGSEGV, Segmentation fault.</div>
<div style="margin: 0px; font-family: Menlo;" class="">0x00007fff8a58e2ff in legacyToXMPArray () from /usr/lib/libobjc.A.dylib</div>
<div style="margin: 0px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-family: Menlo;" class="">(gdb) where</div>
<div style="margin: 0px; font-family: Menlo;" class="">#0 0x00007fff8a58e2ff in legacyToXMPArray () from /usr/lib/libobjc.A.dylib</div>
<div style="margin: 0px; font-family: Menlo;" class="">#1 0x00007fff8a58f53a in typeinfo for _MPExtension () from /usr/lib/libobjc.A.dylib</div>
<div style="margin: 0px; font-family: Menlo;" class="">#2 0x00007fff8a590446 in internal_little2_encoding_ns () from /usr/lib/libobjc.A.dylib</div>
<div style="margin: 0px; font-family: Menlo;" class="">#3 0x000000268a5ad851 in ?? ()</div>
<div style="margin: 0px; font-family: Menlo;" class="">#4 0x00007fff5fbf8eb0 in ?? ()</div>
<div style="margin: 0px; font-family: Menlo;" class="">#5 0x0000000109469750 in ?? ()</div>
<div style="margin: 0px; font-family: Menlo;" class=""> from /Users/rditlaem/Work/Applications/cmb_v4/build_gcc/paraview/src/paraview-build/lib/libvtkRenderingOpenGL-pv4.3.1.dylib</div>
<div style="margin: 0px; font-family: Menlo;" class="">#6 0x00000006772e9818 in ?? ()</div>
<div style="margin: 0px; font-family: Menlo;" class="">#7 0x0000002900bf8e20 in ?? ()</div><p style="margin: 0px; font-family: Menlo;" class=""></p>
<div style="margin: 0px; font-family: Menlo;" class="">#8 0x0000000000000000 in ?? ()</div>
<div style="margin: 0px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-family: Menlo;" class="">Here is a print out of my environment in case it is an environment problem.</div>
<div style="margin: 0px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-family: Menlo;" class="">TMPDIR=/var/folders/34/qw55shds7r3_pzmjph0qn_04ckzhmq/T/</div>
<div style="margin: 0px; font-family: Menlo;" class="">Apple_PubSub_Socket_Render=/tmp/launch-Xbl7tL/Render</div>
<div style="margin: 0px; font-family: Menlo;" class="">TERM=xterm-256color</div>
<div style="margin: 0px; font-family: Menlo;" class="">LANG=en_US.UTF-8</div>
<div style="margin: 0px; font-family: Menlo;" class="">DISPLAY=/tmp/launch-Xwg3Az/org.macosforge.xquartz:0</div>
<div style="margin: 0px; font-family: Menlo;" class="">SSH_AUTH_SOCK=/tmp/launch-YW9vuc/Listeners</div>
<div style="margin: 0px; font-family: Menlo;" class="">TERM_PROGRAM=Apple_Terminal</div>
<div style="margin: 0px; font-family: Menlo;" class="">__CHECKFIX1436934=1</div>
<div style="margin: 0px; font-family: Menlo;" class="">TERM_PROGRAM_VERSION=326</div>
<div style="margin: 0px; font-family: Menlo;" class="">SHELL=/bin/bash</div>
<div style="margin: 0px; font-family: Menlo;" class="">PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin</div>
<div style="margin: 0px; font-family: Menlo;" class="">SHLVL=1</div>
<div style="margin: 0px; font-family: Menlo;" class="">PROMPT=[%c]%# </div>
<div style="margin: 0px; font-family: Menlo;" class="">CLICOLOR=1</div>
<div style="margin: 0px; font-family: Menlo;" class="">LSCOLORS=ExFxCxDxBxegedabagacad</div>
<div style="margin: 0px; font-family: Menlo;" class="">CC=/usr/local/bin/gcc</div>
<div style="margin: 0px; font-family: Menlo;" class="">CXX=/usr/local/bin/g++</div><p style="margin: 0px; font-family: Menlo;" class=""></p>
<div style="margin: 0px; font-family: Menlo;" class="">_=/usr/bin/printenv</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">Amanda</div>
<div style="margin: 0px; font-family: Menlo;" class=""><br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</span>
</div>
</div></blockquote></div><br class=""></div></body></html>