Skip Menu |
 

From: Göran Hjorth <goran.hjorth@home.se>
To: <kfw-bugs@mit.edu>
Cc: "Jeffrey Altman" <jaltman2@nyc.rr.com>
Subject: leash32.exe can not read memory
Date: Sat, 1 May 2004 18:50:51 +0200
Download leash32 error.rtf
application/msword 535.3KiB

Message body not shown because it is not plain text.

Best one!

I install Kerberos because Rexx for MySQL need it.

Leash32.exe have problem to read a memory, see including file from print screen.
It happens immediately at -autoinit when I start my PC, or immediately when I try to start Kerberos manually.
I try to use Kerberos, version 2.6.1000, locally for Windows XP.

Kind Regard

Göran Hjorth
Date: Fri, 30 Apr 2004 10:25:09 -0500
From: Howard Rubin <rubin@iit.edu>
To: krb5-bugs@mit.edu
Subject: "Fatal Message" error
Download (untitled) / with headers
text/plain 1.2KiB
I have been receiving the following error message "fairly regularly,"
although I haven't kept statistics to see if it might be related to
trying to check or renew tickets "in the background."

Show quoted text
________________________________________________________________

The instruction at "0x77f58242" referenced memory at "0x00c20080". The
memory could not "read".

Click on OK to terminate the program.
________________________________________________________________

When I click OK the message repeats immediately with the same locations.
After the second click OK everything proceeds normally. I think the
program does *not* terminate if there are valid tickets, but apparently
does if there are no tickets (after rebooting and leaving the system for
several hours). In the latter case the tray icon remains until I
attempt to access it, when it disappears. krbcc32s.exe continues to
run. I don't think the error happens when any particular user action
occurs -- I came into my office this morning and just found the message
on the screen.

I'm running kfw 2.6.1.20040414 on WinXP Pro with all current updates.
I believe I did not see the problem with the 2.6.1 beta, although it was
not installed for very long.

Howard Rubin
The problem with Leash 2.6.1 appears to be an issue with the
CCriticalSection object. Replacing with CMutexLock objects appears to
solve the problem. A test build should be available on Monday May 3
Download (untitled) / with headers
text/plain 1.3KiB
This problem should be solved by KFW 2.6.2 Beta 1. Please test and report.

-----BEGIN PGP SIGNED MESSAGE-----

The MIT Kerberos for Windows 2.6.2 Beta 1 release is now available.
You may download its installer from the MIT Kerberos distribution
page,

http://web.mit.edu/kerberos/dist/

Separate zip files of the binaries, SDK, and extras are also
available. The main MIT Kerberos web page is

http://web.mit.edu/kerberos/

Changes since KfW 2.6.1:

* The behavior of the Leash automatic importing of credentials from
the MSLSA credentials cache is now configurable. Options include
never, always, and only if the MSLSA principal belongs to the
default realm as specified in krb5.ini.

* Keberos Ticket Initialization options modified within the Ticket
Initialization dialog may now optionally be preserved.

* A memory access error introduced in 2.6.1 has been eliminated. This
problem was traced to errors in implementation of the MFC
CSingleLock class.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (SunOS)

iQCVAwUBQJgBOqbDgE/zdoE9AQFsngQAyFxqBFV/QFA0uf7E65mxqC0xvFPxRNCB
/zVZh7WvJCDeomBfZEbmL9HHKHSvmGmYAzlmjxviCORFTOHUDfI6+Qhe5wAoteeR
euiSVK7ewzf3AVTjHzD+xhRaFK491EO0kfGZxZL+MtKVdvE591lhQB3iG4APLRK0
QvQ8xIdg8ZQ=
=zO3f
-----END PGP SIGNATURE-----
Show quoted text
_______________________________________________
Date: Thu, 06 May 2004 17:31:19 -0500
From: Howard Rubin <rubin@iit.edu>
To: rt@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #2549] AutoReply: "Fatal Message" error
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.7KiB
I still see the error:

The instruction at "0x77f58242" referenced memory at "0x00c30080". The
memory could not be "read".

