(gdb) bt full
#0  copy_tree_to_builder (tree=0x9e06748, dirent=0x0, builder_file=0x9e089b0) at metatree.c:2183
        builder_child = <value optimized out>
        data = 0x8054ff4
        dir = 0x80516ab
        type = <value optimized out>
        child_name = <value optimized out>
        key_name = 0x9e09128 "\260\211\340\t"
        value = <value optimized out>
        i = <value optimized out>
        j = <value optimized out>
        key_id = <value optimized out>
#1  0x0804de75 in meta_tree_flush_locked (tree=<value optimized out>) at metatree.c:2344
        builder = 0x9e09128
        res = <value optimized out>
#2  0x0804e0f0 in meta_tree_flush (tree=0x9e06748) at metatree.c:2365
        res = <value optimized out>
#3  0x0804b275 in writeout_timeout (data=0x9e06820) at meta-daemon.c:61
No locals.
#4  0x001f269c in g_timeout_dispatch (source=0x9e08a60, callback=0x9e06748, user_data=0x9e06820) at /build/buildd/glib2.0-2.23.1/glib/gmain.c:3396
No locals.
#5  0x001f1fe8 in g_main_dispatch (context=0x9e05288) at /build/buildd/glib2.0-2.23.1/glib/gmain.c:1960
        dispatch = 0x1f2670 <g_timeout_dispatch>
        user_data = 0x9e06820
        callback = 0x804b260 <writeout_timeout>
        cb_funcs = 0x26f31c
        cb_data = 0x9e089d0
        current_source_link = {data = 0x9e08a60, next = 0x0}
        source = 0x9e08a60
        current = 0x9e05a20
        i = 0
#6  IA__g_main_context_dispatch (context=0x9e05288) at /build/buildd/glib2.0-2.23.1/glib/gmain.c:2513
No locals.
#7  0x001f5890 in g_main_context_iterate (context=0x9e05288, block=<value optimized out>, dispatch=1, self=0x9e05d00)
    at /build/buildd/glib2.0-2.23.1/glib/gmain.c:2591
        max_priority = 2147483647
        timeout = 19810
        some_ready = 1
        nfds = <value optimized out>
        allocated_nfds = <value optimized out>
        fds = <value optimized out>
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#8  0x001f5cff in IA__g_main_loop_run (loop=0x9e042d8) at /build/buildd/glib2.0-2.23.1/glib/gmain.c:2799
        self = 0x9e05d00
        __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#9  0x0804c3f1 in main (argc=1, argv=0xbf97a3b4) at meta-daemon.c:783
        loop = 0x9e042d8
        conn = 0x9e06298
        replace = 0
        error = 0x0
        derror = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, dummy3 = 1, dummy4 = 0, dummy5 = 0, padding1 = 0xf88ff4}
        context = <value optimized out>
        options = {{long_name = 0x8052d2b "replace", short_name = 114 'r', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbf97a2ec, 
            description = 0x8052d33 "Replace old daemon.", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, 
            arg_data = 0x0, description = 0x0, arg_description = 0x0}}


(gdb) info registers
eax            0x9e06748	165701448
ecx            0x9e09128	165712168
edx            0x0	0
ebx            0x8054ff4	134565876
esp            0xbf979fc0	0xbf979fc0
ebp            0xbf97a008	0xbf97a008
esi            0x8055320	134566688
edi            0xbf97a170	-1080581776
eip            0x804d2ea	0x804d2ea <copy_tree_to_builder+26>
eflags         0x10286	[ PF SF IF RF ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51



(gdb) x/16i $pc
0x804d2ea <copy_tree_to_builder+26>:	mov    0x8(%edx),%edx
0x804d2ed <copy_tree_to_builder+29>:	movl   $0x8,(%esp)
0x804d2f4 <copy_tree_to_builder+36>:	mov    -0x20(%ebp),%eax
0x804d2f7 <copy_tree_to_builder+39>:	call   0x804c9d0 <verify_array_block>
0x804d2fc <copy_tree_to_builder+44>:	test   %eax,%eax
0x804d2fe <copy_tree_to_builder+46>:	mov    %eax,-0x2c(%ebp)
0x804d301 <copy_tree_to_builder+49>:	je     0x804d3de <copy_tree_to_builder+270>
0x804d307 <copy_tree_to_builder+55>:	mov    (%eax),%edx
0x804d309 <copy_tree_to_builder+57>:	bswap  %edx
0x804d30b <copy_tree_to_builder+59>:	test   %edx,%edx
0x804d30d <copy_tree_to_builder+61>:	mov    %edx,-0x30(%ebp)
0x804d310 <copy_tree_to_builder+64>:	je     0x804d3de <copy_tree_to_builder+270>
0x804d316 <copy_tree_to_builder+70>:	movl   $0x0,-0x1c(%ebp)
0x804d31d <copy_tree_to_builder+77>:	lea    0x0(%esi),%esi
0x804d320 <copy_tree_to_builder+80>:	mov    -0x1c(%ebp),%ecx
0x804d323 <copy_tree_to_builder+83>:	mov    -0x2c(%ebp),%esi



(gdb) thread apply all backtrace
Thread 1 (Thread 0xb7701720 (LWP 2175)):
#0  copy_tree_to_builder (tree=0x9e06748, dirent=0x0, builder_file=0x9e089b0) at metatree.c:2183
#1  0x0804de75 in meta_tree_flush_locked (tree=<value optimized out>) at metatree.c:2344
#2  0x0804e0f0 in meta_tree_flush (tree=0x9e06748) at metatree.c:2365
#3  0x0804b275 in writeout_timeout (data=0x9e06820) at meta-daemon.c:61
#4  0x001f269c in g_timeout_dispatch (source=0x9e08a60, callback=0x9e06748, user_data=0x9e06820) at /build/buildd/glib2.0-2.23.1/glib/gmain.c:3396
#5  0x001f1fe8 in g_main_dispatch (context=0x9e05288) at /build/buildd/glib2.0-2.23.1/glib/gmain.c:1960
#6  IA__g_main_context_dispatch (context=0x9e05288) at /build/buildd/glib2.0-2.23.1/glib/gmain.c:2513
#7  0x001f5890 in g_main_context_iterate (context=0x9e05288, block=<value optimized out>, dispatch=1, self=0x9e05d00) at /build/buildd/glib2.0-2.23.1/glib/gmain.c:2591
#8  0x001f5cff in IA__g_main_loop_run (loop=0x9e042d8) at /build/buildd/glib2.0-2.23.1/glib/gmain.c:2799
#9  0x0804c3f1 in main (argc=1, argv=0xbf97a3b4) at meta-daemon.c:783

