Package: libglib2.0
Version: libglib2.0-0
Severity: normal

Dear Maintainer,

Just linking any executable with -lgobject-2.0 and running the executable
with valgrind --leak-check=full causes several warnings, I'm not sure if
these are false positives, and therefore it should be suppressed in
valgrind, or if it is an issue in the library.

This is a very quick way to reproduce the issue:

  echo "int main(){}" > /tmp/foo.c
  gcc -o /tmp/foo /tmp/foo.c -lgobject-2.0
  ldd /tmp/foo # Check that libgobject-2.0.so.0 is linked
  valgrind --leak-check=full /tmp/foo

If you remove the '-lgobject-2.0' argument, the issues disappear.

Thanks.

Regards,
 Daniele


-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (300, 'unstable'), (150, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libglib2.0 depends on:
pn  cli-common             <none>
ii  libc6                  2.28-10
ii  libelf1                0.176-1.1
ii  libffi-dev             3.2.1-9
ii  libffi6                3.2.1-9
ii  libgcc1                1:9.1.0-4
ii  libglib2.0-0           2.58.3-2
ii  libglib2.0-bin         2.58.3-2
pn  libglib2.0-cil         <none>
ii  libglib2.0-data        2.58.3-2
ii  libglib2.0-dev-bin     2.58.3-2
pn  libmono-corlib4.5-cil  <none>
pn  libmono-system4.0-cil  <none>
ii  libmount-dev           2.33.1-0.1
ii  libmount1              2.33.1-0.1
ii  libpcre3               2:8.39-12
ii  libpcre3-dev           2:8.39-12
ii  libselinux1            2.8-1+b1
ii  libselinux1-dev        2.8-1+b1
ii  libstdc++6             9.1.0-4
ii  pkg-config             0.29-6
ii  python3                3.7.3-1
ii  python3-distutils      3.7.3-1
ii  python3.7              3.7.3-2
ii  shared-mime-info       1.10-1
ii  zlib1g                 1:1.2.11.dfsg-1
ii  zlib1g-dev             1:1.2.11.dfsg-1

Versions of packages libglib2.0 recommends:
ii  libglib2.0-data   2.58.3-2
ii  shared-mime-info  1.10-1
ii  xdg-user-dirs     0.17-2

Versions of packages libglib2.0 suggests:
pn  devhelp                <none>
ii  libgdk-pixbuf2.0-bin   2.38.1+dfsg-1
ii  libgdk-pixbuf2.0-dev   2.38.1+dfsg-1
pn  libglib2.0-doc         <none>
ii  libxml2-utils          2.9.4+dfsg1-7+b3
pn  monodoc-gtk2.0-manual  <none>

Reply via email to