<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 18 April 2016 at 11:20, Steve <span dir="ltr"><<a href="mailto:stevewilliams@internode.on.net" target="_blank">stevewilliams@internode.on.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">><br>
> Registers:<br>
>  rax            0x0     0<br>
>  rbx            0x7ffeef3a09d0  140732911978960<br>
>  rcx            0x7ffeef3a09d0  140732911978960<br>
>  rdx            0x7ffeef3a09d0  140732911978960<br>
><br>
> SegvAnalysis:<br>
>  Segfault happened at: 0x6a8d58 <dc_device_foreach+8>:  mov    0x30(%rax),%rax<br>
<br>
Hmm.<br>
<br>
dc_device_foreach is in libdivecomputer, and is a rather simple function.<br>
<br>
I suspect that "device->vtable" is NULL.<br>
<br>
>  #0  0x00000000006a8d58 in dc_device_foreach ()  No symbol table info<br>
> available.<br>
>  #1  0x0000000000652b02 in do_libdivecomputer_import ()  No symbol<br>
> table info available.<br>
<br>
The caller is do_libdivecomputer_import -> do_device_import, but do_device_import is likely inlined.<br>
<br>
I'm not seeing how device->vtable would be NULL, but it's either a libdivecomputer bug, or it is, as you say, memory corruption.<br>
<br>
              Linus<br>
<br>
<br>
<br>
</span>I can also confirm an issue in windows 10 as well when using the older serial port method to download from a petrel 2.<br>
I don't remember the exact error message and when I tried again from command line using -vvv to capture the messages it worked successfully.<br>
<span class=""><font color="#888888"><br></font></span></blockquote>I have the same issue and backtrace using native Bluetooth download (for Petrel 2) running the current master (just verified 15 min ago with 628f83d but reported on 9 April) running Fedora 23.<br><a href="http://lists.subsurface-divelog.org/pipermail/subsurface/2016-April/025260.html">http://lists.subsurface-divelog.org/pipermail/subsurface/2016-April/025260.html</a><br><br>In order to build the current master with native Bluetooth support, I had to remove #include <libdivecomputer/version.h> from <span>core/configuredivecomputerthreads.cpp, and un-ifdef it from </span><span>core/libdivecomputer.h, as described in my email linked above.</span><br><br></div><div class="gmail_quote">Cheers,<br><br></div><div class="gmail_quote">Rick<br></div></div></div>