Package: libdbi0
Version: 0.7.2-1
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libdbi0 depends on:
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an

-- no debconf information

any program who's using libdbi0/libdbi0-dev segfaults when trying to read the 
error
message from libdbi.

 eg:

  void open_db()
  {
     const char * errmsg;
     dbi_conn     conn;

     /* initialize, set_params */

     if ( dbi_conn_connect(conn) < 0 ) {
        dbi_conn_error(conn, &errmsg);
        printf("error connecting to db\n%s\n", errmsg);
        exit(1);
     }
  }

  ltrace output on a program using that code sample looks like this:

  __libc_start_main(0x8048cde, 1, 0xbffffcb4, 0x8048d80, 0x8048de0 <unfinished 
...>
  dbi_initialize(0, 0x804a164, 0xbffffc08, 0x80486c5, 0xb7fc3e70) = 2
  dbi_conn_new(0x8048f41, 0x804a164, 0xbffffc08, 0x80486c5, 0xb7fc3e70) = 0
  dbi_conn_set_option(0, 0x8048f50, 0x8048f46, 0x80486c5, 0xb7fc3e70) = -1
  dbi_conn_set_option(0, 0x8048f5c, 0x8048f55, 0x80486c5, 0xb7fc3e70) = -1
  dbi_conn_set_option(0, 0x8048f6a, 0x8048f65, 0x80486c5, 0xb7fc3e70) = -1
  dbi_conn_set_option(0, 0x8048f7f, 0x8048f73, 0x80486c5, 0xb7fc3e70) = -1
  dbi_conn_connect(0, 0x8048f7f, 0x8048f73, 0x80486c5, 0xb7fc3e70) = -1
  dbi_conn_error(0, 0xbffffc04, 0x8048f73, 0x80486c5, 0xb7fc3e70 <unfinished 
...>
  --- SIGSEGV (Segmentation fault) ---
  +++ killed by SIGSEGV +++
  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to