From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7250 invoked by alias); 15 Mar 2015 06:33:35 -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 Received: (qmail 116583 invoked by uid 48); 15 Mar 2015 06:31:12 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65431] New: [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586) Date: Sun, 15 Mar 2015 06:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg01495.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65431 Bug ID: 65431 Summary: [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Running the testsuite on ppc64le with an --enable-checking=valgrind compiler shows many instances of: ==32629== Invalid read of size 8 ==32629== at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586) ==32629== by 0x10D6D50F: splay_tree_delete_helper (splay-tree.c:96) ==32629== by 0x10D6D50F: splay_tree_delete (splay-tree.c:353) ==32629== by 0x105E265B: execute_lower_omp (omp-low.c:11906) ==32629== by 0x105E265B: (anonymous namespace)::pass_lower_omp::execute(function*) (omp-low.c:11936) ==32629== by 0x10619A07: execute_one_pass(opt_pass*) (passes.c:2328) ==32629== by 0x10619F03: execute_pass_list_1(opt_pass*) (passes.c:2380) ==32629== by 0x10619FA3: execute_pass_list(function*, opt_pass*) (passes.c:2391) ==32629== by 0x10317FFB: cgraph_node::analyze() (cgraphunit.c:645) ==32629== by 0x1031B207: analyze_functions() (cgraphunit.c:1023) ==32629== by 0x1031B6B7: symbol_table::finalize_compilation_unit() (cgraphunit.c:2435) ==32629== by 0x105657C7: write_global_declarations() (langhooks.c:344) ==32629== by 0x10206083: gfc_write_global_declarations() (f95-lang.c:309) ==32629== by 0x106F278F: compile_file() (toplev.c:608) ==32629== Address 0x4951198 is 264 bytes inside a block of size 304 free'd ==32629== at 0x4095394: free (in /usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so) ==32629== by 0x105DBC87: delete_omp_context(unsigned long) (omp-low.c:1607) ==32629== by 0x10D6D4AB: splay_tree_delete_helper (splay-tree.c:89) ==32629== by 0x10D6D4AB: splay_tree_delete (splay-tree.c:353) ==32629== by 0x105E265B: execute_lower_omp (omp-low.c:11906) ==32629== by 0x105E265B: (anonymous namespace)::pass_lower_omp::execute(function*) (omp-low.c:11936) ==32629== by 0x10619A07: execute_one_pass(opt_pass*) (passes.c:2328) ==32629== by 0x10619F03: execute_pass_list_1(opt_pass*) (passes.c:2380) ==32629== by 0x10619FA3: execute_pass_list(function*, opt_pass*) (passes.c:2391) ==32629== by 0x10317FFB: cgraph_node::analyze() (cgraphunit.c:645) ==32629== by 0x1031B207: analyze_functions() (cgraphunit.c:1023) ==32629== by 0x1031B6B7: symbol_table::finalize_compilation_unit() (cgraphunit.c:2435) ==32629== by 0x105657C7: write_global_declarations() (langhooks.c:344) ==32629== by 0x10206083: gfc_write_global_declarations() (f95-lang.c:309) or: ==66627== Invalid read of size 8 ==66627== at 0x10650F58: delete_omp_context(unsigned long) (omp-low.c:1586) ==66627== by 0x10DD258B: splay_tree_delete_helper (splay-tree.c:89) ==66627== by 0x10DD258B: splay_tree_delete (splay-tree.c:353) ==66627== by 0x106579BB: execute_lower_omp (omp-low.c:11906) ==66627== by 0x106579BB: (anonymous namespace)::pass_lower_omp::execute(function*) (omp-low.c:11936) ==66627== by 0x1068FBC7: execute_one_pass(opt_pass*) (passes.c:2328) ==66627== by 0x106900C3: execute_pass_list_1(opt_pass*) (passes.c:2380) ==66627== by 0x10690163: execute_pass_list(function*, opt_pass*) (passes.c:2391) ==66627== by 0x1038B67B: cgraph_node::analyze() (cgraphunit.c:645) ==66627== by 0x1038E887: analyze_functions() (cgraphunit.c:1023) ==66627== by 0x1038ED37: symbol_table::finalize_compilation_unit() (cgraphunit.c:2435) ==66627== by 0x101A31CB: cp_write_global_declarations() (decl2.c:4754) ==66627== by 0x1076894F: compile_file() (toplev.c:608) ==66627== by 0x10111D33: do_compile (toplev.c:2076) ==66627== by 0x10111D33: toplev::main(int, char**) (toplev.c:2174) ==66627== Address 0x4a0b928 is 264 bytes inside a block of size 304 free'd ==66627== at 0x4095394: free (in /usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so) ==66627== by 0x10650FE7: delete_omp_context(unsigned long) (omp-low.c:1607) ==66627== by 0x10DD25EF: splay_tree_delete_helper (splay-tree.c:96) ==66627== by 0x10DD25EF: splay_tree_delete (splay-tree.c:353) ==66627== by 0x106579BB: execute_lower_omp (omp-low.c:11906) ==66627== by 0x106579BB: (anonymous namespace)::pass_lower_omp::execute(function*) (omp-low.c:11936) ==66627== by 0x1068FBC7: execute_one_pass(opt_pass*) (passes.c:2328) ==66627== by 0x106900C3: execute_pass_list_1(opt_pass*) (passes.c:2380) ==66627== by 0x10690163: execute_pass_list(function*, opt_pass*) (passes.c:2391) ==66627== by 0x1038B67B: cgraph_node::analyze() (cgraphunit.c:645) ==66627== by 0x1038E887: analyze_functions() (cgraphunit.c:1023) ==66627== by 0x1038ED37: symbol_table::finalize_compilation_unit() (cgraphunit.c:2435) ==66627== by 0x101A31CB: cp_write_global_declarations() (decl2.c:4754) ==66627== by 0x1076894F: compile_file() (toplev.c:608)