X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0	tests=AWL,BAYES_20,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4E9AB98E.3020105@cornell.edu>
Date: Sun, 16 Oct 2011 07:01:34 -0400
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: cygwin <cygwin@cygwin.com>
Subject: gdb 7.3.50-2 crash
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

gdb 7.3.50-2 crashes with a segfault if a file is loaded and the 
following two command lines are sent:

server interpreter mi "-file-list-exec-source-files"
server list

To reproduce, run `gdb t.exe' and then type in those two lines.  Here 
t.exe can be any executable, I think.  I tried several and got the crash 
every time.  Specifically, it happens with a standard "Hello, world!" 
program:

$ cat t.c
#include <stdio.h>
int main(void)
{
  printf("Hello World\n");
  return 0;
}

This crash explains the problem reported in

   http://cygwin.com/ml/cygwin/2011-09/msg00172.html

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

