Re: can libvirt.so use jemalloc to manage mem ?

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

 



On Thu, Apr 02, 2020 at 09:20:20PM +0800, thomas.kuang wrote:
> HI, all
>    My daemon exists a libvirt API  call:
> virEventRegisterDefaultImpl();
> 
> 
> once I called the virEventRegisterDefaultImpl() ,must be core ,the bt stack is:
> 
> 
> (gdb) bt
> #0  free (ptr=0x1) at include/jemalloc/internal/arena.h:652
> #1  0x00007f57690a488a in virFree () from /lib64/libvirt.so.0
> #2  0x00007f57690c3562 in virResetError () from /lib64/libvirt.so.0
> #3  0x00007f57690c49ad in virEventRegisterDefaultImpl () from /lib64/libvirt.so.0
> #4  0x00000000004029ad in main (argc=<optimized out>, argv=<optimized out>) at vnf_mgt/vnf_control.c:2920
> (gdb) quit

It sounds like you forgot to call "virInitialize()" before calling
virEventRegisterDefaultImpl()


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|





[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux