public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "graham.stott at btinternet dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/61337] Wrong indexing and runtime crash with unlimited polymorphic array. Date: Wed, 02 Sep 2015 14:09:00 -0000 [thread overview] Message-ID: <bug-61337-4-A28Yi84laq@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61337-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61337 --- Comment #4 from graham.stott at btinternet dot com --- <div>-------- Original message --------</div><div>From: "vladimir.fuka at gmail dot com" <gcc-bugzilla@gcc.gnu.org> </div><div>Date:02/09/2015 14:55 (GMT+00:00) </div><div>To: gcc-bugs@gcc.gnu.org </div><div>Subject: [Bug fortran/61337] Wrong indexing and runtime crash with unlimited polymorphic array. </div><div> </div>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61337 --- Comment #3 from Vladimir Fuka <vladimir.fuka at gmail dot com> --- The crash is at line 22: allocate(a(size(tmp)+1)%items(size(e)), source = e) ASAN:SIGSEGV ================================================================= ==5902==ERROR: AddressSanitizer: SEGV on unknown address 0x60c0c08ef6b0 (pc 0x0000004086ed bp 0x7ffec4dcc6b0 sp 0x7ffec4dcc490 T0) #0 0x4086ec in __array_list_MOD_add_item /home/vf1r14/f/testy/stackoverflow/pr61337b.f90:22 #1 0x408ff4 in MAIN__ /home/vf1r14/f/testy/stackoverflow/pr61337b.f90:35 #2 0x4096d5 in main /home/vf1r14/f/testy/stackoverflow/pr61337b.f90:30 #3 0x7f898a67eb04 in __libc_start_main (/lib64/libc.so.6+0x21b04) #4 0x400e38 (/home/vf1r14/f/testy/stackoverflow/a.out+0x400e38) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /home/vf1r14/f/testy/stackoverflow/pr61337b.f90:22 __array_list_MOD_add_item ==5902==ABORTING
prev parent reply other threads:[~2015-09-02 14:09 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-28 8:28 [Bug fortran/61337] New: " vladimir.fuka at gmail dot com 2014-05-28 17:16 ` [Bug fortran/61337] " dominiq at lps dot ens.fr 2015-09-02 10:13 ` vladimir.fuka at gmail dot com 2015-09-02 13:56 ` vladimir.fuka at gmail dot com 2015-09-02 14:09 ` graham.stott at btinternet dot com [this message]
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=bug-61337-4-A28Yi84laq@http.gcc.gnu.org/bugzilla/ \ --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: linkBe 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).