From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20782 invoked by alias); 22 Sep 2007 08:06:13 -0000 Received: (qmail 20773 invoked by uid 22791); 22 Sep 2007 08:06:12 -0000 X-Spam-Check-By: sourceware.org Received: from bay0-omc1-s21.bay0.hotmail.com (HELO bay0-omc1-s21.bay0.hotmail.com) (65.54.246.93) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Sep 2007 08:06:06 +0000 Received: from BAY122-W21 ([207.46.10.184]) by bay0-omc1-s21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 22 Sep 2007 01:06:04 -0700 Message-ID: From: Sunil Kulkarni To: Subject: Multiple Insight sessions on cygwin hang indefinitely Date: Sat, 22 Sep 2007 08:06:00 -0000 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00060.txt.bz2 Hi, I am running into hanging Insight windows when more than one instances of Insight are executing. $ insightmips64i.exe --version GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=3Di686-pc-cygwin --target=3Dmips64". $ uname -a CYGWIN_NT-5.1 Sunil_Kulkarni 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin OS: Windows XP professional My set-up is as follows: =20=20=20 | | | |------ port 1 -- target1 | Windows/Cygwin|----------| Terminal|------ port 2 -- target 2 | | | server | .... |------ port 32 -- target 32 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 In each Insight window, I connect to target as=20 "target remote terminal-server:port#". port numbers change for each target. Potentially, I would like to=20 connect to all 32 targets concurrently but I am experimenting with only 2 sessions as of now. I try to dump, say 2000 words of target memory on two sessions (Eg: gdb$ x/500x $sp).=20 After displaying around 20 bytes, both the insight windows hang.=20 Some times, they hang forever and I need to kill the process.=20 Other times, after a few minutes (2 - 5), all the memory is dumped=20 on the screen at once as if Insight had buffered the target's memory while it appeared to hang. I see this problem only on insight running on cygwin.=20=20 Following debuggers work fine on the same remote target, same debugged program and same commands: - Insight 6.6 on Linux - gdb6.6 (command line) on same cygwin - ddd front end with gdb6.6 on same cygwin (I tested the above with around 8 sessions at the same time) I am not turning on IPC between Insight sessions. Also, with more than two sessions running at the same time,=20 a couple of them report "Invalid hex digit in response" error. Please let me know what other information do I need to provide=20 since this is the first time that I am working on windows=20 environment. Regards, Sunil _________________________________________________________________ More photos; more messages; more whatever =96 Get MORE with Windows Live=99= Hotmail=AE. NOW with 5GB storage. http://imagine-windowslive.com/hotmail/?locale=3Den-us&ocid=3DTXT_TAGHM_mig= ration_HM_mini_5G_0907