delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Chris January" <chris AT atomice DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: cat /proc/registry/HKEY_PERFOMANCE_DATA/@ hangs |
Date: | Mon, 19 Jul 2004 19:02:18 +0100 |
Message-ID: | <000001c46dba$8853e280$0207a8c0@avocado> |
MIME-Version: | 1.0 |
In-Reply-To: | <Pine.GSO.4.58.0407132313330.29800@slinky.cs.nyu.edu> |
X-IsSubscribed: | yes |
> However, the fix is not as simple as inserting a "size = > bufalloc;" just before the RegQueryValueEx. When I do that, > I get a SIGSEGV in the guts of iasperf.dll, which I have yet > to track down. This happens on the second iteration, FWIW, > with buffer increment of 1000. I'm going to investigate some > more, but I'd say that with the above bug, this key was never > tested, so I have no idea what's going on. Hopefully Chris > (January) can use this to help him track down the problem. I'm back from my honeymoon (!) and I've just been catching up on this thread. Are you still seeing the segfault Igor? If so I'll try to track it down if I have any spare time. As you can probably tell I never tested the HKEY_PERFORMANCE_DATA key. Increasing the buffer size in increments is of course boilerplate code but I managed to cod it up regardless. Sigh. Chris January -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |