[Pkg-libvirt-maintainers] Bug#1072666: virsh drvesx coredumps on invalid connect URL esx://x?no_verify (without =0)

Bernhard Übelacker bernhardu at mailbox.org
Tue Jun 18 22:33:33 BST 2024


On Thu, 06 Jun 2024 14:59:55 +1000 "Trent W. Buck" <trentbuck at gmail.com> wrote:

> I accidentally did, which made virsh coredump (unexpected behaviour):
> 
>     virsh -c esx://x?no_verify

>                     Stack trace of thread 956182:
>                     #0  0x00007ff6c0ca5e3a __libc_free (libc.so.6 + 0x98e3a)
>                     #1  0x00007ff6c13c6549 n/a (libvirt.so.0 + 0x27a549)
>                     #2  0x00007ff6c13bb8dd n/a (libvirt.so.0 + 0x26f8dd)
>                     #3  0x00007ff6c13bc0e1 n/a (libvirt.so.0 + 0x2700e1)
>                     #4  0x00007ff6c1439704 n/a (libvirt.so.0 + 0x2ed704)
>                     #5  0x00007ff6c143a080 virConnectOpenAuth (libvirt.so.0 + 0x2ee080)
>                     #6  0x00005595d686f0ef n/a (virsh + 0x400ef)



Hello,
I am no maintainer of libvirt, just tried to get some more information.

This crash seems to be a use-after-free, which valgrind starts to shows like this:

==1536== Invalid read of size 8
==1536==    at 0x4B10B25: esxUtil_FreeParsedUri (esx_util.c:167)
==1536==    by 0x4B0749C: esxFreePrivate (esx_driver.c:70)
==1536==    by 0x4B08174: esxConnectOpen (esx_driver.c:908)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Address 0x8d0a450 is 0 bytes inside a block of size 48 free'd
==1536==    at 0x48431EF: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4B10FE3: esxUtil_ParseUri (esx_util.c:153)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Block was alloc'd at
==1536==    at 0x48459F3: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4F59E29: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.2)
==1536==    by 0x4B10BB4: esxUtil_ParseUri (esx_util.c:49)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)


Setting the pointer after freeing might be already enough.
With this valgrind shows no longer any issue with the same virsh statement.
But have not tested any further.


--- libvirt-10.3.0.orig/src/esx/esx_util.c
+++ libvirt-10.3.0/src/esx/esx_util.c
@@ -170,6 +170,7 @@ esxUtil_FreeParsedUri(esxUtil_ParsedUri
      g_free((*parsedUri)->path);
  
      g_free(*parsedUri);
+    *parsedUri = NULL;
  }



Kind regards,
Bernhard
-------------- next part --------------


# Trixie/testing amd64 qemu VM 2024-06-18


apt install systemd-coredump libunwind8 ccache gdb libvirt-clients libvirt-clients-dbgsym libvirt0-dbgsym
apt build-dep libvirt




mkdir /home/benutzer/source/libvirt/orig -p
cd    /home/benutzer/source/libvirt/orig
apt source libvirt



benutzer at debian:~$ virsh $'--connect=esx://x?no_verify'
2024-06-18 19:55:30.936+0000: 1132: info : libvirt version: 10.3.0, package: 10.3.0-3 (Debian)
2024-06-18 19:55:30.936+0000: 1132: info : hostname: debian
2024-06-18 19:55:30.936+0000: 1132: warning : esxConnectOpen:803 : Ignoring unexpected path '' for non-vpx scheme 'esx'
Speicherzugriffsfehler (Speicherabzug geschrieben)
benutzer at debian:~$



benutzer at debian:~$ coredumpctl gdb --debugger-argument=-q 1132
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
           PID: 1132 (virsh)
           UID: 1000 (benutzer)
           GID: 1000 (benutzer)
        Signal: 11 (SEGV)
     Timestamp: Tue 2024-06-18 21:55:30 CEST (3min 42s ago)
  Command Line: virsh $'--connect=esx://x?no_verify'
    Executable: /usr/bin/virsh
 Control Group: /user.slice/user-1000.slice/session-3.scope
          Unit: session-3.scope
         Slice: user-1000.slice
       Session: 3
     Owner UID: 1000 (benutzer)
       Boot ID: 8dd2ade6f616424eab69a6ab475f351a
    Machine ID: 16e4d7437c19482b8c85581d3feaba09
      Hostname: debian
       Storage: /var/lib/systemd/coredump/core.virsh.1000.8dd2ade6f616424eab69a6ab475f351a.1132.1718740530000000.zst (present)
  Size on Disk: 464.2K
       Message: Process 1132 (virsh) of user 1000 dumped core.

