From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2754 invoked by alias); 29 Mar 2011 13:10:49 -0000 Received: (qmail 2597 invoked by uid 22791); 29 Mar 2011 13:10:48 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BF 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; Tue, 29 Mar 2011 13:10:44 +0000 From: "Markus.Elfring at web dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/48318] Memory access error by "build/genhooks"? X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: Markus.Elfring at web dot de X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 29 Mar 2011 13:15: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: 2011-03/txt/msg02991.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48318 --- Comment #3 from Markus Elfring 2011-03-29 13:10:41 UTC --- (In reply to comment #2) I can not generate a backtrace myself by the tool "GNU debugger" on my system at the moment because of the issue "GDB or dependency python not properly configured?". https://bugzilla.novell.com/show_bug.cgi?id=677225#c1 I have tried the build again. Now I get a result that is different from yesterday. dmesg: ... [10656.313658] genmddeps[9790]: segfault at 607bb0 ip 0000000000607bb0 sp 00007fff77ba4d38 error 15 in genmddeps[607000+1000] [11339.164308] conftest[20445]: segfault at 600ae0 ip 0000000000600ae0 sp 00007fff009794e8 error 15 in conftest[600000+1000] [11500.528057] genmodes[29951]: segfault at 608320 ip 0000000000608320 sp 00007fff10bfc488 error 15 in genmodes[608000+1000] elfring@Sonne:~/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl1/gcc> valgrind --verbose --trace-children=yes --log-file=vg_log48318_%p.txt build/genmddeps /home/elfring/Projekte/GNU/GCC/Quellen/4.6.0/gcc/config/i386/i386.md > tmp-mddeps Speicherzugriffsfehler ... ==394== Process terminating with default action of signal 11 (SIGSEGV) ==394== Bad permissions for mapped region at address 0x607BB0 ==394== at 0x607BB0: ??? (in /home/elfring/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl1/gcc/build/genmddeps) ==394== by 0x4036D2: read_md_files (read-md.c:1125) ==394== by 0x4012B2: main (genmddeps.c:50) ... elfring@Sonne:~/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl2/gcc> valgrind --verbose --trace-children=yes --log-file=vg_log48318_%p.txt build/genmodes -h > tmp-modes.h Speicherzugriffsfehler ... ==31666== Process terminating with default action of signal 11 (SIGSEGV) ==31666== Bad permissions for mapped region at address 0x608320 ==31666== at 0x608320: ??? (in /home/elfring/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl2/gcc/build/genmodes) ==31666== by 0x4E4BBFC: (below main) (in /lib64/libc-2.11.3.so) ... It seems that some files which names will be generated with the prefix "tmp-" have got a "high" probability for unexpected behaviour in the corresponding programs here.