public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl dot tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/37144] A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp
Date: Wed, 10 Dec 2008 23:09:00 -0000	[thread overview]
Message-ID: <20081210230757.30036.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37144-682@http.gcc.gnu.org/bugzilla/>



------- Comment #10 from hjl dot tools at gmail dot com  2008-12-10 23:07 -------
(gdb) f 0
#0 
__gnu_pbds::test::detail::container_rand_regression_test<__gnu_pbds::trie<__gnu_pbds::test::basic_type,
__gnu_pbds::test::basic_type,
__gnu_pbds::string_trie_e_access_traits<__gnu_pbds::test::basic_type, (char)97,
(char)100, false, __gnu_cxx::throw_allocator<__gnu_pbds::test::basic_type> >,
__gnu_pbds::pat_trie_tag, __gnu_pbds::null_trie_node_update,
__gnu_cxx::throw_allocator<__gnu_pbds::test::basic_type> > >::insert
(this=0x7fffffffc990)
    at
/export/gnu/src/gcc-work/gcc/libstdc++-v3/testsuite/util/regression/rand/assoc/container_rand_regression_test.tcc:1086
1086          typename cntnr::const_point_iterator found_it = m_p_c->find(r_k);
(gdb) p/x $rsp
$14 = 0x7fffffffc710
(gdb) p/x &r_k
$15 = 0x7fffffffc6c0
(gdb) p &v
$16 = (
    std::pair<const __gnu_pbds::test::basic_type, __gnu_pbds::test::basic_type>
*) 0x7fffffffc750
(gdb)  p r_k._M_dataplus._M_p
$17 = 0x7e2d28 "dbcabab"
(gdb) p v.first._M_dataplus._M_p
$18 = 0x7e2d28 "dbcabab"
(gdb) 

r_k references a value on deallocated stack.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|danglin at gcc dot gnu dot  |
                   |org                         |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37144


  parent reply	other threads:[~2008-12-10 23:09 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-17 19:32 [Bug libstdc++/37144] New: " hjl dot tools at gmail dot com
2008-08-17 21:00 ` [Bug libstdc++/37144] " hjl dot tools at gmail dot com
2008-08-17 21:20 ` hjl dot tools at gmail dot com
2008-08-17 21:50 ` hjl dot tools at gmail dot com
2008-08-17 21:53 ` hjl dot tools at gmail dot com
2008-08-18  4:21 ` hjl dot tools at gmail dot com
2008-11-16  0:18 ` hjl dot tools at gmail dot com
2008-11-16 19:18 ` danglin at gcc dot gnu dot org
2008-11-16 19:22 ` hjl dot tools at gmail dot com
2008-12-10 22:46 ` hjl dot tools at gmail dot com
2008-12-10 23:09 ` hjl dot tools at gmail dot com [this message]
2008-12-11  0:48 ` hjl dot tools at gmail dot com
2008-12-11  1:18 ` hjl dot tools at gmail dot com
2008-12-11 15:39 ` paolo dot carlini at oracle dot com
2008-12-11 15:43 ` hjl dot tools at gmail dot com
2008-12-11 15:50 ` rguenth at gcc dot gnu dot org
2008-12-11 16:18 ` paolo dot carlini at oracle dot com
2008-12-11 16:40 ` paolo dot carlini at oracle dot com
2008-12-11 16:47 ` hjl dot tools at gmail dot com
2008-12-11 16:51 ` hjl dot tools at gmail dot com
2008-12-11 17:34 ` hjl dot tools at gmail dot com
2008-12-11 17:58 ` hjl dot tools at gmail dot com
2008-12-11 18:14 ` paolo dot carlini at oracle dot com
2008-12-11 18:33 ` hjl dot tools at gmail dot com
2008-12-11 18:40 ` hjl dot tools at gmail dot com
2008-12-11 18:48 ` dave at hiauly1 dot hia dot nrc dot ca
2008-12-11 18:50 ` hjl dot tools at gmail dot com
2008-12-11 18:56 ` paolo dot carlini at oracle dot com
2008-12-11 18:59 ` hjl dot tools at gmail dot com
2008-12-13  1:43 ` hjl at gcc dot gnu dot org
2008-12-13  1:48 ` hjl at gcc dot gnu dot org
2008-12-13  2:04 ` hjl dot tools at gmail dot com
2008-12-13 15:56 ` hjl dot tools at gmail dot com
2008-12-17 17:23 ` paolo dot carlini at oracle dot com
     [not found] <bug-37144-4@http.gcc.gnu.org/bugzilla/>
2011-05-21  3:04 ` bkoz at gcc dot gnu.org
2011-05-24  4:30 ` bkoz at gcc dot gnu.org
2012-03-04 12:06 ` redi at gcc dot gnu.org
2012-05-02 22:53 ` bkoz at gcc dot gnu.org

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=20081210230757.30036.qmail@sourceware.org \
    --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: link
Be 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).