<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">lldb returns the following:<div class=""><br class=""></div><div class=""><div class="">(lldb) process attach --pid 1082</div><div class="">Process 1082 stopped</div><div class="">* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP</div><div class="">    frame #0: 0x00007fff5aa5c876 libsystem_kernel.dylib`__semwait_signal + 10</div><div class="">libsystem_kernel.dylib`__semwait_signal:</div><div class="">->  0x7fff5aa5c876 <+10>: jae    0x7fff5aa5c880            ; <+20></div><div class="">    0x7fff5aa5c878 <+12>: movq   %rax, %rdi</div><div class="">    0x7fff5aa5c87b <+15>: jmp    0x7fff5aa58e31            ; cerror</div><div class="">    0x7fff5aa5c880 <+20>: retq   </div><div class="">Target 0: (meshTest) stopped.</div><div class=""><br class=""></div><div class="">Executable module set to "/Users/maximilianhartig/cimply_playground/./meshTest".</div><div class="">Architecture set to: x86_64h-apple-macosx.</div><div class=""><br class=""></div><div class="">I do unfortunately not know what to make of this. Do I have a memory jump that’s causing an error here? Google did not provide any useful results (at least to my untrained eye). Using gdb I usually step through the program and print out variables until I’ve located the error. But this does not seem an option here. Please excuse my ignorance regarding debuggers.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Max</div><div><br class=""><blockquote type="cite" class=""><div class="">On 6. Nov 2018, at 11:23, Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com" class="">stefano.zampini@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><span class=""><br class="">[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger<br class=""></span></div></blockquote><div class=""><br class=""></div>Have you tried what PETSc suggests here (-on_error_attach_debugger)?<br class=""><div class="gmail_quote">You may need to specify "-on_error_attach_debugger lldb" on a MacOS</div><div class=""> </div></div><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Stefano</div></div>
</div></blockquote></div><br class=""></div></div></div></body></html>