[Bug 128624]

Chengwei-yang-cn 128624 at bugs.launchpad.net
Tue Jul 16 03:32:36 UTC 2013


#0  0x0000000000e1a012 in strcmp () from /lib64/libc.so.6
        mallstream = (FILE *) 0x0
        tr_old_memalign_hook = (void *(*)(size_t, size_t, const void *)) 0
        tr_old_malloc_hook = (void *(*)(size_t, const void *)) 0
        tr_old_realloc_hook = (void *(*)(void *, size_t, const void *)) 0
        lock = 0
        mallenv = "MALLOC_TRACE"
        malloc_trace_buffer = 0x0
        tr_old_free_hook = (void (*)(void *, const void *)) 0
        mallwatch = (void *) 0x0
#1  0x00007fb31467abee in find_generic_function (table=0x7fb3155893f0, key=0x7fb3155973b0, idx=10, 
    compare_func=0xe1a010 <strcmp>, create_if_not_found=1, bucket=0x0, preallocated=0x7fb315607828)
    at dbus-hash.c:918
        entry = (DBusHashEntry *) 0x7fb3156077f8
#2  0x00007fb31467aea6 in find_string_function (table=0x7fb3155893f0, key=0x7fb3155973b0, 
    create_if_not_found=1, bucket=0x0, preallocated=0x7fb315607828) at dbus-hash.c:952
No locals.
#3  0x00007fb31467a8b1 in _dbus_hash_table_insert_string_preallocated (table=0x7fb3155973b0, 
    preallocated=0x7fb315607828, key=0x7fb3155973b0 "developer", value=0x7fb3155ab350) at dbus-hash.c:1680
        entry = <value optimized out>
#4  0x00007fb31467aad9 in _dbus_hash_table_insert_string (table=0x7fb3155893f0, 
    key=0x7fb3155973b0 "developer", value=0x7fb3155ab350) at dbus-hash.c:1443
        preallocated = (DBusPreallocatedHash *) 0xffffff64
#5  0x00007fb31468171e in _dbus_user_database_lookup (db=0x7fb315589260, uid=500, username=0x7fb3155e9fb0, 


Seems it's different with #bug 15588, From the above backtrace, it fail due to update userdb table, after #bug 15588 fixed, this can only happen if compiling with "--disable-userdb-cache" because it still try to update userdb hash table, this is not necessary because userdb cache disabled by user.

So here is a patch to fix it.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/128624

Title:
  dbus-daemon crashed with SIGSEGV in strcmp()

Status in D-Bus:
  Confirmed
Status in “dbus” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: dbus

  happens on start up

  ProblemType: Crash
  Architecture: i386
  CrashCounter: 1
  Date: Thu Jul 26 20:15:24 2007
  DistroRelease: Ubuntu 7.10
  ExecutablePath: /usr/bin/dbus-daemon
  Package: dbus 1.1.1-3ubuntu1
  PackageArchitecture: i386
  ProcCmdline: dbus-daemon --fork --print-address 18 --print-pid 20 --session
  ProcCwd: /
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  Signal: 11
  SourcePackage: dbus
  StacktraceTop:
   strcmp () from /lib/tls/i686/cmov/libc.so.6
   ?? ()
   ?? ()
   ?? ()
   ?? ()
  Title: dbus-daemon crashed with SIGSEGV in strcmp()
  Uname: Linux dave-laptop 2.6.22-8-generic #1 SMP Thu Jul 12 15:59:45 GMT 2007 i686 GNU/Linux
  UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev powerdev scanner tape video

To manage notifications about this bug go to:
https://bugs.launchpad.net/dbus/+bug/128624/+subscriptions




More information about the foundations-bugs mailing list