[Libvir] crash on domain shutdown (via ruby)
dlutter at redhat.com
Fri Apr 11 23:55:15 UTC 2008
On Fri, 2008-04-11 at 15:32 -0700, Vadim Zaliva wrote:
> I was too quick to speak. I got another crash:
> *** glibc detected *** ruby: double free or corruption (out):
> 0x08e78608 ***
> ======= Backtrace: =========
Did your program while it ran have any errors before ? This is somewhere
in the guts of libvirt, and I would guess it's a double free caused by
the ruby bindings first calling virResetError on an unrelated error, and
then libvirt crashing on a second error since the first virResetError
freed various strings it didn't really own.
Try commenting the call to virResetError in _libvirt.c in the ruby
bindings out entirely, and see if you still get a crash.
More information about the libvir-list