I'm now running Leash Version 2.6.2.20040414 Beta 1

Upon clicking OK the message is repeated with the same addresses. Upon
clicking OK a second time leash *does* terminate although krbcc32s
continues to run.

HR



Jeffrey Altman via RT wrote:

Show quoted text
> This problem should be solved by KFW 2.6.2 Beta 1. Please test and
report.
Show quoted text
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> The MIT Kerberos for Windows 2.6.2 Beta 1 release is now available.
> You may download its installer from the MIT Kerberos distribution
> page,
>
> http://web.mit.edu/kerberos/dist/
>
> Separate zip files of the binaries, SDK, and extras are also
> available. The main MIT Kerberos web page is
>
> http://web.mit.edu/kerberos/
>
> Changes since KfW 2.6.1:
>
> * The behavior of the Leash automatic importing of credentials from
> the MSLSA credentials cache is now configurable. Options include
> never, always, and only if the MSLSA principal belongs to the
> default realm as specified in krb5.ini.
>
> * Keberos Ticket Initialization options modified within the Ticket
> Initialization dialog may now optionally be preserved.
>
> * A memory access error introduced in 2.6.1 has been eliminated. This
> problem was traced to errors in implementation of the MFC
> CSingleLock class.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (SunOS)
>
> iQCVAwUBQJgBOqbDgE/zdoE9AQFsngQAyFxqBFV/QFA0uf7E65mxqC0xvFPxRNCB
> /zVZh7WvJCDeomBfZEbmL9HHKHSvmGmYAzlmjxviCORFTOHUDfI6+Qhe5wAoteeR
> euiSVK7ewzf3AVTjHzD+xhRaFK491EO0kfGZxZL+MtKVdvE591lhQB3iG4APLRK0
> QvQ8xIdg8ZQ=
> =zO3f
> -----END PGP SIGNATURE-----
> _______________________________________________
Thanks. I'm seeing it too now; but not when I am looking.

