[Box Backup] Debugging boxbackup
Ben Lovett
boxbackup@fluffy.co.uk
Wed, 28 Jan 2004 12:46:08 -0800
On Wed, Jan 28, 2004 at 05:39:33PM +0000, Ben Summers wrote:
> I'm very curious about where the abort happens. Thanks for trying it on
> an unusual platform!
Starting program: /usr/obj/ports/boxbackup-0.03/boxbackup-0.03/debug/bin/bbstoreaccounts/bbstoreaccounts create 1 0 2097152 2306867
Program received signal SIGSEGV, Segmentation fault.
0x000000000016bc48 in std::_Rb_tree<void*, std::pair<void* const, MallocBlockInfo>, std::_Select1st<std::pair<void* const, MallocBlockInfo> >, std::less<void*>, std::allocator<std::pair<void* const, MallocBlockInfo> > >::lower_bound(void* const&) (this=0x30ffffffffffffdf, __k=@0xe0ffffffffffffa7)
at /usr/include/g++/bits/stl_tree.h:1320
1320 _Link_type __x = _M_root(); /* Current node. */
(gdb) where
#0 0x000000000016bc48 in std::_Rb_tree<void*, std::pair<void* const, MallocBlockInfo>, std::_Select1st<std::pair<void* const, MallocBlockInfo> >, std::less<void*>, std::allocator<std::pair<void* const, MallocBlockInfo> > >::lower_bound(void* const&) (this=0x30ffffffffffffdf, __k=@0xe0ffffffffffffa7)
at /usr/include/g++/bits/stl_tree.h:1320
#1 0x000000000016bba4 in std::map<void*, MallocBlockInfo, std::less<void*>, std::allocator<std::pair<void* const, MallocBlockInfo> > >::lower_bound(void* const&) (this=0x30ffffffffffffdf, __x=@0xe0ffffffffffffa7)
at /usr/include/g++/bits/stl_map.h:508
#2 0x000000000016ba28 in std::map<void*, MallocBlockInfo, std::less<void*>, std::allocator<std::pair<void* const, MallocBlockInfo> > >::operator[](void* const&) (this=0xffffffffffffa8, __k=@0x30ffffffffffffdf)
at /usr/include/g++/bits/stl_map.h:316
My C++ is very rusty, so I'm afraid I won't be much use here ...
--ben