So I'm using the libguests library in my Java code and when running my vm I am seeing this error: ***buffer overflow detected***:/bin/java terminated Backtrace:========/lib64/libc.so.6(__fortify_fail+0x37)[ox7f7932b4ed87] /lib64/libc.so.6(+0x10df40)[0x7f7932b4cf40] /lib64/libc.so.6(+0x10df40)[0x7f7932b4ecf7] /lib64/libguestfs.so.0(+0xa6508)[0x7f78755bd508] /lib64/libguestfs.so.0(+0xa6e3c)[0x7f78755bde3c] /lib64/libguestfs.so.0(+0xa8e12)[0x7f78755bfe12] /lib64/libguestfs.so.0(guestfs_disk_create_argv+0xbf)[0x7f7875567c6f] /lib64/libguestfs.so.0(+0xc48f2)[0x7f78755db8f2] /lib64/libguestfs.so.0(+0xc54b1[0x7f78755dc4b1] /lib64/libguestfs.so.0(+0xbfc75)[0x7f78755d6c75] /usr/lib64/libguestfs_jni.so.1.36.3(Java_com_redhat_et_libguestfs_Gues tFs__1launch+0x14[0x7f7875875de4] [0x7f791ee77570] Any idea what is going on or how can I fix this? ... ...
On Fri, Aug 17, 2018 at 04:41:36PM -0400, Davone Desouza wrote:> So I'm using the libguests library in my Java code and when running my vm I > am seeing this error: > > ***buffer overflow detected***:/bin/java terminated > Backtrace:========> /lib64/libc.so.6(__fortify_fail+0x37)[ox7f7932b4ed87] > /lib64/libc.so.6(+0x10df40)[0x7f7932b4cf40] > /lib64/libc.so.6(+0x10df40)[0x7f7932b4ecf7] > /lib64/libguestfs.so.0(+0xa6508)[0x7f78755bd508] > /lib64/libguestfs.so.0(+0xa6e3c)[0x7f78755bde3c] > /lib64/libguestfs.so.0(+0xa8e12)[0x7f78755bfe12] > /lib64/libguestfs.so.0(guestfs_disk_create_argv+0xbf)[0x7f7875567c6f] > /lib64/libguestfs.so.0(+0xc48f2)[0x7f78755db8f2] > /lib64/libguestfs.so.0(+0xc54b1[0x7f78755dc4b1] > /lib64/libguestfs.so.0(+0xbfc75)[0x7f78755d6c75] > /usr/lib64/libguestfs_jni.so.1.36.3(Java_com_redhat_et_libguestfs_Gues > tFs__1launch+0x14[0x7f7875875de4] > [0x7f791ee77570] > > Any idea what is going on or how can I fix this?Unfortunately there are a few problems with our use of JNI in the the Java bindings: https://bugzilla.redhat.com/show_bug.cgi?id=1536762 I've not had a chance to look at how to fix this. Help would be welcome here. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/
Can you post libguestfs version, your OS, kernel version, JRE version and code snipped causing the issue? It might be good iddea to set debug and verbose and post full log. Also try the same with guestfish. -- Mykola Ivanets сб, 18 серп. 2018, 10:23 користувач Davone Desouza <davdes44@gmail.com> пише:> So I'm using the libguests library in my Java code and when running my vm > I am seeing this error: > > ***buffer overflow detected***:/bin/java terminated > Backtrace:========> /lib64/libc.so.6(__fortify_fail+0x37)[ox7f7932b4ed87] > /lib64/libc.so.6(+0x10df40)[0x7f7932b4cf40] > /lib64/libc.so.6(+0x10df40)[0x7f7932b4ecf7] > /lib64/libguestfs.so.0(+0xa6508)[0x7f78755bd508] > /lib64/libguestfs.so.0(+0xa6e3c)[0x7f78755bde3c] > /lib64/libguestfs.so.0(+0xa8e12)[0x7f78755bfe12] > /lib64/libguestfs.so.0(guestfs_disk_create_argv+0xbf)[0x7f7875567c6f] > /lib64/libguestfs.so.0(+0xc48f2)[0x7f78755db8f2] > /lib64/libguestfs.so.0(+0xc54b1[0x7f78755dc4b1] > /lib64/libguestfs.so.0(+0xbfc75)[0x7f78755d6c75] > /usr/lib64/libguestfs_jni.so.1.36.3(Java_com_redhat_et_libguestfs_Gues > tFs__1launch+0x14[0x7f7875875de4] > [0x7f791ee77570] > > Any idea what is going on or how can I fix this? > > ... > ... > > > > _______________________________________________ > Libguestfs mailing list > Libguestfs@redhat.com > https://www.redhat.com/mailman/listinfo/libguestfs