From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28540 invoked by alias); 22 Dec 2010 00:44:55 -0000 Received: (qmail 28434 invoked by uid 22791); 22 Dec 2010 00:44:52 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Dec 2010 00:44:47 +0000 From: "changpeng.fang at amd dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug regression/47037] New: 465.tonto Segmentation Fault in memset X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: regression X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: changpeng.fang at amd dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 22 Dec 2010 00:44:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg02468.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47037 Summary: 465.tonto Segmentation Fault in memset Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression AssignedTo: unassigned@gcc.gnu.org ReportedBy: changpeng.fang@amd.com We have a new system and I saw a segmentation fault in memset (with current gcc trunk). gfortran -O2 -static (-march=generic64): (gdb) r < stdin Starting program: /local/home/chfang/cpu2006/benchspec/CPU2006/465.tonto/build/build_base_cfangO3.0000/tonto < stdin Program received signal SIGSEGV, Segmentation fault. memset () at ../sysdeps/x86_64/memset.S:496 496 ../sysdeps/x86_64/memset.S: No such file or directory. in ../sysdeps/x86_64/memset.S Current language: auto The current source language is "auto; currently asm". (gdb) bt #0 memset () at ../sysdeps/x86_64/memset.S:496 #1 0x2020202020202020 in ?? () #2 0x2020202020202020 in ?? () #3 0x2020202020202020 in ?? () #4 0x2020202020202020 in ?? () #5 0x2020202020202020 in ?? () #6 0x2020202020202020 in ?? () #7 0x2020202020202020 in ?? () #8 0x2020202020202020 in ?? () #9 0x2020202020202020 in ?? () #10 0x2020202020202020 in ?? () #11 0x2020202020202020 in ?? () #12 0x2020202020202020 in ?? () #13 0x2020202020202020 in ?? () #14 0x2020202020202020 in ?? () #15 0x2020202020202020 in ?? () #16 0x2020202020202020 in ?? () #17 0x2020202020202020 in ?? () #18 0x0000000000b613a0 in ?? () #19 0x2020202020202020 in ?? () #20 0x0000000120202020 in ?? () #21 0x2020202000000001 in ?? () #22 0x2020202020202020 in ?? () #23 0x0000000000b60eb0 in ?? () #24 0x0000000000b60b20 in ?? () #25 0x0000000000000080 in ?? () #26 0x0000000000000001 in ?? () #27 0x0000000000411d6c in read_label (self=...) at atom.fppized.f90:1155 #28 0x0000000000415318 in process_keyword (self=..., keyword=, _keyword=-11776) at atom.fppized.f90:1028 #29 0x0000000000415b74 in process_keys (self=...) at atom.fppized.f90:1440 #30 0x000000000042d689 in data_length (self=) at atomvec.fppized.f90:1388 #31 0x000000000042ed3a in read_data (self=..., ignore_braces=Cannot access memory at address 0x0 ) at atomvec.fppized.f90:1351 #32 0x00000000004314f8 in read_list_keywords (self=...) at atomvec.fppized.f90:1306 #33 0x00000000006256e5 in read_atoms (self=...) at mol.fppized.f90:9579 #34 0x0000000000647d3e in process_keyword (self=0xb5b490, keyword="atom", _keyword=) at mol_main.fppized.f90:3836 #35 0x0000000000648418 in read_keywords (self=0xb5b490) at mol_main.fppized.f90:3807 #36 0x0000000000648489 in main (self=0xb5b490) at mol_main.fppized.f90:3744 #37 0x00000000006b9ea2 in run_mol () at run_mol.fppized.f90:125 #38 main () at run_mol.fppized.f90:22 #39 0x0000000000000000 in ?? ()