[libvirt] Libvir JNA report SIGSEGV

Daniel Veillard veillard at redhat.com
Thu Sep 6 11:04:49 UTC 2012


On Thu, Sep 06, 2012 at 09:06:14AM +0000, Benjamin Wang (gendwang) wrote:
> Hi,
>   Actually I also did another test as following. When I comment the "new Connet", the program works well. So this is the problem related to
> Libvirt JNA. If I manually run the garbage collection for this program, it still works well. But if I run the garbage collection for the last problem,
> It will crash. I guess this problem is caused by ConnectAuth callback. When garbage collection is executed, the callback memory is moved.

  Okay, maybe some memory need to be pinned in some ways, I take patches !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list