Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: 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/