public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/65431] New: [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586)
@ 2015-03-15  6:33 trippels at gcc dot gnu.org
  2015-03-15  9:10 ` [Bug middle-end/65431] " trippels at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-03-15  6:33 UTC (permalink / raw)
  To: gcc-bugs

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)


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

* [Bug middle-end/65431] [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586)
  2015-03-15  6:33 [Bug middle-end/65431] New: [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586) trippels at gcc dot gnu.org
@ 2015-03-15  9:10 ` trippels at gcc dot gnu.org
  2015-03-16 10:51 ` jakub at gcc dot gnu.org
  2015-03-16 18:33 ` trippels at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-03-15  9:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65431

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
To reproduce:
trippels@gcc2-power8 testsuite % ~/gcc_valgrind/usr/local/bin/g++ -c -std=c++11
-fopenacc  c-c++-common/goacc/nesting-1.c


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

* [Bug middle-end/65431] [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586)
  2015-03-15  6:33 [Bug middle-end/65431] New: [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586) trippels at gcc dot gnu.org
  2015-03-15  9:10 ` [Bug middle-end/65431] " trippels at gcc dot gnu.org
@ 2015-03-16 10:51 ` jakub at gcc dot gnu.org
  2015-03-16 18:33 ` trippels at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-16 10:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65431

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-03-16
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |5.0
     Ever confirmed|0                           |1


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

* [Bug middle-end/65431] [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586)
  2015-03-15  6:33 [Bug middle-end/65431] New: [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586) trippels at gcc dot gnu.org
  2015-03-15  9:10 ` [Bug middle-end/65431] " trippels at gcc dot gnu.org
  2015-03-16 10:51 ` jakub at gcc dot gnu.org
@ 2015-03-16 18:33 ` trippels at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-03-16 18:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65431

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed. Thanks.


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

end of thread, other threads:[~2015-03-16 18:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-15  6:33 [Bug middle-end/65431] New: [5 Regression] Invalid read of size 8 at 0x105DBBF8: delete_omp_context(unsigned long) (omp-low.c:1586) trippels at gcc dot gnu.org
2015-03-15  9:10 ` [Bug middle-end/65431] " trippels at gcc dot gnu.org
2015-03-16 10:51 ` jakub at gcc dot gnu.org
2015-03-16 18:33 ` trippels at gcc dot gnu.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).