[Lunar-bugs] [bug] saslpasswd2 segfaults

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Mon Jan 24 20:13:05 UTC 2005


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    moonbase (modules)
 Category:     bug reports
 Priority:     normal
 Assigned to:  <unassigned>
 Reported by:  lurch
 Updated by:   Moe
-Status:       active
+Status:       fixed

Fixed! Finally got rid of the old db 3.x ..
Enjoy!

Moe



Previous comments:
------------------------------------------------------------------------

Mon, 12/20/2004 - 01:57 : lurch

saslpasswd2 segfaults when doing: saslpasswd2 -c some-user

>From the resulting core file I got:

(gdb) bt
#0  0x00000000 in ?? ()
#1  0x4001a288 in berkeleydb_close () from
/usr/lib/sasl2/libsasldb.so.2
#2  0x4001a6da in _sasldb_putdata () from
/usr/lib/sasl2/libsasldb.so.2
#3  0x400184f0 in sasldb_auxprop_store () from
/usr/lib/sasl2/libsasldb.so.2
#4  0x4003a5aa in sasl_auxprop_store () from /usr/lib/libsasl2.so.2
#5  0x40042b71 in sasl_setpass () from /usr/lib/libsasl2.so.2
#6  0x08049292 in main ()
(gdb) 

And ldd $(which saslpasswd2) showed me:
        linux-gate.so.1 =>  (0xffffe000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40024000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x40036000)
        libdl.so.2 => /lib/libdl.so.2 (0x4004b000)
        libdb-4.3.so => /usr/lib/libdb-4.3.so (0x4004e000)
        libdb-3.3.so => /usr/lib/libdb-3.3.so (0x40118000)
        libpam.so.0 => /lib/libpam.so.0 (0x401a2000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x401ac000)
        libc.so.6 => /lib/libc.so.6 (0x401d9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

It seems to be linked to both libdb-4.4.so and libdb-3.3.so

After trying the compile manually, I found a reference to a variable
called 
$enable_db4 in the aclocal.m4 file but I don't know how to set it.

Also tried to compile with --with-bdb-incdir=/usr/include/db4 but
--without-luck :P

-- 
View: http://lunar-linux.org/?q=node/view/636
Edit: http://lunar-linux.org/?q=project/comments/add/636




More information about the Lunar-bugs mailing list