Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dbus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 262
    • Issues 262
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dbusdbus
  • dbus
  • Issues
  • #283
Closed
Open
Issue created Nov 02, 2019 by Tomasz Kłoczko@kloczek👍

1.12.16: test failure: file descriptor 4 leaked in dbus-message-util.c

From test/test-suite.log:

======================================
   dbus 1.12.16: test/test-suite.log
=======================================

# TOTAL: 157
# PASS:  150
# SKIP:  6
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test-bus
==============

dbus[3478896]: file descriptor 4 leaked in dbus-message-util.c.
  D-Bus not built with -rdynamic so unable to print a backtrace
./test-bus.sh: line 20: 3478896 Aborted                 (core dumped) ../bus/test-bus 1>&2
1..1
not ok 1 ../bus/test-bus (exit status 134)
FAIL: test-bus.sh 1 ../bus/test-bus (exit status 134)
[tkloczko@barrel SPECS]$ coredumpctl gdb /home/tkloczko/rpmbuild/BUILD/dbus-dbus-1.12.16/bus/.libs/lt-test-bus
           PID: 3478896 (lt-test-bus)
           UID: 1000 (tkloczko)
           GID: 1000 (tkloczko)
        Signal: 6 (ABRT)
     Timestamp: Sat 2019-11-02 20:27:58 GMT (31s ago)
  Command Line: /home/tkloczko/rpmbuild/BUILD/dbus-dbus-1.12.16/bus/.libs/lt-test-bus
    Executable: /home/tkloczko/rpmbuild/BUILD/dbus-dbus-1.12.16/bus/.libs/lt-test-bus
 Control Group: /user.slice/user-1000.slice/session-30.scope
          Unit: session-30.scope
         Slice: user-1000.slice
       Session: 30
     Owner UID: 1000 (tkloczko)
       Boot ID: e3193598c75f49348c021547f744cc39
    Machine ID: 2a07404e0c70431ba36bfb0ac8e023c2
      Hostname: barrel
       Storage: /var/lib/systemd/coredump/core.lt-test-bus.1000.e3193598c75f49348c021547f744cc39.3478896.1572726478000000000000.lz4
       Message: Process 3478896 (lt-test-bus) of user 1000 dumped core.
                
                Stack trace of thread 3478896:
                #0  0x00007f92313c85f5 raise (libc.so.6)
                #1  0x00007f92313b18d9 abort (libc.so.6)
                #2  0x00007f9231342ee5 n/a (/home/tkloczko/rpmbuild/BUILD/dbus-dbus-1.12.16/dbus/.libs/libdbus-1.so.3.19.11)

\GNU gdb (GDB) Fedora 9.0.50.20191018-1.fc32
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/tkloczko/rpmbuild/BUILD/dbus-dbus-1.12.16/bus/.libs/lt-test-bus...
[New LWP 3478896]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/tkloczko/rpmbuild/BUILD/dbus-dbus-1.12.16/bus/.libs/lt-test-bus'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f92313c85f5 in raise () from /lib64/libc.so.6
 audit-libs-3.0-0.14.20190507gitf58ec40.fc32.x86_64 expat-2.2.9-2.fc32.x86_64 glibc-2.30.9000-16.fc32.x86_64 libcap-ng-0.7.10-2.fc32.x86_64 libgcc-9.2.1-1.fc32.3.x86_64 libgcrypt-1.8.5-2.fc32.x86_64 libgpg-error-1.36-3.fc32.x86_64 libselinux-2.9-7.fc32.x86_64 lz4-libs-1.9.2-2.1.fc32.x86_64 pcre2-10.33-14.fc32.x86_64 sssd-client-2.2.2-3.fc32.x86_64 xz-libs-5.2.4-8.fc32.x86_64
(gdb) bt full
Missing separate debuginfos, use: dnf debuginfo-install#0  0x00007f92313c85f5 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f92313b18d9 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007f9231342ee5 in _dbus_abort () at dbus-sysdeps.c:93
        s = <optimized out>
#3  0x00007f92313458f0 in _dbus_warn (format=0x56087cf2a2b0 "file descriptor %i leaked in %s.") at dbus-internals.c:249
        severity = <optimized out>
        args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7ffda04030b0, reg_save_area = 0x7ffda0402ff0}}
#4  0x000056087cf099e4 in _dbus_check_fdleaks_leave (fds=0x56087ef22be0) at dbus-message-util.c:263
        l = 4
        e = 0x56087ef26f74 ""
        fd = <optimized out>
        de = <optimized out>
        d = 0x56087ef26ea0
        d = <optimized out>
        de = <optimized out>
        l = <optimized out>
        e = <optimized out>
        fd = <optimized out>
        __d = <optimized out>
#5  test_post_hook () at test-main.c:88
No locals.
#6  0x000056087cf05b9e in main (argc=<optimized out>, argv=0x7ffda0403408) at test-main.c:142
        dir = <optimized out>
        only = <optimized out>
        test_data_dir = {dummy1 = 0x7ffda0404ed0, dummy2 = 57, dummy3 = 65, dummy_bit1 = 1, dummy_bit2 = 1, dummy_bit3 = 0, dummy_bits = 0}
(gdb) 
Edited Jun 21, 2021 by Simon McVittie
Assignee
Assign to
Time tracking