[libvirt] RE: Java binding - JVM crashes .. sometimes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i think something is buggy with the function libvirt-java,
Connect.close()
(closing the connection to the libvirt daemon).

I removed all the close() calls inside my prog and the
JVM will not crash any more. My prog works now like it should... 

Maybe a bug ?

Thx
Danny


...
> Instructions: (pc=0x0000000001206351)
> 0x0000000001206341:   c0 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f c9 c3
> 0x0000000001206351:   49 8b 3e e8 47 f7 fc ff 84 c0 74 18 48 8b 15 bc
> 
> Stack: [0x0000000002430000,0x0000000002531000],
sp=0x000000000252f0d0,  free space=1020k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
> V  [libjvm.so+0x34a351]
> V  [libjvm.so+0x325201]
> 
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j  org.libvirt.Connect._close(J)I+0
> j  org.libvirt.Connect.close()V+5
> j  org.libvirt.Connect.finalize()V+1
> v  ~StubRoutines::call_stub
> j  java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V+0
> j  java.lang.ref.Finalizer.runFinalizer()V+45
> j  java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1
> j  java.lang.ref.Finalizer$FinalizerThread.run()V+11
> v  ~StubRoutines::call_stub
> ...

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]