public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Ralf dot Wildenhues at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/34934] -O1 crash compile *** glibc detected *** /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1: double free or corruption (!prev)
Date: Wed, 23 Jan 2008 08:55:00 -0000	[thread overview]
Message-ID: <20080123082318.18489.qmail@sourceware.org> (raw)
In-Reply-To: <bug-34934-15677@http.gcc.gnu.org/bugzilla/>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4249 bytes --]



------- Comment #4 from Ralf dot Wildenhues at gmx dot de  2008-01-23 08:23 -------
valgrind output (gcc (GCC) 4.3.0 20080122 (experimental)):

send_tiny.i: In function ‘sendto_realops_lev’:
send_tiny.i:77: warning: implicit declaration of function ‘strlen’
send_tiny.i:77: warning: incompatible implicit declaration of built-in function
‘strlen’
send_tiny.i:78: warning: implicit declaration of function ‘vsendto_one’
--17488-- REDIR: 0x4ccb070 (memmove) redirected to 0x4a1c0f0 (memmove)
==17488== Invalid write of size 8
==17488==    at 0x82D8D9: reachable_at_most_once (tree-stdarg.c:101)
==17488==    by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488==    by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488==    by 0x656302: execute_one_pass (passes.c:1118)
==17488==    by 0x6564CB: execute_pass_list (passes.c:1171)
==17488==    by 0x6564DD: execute_pass_list (passes.c:1172)
==17488==    by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488==    by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488==    by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488==    by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488==    by 0x6D3F45: toplev_main (toplev.c:1055)
==17488==    by 0x4C7549A: (below main) (in /lib/libc-2.3.6.so)
==17488==  Address 0x51177b8 is 0 bytes after a block of size 152 alloc'd
==17488==    at 0x4A19DAB: malloc (vg_replace_malloc.c:207)
==17488==    by 0xB34CA7: xmalloc (xmalloc.c:147)
==17488==    by 0x82D73D: reachable_at_most_once (tree-stdarg.c:61)
==17488==    by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488==    by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488==    by 0x656302: execute_one_pass (passes.c:1118)
==17488==    by 0x6564CB: execute_pass_list (passes.c:1171)
==17488==    by 0x6564DD: execute_pass_list (passes.c:1172)
==17488==    by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488==    by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488==    by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488==    by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488==
==17488== Invalid read of size 8
==17488==    at 0x82D819: reachable_at_most_once (tree-stdarg.c:76)
==17488==    by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488==    by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488==    by 0x656302: execute_one_pass (passes.c:1118)
==17488==    by 0x6564CB: execute_pass_list (passes.c:1171)
==17488==    by 0x6564DD: execute_pass_list (passes.c:1172)
==17488==    by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488==    by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488==    by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488==    by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488==    by 0x6D3F45: toplev_main (toplev.c:1055)
==17488==    by 0x4C7549A: (below main) (in /lib/libc-2.3.6.so)
==17488==  Address 0x51177c0 is 8 bytes after a block of size 152 alloc'd
==17488==    at 0x4A19DAB: malloc (vg_replace_malloc.c:207)
==17488==    by 0xB34CA7: xmalloc (xmalloc.c:147)
==17488==    by 0x82D73D: reachable_at_most_once (tree-stdarg.c:61)
==17488==    by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488==    by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488==    by 0x656302: execute_one_pass (passes.c:1118)
==17488==    by 0x6564CB: execute_pass_list (passes.c:1171)
==17488==    by 0x6564DD: execute_pass_list (passes.c:1172)
==17488==    by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488==    by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488==    by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488==    by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488==
==17488== ERROR SUMMARY: 3 errors from 2 contexts (suppressed: 2 from 1)


-- 

Ralf dot Wildenhues at gmx dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ralf dot Wildenhues at gmx
                   |                            |dot de


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


  parent reply	other threads:[~2008-01-23  8:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23  3:26 [Bug c/34934] New: " 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 ` Ralf dot Wildenhues at gmx dot de [this message]
2008-01-23  8:55 ` [Bug middle-end/34934] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080123082318.18489.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).