------- Comment #4 from danglin at gcc dot gnu dot org 2007-07-24 17:27 ------- (gdb) p _M_iterators $20 = (__gnu_debug::_Safe_iterator_base *) 0xd4820 (gdb) p *_M_iterators $21 = {_M_sequence = 0x0, _M_version = 0, _M_prior = 0x0, _M_next = 0x0} (gdb) p _M_const_iterators $19 = (__gnu_debug::_Safe_iterator_base *) 0xc06be750 (gdb) p *_M_const_iterators $18 = {_M_sequence = 0xc06be000, _M_version = 0, _M_prior = 0xc06be049, _M_next = 0xc06be081}
It looks like _M_const_iterators may not be properly initialized. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32878