:-(
The error in which the memory access error is occurring is deep within
the kernel and appears to be taking place during an attempt to exit the
program.

Please try the following build and report back it is better or worse:

http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe

Thanks.
Date: Fri, 07 May 2004 15:04:42 -0400
From: Matt Lytle <mjl@andrew.cmu.edu>
To: kfw-bugs@mit.edu
Subject: Leash32 memory refrence errors
We are still receiving the following error message on Windows XP SP1 and
Windows 2000 SP4 machines which are fully patched.

The error in question is:

"Leash32.exe - Application Error: The instruction at "0x77f58242"
referenced memory at "0x00fb0080" The memory could not be "read".

We only seem to receive these messages on machines not directly connected
to our network or while remote machines are connected through our VPN.

We are running KFW 2.6.1.

--Matt
Please confirm that this build solves the problems. It does for at
least one individual.

http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe

Thanks.
Unfortunately, the problem still exists. :-(
From: Göran Hjorth <goran.hjorth@home.se>
To: <rt@krbdev.mit.edu>
Subject: Fw: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Sat, 8 May 2004 15:00:58 +0200
RT-Send-Cc:
Download leash32 error 2.rtf
application/msword 1MiB

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 1.7KiB
Problems to send mail. Adress below was not accepted.
 
Kind Regards!
 
Göran Hjorth
----- Original Message -----
Sent: Saturday, May 08, 2004 2:53 PM
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory

I have still same problems.
 
I use default choose for installation from athema.mit.edu and after that
configuration file, but I am not permitted to access /UserInfo/Software/Kerberos5/Windows.
 
I have also copied from krb5.ini, krb.con, krbrealm.con
from  C:\Windows to C:\Program\MIT\Kerberos\bin for test.
 
C:\Documents and Settings\Göran Hjorth>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRAM\THINKPAD
\UTILITIES;C:\Program\MinGW\bin;C:\Program\ULTRAE~1;C:\Program\OpenOffice.org1.0
.1\;C:\program\rexx;C:\Program\j2sdk1.4.2_01\bin;C:\Program\MD5;c:\program\sampl
es;C:\Program\MIT\Kerberos\bin;C:\Program\VIDE;C:\Program\Regina;C:\Program\REXX
.SQL;C:\Program\SSH Secure Shell;C:\mysql\bin;C:\Program\Fortran\bin;C:\Program\
MinGW\bin;C:\Program\SSH Communications Security\SSH Secure Shell
Kind Regards!
 
Göran Hjorth
Show quoted text
----- Original Message -----
Sent: Saturday, May 08, 2004 6:35 AM
Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory

Please confirm that this build solves the problems.  It does for at
least one individual.

http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe

Thanks.

I have a very important question for everyone suffering from this
problem. Does the registry value ["HKCU\Software\MIT\Kerberos5"
"ccname"] exist on your system?

If so, what is its value?

Please report back.

Thanks.

- Jeff
RT continues to have problems. Please forward replies to
jaltman@mit.edu directly.

Thank you.
Date: Mon, 10 May 2004 08:53:40 -0400
From: Matt Lytle <mjl@andrew.cmu.edu>
To: rt-kfw-comment@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
It does not exist on my systems.

--Matt

--On Monday, May 10, 2004 8:33 AM -0400 Jeffrey Altman via RT
<rt-kfw-comment@krbdev.mit.edu> wrote:

Show quoted text
> I have a very important question for everyone suffering from this
> problem. Does the registry value ["HKCU\Software\MIT\Kerberos5"
> "ccname"] exist on your system?
>
> If so, what is its value?
>
> Please report back.
>
> Thanks.
>
> - Jeff
>
>
Date: Mon, 10 May 2004 13:58:37 -0400
From: Jeffrey Altman <jaltman@columbia.edu>
To: rt-kfw-comment@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
Thank you. That destroys another theory.

Matt Lytle via RT wrote:

Show quoted text
>It does not exist on my systems.
>
>--Matt
>
Download smime.p7s
application/x-pkcs7-signature 3.1KiB

Message body not shown because it is not plain text.

Date: Mon, 10 May 2004 09:05:31 -0400 (EDT)
From: Joseph Kern <jkern@andrew.cmu.edu>
To: Jeffrey Altman via RT <rt-kfw-comment@krbdev.mit.edu>
Cc: Gregory Diskin <diskin@andrew.cmu.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:

Show quoted text
> I have a very important question for everyone suffering from this
> problem. Does the registry value ["HKCU\Software\MIT\Kerberos5"
> "ccname"] exist on your system?
The only two keys I see under MIT are Leash and Leash32. No
Kerberos 5 Key.

Please remember that I uninstalled Gregg's KFW MSI and
re-installed your binary directly. Not sure if that should
matter.

jk
Date: Mon, 10 May 2004 14:26:38 -0400
From: Jeffrey Altman <jaltman@columbia.edu>
To: rt-kfw-comment@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.1KiB
I have just uploaded a new installer


/afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe

http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe

Please test to see if this one is any better.

I am really shooting in the dark on this one. The crash everyone is
reporting is occurring in an exit handler.
This means that something really bad has already happened and Windows
has decided that the program
must be terminated. When I run the program under the debugger and error
is found while attempting
to read the aforementioned registry key as part of constructing a
krb5_context. The RegQueryValueExA
call is failing because the buffer it is writing into (located on the
stack) is an invalid memory location.

I have been working on the theory that the exit handler is being called
because of a thread induced
deadlock situation. All of the changes I have made over the last month
have been to double check
and triple check the locking of mutexes. I found another potential
deadlock situation this morning
related to a SendMessage() call. Please try the new build.
From: Göran Hjorth <goran.hjorth@home.se>
To: <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Cc: <rubin@iit.edu>, <mjl@andrew.cmu.edu>, <jkern@andrew.cmu.edu>, <diskin@andrew.cmu.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Tue, 11 May 2004 10:37:48 +0200
RT-Send-Cc:
I have reinstalled  MITKerberosForWindows-2.6.2-post-beta-1.exe on my Windows XP
and HKCU\Software\MIT\Kerberos5 do not exist on my computer.
 
Kind Regards
 
Göran Hjorth
Show quoted text
----- Original Message -----
Sent: Monday, May 10, 2004 2:33 PM
Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory

I have a very important question for everyone suffering from this
problem.  Does the registry value  ["HKCU\Software\MIT\Kerberos5"
"ccname"] exist on your system?

If so, what is its value?

Please report back. 

Thanks.

- Jeff


From: Göran Hjorth <goran.hjorth@home.se>
To: <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Cc: <rubin@iit.edu>, <mjl@andrew.cmu.edu>, <jkern@andrew.cmu.edu>, <diskin@andrew.cmu.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Tue, 11 May 2004 10:37:48 +0200
RT-Send-Cc:
I have reinstalled  MITKerberosForWindows-2.6.2-post-beta-1.exe on my Windows XP
and HKCU\Software\MIT\Kerberos5 do not exist on my computer.
 
Kind Regards
 
Göran Hjorth
Show quoted text
----- Original Message -----
Sent: Monday, May 10, 2004 2:33 PM
Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory

I have a very important question for everyone suffering from this
problem.  Does the registry value  ["HKCU\Software\MIT\Kerberos5"
"ccname"] exist on your system?

If so, what is its value?

Please report back. 

Thanks.

- Jeff


Date: Tue, 11 May 2004 09:26:41 -0500
From: Howard Rubin <rubin@iit.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
To: rt-kfw-comment@krbdev.mit.edu
Cc: mjl@andrew.cmu.edu, jkern@andrew.cmu.edu, diskin@andrew.cmu.edu, jaltman@mit.edu
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.3KiB
Likewise, HKCU\Software\MIT\Kerberos5 does not exist on my machine.
What does exist is HKCU\Software\MIT\Leash and ...\Leash32

The Leash "folder" contains the ticket parameters: life_max, etc.

The Leash32 "folder" contains mostly Win stuff like window size and
position, along with the name of the time server.

Neither branch contains "ccname"

On the other hand, I have not had an abort since installing the 4/07
build. I have not yet installed the 4/10 build but will do so later
today or tomorrow, or sooner if I have an abort.

Howard Rubin

Hjorth via RT wrote:

Show quoted text
> I have reinstalled MITKerberosForWindows-2.6.2-post-beta-1.exe on my Windows XP
> and HKCU\Software\MIT\Kerberos5 do not exist on my computer.
>
> Kind Regards
>
> Göran Hjorth
> ----- Original Message -----
> From: Jeffrey Altman via RT
> To: goran.hjorth@home.se ; rubin@iit.edu ; mjl@andrew.cmu.edu ; jkern@andrew.cmu.edu ; diskin@andrew.cmu.edu
> Sent: Monday, May 10, 2004 2:33 PM
> Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory
>
>
> I have a very important question for everyone suffering from this
> problem. Does the registry value ["HKCU\Software\MIT\Kerberos5"
> "ccname"] exist on your system?
>
> If so, what is its value?
>
> Please report back.
>
> Thanks.
>
> - Jeff
>
>
>
Date: Tue, 11 May 2004 10:36:39 -0400
From: Jeffrey Altman <jaltman@columbia.edu>
To: rt-kfw-comment@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
Please install the 5/10 build. I already know that the 5/07 build did not
succeed in solving the problem as I experienced it myself. So far I have
run for 24 hours without a problem using the 5/10 build but all of you
have discovered the problem much more frequently than I.

The "ccname" entry appears to have been a red herring.

Thanks.
If no further problems are reported by Noon EDT on Wednesday (tomorrow)
I will package up a 2.6.2 Beta 2 release for general consumption.

Please keep me updated. Thanks.
I believe I have finally found the real cause of the problem.
A lock was being obtained in a worker thread and never freed under the
following condition:

* The machine has network connectivity but the KDC is not reachable

Please download and test


http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe
/afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe
From: "Göran Hjorth" <goran.hjorth@home.se>
To: <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Cc: <rubin@iit.edu>, <mjl@andrew.cmu.edu>, <jkern@andrew.cmu.edu>, <diskin@andrew.cmu.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Wed, 12 May 2004 14:28:14 +0200
RT-Send-Cc:
I have still the same problem.
Registry value HKCU\Software\MIT\Kerberos5 does not still exist.
I have also shut down Zone Alarm Pro without different result.
 
Kind Regards!
 
Göran Hjorth
Show quoted text
----- Original Message -----
Sent: Wednesday, May 12, 2004 1:21 PM
Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory

I believe I have finally found the real cause of the problem.
A lock was being obtained in a worker thread and never freed under the
following condition:

  * The machine has network connectivity but the KDC is not reachable

Please download and test

 
http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe
/afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe



From: "Göran Hjorth" <goran.hjorth@home.se>
To: <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Cc: <rubin@iit.edu>, <mjl@andrew.cmu.edu>, <jkern@andrew.cmu.edu>, <diskin@andrew.cmu.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Wed, 12 May 2004 14:28:14 +0200
RT-Send-Cc:
I have still the same problem.
Registry value HKCU\Software\MIT\Kerberos5 does not still exist.
I have also shut down Zone Alarm Pro without different result.
 
Kind Regards!
 
Göran Hjorth
Show quoted text
----- Original Message -----
Sent: Wednesday, May 12, 2004 1:21 PM
Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory

I believe I have finally found the real cause of the problem.
A lock was being obtained in a worker thread and never freed under the
following condition:

  * The machine has network connectivity but the KDC is not reachable

Please download and test

 
http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe
/afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe



From: "Göran Hjorth" <goran.hjorth@home.se>
To: <diskin@andrew.cmu.edu>, <jkern@andrew.cmu.edu>, <mjl@andrew.cmu.edu>
Cc: <rubin@iit.edu>, <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Subject: Fw: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Wed, 12 May 2004 14:49:58 +0200
RT-Send-Cc:
I got following message when I send a copy of my respons to receivers at andrew.cmu.edu
reason: 554 5.6.0 Message contains non-ASCII characters in headers.
But I can not see the characters.
 
Kind regards!
 
Göran Hjorth
 
 
I have still the same problem.
Registry value HKCU\Software\MIT\Kerberos5 does not still exist.
I have also shut down Zone Alarm Pro without different result.
 
Kind Regards!
 
Göran Hjorth
From: "Göran Hjorth" <goran.hjorth@home.se>
To: <diskin@andrew.cmu.edu>, <jkern@andrew.cmu.edu>, <mjl@andrew.cmu.edu>
Cc: <rubin@iit.edu>, <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Subject: Fw: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Wed, 12 May 2004 14:49:58 +0200
RT-Send-Cc:
I got following message when I send a copy of my respons to receivers at andrew.cmu.edu
reason: 554 5.6.0 Message contains non-ASCII characters in headers.
But I can not see the characters.
 
Kind regards!
 
Göran Hjorth
 
 
I have still the same problem.
Registry value HKCU\Software\MIT\Kerberos5 does not still exist.
I have also shut down Zone Alarm Pro without different result.
 
Kind Regards!
 
Göran Hjorth
Date: Wed, 12 May 2004 14:12:22 -0400
From: Jeffrey Altman <jaltman@columbia.edu>
To: rt-kfw-comment@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
Download (untitled) / with headers
text/plain 1.1KiB
This morning I discovered another problem which could also result in a
deadlock.
The installer I announced this morning I hope fixes this once and for all.
(as I hold my thumbs)

Jeffrey Altman


Göran Hjorth via RT wrote:

Show quoted text
>I have still the same problem.
>Registry value HKCU\Software\MIT\Kerberos5 does not still exist.
>I have also shut down Zone Alarm Pro without different result.
>
>Kind Regards!
>
>Göran Hjorth
> ----- Original Message -----
> From: Jeffrey Altman via RT
> To: goran.hjorth@home.se ; rubin@iit.edu ; mjl@andrew.cmu.edu ; jkern@andrew.cmu.edu ; diskin@andrew.cmu.edu
> Sent: Wednesday, May 12, 2004 1:21 PM
> Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory
>
>
> I believe I have finally found the real cause of the problem.
> A lock was being obtained in a worker thread and never freed under the
> following condition:
>
> * The machine has network connectivity but the KDC is not reachable
>
> Please download and test
>
>
> http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe
> /afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe
>
>
>
>
Download smime.p7s
application/x-pkcs7-signature 3.1KiB

Message body not shown because it is not plain text.

Date: Fri, 14 May 2004 15:48:19 -0400 (EDT)
From: Joseph Kern <jkern@andrew.cmu.edu>
To: Jeffrey Altman via RT <rt-kfw-comment@krbdev.mit.edu>
Cc: Gregory Diskin <diskin@andrew.cmu.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
Jeff,

I finally got around to testing it. It seemed to work with our
oracle calendar application and our niftytelnet application.
Leash window seemed a bit sluggish at times, but not the crashes
that I've seen with the old version. For some reason, my
pc/vmware session seems to lose network connections anyway, so
maybe that's why my original test failed.

Cheers,
jk

On Wed, 12 May 2004, Jeffrey Altman via RT wrote:

Show quoted text
> I believe I have finally found the real cause of the problem.
> A lock was being obtained in a worker thread and never freed under the
> following condition:
>
> * The machine has network connectivity but the KDC is not reachable
>
> Please download and test
>
>
> http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe
> /afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-post-beta-1.exe
>
>
>
>
I really think I've got it this time. There was another problem not
related to thread deadlocks. The krb5_ccache "MSLSA:" code was
improperly freeing memory allocated with LocalAlloc(). This was
resulting in an out of memory situation but only for a subset of Win32
APIs. The side effect was seen either as a null pointer reference
within cc_mslsa.c or a crash when attempting to read values from the
registry.

Please download and install:

/afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-pre-beta-2.exe
http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-pre-beta-2.exe

A public Beta 2 based on this code will be packaged and announced later
today.

Thanks.

Jeffrey Altman
Date: Mon, 17 May 2004 11:29:10 -0400
From: diskin <diskin@andrew.cmu.edu>
To: rt-kfw-comment@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
--On Monday, May 17, 2004 11:02 AM -0400 Jeffrey Altman via RT
<rt-kfw-comment@krbdev.mit.edu> wrote:

Show quoted text
> I really think I've got it this time.

Terrific! I forwarded your message to Jeff Eaton, who has reliably crashed
all previous versions. If it gets past him we should be okay.
Gregg
From: "Goeran Hjorth" <goran.hjorth@home.se>
To: <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Cc: <rubin@iit.edu>, <mjl@andrew.cmu.edu>, <jkern@andrew.cmu.edu>, <diskin@andrew.cmu.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Mon, 17 May 2004 22:00:17 +0200
RT-Send-Cc:
Still same problem.
 
Kind regards!
 
Göran Hjorth
Show quoted text
----- Original Message -----
Sent: Monday, May 17, 2004 5:02 PM
Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory

I really think I've got it this time.  There was another problem not
related to thread deadlocks.  The krb5_ccache "MSLSA:" code was
improperly freeing memory allocated with LocalAlloc().  This was
resulting in an out of memory situation but only for a subset of Win32
APIs.  The side effect was seen either as a null pointer reference
within cc_mslsa.c or a crash when attempting to read values from the
registry.

Please download and install:

/afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-pre-beta-2.exe
http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-pre-beta-2.exe

A public Beta 2 based on this code will be packaged and announced later
today. 

Thanks.

Jeffrey Altman

From: "Goeran Hjorth" <goran.hjorth@home.se>
To: <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Cc: <rubin@iit.edu>, <mjl@andrew.cmu.edu>, <jkern@andrew.cmu.edu>, <diskin@andrew.cmu.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Mon, 17 May 2004 22:00:17 +0200
RT-Send-Cc:
Still same problem.
 
Kind regards!
 
Göran Hjorth
Show quoted text
----- Original Message -----
Sent: Monday, May 17, 2004 5:02 PM
Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory

I really think I've got it this time.  There was another problem not
related to thread deadlocks.  The krb5_ccache "MSLSA:" code was
improperly freeing memory allocated with LocalAlloc().  This was
resulting in an out of memory situation but only for a subset of Win32
APIs.  The side effect was seen either as a null pointer reference
within cc_mslsa.c or a crash when attempting to read values from the
registry.

Please download and install:

/afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-pre-beta-2.exe
http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-pre-beta-2.exe

A public Beta 2 based on this code will be packaged and announced later
today. 

Thanks.

Jeffrey Altman

Date: Mon, 17 May 2004 16:06:24 -0400
From: Jeffrey Altman <jaltman@columbia.edu>
To: rt-kfw-comment@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
Can you provide any more detail than same problem?
What are the crash addresses?

Is it crashing immediately on startup? Or crashing after several hours?
What is the state of the machine?




Göran Hjorth via RT wrote:

Show quoted text
>Still same problem.
>
>Kind regards!
>
>Göran Hjorth
>
>
Date: Mon, 17 May 2004 16:19:25 -0400
From: Jeffrey Altman <jaltman@columbia.edu>
To: rt-kfw-comment@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
Files renamed to:

/afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/MITKerberosForWindows-2.6.2-20040517.exe
http://web.mit.edu/~jaltman/Public/Leash/MITKerberosForWindows-2.6.2-20040517.exe
We have publicly announced beta 2.
http://web.mit.edu/kerberos/dist/testing.html#kfw-2.6.2

Please send reports of success and failure.
If failure, please indicate in detail the circumstances of the failure
and any error messages you received.
Date: Thu, 20 May 2004 07:43:52 -0400 (EDT)
From: Joseph Kern <jkern@andrew.cmu.edu>
To: Jeffrey Altman via RT <rt-kfw-comment@krbdev.mit.edu>
Cc: Gregory Diskin <diskin@andrew.cmu.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
RT-Send-Cc:
Jeff,

Finally got around to testing it. It seems to work fine for me.
Very snappy again with no crashes.

I was able to:
1. Get tickets with leash
2. Use krb4 tickets for niftytelnet
3. Use krb5 tickets for oracle cal 9.04
4. Destroy tickets with leash
5. get tickets again by firing up either client.

My vmware machine is a little screwy though. It was getting
Gregg's KFW MSI from the domain. I removed it from the domain in
order to remove the software and install your new version. I
couldn't seem to get the old version out of the add/remove
programs. I did reinstall over it and some of the libraries
looked to get updated correctly though, so not real sure that
everything is at the right version, but it works well.

Thanks,
jk

On Tue, 18 May 2004, Jeffrey Altman via RT wrote:

Show quoted text
> We have publicly announced beta 2.
> http://web.mit.edu/kerberos/dist/testing.html#kfw-2.6.2
>
> Please send reports of success and failure.
> If failure, please indicate in detail the circumstances of the failure
> and any error messages you received.
>
>
>
Goran:

You are the only person left who has reported a problem. Can you please
double check that you are running the announced Beta 2 code available
from http://web.mit.edu/kerberos/.

If you are still having trouble I will need a detailed report including
memory addresses; a description of web the problem is occuring; etc.
If you are not having continued problems, given that several others have
reported success and I am unable to reproduce it either; I will issue a
final release of the Beta 2 code.

Thanks.

- Jeff
From: "Göran Hjorth" <goran.hjorth@home.se>
To: <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Tue, 25 May 2004 09:26:49 +0200
RT-Send-Cc:
Jeffrey:
 
I will try again and now without my firewall, zonealarm pro:
 
First, I want a hint if I need to clean out in regedit.exe and what.
When I install I have used default options.
 
Kind Regards!
 
Göran Hjorth
Show quoted text
----- Original Message -----
Sent: Monday, May 24, 2004 6:59 PM
Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory

Goran:

You are the only person left who has reported a problem.  Can you please
double check that you are running the announced Beta 2 code available
from http://web.mit.edu/kerberos/.

If you are still having trouble I will need a detailed report including
memory addresses; a description of web the problem is occuring; etc.
If you are not having continued problems, given that several others have
reported success and I am unable to reproduce it either; I will issue a
final release of the Beta 2 code.

Thanks.

- Jeff


From: "Göran Hjorth" <goran.hjorth@home.se>
To: <rt-kfw-comment@krbdev.mit.edu>, <rt@krbdev.mit.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Tue, 25 May 2004 09:26:49 +0200
RT-Send-Cc:
Jeffrey:
 
I will try again and now without my firewall, zonealarm pro:
 
First, I want a hint if I need to clean out in regedit.exe and what.
When I install I have used default options.
 
Kind Regards!
 
Göran Hjorth
Show quoted text
----- Original Message -----
Sent: Monday, May 24, 2004 6:59 PM
Subject: [krbdev.mit.edu #2548] leash32.exe can not read memory

Goran:

You are the only person left who has reported a problem.  Can you please
double check that you are running the announced Beta 2 code available
from http://web.mit.edu/kerberos/.

If you are still having trouble I will need a detailed report including
memory addresses; a description of web the problem is occuring; etc.
If you are not having continued problems, given that several others have
reported success and I am unable to reproduce it either; I will issue a
final release of the Beta 2 code.

Thanks.

- Jeff


[goran.hjorth@home.se - Tue May 25 03:27:38 2004]:

Show quoted text
> Jeffrey:
>
> I will try again and now without my firewall, zonealarm pro:
>
> First, I want a hint if I need to clean out in regedit.exe and what.
> When I install I have used default options.
>
> Kind Regards!

The firewall should not be causing problems although I have been told in
the past that some firewall software does prevent the use of the krb524
daemon requests. This will cause long pauses of up to two minutes but
should not result in a crash.


There are no registry keys that you must clean out. All registry key
combinations should be fine. There should be no crash. The release
notes for Kerberos for Windows document all the registry keys which are
used by Leash.

Thanks for your help.

- Jeff
A proposed final build of KFW 2.6.3 has been uploaded to

/afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/kfw-2.6.3-final/MITKerberosForWindows-2.6.3.exe
http://web.mit.edu/~jaltman/Public/Leash/kfw-2.6.3-final/MITKerberosForWindows-2.6.3.exe

This build fixes a KDC flood issue when the Windows Logon Session is
authenticated using Kerberos and Leash is running. There are no other
changes.
From: Howard Rubin <rubin@iit.edu>
Subject: Re: [krbdev.mit.edu #2548] leash32.exe can not read memory
Date: Wed, 26 May 2004 09:01:31 -0500
To: rt-kfw-comment@krbdev.mit.edu
RT-Send-Cc:
Hi,

I am currently away from my desk, and will be for another week. That
is why I haven't participated in recent testing. I believe the last
beta I loaded was the beta-2, and I hadn't seen any problems with that
before I left. Thanks for the quick turnaround!

Howard Rubin

On May 26, 2004, at 8:33 AM, Jeffrey Altman via RT wrote:

Show quoted text
> A proposed final build of KFW 2.6.3 has been uploaded to
>
> /afs/athena.mit.edu/user/j/a/jaltman/Public/Leash/kfw-2.6.3-final/
> MITKerberosForWindows-2.6.3.exe
> http://web.mit.edu/~jaltman/Public/Leash/kfw-2.6.3-final/
> MITKerberosForWindows-2.6.3.exe
>
> This build fixes a KDC flood issue when the Windows Logon Session is
> authenticated using Kerberos and Leash is running. There are no other
> changes.
>
>
>
>
All requestors other than goran hjorth indicate the problems are fixed.
This is another ticket indicating a similar problem occuring on XP
Home. Therefore I will close this ticket.