[Freeipa-devel] setting passwords stopped working

Simo Sorce ssorce at redhat.com
Fri Jun 27 18:27:03 UTC 2008


On Fri, 2008-06-27 at 20:15 +0200, Jan-Frode Myklebust wrote:
> On Fri, Jun 27, 2008 at 12:42:17PM -0400, Simo Sorce wrote:
> > 
> > in the shell where gdb was used now you should see that a segfdault was
> > caught and running the command bt in the gdb shell will return the stack
> > trace (hopefully :-)
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x582df4b0 (LWP 6328)]
> pw_val2scheme (val=0x0, valpwdp=0x582dea3c, first_is_default=1)
>     at ldap/servers/slapd/pw.c:280
> 280     if ( *val != PWD_HASH_PREFIX_START ||
> (gdb) bt
> #0  pw_val2scheme (val=0x0, valpwdp=0x582dea3c, first_is_default=1)
>     at ldap/servers/slapd/pw.c:280
> #1  0x0ff250c0 in slapi_pw_find_sv (vals=0x108ba708, v=0x108ba7d8)
>     at ldap/servers/slapd/pw.c:142
> #2  0x0dd98594 in ?? () from /usr/lib/dirsrv/plugins/libipa_pwd_extop.so
> #3  0x0ff1edc4 in plugin_call_exop_plugins (pb=0x108b8538, oid=0x0)
>     at ldap/servers/slapd/plugin.c:393
> #4  0x100143fc in do_extended (pb=0x108b8538)
>     at ldap/servers/slapd/extendop.c:300
> #5  0x1000f348 in connection_threadmain ()
>     at ldap/servers/slapd/connection.c:562
> #6  0x0f91ffc8 in _pt_root (arg=<value optimized out>)
>     at ../../../mozilla/nsprpub/pr/src/pthreads/ptthread.c:221
> #7  0x0fd46e3c in start_thread (arg=<value optimized out>)
>     at pthread_create.c:299
> #8  0x48106670 in clone () from /lib/libc.so.6
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> (gdb)

Perfect, I suspected this one, but I could not reproduce a crash, making
patch.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list