Re: passwd issue

2002-05-22 Thread Maxim Sobolev

Trish Lynch wrote:
> 
> took me a while to notice it, because I don;t use passwd on a daily
> basis
> 
> FreeBSD femme.listmistress.org 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Tue May
> 14 00:57:05 EDT 2002
> [EMAIL PROTECTED]:/admins/obj/admins/src/sys/FEMME  i386
> 
> femme:~$ passwd
> Changing local password for trish
> Old Password:
> passwd in free(): error: junk pointer, too high to make sense
> Abort trap
> 
> Anyone seen this? is it fixed in -current already, I haven;t seen anything
> on this list yet except for sudo problems.

Get a coredump and do the following:

$ gdb passwd passwd.core
(gdb) bt

It show you backtrace, from it should be clear which function tried to
free() junk pointer (usually statically allocated array).

-Maxim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: passwd issue

2002-05-22 Thread Trish Lynch

On Wed, 22 May 2002, Poul-Henning Kamp wrote:

> In message <[EMAIL PROTECTED]>, mark tinguely wri
> tes:
> >on Tue May 21 13:07:13 2002, Trish Lynch <[EMAIL PROTECTED]> said:
> >
> >> femme:~$ passwd
> >> Changing local password for trish
> >> Old Password:
> >> passwd in free(): error: junk pointer, too high to make sense
> >> Abort trap
> >
> >does your log file have a swap space exceeded error? If so, restart
> >your inetd.
>
> That answer doesn't make sense...
>
> see malloc(3) for more info.
>

Yeah exactly, BTW, the patch for this issue is currently at
http://people.freebsd.org/~jmallett/pam_unix.c.patch

DES has been notified by juli.

It was the location of the free() that was an issue, it now works for me.

-Trish

--
Trish Lynch [EMAIL PROTECTED]
FreeBSD The Power to Serve
Ecartis Core Team   [EMAIL PROTECTED]
   http://www.freebsd.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: passwd issue

2002-05-22 Thread Poul-Henning Kamp

In message <[EMAIL PROTECTED]>, mark tinguely wri
tes:
>on Tue May 21 13:07:13 2002, Trish Lynch <[EMAIL PROTECTED]> said:
>
>> femme:~$ passwd
>> Changing local password for trish
>> Old Password:
>> passwd in free(): error: junk pointer, too high to make sense
>> Abort trap
>
>does your log file have a swap space exceeded error? If so, restart
>your inetd.

That answer doesn't make sense...

see malloc(3) for more info.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: passwd issue

2002-05-22 Thread mark tinguely

on Tue May 21 13:07:13 2002, Trish Lynch <[EMAIL PROTECTED]> said:

> femme:~$ passwd
> Changing local password for trish
> Old Password:
> passwd in free(): error: junk pointer, too high to make sense
> Abort trap

does your log file have a swap space exceeded error? If so, restart
your inetd.

--mark tinguely

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Follow-up Re: passwd issue

2002-05-21 Thread Trish Lynch

On Tue, 21 May 2002, Trish Lynch wrote:

> took me a while to notice it, because I don;t use passwd on a daily
> basis
>
> FreeBSD femme.listmistress.org 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Tue May
> 14 00:57:05 EDT 2002
> [EMAIL PROTECTED]:/admins/obj/admins/src/sys/FEMME  i386
>
>
> femme:~$ passwd
> Changing local password for trish
> Old Password:
> passwd in free(): error: junk pointer, too high to make sense
> Abort trap
>
>
> Anyone seen this? is it fixed in -current already, I haven;t seen anything
> on this list yet except for sudo problems.
>

As a follow up, built -CURRENT as of about 4 hours ago, it wasn't fixed.

I assume this is something to do with pam_unix.so

-Trish


--
Trish Lynch [EMAIL PROTECTED]
FreeBSD The Power to Serve
Ecartis Core Team   [EMAIL PROTECTED]
   http://www.freebsd.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: passwd issue

2002-05-21 Thread Glenn G.

 I got something similar when I tried to change the password today for
 root:

 pam_sm_chauthtok(): unexpected return value 9
 pam_sm_chauthtok(): unexpected return value 9
 .

On Tue, 21 May 2002 14:07:08 -0400 (EDT), "Trish Lynch"
<[EMAIL PROTECTED]> said:
> took me a while to notice it, because I don;t use passwd on a daily
> basis
> 
> FreeBSD femme.listmistress.org 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Tue
> May
> 14 00:57:05 EDT 2002
> [EMAIL PROTECTED]:/admins/obj/admins/src/sys/FEMME  i386
> 
> 
> femme:~$ passwd
> Changing local password for trish
> Old Password:
> passwd in free(): error: junk pointer, too high to make sense
> Abort trap
> 
> 
> Anyone seen this? is it fixed in -current already, I haven;t seen
> anything
> on this list yet except for sudo problems.
> 
> -Trish
> 
> --
> Trish Lynch [EMAIL PROTECTED]
> FreeBSD The Power to Serve
> Ecartis Core Team   [EMAIL PROTECTED]
>http://www.freebsd.org
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 

-- 
  Glenn Gombert
  [EMAIL PROTECTED]

"Never trust any operating system you don't have the source code for"

-- 
Faster than the email provider that you're using!
Soar with FastMail.FM! -> http://fastmail.fm 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



passwd issue

2002-05-21 Thread Trish Lynch

took me a while to notice it, because I don;t use passwd on a daily
basis

FreeBSD femme.listmistress.org 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Tue May
14 00:57:05 EDT 2002
[EMAIL PROTECTED]:/admins/obj/admins/src/sys/FEMME  i386


femme:~$ passwd
Changing local password for trish
Old Password:
passwd in free(): error: junk pointer, too high to make sense
Abort trap


Anyone seen this? is it fixed in -current already, I haven;t seen anything
on this list yet except for sudo problems.

-Trish

--
Trish Lynch [EMAIL PROTECTED]
FreeBSD The Power to Serve
Ecartis Core Team   [EMAIL PROTECTED]
   http://www.freebsd.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message