Binary package hint: dbus
This is on intrepid 8.10 AMD64 with the -server kernel, up-to-date. I have a relatively minimal server installation, most of which I've documented at: http://techarcana.net/hydra and child pages.
aptitude install dbus
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
consolekit{a} dbus dbus-x11{a} libck-connector0{a} libdbus-1-3{a}
libdbus-glib-1-2{a} libglib2.0-0{a} libglib2.0-data{a}
libpam-ck-connector{a} libpolkit2{a}
0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1486kB of archives. After unpacking 7963kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Selecting previously deselected package libdbus-1-3.
(Reading database ... 40372 files and directories currently installed.)
Unpacking libdbus-1-3 (from .../libdbus-1-3_1.2.4-0ubuntu1_amd64.deb) ...
Selecting previously deselected package libck-connector0.
Unpacking libck-connector0 (from .../libck-connector0_0.2.10-1ubuntu10_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.18.2-0ubuntu2_amd64.deb) ...
Selecting previously deselected package libdbus-glib-1-2.
Unpacking libdbus-glib-1-2 (from .../libdbus-glib-1-2_0.76-1_amd64.deb) ...
Selecting previously deselected package libpolkit2.
Unpacking libpolkit2 (from .../libpolkit2_0.9-1ubuntu3_amd64.deb) ...
Selecting previously deselected package dbus.
Unpacking dbus (from .../dbus_1.2.4-0ubuntu1_amd64.deb) ...
Selecting previously deselected package consolekit.
Unpacking consolekit (from .../consolekit_0.2.10-1ubuntu10_amd64.deb) ...
Selecting previously deselected package dbus-x11.
Unpacking dbus-x11 (from .../dbus-x11_1.2.4-0ubuntu1_amd64.deb) ...
Selecting previously deselected package libglib2.0-data.
Unpacking libglib2.0-data (from .../libglib2.0-data_2.18.2-0ubuntu2_all.deb) ...
Selecting previously deselected package libpam-ck-connector.
Unpacking libpam-ck-connector (from .../libpam-ck-connector_0.2.10-1ubuntu10_amd64.deb) ...
Processing triggers for man-db ...
Setting up libdbus-1-3 (1.2.4-0ubuntu1) ...
Setting up libck-connector0 (0.2.10-1ubuntu10) ...
Setting up libglib2.0-0 (2.18.2-0ubuntu2) ...
Setting up libdbus-glib-1-2 (0.76-1) ...
Setting up libpolkit2 (0.9-1ubuntu3) ...
Setting up libglib2.0-data (2.18.2-0ubuntu2) ...
Setting up libpam-ck-connector (0.2.10-1ubuntu10) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Setting up consolekit (0.2.10-1ubuntu10) ...
Setting up dbus (1.2.4-0ubuntu1) ...
Adding system user `messagebus' (UID 106) ...
Adding new group `messagebus' (GID 114) ...
Adding new user `messagebus' (UID 106) with group `messagebus' ...
Not creating home directory `/var/run/dbus'.
* Starting system message bus dbus
*** glibc detected *** /bin/dbus-daemon: free(): invalid next size (fast): 0x00007fb1f9c26f10 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fb1f805aa58]
/lib/libc.so.6(cfree+0x76)[0x7fb1f805d0a6]
/bin/dbus-daemon[0x7fb1f8c06b39]
/bin/dbus-daemon[0x7fb1f8bda8c6]
/bin/dbus-daemon[0x7fb1f8bdbf17]
/bin/dbus-daemon[0x7fb1f8bdcb45]
/bin/dbus-daemon[0x7fb1f8bdd14f]
/bin/dbus-daemon(main+0x3a1)[0x7fb1f8bec611]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fb1f7fff466]
/bin/dbus-daemon[0x7fb1f8bd9e69]
======= Memory map: ========
7fb1f0000000-7fb1f0021000 rw-p 7fb1f0000000 00:00 0
7fb1f0021000-7fb1f4000000 ---p 7fb1f0021000 00:00 0
7fb1f738c000-7fb1f73a2000 r-xp 00000000 fe:00 33555270 /lib/libgcc_s.so.1
7fb1f73a2000-7fb1f75a2000 ---p 00016000 fe:00 33555270 /lib/libgcc_s.so.1
7fb1f75a2000-7fb1f75a3000 r--p 00016000 fe:00 33555270 /lib/libgcc_s.so.1
7fb1f75a3000-7fb1f75a4000 rw-p 00017000 fe:00 33555270 /lib/libgcc_s.so.1
7fb1f75a4000-7fb1f75af000 r-xp 00000000 fe:00 33559712 /lib/libnss_files-2.8.90.so
7fb1f75af000-7fb1f77ae000 ---p 0000b000 fe:00 33559712 /lib/libnss_files-2.8.90.so
7fb1f77ae000-7fb1f77af000 r--p 0000a000 fe:00 33559712 /lib/libnss_files-2.8.90.so
7fb1f77af000-7fb1f77b0000 rw-p 0000b000 fe:00 33559712 /lib/libnss_files-2.8.90.so
7fb1f77b0000-7fb1f77ba000 r-xp 00000000 fe:00 33559714 /lib/libnss_nis-2.8.90.so
7fb1f77ba000-7fb1f79b9000 ---p 0000a000 fe:00 33559714 /lib/libnss_nis-2.8.90.so
7fb1f79b9000-7fb1f79ba000 r--p 00009000 fe:00 33559714 /lib/libnss_nis-2.8.90.so
7fb1f79ba000-7fb1f79bb000 rw-p 0000a000 fe:00 33559714 /lib/libnss_nis-2.8.90.so
7fb1f79bb000-7fb1f79d1000 r-xp 00000000 fe:00 33556320 /lib/libnsl-2.8.90.so
7fb1f79d1000-7fb1f7bd0000 ---p 00016000 fe:00 33556320 /lib/libnsl-2.8.90.so
7fb1f7bd0000-7fb1f7bd1000 r--p 00015000 fe:00 33556320 /lib/libnsl-2.8.90.so
7fb1f7bd1000-7fb1f7bd2000 rw-p 00016000 fe:00 33556320 /lib/libnsl-2.8.90.so
7fb1f7bd2000-7fb1f7bd4000 rw-p 7fb1f7bd2000 00:00 0
7fb1f7bd4000-7fb1f7bdc000 r-xp 00000000 fe:00 33556322 /lib/libnss_compat-2.8.90.so
7fb1f7bdc000-7fb1f7ddb000 ---p 00008000 fe:00 33556322 /lib/libnss_compat-2.8.90.so
7fb1f7ddb000-7fb1f7ddc000 r--p 00007000 fe:00 33556322 /lib/libnss_compat-2.8.90.so
7fb1f7ddc000-7fb1f7ddd000 rw-p 00008000 fe:00 33556322 /lib/libnss_compat-2.8.90.so
7fb1f7ddd000-7fb1f7ddf000 r-xp 00000000 fe:00 33556075 /lib/libdl-2.8.90.so
7fb1f7ddf000-7fb1f7fdf000 ---p 00002000 fe:00 33556075 /lib/libdl-2.8.90.so
7fb1f7fdf000-7fb1f7fe0000 r--p 00002000 fe:00 33556075 /lib/libdl-2.8.90.so
7fb1f7fe0000-7fb1f7fe1000 rw-p 00003000 fe:00 33556075 /lib/libdl-2.8.90.so
7fb1f7fe1000-7fb1f814a000 r-xp 00000000 fe:00 33555274 /lib/libc-2.8.90.so
7fb1f814a000-7fb1f8349000 ---p 00169000 fe:00 33555274 /lib/libc-2.8.90.so
7fb1f8349000-7fb1f834d000 r--p 00168000 fe:00 33555274 /lib/libc-2.8.90.so
7fb1f834d000-7fb1f834e000 rw-p 0016c000 fe:00 33555274 /lib/libc-2.8.90.so
7fb1f834e000-7fb1f8353000 rw-p 7fb1f834e000 00:00 0
7fb1f8353000-7fb1f836a000 r-xp 00000000 fe:00 33559717 /lib/libpthread-2.8.90.so
7fb1f836a000-7fb1f8569000 ---p 00017000 fe:00 33559717 /lib/libpthread-2.8.90.so
7fb1f8569000-7fb1f856a000 r--p 00016000 fe:00 33559717 /lib/libpthread-2.8.90.so
7fb1f856a000-7fb1f856b000 rw-p 00017000 fe:00 33559717 /lib/libpthread-2.8.90.so
7fb1f856b000-7fb1f856f000 rw-p 7fb1f856b000 00:00 0
7fb1f856f000-7fb1f8589000 r-xp 00000000 fe:00 33554954 /lib/libselinux.so.1
7fb1f8589000-7fb1f8788000 ---p 0001a000 fe:00 33554954 /lib/libselinux.so.1
7fb1f8788000-7fb1f8789000 r--p 00019000 fe:00 33554954 /lib/libselinux.so.1
7fb1f8789000-7fb1f878a000 rw-p 0001a000 fe:00 33554954 /lib/libselinux.so.1
7fb1f878a000-7fb1f878b000 rw-p 7fb1f878a000 00:00 0
7fb1f878b000-7fb1f87b2000 r-xp 00000000 00:17 28000 /usr/lib/libexpat.so.1.5.2
7fb1f87b2000-7fb1f89b2000 ---p 00027000 00:17 28000 /usr/lib/libexpat.so.1.5.2
7fb1f89b2000-7fb1f89b4000 r--p 00027000 00:17 28000 /usr/lib/libexpat.so.1.5.2
7fb1f89b4000-7fb1f89b5000 rw-p 00029000 00:17 28000 /usr/lib/libexpat.so.1.5.2
7fb1f89b5000-7fb1f89d4000 r-xp 00000000 fe:00 33555271 /lib/ld-2.8.90.so
7fb1f8bc9000-7fb1f8bcc000 rw-p 7fb1f8bc9000 00:00 0
7fb1f8bd0000-7fb1f8bd3000 rw-p 7fb1f8bd0000 00:00 0
7fb1f8bd3000-7fb1f8bd4000 r--p 0001e000 fe:00 33555271 /lib/ld-2.8.90.so
7fb1f8bd4000-7fb1f8bd5000 rw-p 0001f000 fe:00 33555271 /lib/ld-2.8.90.so
7fb1f8bd5000-7fb1f8c22000 r-xp 00000000 fe:00 755994 /bin/dbus-daemon
7fb1f8e21000-7fb1f8e22000 r--p 0004c000 fe:00 755994 /bin/dbus-daemon
7fb1f8e22000-7fb1f8e23000 rw-p 0004d000 fe:00 755994 /bin/dbus-daemon
7fb1f9c23000-7fb1f9c44000 rw-p 7fb1f9c23000 00:00 0 [heap]
7fff00c0c000-7fff00c21000 rw-p 7ffffffea000 00:00 0 [stack]
7fff00dfe000-7fff00dff000 r-xp 7fff00dfe000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted
invoke-rc.d: initscript dbus, action "start" failed.
dpkg: error processing dbus (--configure):
subprocess post-installation script returned error exit status 134
dpkg: dependency problems prevent configuration of dbus-x11:
dbus-x11 depends on dbus; however:
Package dbus is not configured yet.
dpkg: error processing dbus-x11 (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc6 ...
No apport report written because the error message indicates its a followup error from a previous failure.
ldconfig deferred processing now taking place
Errors were encountered while processing:
dbus
dbus-x11
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up dbus (1.2.4-0ubuntu1) ...
The system user `messagebus' already exists. Exiting.
* Starting system message bus dbus
*** glibc detected *** /bin/dbus-daemon: free(): invalid next size (fast): 0x00007f7562191f10 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f756092ea58]
/lib/libc.so.6(cfree+0x76)[0x7f75609310a6]
/bin/dbus-daemon[0x7f75614dab39]
/bin/dbus-daemon[0x7f75614ae8c6]
/bin/dbus-daemon[0x7f75614aff17]
/bin/dbus-daemon[0x7f75614b0b45]
/bin/dbus-daemon[0x7f75614b114f]
/bin/dbus-daemon(main+0x3a1)[0x7f75614c0611]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f75608d3466]
/bin/dbus-daemon[0x7f75614ade69]
======= Memory map: ========
7f7558000000-7f7558021000 rw-p 7f7558000000 00:00 0
7f7558021000-7f755c000000 ---p 7f7558021000 00:00 0
7f755fc60000-7f755fc76000 r-xp 00000000 fe:00 33555270 /lib/libgcc_s.so.1
7f755fc76000-7f755fe76000 ---p 00016000 fe:00 33555270 /lib/libgcc_s.so.1
7f755fe76000-7f755fe77000 r--p 00016000 fe:00 33555270 /lib/libgcc_s.so.1
7f755fe77000-7f755fe78000 rw-p 00017000 fe:00 33555270 /lib/libgcc_s.so.1
7f755fe78000-7f755fe83000 r-xp 00000000 fe:00 33559712 /lib/libnss_files-2.8.90.so
7f755fe83000-7f7560082000 ---p 0000b000 fe:00 33559712 /lib/libnss_files-2.8.90.so
7f7560082000-7f7560083000 r--p 0000a000 fe:00 33559712 /lib/libnss_files-2.8.90.so
7f7560083000-7f7560084000 rw-p 0000b000 fe:00 33559712 /lib/libnss_files-2.8.90.so
7f7560084000-7f756008e000 r-xp 00000000 fe:00 33559714 /lib/libnss_nis-2.8.90.so
7f756008e000-7f756028d000 ---p 0000a000 fe:00 33559714 /lib/libnss_nis-2.8.90.so
7f756028d000-7f756028e000 r--p 00009000 fe:00 33559714 /lib/libnss_nis-2.8.90.so
7f756028e000-7f756028f000 rw-p 0000a000 fe:00 33559714 /lib/libnss_nis-2.8.90.so
7f756028f000-7f75602a5000 r-xp 00000000 fe:00 33556320 /lib/libnsl-2.8.90.so
7f75602a5000-7f75604a4000 ---p 00016000 fe:00 33556320 /lib/libnsl-2.8.90.so
7f75604a4000-7f75604a5000 r--p 00015000 fe:00 33556320 /lib/libnsl-2.8.90.so
7f75604a5000-7f75604a6000 rw-p 00016000 fe:00 33556320 /lib/libnsl-2.8.90.so
7f75604a6000-7f75604a8000 rw-p 7f75604a6000 00:00 0
7f75604a8000-7f75604b0000 r-xp 00000000 fe:00 33556322 /lib/libnss_compat-2.8.90.so
7f75604b0000-7f75606af000 ---p 00008000 fe:00 33556322 /lib/libnss_compat-2.8.90.so
7f75606af000-7f75606b0000 r--p 00007000 fe:00 33556322 /lib/libnss_compat-2.8.90.so
7f75606b0000-7f75606b1000 rw-p 00008000 fe:00 33556322 /lib/libnss_compat-2.8.90.so
7f75606b1000-7f75606b3000 r-xp 00000000 fe:00 33556075 /lib/libdl-2.8.90.so
7f75606b3000-7f75608b3000 ---p 00002000 fe:00 33556075 /lib/libdl-2.8.90.so
7f75608b3000-7f75608b4000 r--p 00002000 fe:00 33556075 /lib/libdl-2.8.90.so
7f75608b4000-7f75608b5000 rw-p 00003000 fe:00 33556075 /lib/libdl-2.8.90.so
7f75608b5000-7f7560a1e000 r-xp 00000000 fe:00 33555274 /lib/libc-2.8.90.so
7f7560a1e000-7f7560c1d000 ---p 00169000 fe:00 33555274 /lib/libc-2.8.90.so
7f7560c1d000-7f7560c21000 r--p 00168000 fe:00 33555274 /lib/libc-2.8.90.so
7f7560c21000-7f7560c22000 rw-p 0016c000 fe:00 33555274 /lib/libc-2.8.90.so
7f7560c22000-7f7560c27000 rw-p 7f7560c22000 00:00 0
7f7560c27000-7f7560c3e000 r-xp 00000000 fe:00 33559717 /lib/libpthread-2.8.90.so
7f7560c3e000-7f7560e3d000 ---p 00017000 fe:00 33559717 /lib/libpthread-2.8.90.so
7f7560e3d000-7f7560e3e000 r--p 00016000 fe:00 33559717 /lib/libpthread-2.8.90.so
7f7560e3e000-7f7560e3f000 rw-p 00017000 fe:00 33559717 /lib/libpthread-2.8.90.so
7f7560e3f000-7f7560e43000 rw-p 7f7560e3f000 00:00 0
7f7560e43000-7f7560e5d000 r-xp 00000000 fe:00 33554954 /lib/libselinux.so.1
7f7560e5d000-7f756105c000 ---p 0001a000 fe:00 33554954 /lib/libselinux.so.1
7f756105c000-7f756105d000 r--p 00019000 fe:00 33554954 /lib/libselinux.so.1
7f756105d000-7f756105e000 rw-p 0001a000 fe:00 33554954 /lib/libselinux.so.1
7f756105e000-7f756105f000 rw-p 7f756105e000 00:00 0
7f756105f000-7f7561086000 r-xp 00000000 00:17 28000 /usr/lib/libexpat.so.1.5.2
7f7561086000-7f7561286000 ---p 00027000 00:17 28000 /usr/lib/libexpat.so.1.5.2
7f7561286000-7f7561288000 r--p 00027000 00:17 28000 /usr/lib/libexpat.so.1.5.2
7f7561288000-7f7561289000 rw-p 00029000 00:17 28000 /usr/lib/libexpat.so.1.5.2
7f7561289000-7f75612a8000 r-xp 00000000 fe:00 33555271 /lib/ld-2.8.90.so
7f756149d000-7f75614a0000 rw-p 7f756149d000 00:00 0
7f75614a4000-7f75614a7000 rw-p 7f75614a4000 00:00 0
7f75614a7000-7f75614a8000 r--p 0001e000 fe:00 33555271 /lib/ld-2.8.90.so
7f75614a8000-7f75614a9000 rw-p 0001f000 fe:00 33555271 /lib/ld-2.8.90.so
7f75614a9000-7f75614f6000 r-xp 00000000 fe:00 755994 /bin/dbus-daemon
7f75616f5000-7f75616f6000 r--p 0004c000 fe:00 755994 /bin/dbus-daemon
7f75616f6000-7f75616f7000 rw-p 0004d000 fe:00 755994 /bin/dbus-daemon
7f756218e000-7f75621af000 rw-p 7f756218e000 00:00 0 [heap]
7fff694e1000-7fff694f6000 rw-p 7ffffffea000 00:00 0 [stack]
7fff695ff000-7fff69600000 r-xp 7fff695ff000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted
invoke-rc.d: initscript dbus, action "start" failed.
dpkg: error processing dbus (--configure):
subprocess post-installation script returned error exit status 134
dpkg: dependency problems prevent configuration of dbus-x11:
dbus-x11 depends on dbus; however:
Package dbus is not configured yet.
dpkg: error processing dbus-x11 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
dbus
dbus-x11
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
root@hydra:/etc/default#
Here's a gdb backtrace with symbols:
bt _get_next_ file (iter=0x7f5bdb5 d87e0, 0x7fffe2fb6660, error=0x7fffe2f b6620) util-unix. c:769 0x7f5bdb5db790, 0x7f5bdb5dcad0, error=0x7fffe2f b6900) at activation.c:578 0x7f5bdb5d97b0, 0x7fffe2fb6900) at activation.c:835 config_ every_time (context= 0x7f5bdb5d85e0, 0x7f5bdb5d9760, is_reload=0, error=0x7fffe2f b6900) at bus.c:497 file=0x7f5bdb5d c9b0, fork=FORK_ FOLLOW_ CONFIG_ FILE, print_addr_ pipe=0x7fffe2fb 69c0, pid_pipe= 0x7fffe2fb69b0, error=0x7fffe2f b6900) at bus.c:615
#0 0x00007f5bda3ab015 in raise () from /lib/libc.so.6
#1 0x00007f5bda3acb83 in abort () from /lib/libc.so.6
#2 0x00007f5bda3ec0c8 in ?? () from /lib/libc.so.6
#3 0x00007f5bda3f1a58 in ?? () from /lib/libc.so.6
#4 0x00007f5bda3f40a6 in free () from /lib/libc.so.6
#5 0x00007f5bdaf9db39 in _dbus_directory
filename=
at dbus-sysdeps-
#6 0x00007f5bdaf718c6 in update_directory (activation=
s_dir=
#7 0x00007f5bdaf72f17 in bus_activation_new (context=<value optimized out>,
address=<value optimized out>, directories=
error=
#8 0x00007f5bdaf73b45 in process_
parser=
#9 0x00007f5bdaf7414f in bus_context_new (config_
force_
print_
#10 0x00007f5bdaf83611 in main (argc=2, argv=<value optimized out>)
at main.c:443
(gdb)