Reading symbols from /usr/bin/virsh...
Reading symbols from /usr/lib/debug/.build-id/4e/2037bd4977ca90169730bf0bb1a9c01a6136dc.debug...
[New LWP 1132]
[New LWP 1133]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `virsh --connect=esx://x?no_verify'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f49fdbb6dda in __GI___libc_free (mem=0x55e208eec2da) at ./malloc/malloc.c:3368
3368    ./malloc/malloc.c: Datei oder Verzeichnis nicht gefunden.
[Current thread is 1 (Thread 0x7f49fc3d3fc0 (LWP 1132))]
(gdb) set width 0
(gdb) set pagination off
(gdb) bt
#0  0x00007f49fdbb6dda in __GI___libc_free (mem=0x55e208eec2da) at ./malloc/malloc.c:3368
#1  0x00007f49fe2afb2d in esxUtil_FreeParsedUri (parsedUri=0x55e7569ba778) at ../../src/esx/esx_util.c:167
#2  0x00007f49fe2a649d in esxFreePrivate (priv=0x7ffca3b6b500) at ../../src/esx/esx_driver.c:70
#3  0x00007f49fe2a7175 in esxConnectOpen (conn=<optimized out>, auth=<optimized out>, conf=<optimized out>, flags=<optimized out>) at ../../src/esx/esx_driver.c:908
#4  0x00007f49fe326076 in virConnectOpenInternal (name=<optimized out>, name at entry=0x55e7569b56d0 "esx://x?no_verify", auth=auth at entry=0x7f49fe4e0ac0 <virConnectAuthDefault>, flags=flags at entry=0) at ../../src/libvirt.c:1140
#5  0x00007f49fe326a6c in virConnectOpenAuth (name=name at entry=0x55e7569b56d0 "esx://x?no_verify", auth=0x7f49fe4e0ac0 <virConnectAuthDefault>, flags=flags at entry=0) at ../../src/libvirt.c:1283
#6  0x000055e7550e89c7 in virshConnect (ctl=ctl at entry=0x7ffca3b6b7a0, uri=0x55e7569b56d0 "esx://x?no_verify", readonly=false) at ../../tools/virsh.c:127
#7  0x000055e7550e8c93 in virshReconnect (ctl=ctl at entry=0x7ffca3b6b7a0, name=name at entry=0x0, readonly=<optimized out>, readonly at entry=false, force=force at entry=false) at ../../tools/virsh.c:208
#8  0x000055e7550e8315 in virshInit (ctl=0x7ffca3b6b7a0) at ../../tools/virsh.c:362
#9  main (argc=<optimized out>, argv=<optimized out>) at ../../tools/virsh.c:880
(gdb) 





benutzer at debian:~$ valgrind virsh $'--connect=esx://x?no_verify'
==1536== Memcheck, a memory error detector
==1536== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==1536== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
==1536== Command: virsh --connect=esx://x?no_verify
==1536== 
2024-06-18 20:00:26.120+0000: 1536: info : libvirt version: 10.3.0, package: 10.3.0-3 (Debian)
2024-06-18 20:00:26.120+0000: 1536: info : hostname: debian
2024-06-18 20:00:26.120+0000: 1536: warning : esxConnectOpen:803 : Ignoring unexpected path '' for non-vpx scheme 'esx'
==1536== Invalid read of size 8
==1536==    at 0x4B10B25: esxUtil_FreeParsedUri (esx_util.c:167)
==1536==    by 0x4B0749C: esxFreePrivate (esx_driver.c:70)
==1536==    by 0x4B08174: esxConnectOpen (esx_driver.c:908)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Address 0x8d0a450 is 0 bytes inside a block of size 48 free'd
==1536==    at 0x48431EF: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4B10FE3: esxUtil_ParseUri (esx_util.c:153)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Block was alloc'd at
==1536==    at 0x48459F3: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4F59E29: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.2)
==1536==    by 0x4B10BB4: esxUtil_ParseUri (esx_util.c:49)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536== 
==1536== Invalid read of size 8
==1536==    at 0x4B10B30: esxUtil_FreeParsedUri (esx_util.c:168)
==1536==    by 0x4B0749C: esxFreePrivate (esx_driver.c:70)
==1536==    by 0x4B08174: esxConnectOpen (esx_driver.c:908)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Address 0x8d0a458 is 8 bytes inside a block of size 48 free'd
==1536==    at 0x48431EF: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4B10FE3: esxUtil_ParseUri (esx_util.c:153)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Block was alloc'd at
==1536==    at 0x48459F3: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4F59E29: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.2)
==1536==    by 0x4B10BB4: esxUtil_ParseUri (esx_util.c:49)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536== 
==1536== Invalid read of size 8
==1536==    at 0x4B10B3C: esxUtil_FreeParsedUri (esx_util.c:169)
==1536==    by 0x4B0749C: esxFreePrivate (esx_driver.c:70)
==1536==    by 0x4B08174: esxConnectOpen (esx_driver.c:908)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Address 0x8d0a468 is 24 bytes inside a block of size 48 free'd
==1536==    at 0x48431EF: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4B10FE3: esxUtil_ParseUri (esx_util.c:153)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Block was alloc'd at
==1536==    at 0x48459F3: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4F59E29: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.2)
==1536==    by 0x4B10BB4: esxUtil_ParseUri (esx_util.c:49)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536== 
==1536== Invalid read of size 8
==1536==    at 0x4B10B48: esxUtil_FreeParsedUri (esx_util.c:170)
==1536==    by 0x4B0749C: esxFreePrivate (esx_driver.c:70)
==1536==    by 0x4B08174: esxConnectOpen (esx_driver.c:908)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Address 0x8d0a478 is 40 bytes inside a block of size 48 free'd
==1536==    at 0x48431EF: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4B10FE3: esxUtil_ParseUri (esx_util.c:153)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Block was alloc'd at
==1536==    at 0x48459F3: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4F59E29: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.2)
==1536==    by 0x4B10BB4: esxUtil_ParseUri (esx_util.c:49)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536== 
==1536== Invalid free() / delete / delete[] / realloc()
==1536==    at 0x48431EF: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4B0749C: esxFreePrivate (esx_driver.c:70)
==1536==    by 0x4B08174: esxConnectOpen (esx_driver.c:908)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Address 0x8d0a450 is 0 bytes inside a block of size 48 free'd
==1536==    at 0x48431EF: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4B10FE3: esxUtil_ParseUri (esx_util.c:153)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536==  Block was alloc'd at
==1536==    at 0x48459F3: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1536==    by 0x4F59E29: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.2)
==1536==    by 0x4B10BB4: esxUtil_ParseUri (esx_util.c:49)
==1536==    by 0x4B079A0: esxConnectOpen (esx_driver.c:810)
==1536==    by 0x4B87075: virConnectOpenInternal (libvirt.c:1140)
==1536==    by 0x4B87A6B: virConnectOpenAuth (libvirt.c:1283)
==1536==    by 0x1449C6: virshConnect (virsh.c:127)
==1536==    by 0x144C92: virshReconnect (virsh.c:208)
==1536==    by 0x144314: virshInit (virsh.c:362)
==1536==    by 0x144314: main (virsh.c:880)
==1536== 
Fehler: Verbindung zum Hypervisor scheiterte
Fehler: Ungültiges Argument: Abfrageparameter »no_verify« hat unerwarteten Wert »« (sollte 0 oder 1 sein)
==1536== 
==1536== HEAP SUMMARY:
==1536==     in use at exit: 214,303 bytes in 1,157 blocks
==1536==   total heap usage: 3,666 allocs, 2,510 frees, 495,545 bytes allocated
==1536== 
==1536== LEAK SUMMARY:
==1536==    definitely lost: 0 bytes in 0 blocks
==1536==    indirectly lost: 0 bytes in 0 blocks
==1536==      possibly lost: 0 bytes in 0 blocks
==1536==    still reachable: 212,207 bytes in 1,135 blocks
==1536==         suppressed: 0 bytes in 0 blocks
==1536== Rerun with --leak-check=full to see details of leaked memory
==1536== 
==1536== For lists of detected and suppressed errors, rerun with: -s
==1536== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
benutzer at debian:~$






wget https://github.com/DynamoRIO/drmemory/releases/download/release_2.3.0/DrMemory-Linux-2.3.0-1.tar.gz
tar -zxf DrMemory-Linux-2.3.0-1.tar.gz
wget https://github.com/DynamoRIO/drmemory/releases/download/cronbuild-2.6.19800/DrMemory-Linux-2.6.19800.tar.gz
tar -zxf DrMemory-Linux-2.6.19800.tar.gz


benutzer at debian:~$ /home/benutzer/DrMemory-Linux-2.6.19800/bin64/drmemory -- virsh $'--connect=esx://x?no_verify'
~~Dr.M~~ Dr. Memory version 2.6.19800
~~Dr.M~~ 
~~Dr.M~~ Error #1: UNINITIALIZED READ: reading register al
~~Dr.M~~ # 0 replace_strlen                    [/home/runner/work/drmemory/drmemory/drmemory/replace.c:406]
~~Dr.M~~ # 1 libc.so.6!__gethostname           [../sysdeps/posix/gethostname.c:35]
~~Dr.M~~ # 2 libglib-2.0.so.0!g_get_host_name +0x87     (0x00007fc5d9992c98 <libglib-2.0.so.0+0x9dc98>)
~~Dr.M~~ # 3 libvirt.so.0!virLogOnce           [../../src/util/virlog.c:264]
~~Dr.M~~ # 4 libc.so.6!__pthread_once_slow     [./nptl/pthread_once.c:116]
~~Dr.M~~ # 5 libvirt.so.0!virOnce              [../../src/util/virthread.c:44]
~~Dr.M~~ # 6 libvirt.so.0!virLogSetFromEnv     [../../src/util/virlog.c:270]
~~Dr.M~~ # 7 libvirt.so.0!virGlobalInit        [../../src/libvirt.c:238]
~~Dr.M~~ # 8 libc.so.6!__pthread_once_slow     [./nptl/pthread_once.c:116]
~~Dr.M~~ # 9 libvirt.so.0!virOnce              [../../src/util/virthread.c:44]
~~Dr.M~~ #10 libvirt.so.0!virInitialize        [../../src/libvirt.c:317]
~~Dr.M~~ #11 main                              [../../tools/virsh.c:869]
~~Dr.M~~ Note: @0:00:09.861 in thread 1739
~~Dr.M~~ Note: instruction: test   %al %al
2024-06-18 21:04:41.240+0000: 1739: info : libvirt version: 10.3.0, package: 10.3.0-3 (Debian)
~~Dr.M~~ 
~~Dr.M~~ Error #2: UNINITIALIZED READ: reading register al
~~Dr.M~~ # 0 replace_strlen                       [/home/runner/work/drmemory/drmemory/drmemory/replace.c:406]
~~Dr.M~~ # 1 libc.so.6!__printf_buffer            [./stdio-common/vfprintf-process-arg.c:435]
~~Dr.M~~ # 2 libc.so.6!__vasprintf_internal       [./libio/vasprintf.c:102]
~~Dr.M~~ # 3 libglib-2.0.so.0!g_vasprintf        +0x21     (0x00007fc5d99a7962 <libglib-2.0.so.0+0xb2962>)
~~Dr.M~~ # 4 libglib-2.0.so.0!g_strdup_vprintf   +0x30     (0x00007fc5d9973961 <libglib-2.0.so.0+0x7e961>)
~~Dr.M~~ # 5 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:803]
~~Dr.M~~ # 6 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ # 7 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ # 8 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ # 9 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ #10 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.105 in thread 1739
~~Dr.M~~ Note: instruction: test   %al %al
~~Dr.M~~ 
~~Dr.M~~ Error #3: UNINITIALIZED READ: reading register al
~~Dr.M~~ # 0 replace_strlen                       [/home/runner/work/drmemory/drmemory/drmemory/replace.c:406]
~~Dr.M~~ # 1 libvirt.so.0!virLogMessage           [../../src/util/virlog.c:661]
~~Dr.M~~ # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:803]
~~Dr.M~~ # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ # 6 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ # 7 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.108 in thread 1739
~~Dr.M~~ Note: instruction: test   %al %al
~~Dr.M~~ 
~~Dr.M~~ Error #4: UNINITIALIZED READ: reading 0x00007fc5d5d577b5-0x00007fc5d5d577bb 6 byte(s) within 0x00007fc5d5d57780-0x00007fc5d5d577bc
~~Dr.M~~ # 0 system call write parameter #1
~~Dr.M~~ # 1 libvirt.so.0!safewrite                       [../../src/util/virfile.c:1282]
~~Dr.M~~ # 2 libvirt.so.0!virLogMessage                   [../../src/util/virlog.c:661]
~~Dr.M~~ # 3 libvirt.so.0!esxConnectOpen                  [../../src/esx/esx_driver.c:803]
~~Dr.M~~ # 4 libvirt.so.0!virConnectOpenInternal          [../../src/libvirt.c:1140]
~~Dr.M~~ # 5 libvirt.so.0!virConnectOpenAuth              [../../src/libvirt.c:1283]
~~Dr.M~~ # 6 virshConnect                                 [../../tools/virsh.c:127]
~~Dr.M~~ # 7 virshReconnect                               [../../tools/virsh.c:208]
~~Dr.M~~ # 8 main                                         [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.110 in thread 1739
2024-06-18 21:04:41.240+0000: 1739: info : hostname: debian
2024-06-18 21:04:41.240+0000: 1739: warning : esxConnectOpen:803 : Ignoring unexpected path '' for non-vpx scheme 'esx'
~~Dr.M~~ 
~~Dr.M~~ Error #5: UNINITIALIZED READ: reading 0x00007fc5d5d59a8a-0x00007fc5d5d59a91 7 byte(s) within 0x00007fc5d5d59a71-0x00007fc5d5d59a91
~~Dr.M~~ # 0 libc.so.6!__strcasecmp_l_avx2        [../sysdeps/x86_64/multiarch/strcmp-avx2.S:287]
~~Dr.M~~ # 1 libc.so.6!msort_with_tmp.part.0      [./stdlib/msort.c:104]
~~Dr.M~~ # 2 libc.so.6!msort_with_tmp.part.0      [./stdlib/msort.c:44]
~~Dr.M~~ # 3 libc.so.6!msort_with_tmp.part.0      [./stdlib/msort.c:44]
~~Dr.M~~ # 4 libc.so.6!msort_with_tmp.part.0      [./stdlib/msort.c:44]
~~Dr.M~~ # 5 libc.so.6!msort_with_tmp.part.0      [./stdlib/msort.c:44]
~~Dr.M~~ # 6 libc.so.6!msort_with_tmp.part.0      [./stdlib/msort.c:44]
~~Dr.M~~ # 7 libc.so.6!__qsort_r                  [./stdlib/msort.c:44]
~~Dr.M~~ # 8 libc.so.6!read_alias_file            [./intl/localealias.c:383]
~~Dr.M~~ # 9 libc.so.6!_nl_expand_alias           [./intl/localealias.c:194]
~~Dr.M~~ #10 libc.so.6!_nl_find_domain            [./intl/finddomain.c:123]
~~Dr.M~~ #11 libc.so.6!__dcigettext               [./intl/dcigettext.c:702]
~~Dr.M~~ #12 libvirt.so.0!esxUtil_ParseUri        [../../src/esx/esx_util.c:73]
~~Dr.M~~ #13 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:810]
~~Dr.M~~ #14 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ #15 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ #16 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ #17 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ #18 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.179 in thread 1739
~~Dr.M~~ Note: instruction: vmovdqu (%rsi) -> %ymm1
~~Dr.M~~ 
~~Dr.M~~ Error #6: UNINITIALIZED READ: reading 0x00007ffcdcb218ec-0x00007ffcdcb21900 20 byte(s) within 0x00007ffcdcb218e0-0x00007ffcdcb21900
~~Dr.M~~ # 0 libc.so.6!__strcasecmp_l_avx2        [../sysdeps/x86_64/multiarch/strcmp-avx2.S:283]
~~Dr.M~~ # 1 libc.so.6!_nl_expand_alias           [./intl/localealias.c:413]
~~Dr.M~~ # 2 libc.so.6!_nl_find_domain            [./intl/finddomain.c:123]
~~Dr.M~~ # 3 libc.so.6!__dcigettext               [./intl/dcigettext.c:702]
~~Dr.M~~ # 4 libvirt.so.0!esxUtil_ParseUri        [../../src/esx/esx_util.c:73]
~~Dr.M~~ # 5 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:810]
~~Dr.M~~ # 6 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ # 7 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ # 8 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ # 9 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ #10 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.182 in thread 1739
~~Dr.M~~ Note: instruction: vmovdqu (%rdi) -> %ymm0
~~Dr.M~~ 
~~Dr.M~~ Error #7: UNADDRESSABLE ACCESS of freed memory: reading 0x00007fc5d5d578f0-0x00007fc5d5d578f8 8 byte(s)
~~Dr.M~~ # 0 libvirt.so.0!esxUtil_FreeParsedUri   [../../src/esx/esx_util.c:167]
~~Dr.M~~ # 1 libvirt.so.0!esxFreePrivate          [../../src/esx/esx_driver.c:70]
~~Dr.M~~ # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:908]
~~Dr.M~~ # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ # 6 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ # 7 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.288 in thread 1739
~~Dr.M~~ Note: prev lower malloc:  0x00007fc5d5d57880-0x00007fc5d5d578c8
~~Dr.M~~ Note: 0x00007fc5d5d578f0-0x00007fc5d5d578f8 overlaps memory 0x00007fc5d5d578f0-0x00007fc5d5d57920 that was freed here:
~~Dr.M~~ Note: # 0 replace_free                         [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2710]
~~Dr.M~~ Note: # 1 libvirt.so.0!esxUtil_ParseUri        [../../src/esx/esx_util.c:153]
~~Dr.M~~ Note: # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:810]
~~Dr.M~~ Note: # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ Note: # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ Note: # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ Note: instruction: mov    (%rax) -> %rdi
~~Dr.M~~ 
~~Dr.M~~ Error #8: UNADDRESSABLE ACCESS of freed memory: reading 0x00007fc5d5d578f8-0x00007fc5d5d57900 8 byte(s)
~~Dr.M~~ # 0 libvirt.so.0!esxUtil_FreeParsedUri   [../../src/esx/esx_util.c:168]
~~Dr.M~~ # 1 libvirt.so.0!esxFreePrivate          [../../src/esx/esx_driver.c:70]
~~Dr.M~~ # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:908]
~~Dr.M~~ # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ # 6 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ # 7 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.291 in thread 1739
~~Dr.M~~ Note: prev lower malloc:  0x00007fc5d5d57880-0x00007fc5d5d578c8
~~Dr.M~~ Note: 0x00007fc5d5d578f8-0x00007fc5d5d57900 overlaps memory 0x00007fc5d5d578f0-0x00007fc5d5d57920 that was freed here:
~~Dr.M~~ Note: # 0 replace_free                         [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2710]
~~Dr.M~~ Note: # 1 libvirt.so.0!esxUtil_ParseUri        [../../src/esx/esx_util.c:153]
~~Dr.M~~ Note: # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:810]
~~Dr.M~~ Note: # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ Note: # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ Note: # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ Note: instruction: mov    0x08(%rax) -> %rdi
~~Dr.M~~ 
~~Dr.M~~ Error #9: UNADDRESSABLE ACCESS of freed memory: reading 0x00007fc5d5d57908-0x00007fc5d5d57910 8 byte(s)
~~Dr.M~~ # 0 libvirt.so.0!esxUtil_FreeParsedUri   [../../src/esx/esx_util.c:169]
~~Dr.M~~ # 1 libvirt.so.0!esxFreePrivate          [../../src/esx/esx_driver.c:70]
~~Dr.M~~ # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:908]
~~Dr.M~~ # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ # 6 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ # 7 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.293 in thread 1739
~~Dr.M~~ Note: prev lower malloc:  0x00007fc5d5d57880-0x00007fc5d5d578c8
~~Dr.M~~ Note: 0x00007fc5d5d57908-0x00007fc5d5d57910 overlaps memory 0x00007fc5d5d578f0-0x00007fc5d5d57920 that was freed here:
~~Dr.M~~ Note: # 0 replace_free                         [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2710]
~~Dr.M~~ Note: # 1 libvirt.so.0!esxUtil_ParseUri        [../../src/esx/esx_util.c:153]
~~Dr.M~~ Note: # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:810]
~~Dr.M~~ Note: # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ Note: # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ Note: # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ Note: instruction: mov    0x18(%rax) -> %rdi
~~Dr.M~~ 
~~Dr.M~~ Error #10: UNADDRESSABLE ACCESS of freed memory: reading 0x00007fc5d5d57918-0x00007fc5d5d57920 8 byte(s)
~~Dr.M~~ # 0 libvirt.so.0!esxUtil_FreeParsedUri   [../../src/esx/esx_util.c:170]
~~Dr.M~~ # 1 libvirt.so.0!esxFreePrivate          [../../src/esx/esx_driver.c:70]
~~Dr.M~~ # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:908]
~~Dr.M~~ # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ # 6 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ # 7 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.295 in thread 1739
~~Dr.M~~ Note: prev lower malloc:  0x00007fc5d5d57880-0x00007fc5d5d578c8
~~Dr.M~~ Note: 0x00007fc5d5d57918-0x00007fc5d5d57920 overlaps memory 0x00007fc5d5d578f0-0x00007fc5d5d57920 that was freed here:
~~Dr.M~~ Note: # 0 replace_free                         [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2710]
~~Dr.M~~ Note: # 1 libvirt.so.0!esxUtil_ParseUri        [../../src/esx/esx_util.c:153]
~~Dr.M~~ Note: # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:810]
~~Dr.M~~ Note: # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ Note: # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ Note: # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ Note: instruction: mov    0x28(%rax) -> %rdi
~~Dr.M~~ 
~~Dr.M~~ Error #11: INVALID HEAP ARGUMENT to free 0x00007fc5d5d578f0
~~Dr.M~~ # 0 replace_free                         [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2710]
~~Dr.M~~ # 1 libvirt.so.0!esxFreePrivate          [../../src/esx/esx_driver.c:70]
~~Dr.M~~ # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:908]
~~Dr.M~~ # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ # 5 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ # 6 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ # 7 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ Note: @0:00:11.296 in thread 1739
~~Dr.M~~ Note: prev lower malloc:  0x00007fc5d5d57880-0x00007fc5d5d578c8
~~Dr.M~~ Note: memory was previously freed here:
~~Dr.M~~ Note: # 0 replace_free                         [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2710]
~~Dr.M~~ Note: # 1 libvirt.so.0!esxUtil_ParseUri        [../../src/esx/esx_util.c:153]
~~Dr.M~~ Note: # 2 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:810]
~~Dr.M~~ Note: # 3 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ Note: # 4 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ Note: # 5 virshConnect                         [../../tools/virsh.c:127]
Fehler: Verbindung zum Hypervisor scheiterte
Fehler: Ungültiges Argument: Abfrageparameter »no_verify« hat unerwarteten Wert »« (sollte 0 oder 1 sein)
~~Dr.M~~ 
~~Dr.M~~ Error #12: POSSIBLE LEAK 96 direct bytes 0x00007fc5d5d28ea0-0x00007fc5d5d28f00 + 0 indirect bytes
~~Dr.M~~ # 0 replace_calloc               [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2620]
~~Dr.M~~ # 1 libglib-2.0.so.0!g_malloc0  +0x19     (0x00007fc5d9957e2a <libglib-2.0.so.0+0x62e2a>)
~~Dr.M~~ # 2 libgobject-2.0.so.0!?       +0x0      (0x00007fc5d913965d <libgobject-2.0.so.0+0x3465d>)
~~Dr.M~~ # 3 libgobject-2.0.so.0!?       +0x0      (0x00007fc5d9139c47 <libgobject-2.0.so.0+0x34c47>)
~~Dr.M~~ # 4 libgobject-2.0.so.0!?       +0x0      (0x00007fc5d9114a54 <libgobject-2.0.so.0+0xfa54>)
~~Dr.M~~ # 5 ld-linux-x86-64.so.2!call_init [./elf/dl-init.c:74]
~~Dr.M~~ # 6 ld-linux-x86-64.so.2!_dl_init [./elf/dl-init.c:121]
~~Dr.M~~ # 7 ld-linux-x86-64.so.2!_dl_start_user      
~~Dr.M~~ 
~~Dr.M~~ Error #13: POSSIBLE LEAK 96 direct bytes 0x00007fc5d5d2ae80-0x00007fc5d5d2aee0 + 164 indirect bytes
~~Dr.M~~ # 0 replace_calloc                            [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2620]
~~Dr.M~~ # 1 libglib-2.0.so.0!g_malloc0               +0x19     (0x00007fc5d9957e2a <libglib-2.0.so.0+0x62e2a>)
~~Dr.M~~ # 2 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d913965d <libgobject-2.0.so.0+0x3465d>)
~~Dr.M~~ # 3 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9139c47 <libgobject-2.0.so.0+0x34c47>)
~~Dr.M~~ # 4 libgobject-2.0.so.0!g_type_register_fundamental+0x18a    (0x00007fc5d913ea1b <libgobject-2.0.so.0+0x39a1b>)
~~Dr.M~~ # 5 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d911ce1d <libgobject-2.0.so.0+0x17e1d>)
~~Dr.M~~ # 6 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9114adf <libgobject-2.0.so.0+0xfadf>)
~~Dr.M~~ # 7 ld-linux-x86-64.so.2!call_init            [./elf/dl-init.c:74]
~~Dr.M~~ # 8 ld-linux-x86-64.so.2!_dl_init             [./elf/dl-init.c:121]
~~Dr.M~~ # 9 ld-linux-x86-64.so.2!_dl_start_user      
~~Dr.M~~ 
~~Dr.M~~ Error #14: POSSIBLE LEAK 96 direct bytes 0x00007fc5d5d2b010-0x00007fc5d5d2b070 + 164 indirect bytes
~~Dr.M~~ # 0 replace_calloc                            [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2620]
~~Dr.M~~ # 1 libglib-2.0.so.0!g_malloc0               +0x19     (0x00007fc5d9957e2a <libglib-2.0.so.0+0x62e2a>)
~~Dr.M~~ # 2 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d913965d <libgobject-2.0.so.0+0x3465d>)
~~Dr.M~~ # 3 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9139c47 <libgobject-2.0.so.0+0x34c47>)
~~Dr.M~~ # 4 libgobject-2.0.so.0!g_type_register_fundamental+0x18a    (0x00007fc5d913ea1b <libgobject-2.0.so.0+0x39a1b>)
~~Dr.M~~ # 5 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d911ce55 <libgobject-2.0.so.0+0x17e55>)
~~Dr.M~~ # 6 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9114adf <libgobject-2.0.so.0+0xfadf>)
~~Dr.M~~ # 7 ld-linux-x86-64.so.2!call_init            [./elf/dl-init.c:74]
~~Dr.M~~ # 8 ld-linux-x86-64.so.2!_dl_init             [./elf/dl-init.c:121]
~~Dr.M~~ # 9 ld-linux-x86-64.so.2!_dl_start_user      
~~Dr.M~~ 
~~Dr.M~~ Error #15: POSSIBLE LEAK 96 direct bytes 0x00007fc5d5d2b300-0x00007fc5d5d2b360 + 364 indirect bytes
~~Dr.M~~ # 0 replace_calloc                            [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2620]
~~Dr.M~~ # 1 libglib-2.0.so.0!g_malloc0               +0x19     (0x00007fc5d9957e2a <libglib-2.0.so.0+0x62e2a>)
~~Dr.M~~ # 2 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d913965d <libgobject-2.0.so.0+0x3465d>)
~~Dr.M~~ # 3 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9139c47 <libgobject-2.0.so.0+0x34c47>)
~~Dr.M~~ # 4 libgobject-2.0.so.0!g_type_register_fundamental+0x18a    (0x00007fc5d913ea1b <libgobject-2.0.so.0+0x39a1b>)
~~Dr.M~~ # 5 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9128419 <libgobject-2.0.so.0+0x23419>)
~~Dr.M~~ # 6 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9114ae9 <libgobject-2.0.so.0+0xfae9>)
~~Dr.M~~ # 7 ld-linux-x86-64.so.2!call_init            [./elf/dl-init.c:74]
~~Dr.M~~ # 8 ld-linux-x86-64.so.2!_dl_init             [./elf/dl-init.c:121]
~~Dr.M~~ # 9 ld-linux-x86-64.so.2!_dl_start_user      
~~Dr.M~~ 
~~Dr.M~~ Error #16: POSSIBLE LEAK 96 direct bytes 0x00007fc5d5d2b4a0-0x00007fc5d5d2b500 + 188 indirect bytes
~~Dr.M~~ # 0 replace_calloc                            [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2620]
~~Dr.M~~ # 1 libglib-2.0.so.0!g_malloc0               +0x19     (0x00007fc5d9957e2a <libglib-2.0.so.0+0x62e2a>)
~~Dr.M~~ # 2 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d913965d <libgobject-2.0.so.0+0x3465d>)
~~Dr.M~~ # 3 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9139c47 <libgobject-2.0.so.0+0x34c47>)
~~Dr.M~~ # 4 libgobject-2.0.so.0!g_type_register_fundamental+0x18a    (0x00007fc5d913ea1b <libgobject-2.0.so.0+0x39a1b>)
~~Dr.M~~ # 5 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9122633 <libgobject-2.0.so.0+0x1d633>)
~~Dr.M~~ # 6 libgobject-2.0.so.0!?                    +0x0      (0x00007fc5d9114aee <libgobject-2.0.so.0+0xfaee>)
~~Dr.M~~ # 7 ld-linux-x86-64.so.2!call_init            [./elf/dl-init.c:74]
~~Dr.M~~ # 8 ld-linux-x86-64.so.2!_dl_init             [./elf/dl-init.c:121]
~~Dr.M~~ # 9 ld-linux-x86-64.so.2!_dl_start_user      
~~Dr.M~~ 
~~Dr.M~~ Error #17: LEAK 80 direct bytes 0x00007fc5d5d2b9a0-0x00007fc5d5d2b9f0 + 0 indirect bytes
~~Dr.M~~ # 0 replace_calloc                 [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2620]
~~Dr.M~~ # 1 libglib-2.0.so.0!g_malloc0    +0x19     (0x00007fc5d9957e2a <libglib-2.0.so.0+0x62e2a>)
~~Dr.M~~ # 2 libgobject-2.0.so.0!g_type_class_ref+0x552    (0x00007fc5d913d633 <libgobject-2.0.so.0+0x38633>)
~~Dr.M~~ # 3 libgobject-2.0.so.0!g_type_class_ref+0x536    (0x00007fc5d913d617 <libgobject-2.0.so.0+0x38617>)
~~Dr.M~~ # 4 libgobject-2.0.so.0!?         +0x0      (0x00007fc5d912bb5c <libgobject-2.0.so.0+0x26b5c>)
~~Dr.M~~ # 5 libgobject-2.0.so.0!?         +0x0      (0x00007fc5d9114af3 <libgobject-2.0.so.0+0xfaf3>)
~~Dr.M~~ # 6 ld-linux-x86-64.so.2!call_init [./elf/dl-init.c:74]
~~Dr.M~~ # 7 ld-linux-x86-64.so.2!_dl_init  [./elf/dl-init.c:121]
~~Dr.M~~ # 8 ld-linux-x86-64.so.2!_dl_start_user      
~~Dr.M~~ 
~~Dr.M~~ Error #18: POSSIBLE LEAK 80 direct bytes 0x00007fc5d5d569d0-0x00007fc5d5d56a20 + 0 indirect bytes
~~Dr.M~~ # 0 replace_calloc                             [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2620]
~~Dr.M~~ # 1 libglib-2.0.so.0!g_malloc0                +0x19     (0x00007fc5d9957e2a <libglib-2.0.so.0+0x62e2a>)
~~Dr.M~~ # 2 libgobject-2.0.so.0!g_closure_new_simple  +0x113    (0x00007fc5d911a614 <libgobject-2.0.so.0+0x15614>)
~~Dr.M~~ # 3 libgobject-2.0.so.0!g_signal_type_cclosure_new+0x30     (0x00007fc5d911bc51 <libgobject-2.0.so.0+0x16c51>)
~~Dr.M~~ # 4 libgobject-2.0.so.0!g_signal_new          +0x107    (0x00007fc5d9133a48 <libgobject-2.0.so.0+0x2ea48>)
~~Dr.M~~ # 5 libgobject-2.0.so.0!?                     +0x0      (0x00007fc5d9120a3e <libgobject-2.0.so.0+0x1ba3e>)
~~Dr.M~~ # 6 libgobject-2.0.so.0!g_type_class_ref      +0x47d    (0x00007fc5d913d55e <libgobject-2.0.so.0+0x3855e>)
~~Dr.M~~ # 7 libgobject-2.0.so.0!g_type_class_ref      +0x536    (0x00007fc5d913d617 <libgobject-2.0.so.0+0x38617>)
~~Dr.M~~ # 8 libgobject-2.0.so.0!g_type_class_ref      +0x536    (0x00007fc5d913d617 <libgobject-2.0.so.0+0x38617>)
~~Dr.M~~ # 9 libgobject-2.0.so.0!g_type_class_ref      +0x536    (0x00007fc5d913d617 <libgobject-2.0.so.0+0x38617>)
~~Dr.M~~ #10 libgobject-2.0.so.0!g_object_new_with_properties+0x371    (0x00007fc5d9123942 <libgobject-2.0.so.0+0x1e942>)
~~Dr.M~~ #11 libgobject-2.0.so.0!g_object_new          +0xc0     (0x00007fc5d91246a1 <libgobject-2.0.so.0+0x1f6a1>)
~~Dr.M~~ 
~~Dr.M~~ Error #19: POSSIBLE LEAK 24 direct bytes 0x00007fc5d5d5ac60-0x00007fc5d5d5ac78 + 259 indirect bytes
~~Dr.M~~ # 0 replace_malloc                       [/home/runner/work/drmemory/drmemory/common/alloc_replace.c:2580]
~~Dr.M~~ # 1 libc.so.6!__GI___tsearch             [./misc/tsearch.c:337]
~~Dr.M~~ # 2 libc.so.6!__dcigettext               [./intl/dcigettext.c:797]
~~Dr.M~~ # 3 libvirt.so.0!esxUtil_ParseUri        [../../src/esx/esx_util.c:73]
~~Dr.M~~ # 4 libvirt.so.0!esxConnectOpen          [../../src/esx/esx_driver.c:810]
~~Dr.M~~ # 5 libvirt.so.0!virConnectOpenInternal  [../../src/libvirt.c:1140]
~~Dr.M~~ # 6 libvirt.so.0!virConnectOpenAuth      [../../src/libvirt.c:1283]
~~Dr.M~~ # 7 virshConnect                         [../../tools/virsh.c:127]
~~Dr.M~~ # 8 virshReconnect                       [../../tools/virsh.c:208]
~~Dr.M~~ # 9 main                                 [../../tools/virsh.c:362]
~~Dr.M~~ 
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~       4 unique,     4 total unaddressable access(es)
~~Dr.M~~       6 unique,    35 total uninitialized access(es)
~~Dr.M~~       1 unique,     1 total invalid heap argument(s)
~~Dr.M~~       0 unique,     0 total warning(s)
~~Dr.M~~       1 unique,     1 total,     80 byte(s) of leak(s)
~~Dr.M~~       7 unique,     7 total,   1723 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~     461 unique,  1175 total, 293857 byte(s) of still-reachable allocation(s)
~~Dr.M~~          (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /home/benutzer/DrMemory-Linux-2.6.19800/drmemory/logs/DrMemory-virsh.1739.000/results.txt
benutzer at debian:~$ 









--- libvirt-10.3.0.orig/src/esx/esx_util.c
+++ libvirt-10.3.0/src/esx/esx_util.c
@@ -170,6 +170,7 @@ esxUtil_FreeParsedUri(esxUtil_ParsedUri
     g_free((*parsedUri)->path);
 
     g_free(*parsedUri);
+    *parsedUri = NULL;
 }
.




dpkg -i libvirt-clients_10.3.0-3_amd64.deb libvirt-clients-dbgsym_10.3.0-3_amd64.deb libvirt-l10n_10.3.0-3_all.deb libvirt0_10.3.0-3_amd64.deb libvirt0-dbgsym_10.3.0-3_amd64.deb


More information about the Pkg-libvirt-maintainers mailing list