public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/34934]  New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
@ 2008-01-23  3:26 eshkinkot at gmail dot com
  2008-01-23  4:02 ` [Bug c/34934] " eshkinkot at gmail dot com
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: eshkinkot at gmail dot com @ 2008-01-23  3:26 UTC (permalink / raw)
  To: gcc-bugs

also crash with:
gcc version 4.1.3 20071209 (prerelease) (Debian 4.1.2-18)
gcc version 4.3.0 20080113 (experimental) [trunk revision 131510] (Debian
20080113-1)

gcc -v -W -Wall -O2 -c send_tiny.c
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
--enable-targets=all --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
 /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1 -quiet -v send_tiny.c -quiet -dumpbase
send_tiny.c -mtune=generic -auxbase send_tiny -O2 -W -Wall -version -o
/tmp/ccAIKCUF.s
ignoring nonexistent directory "/usr/local/include/i486-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../i486-linux-gnu/include"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc/i486-linux-gnu/4.2.3/include
 /usr/include
End of search list.
GNU C version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4) (i486-linux-gnu)
        compiled by GNU C version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: e5f75b43edef04f899196b1bf42593d5
send_tiny.c: In function &#8216;sendto_realops_lev&#8217;:
send_tiny.c:190: warning: implicit declaration of function
&#8216;ircsprintf&#8217;
send_tiny.c:192: warning: implicit declaration of function &#8216;strlen&#8217;
send_tiny.c:192: warning: incompatible implicit declaration of built-in
function &#8216;strlen&#8217;
send_tiny.c:194: warning: implicit declaration of function
&#8216;vsendto_one&#8217;
*** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or
corruption (!prev): 0x0866a778 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7ece735]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7ed21a0]
/usr/lib/gcc/i486-linux-gnu/4.2.3/cc1[0x83b5300]
======= Memory map: ========
08048000-08585000 r-xp 00000000 03:46 156160    
/usr/lib/gcc/i486-linux-gnu/4.2/cc1
08585000-0858a000 rw-p 0053c000 03:46 156160    
/usr/lib/gcc/i486-linux-gnu/4.2/cc1
0858a000-0867f000 rw-p 0858a000 00:00 0          [heap]
b7800000-b7821000 rw-p b7800000 00:00 0
b7821000-b7900000 ---p b7821000 00:00 0
b7923000-b792d000 r-xp 00000000 03:07 180657     /lib/libgcc_s.so.1
b792d000-b792e000 rw-p 00009000 03:07 180657     /lib/libgcc_s.so.1
b7957000-b7b7f000 rw-p b7957000 00:00 0
b7b7f000-b7c62000 r--p 0022a000 03:46 63924      /usr/lib/locale/locale-archive
b7c62000-b7e62000 r--p 00000000 03:46 63924      /usr/lib/locale/locale-archive
b7e62000-b7e63000 rw-p b7e62000 00:00 0
b7e63000-b7faa000 r-xp 00000000 03:07 195734     /lib/i686/cmov/libc-2.7.so
b7faa000-b7fab000 r--p 00147000 03:07 195734     /lib/i686/cmov/libc-2.7.so
b7fab000-b7fad000 rw-p 00148000 03:07 195734     /lib/i686/cmov/libc-2.7.so
b7fad000-b7fb0000 rw-p b7fad000 00:00 0
b7fb5000-b7fdb000 rw-p b7fb5000 00:00 0
b7fdb000-b7fdc000 r-xp b7fdb000 00:00 0          [vdso]
b7fdc000-b7ff8000 r-xp 00000000 03:07 179187     /lib/ld-2.7.so
b7ff8000-b7ffa000 rw-p 0001b000 03:07 179187     /lib/ld-2.7.so
bfacc000-bfae1000 rw-p bfacc000 00:00 0          [stack]
send_tiny.c:131: internal compiler error:
&#1040;&#1074;&#1072;&#1088;&#1080;&#1081;&#1085;&#1099;&#1081;
&#1086;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.


-- 
           Summary: -O1 crash compile *** glibc detected ***
                    /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or
                    corruption (!prev)
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eshkinkot at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-03-31 15:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-23  3:26 [Bug c/34934] New: -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev) eshkinkot at gmail dot com
2008-01-23  4:02 ` [Bug c/34934] " eshkinkot at gmail dot com
2008-01-23  4:39 ` eshkinkot at gmail dot com
2008-01-23  8:55 ` [Bug middle-end/34934] " Ralf dot Wildenhues at gmx dot de
2008-01-23  8:55 ` Ralf dot Wildenhues at gmx dot de
2008-01-23 10:57 ` rguenth at gcc dot gnu dot org
2008-01-23 17:50 ` Ralf dot Wildenhues at gmx dot de
2008-01-23 22:22 ` rguenth at gcc dot gnu dot org
2008-01-23 22:41 ` Ralf dot Wildenhues at gmx dot de
2008-01-24 10:59 ` rguenth at gcc dot gnu dot org
2008-01-24 11:20 ` [Bug middle-end/34934] [4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
2008-01-24 11:48 ` rguenth at gcc dot gnu dot org
2008-01-24 12:03 ` jakub at gcc dot gnu dot org
2008-01-24 15:42 ` jakub at gcc dot gnu dot org
2008-01-24 16:38 ` [Bug middle-end/34934] [4.1/4.2 " jakub at gcc dot gnu dot org
2008-07-04 22:30 ` [Bug middle-end/34934] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31 15:02 ` jsm28 at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).