<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Perhaps I’m making progress. <div class=""><br class=""></div><div class="">I’ve ported over the source to Xcode so its debugger can be used (I couldn’t figure out how to codesign gdb so it could be used). The libbluray source files now build OK into a dylib with Xcode. Using the built in debugger, the code can be single stepped until it gets a SIGSEGV at the line corresponding to line 955 of <a href="https://code.videolan.org/videolan/libbluray/blob/master/src/libbluray/bdj/bdj.c:" class="">https://code.videolan.org/videolan/libbluray/blob/master/src/libbluray/bdj/bdj.c:</a> <div class=""><span style="color: rgba(0, 0, 0, 0.85098); background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><blockquote type="cite" class=""><font color="#000000" class=""><span style="background-color: rgb(255, 255, 255);" class="">result = JNI_CreateJavaVM_fp(jvm, (</span><span style="background-color: rgb(255, 255, 255);" class=""><b class="">void</b></span><span style="background-color: rgb(255, 255, 255);" class="">**) env, &args);</span></font></blockquote><br class=""></div><div class="">The parameters in the call look like they have reasonable non null values. </div><div class=""><br class=""></div><div class="">Executing that line puts</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""></div></div><blockquote type="cite" class=""><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><font color="#000000" class="">-> 0x1100002b4: movl (%rsi), %eax</font></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><font color="#000000" class=""> 0x1100002b6: leaq 0xf8(%rbp), %rsi</font></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><font color="#000000" class=""> 0x1100002bd: vmovdqu %ymm0, (%rsi)</font></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><font color="#000000" class=""> 0x1100002c1: vmovdqu %ymm7, 0x20(%rsi)</font></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><font color="#000000" class=""> 0x1100002c6: vmovdqu %ymm8, 0x40(%rsi)</font></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><font color="#000000" class=""> 0x1100002cb: vmovdqu %ymm15, 0x60(%rsi)</font></div></div></blockquote><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class="">in the editor window, indicating thread 1, 0x1100002b4. That hex number doesn’t seem to be reasonable for anything in the program’s or system’s address space. If I’m reading things right, the value stored in %rsi is 0 and the value stored in %rbp is 0x000000010611a190.</div></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class="">I get the feeling that somehow the interface to Java is misconfigured in my setup.</div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class="">Glenn</div></body></html>