gdb crashes

Gene Smith gds@chartertn.net
Fri Mar 13 16:24:00 GMT 2015


On 03/13/2015 05:49 AM, Corinna Vinschen wrote:
> On Mar 12 15:44, Gene Smith wrote:
>> I just updated cygwin and installed gdb. When I run it with no parameters it
>> crashes and prints:
>>
>> :
>> /home/corinna/src/gdb/gdb-7.8/gdb-7.8.1.i686/src/gdb-7.8/gdb/common/common-utils.c:149
>> internal-error: xsprintf: Assertion `ret<  size' failed.
>> :
>>
>> This is after downgrading to 7.8.1 but the latest 7.8.2 also failed with the
>> same message.
>>
>> Here's the stackdump (32-bit cygwin):
>> Stack trace:
>> Frame     Function  Args
>> 0148C638  61030F12 (00000148, 0000EA60, 000000A4, 0148C698)
>> 0148C758  610E514A (002B002B, 0148CD78, 800765F0, 61184D69
>
> Just tested on 32 bit Cygwin 1.7.35, updated to the latest packages.
>
> Works for me:
>
> $ uname -rsm
> CYGWIN_NT-6.3-WOW 1.7.35(0.287/5/3) i686
> $ gdb
> GNU gdb (GDB) 7.8
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-cygwin".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word".
> (gdb)
>

My uname is similar:
CYGWIN_NT-6.1-WOW 1.7.35(0.287/5/3) i686

I don't see anything odd about gdb or anything else in cygcheck -srv 
(attached and some items obfuscated with "xxx").
I did get a warning about setup being old and it did upgrade a lot of 
packages when I was installing gdb yesterday. I saw some errors go by 
near the end of the upgrade but then downloaded the latest setup and 
re-installed gdb and saw no more errors/warning with new setup but gdb 
still crashed. Tried installing cgdb too but it also crashes since it 
apparently uses gdb. Don't see problems with other cygwin packages I use 
all the time like git and gcc.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150313/e17890f4/attachment.ksh>
-------------- next part --------------
--
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


More information about the Cygwin mailing list