gdb crashes

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Mar 13 09:50:00 GMT 2015


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)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150313/2fdb340b/attachment.sig>


More information about the Cygwin mailing list