Your message dated Thu, 25 Jun 2015 17:11:10 +0200
with message-id <[email protected]>
and subject line closing bugs reported against ancient dbX.Y versions
has caused the Debian Bug report #414149,
regarding apps linked with libdb_cxx-4.4.so crash on getservbyname when 
libnss-db is installed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
414149: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414149
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libnss-db
Version: 2.2.3pre1-2
Severity: critical
Justification: breaks unrelated software

Hi!

I have default nsswitch.conf and libnss-db installed. My app uses
libdb_cxx-4.4.so and when I call getservbyname(), my app segfaulted.

Please see example:
#include <netdb.h>

int main() {
    struct servent *x = getservbyname("ftp","tcp");
    return 0;
}
When I compile it with g++ -g t.cc -ldb_cxx-4.4, I got SEGFAULT:

jk@jk:~/tmp% ./a.out
1
zsh: segmentation fault (core dumped)  ./a.out

Here is the backtrace:

(gdb) bt
#0  0xb7f59af6 in ?? ()
#1  0xb7ed2f9e in __db_errcall () from /usr/lib/libdb_cxx-4.4.so
#2  0xb7ed300c in __db_err () from /usr/lib/libdb_cxx-4.4.so
#3  0xb7eedf8f in __db_mi_open () from /usr/lib/libdb_cxx-4.4.so
#4  0xb7edc70b in __db_get_open_flags () from /usr/lib/libdb_cxx-4.4.so
#5  0xb7f5974c in _nss_db_getspnam_r () from /usr/lib/libnss_db.so.2
#6  0xb7f59818 in _nss_db_getspnam_r () from /usr/lib/libnss_db.so.2
#7  0xb7f58f96 in _nss_db_endservent () from /usr/lib/libnss_db.so.2
#8  0xb7f591d5 in _nss_db_getservbyname_r () from /usr/lib/libnss_db.so.2
#9  0xb7ccc7d2 in getservbyname_r () from /lib/tls/i686/cmov/libc.so.6
#10 0xb7ccc67e in getservbyname () from /lib/tls/i686/cmov/libc.so.6
#11 0x080487a8 in main () at t.cc:8



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages libnss-db depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libdb4.3                    4.3.29-8     Berkeley v4.3 Database Libraries [
ii  libselinux1                 1.32-3       SELinux shared libraries
ii  make                        3.81-2       The GNU version of the "make" util

libnss-db recommends no packages.

-- debconf-show failed



--- End Message ---
--- Begin Message ---
This bug has been reported against an ancient version of dbX.Y (4.x,
5.0), that was removed from Debian so long ago that it is no longer part
of any supported release (including oldoldstable-lts).
It is assumed to be fixed (or no longer relevant) in newer releases and
therefore I'm closing this report now. If the problem is still
reproducible in the current version (db5.3), feel free to provide more
information, reopen and reassign this bug report.


Andreas

--- End Message ---

Reply via email to