GNU gdb (GDB) Fedora (7.3.50.20110722-13.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
attach: No such file or directory.
Attaching to process 24174
Reading symbols from /usr/local/bin/ostree-pull...done.
Reading symbols from /usr/local/lib/ostree/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/ostree/libglib-2.0.so.0
Reading symbols from /usr/local/lib/ostree/libgthread-2.0.so.0...done.
Loaded symbols for /usr/local/lib/ostree/libgthread-2.0.so.0
Reading symbols from /usr/local/lib/ostree/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/local/lib/ostree/libgmodule-2.0.so.0
Reading symbols from /usr/local/lib/ostree/libgobject-2.0.so.0...done.
Loaded symbols for /usr/local/lib/ostree/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/ostree/libgio-2.0.so.0...done.
Loaded symbols for /usr/local/lib/ostree/libgio-2.0.so.0
Reading symbols from /usr/local/lib/ostree/libsoup-2.4.so.1...done.
Loaded symbols for /usr/local/lib/ostree/libsoup-2.4.so.1
Reading symbols from /usr/local/lib/ostree/libostree.so...done.
Loaded symbols for /usr/local/lib/ostree/libostree.so
Reading symbols from /usr/lib64/libarchive.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libarchive.so.2
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/lib64/libc-2.14.90.so.debug...done.
done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/lib64/libpthread-2.14.90.so.debug...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/lib64/librt-2.14.90.so.debug...done.
done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/lib64/libdl-2.14.90.so.debug...done.
done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libffi.so.5...Reading symbols from /usr/lib/debug/usr/lib64/libffi.so.5.0.10.debug...done.
done.
Loaded symbols for /usr/lib64/libffi.so.5
Reading symbols from /lib64/libz.so.1...Reading symbols from /usr/lib/debug/lib64/libz.so.1.2.5.debug...done.
done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libselinux.so.1...Reading symbols from /usr/lib/debug/lib64/libselinux.so.1.debug...done.
done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libresolv.so.2...Reading symbols from /usr/lib/debug/lib64/libresolv-2.14.90.so.debug...done.
done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /usr/lib64/libxml2.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libxml2.so.2.7.8.debug...done.
done.
Loaded symbols for /usr/lib64/libxml2.so.2
Reading symbols from /lib64/libacl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libacl.so.1
Reading symbols from /lib64/libattr.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libattr.so.1
Reading symbols from /usr/lib64/liblzma.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/liblzma.so.5
Reading symbols from /lib64/libbz2.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libbz2.so.1
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/lib64/libm-2.14.90.so.debug...done.
done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypto.so.10
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib64/ld-2.14.90.so.debug...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib64/libnss_files-2.14.90.so.debug...done.
done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libnss_mdns4_minimal.so.2...Reading symbols from /usr/lib/debug/lib64/libnss_mdns4_minimal.so.2.debug...done.
done.
Loaded symbols for /lib64/libnss_mdns4_minimal.so.2
Reading symbols from /lib64/libnss_dns.so.2...Reading symbols from /usr/lib/debug/lib64/libnss_dns-2.14.90.so.debug...done.
done.
Loaded symbols for /lib64/libnss_dns.so.2
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-3.fc15.x86_64 libacl-2.2.51-2.fc16.x86_64 libarchive-2.8.5-1.fc16.x86_64 libattr-2.4.46-2.fc16.x86_64 openssl-1.0.0j-1.fc16.x86_64 xz-libs-5.1.1-1alpha.fc16.x86_64
(gdb) ba
#0  0x000000360fae85c3 in __GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=<optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9b0771df66 in g_main_context_poll (n_fds=1, fds=0x153a080, 
    priority=<optimized out>, timeout=998, context=0x151e940)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3560
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, 
    context=0x151e940, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3261
#3  g_main_context_iterate (context=0x151e940, block=<optimized out>, 
    dispatch=1, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3203
#4  0x00007f9b0771e3d5 in g_main_loop_run (loop=0x151e8d0)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3460
#5  0x000000000040628d in run_mainloop_monitor_fetcher (
    pull_data=0x7fff76ba3c70) at src/ostree/ostree-pull.c:210
#6  0x0000000000409873 in fetch_content (error=0x7fff76ba3e88, 
    pull_data=0x7fff76ba3c70, cancellable=<optimized out>)
    at src/ostree/ostree-pull.c:1298
#7  ostree_builtin_pull (argc=2, argv=0x151a750, repo_path=<optimized out>, 
    error=0x7fff76ba3e88) at src/ostree/ostree-pull.c:1598
#8  0x000000000040574d in ostree_main (argc=<optimized out>, 
    argv=<optimized out>, builtins=<optimized out>) at src/ostree/ot-main.c:172
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) frame 6
#6  0x0000000000409873 in fetch_content (error=0x7fff76ba3e88, 
    pull_data=0x7fff76ba3c70, cancellable=<optimized out>)
    at src/ostree/ostree-pull.c:1298
1298	      run_mainloop_monitor_fetcher (pull_data);
(gdb) print *pull_data
$1 = {repo = 0x151c820, remote_name = 0x151e920 "gnome", fetcher = 0x151ac50, 
  base_uri = 0x1518d00, fetched_packs = 1, 
  cached_meta_pack_indexes = 0x1555f80, cached_data_pack_indexes = 0x1555980, 
  file_checksums_to_fetch = 0x150f9e0, loop = 0x151e8d0, 
  outstanding_uri_requests = 0, outstanding_meta_requests = 0, 
  outstanding_filemeta_requests = 21, outstanding_filecontent_requests = 20, 
  outstanding_checksum_requests = 0, loose_files = 0x1553d20, 
  async_error = 0x7fff76ba3e88, caught_error = 1, stdout_is_tty = 1}
(gdb) print *pull_data->loose_files
$2 = {size = 65536, mod = 65521, mask = 65535, nnodes = 10142, 
  noccupied = 34721, keys = 0x7f9b05163010, hashes = 0x1aa81a0, 
  values = 0x7f9b05163010, hash_func = 0x404850 <g_str_hash@plt>, 
  key_equal_func = 0x4053f0 <g_str_equal@plt>, ref_count = 1, version = 59300, 
  key_destroy_func = 0x404770 <g_free@plt>, value_destroy_func = 0}
(gdb) call g_hash_table_get_size (pull_data->loose_files)
No symbol "g_hash_table_get_size" in current context.
(gdb) call g_hash_table_size (pull_data->loose_files)
$3 = 10142
(gdb) ba
#0  0x000000360fae85c3 in __GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=<optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9b0771df66 in g_main_context_poll (n_fds=1, fds=0x153a080, 
    priority=<optimized out>, timeout=998, context=0x151e940)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3560
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, 
    context=0x151e940, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3261
#3  g_main_context_iterate (context=0x151e940, block=<optimized out>, 
    dispatch=1, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3203
#4  0x00007f9b0771e3d5 in g_main_loop_run (loop=0x151e8d0)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3460
#5  0x000000000040628d in run_mainloop_monitor_fetcher (
    pull_data=0x7fff76ba3c70) at src/ostree/ostree-pull.c:210
#6  0x0000000000409873 in fetch_content (error=0x7fff76ba3e88, 
    pull_data=0x7fff76ba3c70, cancellable=<optimized out>)
    at src/ostree/ostree-pull.c:1298
#7  ostree_builtin_pull (argc=2, argv=0x151a750, repo_path=<optimized out>, 
    error=0x7fff76ba3e88) at src/ostree/ostree-pull.c:1598
#8  0x000000000040574d in ostree_main (argc=<optimized out>, 
    argv=<optimized out>, builtins=<optimized out>) at src/ostree/ot-main.c:172
---Type <return> to continue, or q <return> to quit---
#9  0x000000360fa2169d in __libc_start_main (main=0x405430 <main>, argc=4, 
    ubp_av=0x7fff76ba3fb8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fff76ba3fa8) at libc-start.c:226
#10 0x0000000000405465 in _start ()
(gdb) print *pull_data
$4 = {repo = 0x151c820, remote_name = 0x151e920 "gnome", fetcher = 0x151ac50, 
  base_uri = 0x1518d00, fetched_packs = 1, 
  cached_meta_pack_indexes = 0x1555f80, cached_data_pack_indexes = 0x1555980, 
  file_checksums_to_fetch = 0x150f9e0, loop = 0x151e8d0, 
  outstanding_uri_requests = 0, outstanding_meta_requests = 0, 
  outstanding_filemeta_requests = 21, outstanding_filecontent_requests = 20, 
  outstanding_checksum_requests = 0, loose_files = 0x1553d20, 
  async_error = 0x7fff76ba3e88, caught_error = 1, stdout_is_tty = 1}
(gdb) print *pull_data->outstanding_filemeta_requests
Cannot access memory at address 0x15
(gdb) print pull_data->outstanding_filemeta_requests
$5 = 21
(gdb) break check_outstanding_requests_handle_error
Breakpoint 1 at 0x406530: file src/ostree/ostree-pull.c, line 178.
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) print pull_data->async_error
No symbol "pull_data" in current context.
(gdb) print *pull_data->async_error
No symbol "pull_data" in current context.
(gdb) frame 6
#6  0x0000000000409873 in fetch_content (error=0x7fff76ba3e88, 
    pull_data=0x7fff76ba3c70, cancellable=<optimized out>)
    at src/ostree/ostree-pull.c:1298
1298	      run_mainloop_monitor_fetcher (pull_data);
(gdb) print *pull_data->async_error
$6 = (GError *) 0x7f9af80012a0
(gdb) print **pull_data->async_error
$7 = {domain = 89, code = 14, message = 0x1549b00 "Operation not permitted"}
(gdb) print *pull_data->fetcher
$8 = {parent_instance = {g_type_instance = {g_class = 0x151ebd0}, 
    ref_count = 87, qdata = 0x0}, tmpdir = 0x151fac0, session = 0x1523880, 
  requester = 0x1515560, sending_message = 0x7711850, 
  message_to_request = 0x1524240, total_downloaded = 935655587}
(gdb) print *pull_data->fetcher->tmpdir
$9 = <incomplete type>
(gdb) print pull_data->fetcher->tmpdir
$10 = (GFile *) 0x151fac0
(gdb) call g_file_get_path (pull_data->fetcher->tmpdir)
$11 = 0x76e5220 "/ostree/repo/tmp"
(gdb) print pull_data->session
There is no member named session.
(gdb) print pull_data->fetcher->session
$12 = (SoupSession *) 0x1523880
(gdb) print *pull_data->fetcher->session
$13 = {parent = {g_type_instance = {g_class = 0x1517070}, ref_count = 85, 
    qdata = 0x1525360}}
(gdb) print *pull_data->fetcher->requester
$14 = {parent = {g_type_instance = {g_class = 0x1525dc0}, ref_count = 2, 
    qdata = 0x0}, priv = 0x1515580}
(gdb) print *pull_data->fetcher->sending_message 
$15 = {parent = {g_type_instance = {g_class = 0x1526ba0}, ref_count = 4, 
    qdata = 0x0}, method = 0x7f9b06ae977a "GET", status_code = 8, 
  reason_phrase = 0x76e6a10 "Message Corrupt", request_body = 0x76f7b40, 
  request_headers = 0x770de00, response_body = 0x770f580, 
  response_headers = 0x770f6c0}
(gdb) print *pull_data->fetcher->sending_message->request_body
$16 = {data = 0x0, length = 0}
(gdb) print *pull_data->fetcher->sending_message->request_headers
$17 = {array = 0x767d700, concat = 0x0, type = SOUP_MESSAGE_HEADERS_REQUEST, 
  encoding = SOUP_ENCODING_NONE, content_length = 0, expectations = 0, 
  content_type = 0x0, ref_count = 1}
(gdb) print *pull_data->fetcher->sending_message->request_headers->array
$18 = {data = 0x7710c40 "\240aS\001", len = 2}
(gdb) print pull_data->fetcher->sending_message->request_headers->array->data
$19 = (gchar *) 0x7710c40 "\240aS\001"
(gdb) print pull_data->fetcher->sending_message->response_body
$20 = (SoupMessageBody *) 0x770f580
(gdb) print *pull_data->fetcher->sending_message->response_body
$21 = {data = 0x0, length = 0}
(gdb) print *pull_data->fetcher->sending_message->response_headers
$22 = {array = 0x76bdc60, concat = 0x0, type = SOUP_MESSAGE_HEADERS_RESPONSE, 
  encoding = 4294967295, content_length = 0, expectations = 0, 
  content_type = 0x0, ref_count = 1}
(gdb) print *pull_data->fetcher->sending_message->response_headers->array
$23 = {data = 0x7710cd0 "", len = 0}
(gdb) print *pull_data
$24 = {repo = 0x151c820, remote_name = 0x151e920 "gnome", fetcher = 0x151ac50, 
  base_uri = 0x1518d00, fetched_packs = 1, 
  cached_meta_pack_indexes = 0x1555f80, cached_data_pack_indexes = 0x1555980, 
  file_checksums_to_fetch = 0x150f9e0, loop = 0x151e8d0, 
  outstanding_uri_requests = 0, outstanding_meta_requests = 0, 
  outstanding_filemeta_requests = 21, outstanding_filecontent_requests = 20, 
  outstanding_checksum_requests = 0, loose_files = 0x1553d20, 
  async_error = 0x7fff76ba3e88, caught_error = 1, stdout_is_tty = 1}
(gdb) print *pull_data->fetcher->sending_message
$25 = {parent = {g_type_instance = {g_class = 0x1526ba0}, ref_count = 4, 
    qdata = 0x0}, method = 0x7f9b06ae977a "GET", status_code = 8, 
  reason_phrase = 0x76e6a10 "Message Corrupt", request_body = 0x76f7b40, 
  request_headers = 0x770de00, response_body = 0x770f580, 
  response_headers = 0x770f6c0}
(gdb) print *pull_data->fetcher->message_to_request
$26 = {size = 128, mod = 127, mask = 127, nnodes = 43, noccupied = 105, 
  keys = 0x76f55e0, hashes = 0x76f5e00, values = 0x76f59f0, 
  hash_func = 0x7f9b0770d0e0 <g_direct_hash>, key_equal_func = 0, 
  ref_count = 1, version = 97255, 
  key_destroy_func = 0x404960 <g_object_unref@plt>, 
  value_destroy_func = 0x405d00 <pending_uri_free>}
(gdb) print pull_data->fetcher->sending_message
$27 = (SoupMessage *) 0x7711850
(gdb) call g_hash_table_lookup (pull_data->fetcher->message_to_request, $27)
$28 = (void *) 0x76e83d0
(gdb) print (SoupRequest *)$28
$29 = (SoupRequest *) 0x76e83d0
(gdb) print *$29
$30 = {parent = {g_type_instance = {g_class = 0x2}, ref_count = 22129744, 
    qdata = 0x770f500}, priv = 0x2}
(gdb) print (OstreeFetcherPendingURI *)$28
$31 = (OstreeFetcherPendingURI *) 0x76e83d0
(gdb) print *$31
$32 = {refcount = 2, self = 0x151ac50, uri = 0x770f500, 
  state = OSTREE_FETCHER_STATE_COMPLETE, request = 0x74c1b70, tmpfile = 0x0, 
  request_body = 0x0, out_stream = 0x0, content_length = 0, cancellable = 0x0, 
  result = 0x73d0400}
(gdb) print *$31->result
$33 = {parent_instance = {g_type_instance = {g_class = 0x1529ac0}, 
    ref_count = 1, qdata = 0x0}, source_object = 0x151ac50, 
  callback = 0x406600 <content_fetch_on_complete>, user_data = 0x76d41a0, 
  context = 0x151e940, error = 0x0, failed = 1, handle_cancellation = 1, 
  check_cancellable = 0x0, source_tag = 0x405940, op_res = {
    v_pointer = 0x76e83d0, v_boolean = 124683216, v_ssize = 124683216}, 
  destroy_op_res = 0x405d00 <pending_uri_free>}
(gdb) print *$31->request
$34 = {parent = {g_type_instance = {g_class = 0x1526300}, ref_count = 1, 
    qdata = 0x0}, priv = 0x74c1ba0}
(gdb) print *$31->request->priv
$35 = {uri = 0x770df80, session = 0x1523880}
(gdb) call g_type_name ($31)
$36 = (const gchar *) 0x0
(gdb) call g_type_name ($31->parent->g_type_instance.g_class)
There is no member named parent.
(gdb) call g_type_name ($31.parent->g_type_instance.g_class)
There is no member named parent.
(gdb) call g_type_name ($34.parent.g_type_instance.g_class)
$37 = (const gchar *) 0x0
(gdb) print $34.parent.g_type_instance.g_class
$38 = (GTypeClass *) 0x1526300
(gdb) call g_type_ $34.parent.g_type_instance.g_class
Display all 143 possibilities? (y or n)
(gdb) call g_type_name ( $34.parent.g_type_instance)
$39 = (const gchar *) 0x0
(gdb) print *$34.parent.g_type_instance.g_class
$40 = {g_type = 22175744}
(gdb) call g_type_name ( *$34.parent.g_type_instance.g_class)
$41 = (const gchar *) 0x7f9b06aeeb5e "SoupRequestHTTP"
(gdb) print (SoupRequestHTTP *)$31->request
$42 = (SoupRequestHTTP *) 0x74c1b70
(gdb) print *$42
$43 = {parent = {parent = {g_type_instance = {g_class = 0x1526300}, 
      ref_count = 1, qdata = 0x0}, priv = 0x74c1ba0}, priv = 0x74c1bb0}
(gdb) print *$42->priv
$44 = {msg = 0x7711850, content_type = 0x0}
(gdb) print *$42->priv->msg
$45 = {parent = {g_type_instance = {g_class = 0x1526ba0}, ref_count = 4, 
    qdata = 0x0}, method = 0x7f9b06ae977a "GET", status_code = 8, 
  reason_phrase = 0x76e6a10 "Message Corrupt", request_body = 0x76f7b40, 
  request_headers = 0x770de00, response_body = 0x770f580, 
  response_headers = 0x770f6c0}
(gdb) print *$42->parent->priv
$46 = {uri = 0x770df80, session = 0x1523880}
(gdb) print *$42->parent->priv->uri
$47 = {scheme = 0x7f9b06ae7870 "http", user = 0x0, password = 0x0, 
  host = 0x770fe60 "ostree.gnome.org", port = 80, 
  path = 0x770fe80 "/repo/objects/5c/32ef5b5daf7d2cd97173abcc47e70f29b36d12c4a6f90a3f58b49f6098c18d.file", query = 0x0, fragment = 0x0}
(gdb) print *$31
$48 = {refcount = 2, self = 0x151ac50, uri = 0x770f500, 
  state = OSTREE_FETCHER_STATE_COMPLETE, request = 0x74c1b70, tmpfile = 0x0, 
  request_body = 0x0, out_stream = 0x0, content_length = 0, cancellable = 0x0, 
  result = 0x73d0400}
(gdb) print *$31->result
$49 = {parent_instance = {g_type_instance = {g_class = 0x1529ac0}, 
    ref_count = 1, qdata = 0x0}, source_object = 0x151ac50, 
  callback = 0x406600 <content_fetch_on_complete>, user_data = 0x76d41a0, 
  context = 0x151e940, error = 0x0, failed = 1, handle_cancellation = 1, 
  check_cancellable = 0x0, source_tag = 0x405940, op_res = {
    v_pointer = 0x76e83d0, v_boolean = 124683216, v_ssize = 124683216}, 
  destroy_op_res = 0x405d00 <pending_uri_free>}
(gdb) print *(OtFetchOneContentItemData *)$31->result->user_data
$50 = {pull_data = 0x7fff76ba3c70, fetching_content = 0, meta_path = 0x0, 
  content_path = 0x0, 
  checksum = 0x7710340 "5c32ef5b5daf7d2cd97173abcc47e70f29b36d12c4a6f90a3f58b49f6098c18d"}
(gdb) print $31
$51 = (OstreeFetcherPendingURI *) 0x76e83d0
(gdb) print *$31
$52 = {refcount = 2, self = 0x151ac50, uri = 0x770f500, 
  state = OSTREE_FETCHER_STATE_COMPLETE, request = 0x74c1b70, tmpfile = 0x0, 
  request_body = 0x0, out_stream = 0x0, content_length = 0, cancellable = 0x0, 
  result = 0x73d0400}
(gdb) print pull_data
$53 = (OtPullData *) 0x7fff76ba3c70
(gdb) print *pull_data
$54 = {repo = 0x151c820, remote_name = 0x151e920 "gnome", fetcher = 0x151ac50, 
  base_uri = 0x1518d00, fetched_packs = 1, 
  cached_meta_pack_indexes = 0x1555f80, cached_data_pack_indexes = 0x1555980, 
  file_checksums_to_fetch = 0x150f9e0, loop = 0x151e8d0, 
  outstanding_uri_requests = 0, outstanding_meta_requests = 0, 
  outstanding_filemeta_requests = 21, outstanding_filecontent_requests = 20, 
  outstanding_checksum_requests = 0, loose_files = 0x1553d20, 
  async_error = 0x7fff76ba3e88, caught_error = 1, stdout_is_tty = 1}
(gdb) break on_request_started
Breakpoint 2 at 0x405930: file src/ostree/ostree-fetcher.c, line 116.
(gdb) break on_request_unqueued
Breakpoint 3 at 0x405cd0: file src/ostree/ostree-fetcher.c, line 125.
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) print $31->priv
There is no member named priv.
(gdb) print $31
$55 = (OstreeFetcherPendingURI *) 0x76e83d0
(gdb) print $31->request
$56 = (SoupRequest *) 0x74c1b70
(gdb) print $31->request->priv
$57 = (SoupRequestPrivate *) 0x74c1ba0
(gdb) print *$31->request->priv
$58 = {uri = 0x770df80, session = 0x1523880}
(gdb) print *$31->request->priv->uri
$59 = {scheme = 0x7f9b06ae7870 "http", user = 0x0, password = 0x0, 
  host = 0x770fe60 "ostree.gnome.org", port = 80, 
  path = 0x770fe80 "/repo/objects/5c/32ef5b5daf7d2cd97173abcc47e70f29b36d12c4a6f90a3f58b49f6098c18d.file", query = 0x0, fragment = 0x0}
(gdb) break enqueue_loose_meta_requests
Breakpoint 4 at 0x406440: file src/ostree/ostree-pull.c, line 1164.
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) call enqueue_loose_metadata_requests
No symbol "enqueue_loose_metadata_requests" in current context.
(gdb) call enqueue_loose_meta_requests
$60 = {void (OtPullData *)} 0x406440 <enqueue_loose_meta_requests>
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) call enqueue_loose_meta_requests()
Too few arguments in function call.
(gdb) ba
#0  0x000000360fae85c3 in __GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=<optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9b0771df66 in g_main_context_poll (n_fds=1, fds=0x153a080, 
    priority=<optimized out>, timeout=999, context=0x151e940)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3560
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, 
    context=0x151e940, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3261
#3  g_main_context_iterate (context=0x151e940, block=<optimized out>, 
    dispatch=1, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3203
#4  0x00007f9b0771e3d5 in g_main_loop_run (loop=0x151e8d0)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3460
#5  0x000000000040628d in run_mainloop_monitor_fetcher (
    pull_data=0x7fff76ba3c70) at src/ostree/ostree-pull.c:210
#6  0x0000000000409873 in fetch_content (error=0x7fff76ba3e88, 
    pull_data=0x7fff76ba3c70, cancellable=<optimized out>)
    at src/ostree/ostree-pull.c:1298
#7  ostree_builtin_pull (argc=2, argv=0x151a750, repo_path=<optimized out>, 
    error=0x7fff76ba3e88) at src/ostree/ostree-pull.c:1598
#8  0x000000000040574d in ostree_main (argc=<optimized out>, 
    argv=<optimized out>, builtins=<optimized out>) at src/ostree/ot-main.c:172
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) frame 6
#6  0x0000000000409873 in fetch_content (error=0x7fff76ba3e88, 
    pull_data=0x7fff76ba3c70, cancellable=<optimized out>)
    at src/ostree/ostree-pull.c:1298
1298	      run_mainloop_monitor_fetcher (pull_data);
(gdb) call enqueue_loose_meta_requests(pull_data)

Breakpoint 4, enqueue_loose_meta_requests (pull_data=0x7fff76ba3c70)
    at src/ostree/ostree-pull.c:1164
1164	{
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(enqueue_loose_meta_requests) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) next
1169	  g_hash_table_iter_init (&hash_iter, pull_data->loose_files);
(gdb) next
1170	  while (g_hash_table_iter_next (&hash_iter, &key, &value))
(gdb) next
1172	      const char *checksum = key;
(gdb) next
1177	      one_item_data = g_new0 (OtFetchOneContentItemData, 1);
(gdb) next
1173	      ot_lfree char *objpath = NULL;
(gdb) next
1177	      one_item_data = g_new0 (OtFetchOneContentItemData, 1);
(gdb) nxet
Undefined command: "nxet".  Try "help".
(gdb) next
1178	      one_item_data->pull_data = pull_data;
(gdb) next
1177	      one_item_data = g_new0 (OtFetchOneContentItemData, 1);
(gdb) next
1179	      one_item_data->checksum = g_strdup (checksum);
(gdb) next
1182	      objpath = ostree_get_relative_object_path (checksum, OSTREE_OBJECT_TYPE_FILE);
(gdb) next
1179	      one_item_data->checksum = g_strdup (checksum);
(gdb) next
1180	      one_item_data->fetching_content = FALSE;
(gdb) cont
Continuing.
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) break
Breakpoint 5 at 0x360fae85c3: file ../sysdeps/unix/sysv/linux/poll.c, line 87.
(gdb) delete 5
(gdb) delete 4
(gdb) call enqueue_loose_meta_requests(pull_data)
No symbol "pull_data" in current context.
(gdb) frame 6
#6  0x0000000000409873 in fetch_content (error=0x7fff76ba3e88, 
    pull_data=0x7fff76ba3c70, cancellable=<optimized out>)
    at src/ostree/ostree-pull.c:1298
1298	      run_mainloop_monitor_fetcher (pull_data);
(gdb) call enqueue_loose_meta_requests(pull_data)
(gdb) call enqueue_loose_meta_requests(pull_data)
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) frame 6
#6  0x0000000000409873 in fetch_content (error=0x7fff76ba3e88, 
    pull_data=0x7fff76ba3c70, cancellable=<optimized out>)
    at src/ostree/ostree-pull.c:1298
1298	      run_mainloop_monitor_fetcher (pull_data);
(gdb) print *pull_data
$61 = {repo = 0x151c820, remote_name = 0x151e920 "gnome", fetcher = 0x151ac50, 
  base_uri = 0x1518d00, fetched_packs = 1, 
  cached_meta_pack_indexes = 0x1555f80, cached_data_pack_indexes = 0x1555980, 
  file_checksums_to_fetch = 0x150f9e0, loop = 0x151e8d0, 
  outstanding_uri_requests = 0, outstanding_meta_requests = 0, 
  outstanding_filemeta_requests = 24, outstanding_filecontent_requests = 20, 
  outstanding_checksum_requests = 0, loose_files = 0x1553d20, 
  async_error = 0x7fff76ba3e88, caught_error = 1, stdout_is_tty = 1}
(gdb) print *$31->request->priv
$62 = {uri = 0x770df80, session = 0x1523880}
(gdb) print *$31->request->priv->session
$63 = {parent = {g_type_instance = {g_class = 0x1517070}, ref_count = 91, 
    qdata = 0x1525360}}
(gdb) print *$31->request->priv->session->g_type_instance->g_class
There is no member named g_type_instance.
(gdb) print *$31->request->priv->session->parent->g_type_instance->g_class
$64 = {g_type = 22145824}
(gdb) call g_type_name($64)
$65 = (const gchar *) 0x7f9b06aeff8a "SoupSessionAsync"
(gdb) print *(SoupSessionAsync *)$63
$66 = {parent = {parent = {g_type_instance = {g_class = 0x151eb20}, 
      ref_count = 22099328, qdata = 0x7f9b07095c50}}}
(gdb) print *$63
Structure has no component named operator*.
(gdb) print &$63
$67 = (SoupSession *) 0x1523880
(gdb) print *(SoupSessionAsync *)$67
$68 = {parent = {parent = {g_type_instance = {g_class = 0x1517070}, 
      ref_count = 91, qdata = 0x1525360}}}
(gdb) call soup_session_get_queue ($67)
$69 = (SoupMessageQueue *) 0x151fd40
(gdb) print *$69
$70 = {session = 0x1523880, mutex = {p = 0x1522900, i = {22161664, 0}}, 
  head = 0x199e4b0, tail = 0x152a690}
(gdb) print $69->head
$71 = (SoupMessageQueueItem *) 0x199e4b0
(gdb) print *$69->head
$72 = {session = 0x1523880, queue = 0x151fd40, msg = 0x6a0fd40, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x6a13130, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x152d830, result = 0x0, 
  paused = 0, new_api = 1, io_started = 1, redirection_count = 0, 
  state = SOUP_MESSAGE_RUNNING, removed = 0, ref_count = 2, prev = 0x0, 
  next = 0x152a290, related = 0x0}
(gdb) print *$69->head->next
$73 = {session = 0x1523880, queue = 0x151fd40, msg = 0x7711850, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x76db470, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x152dbf0, result = 0x0, 
  paused = 0, new_api = 1, io_started = 1, redirection_count = 0, 
  state = SOUP_MESSAGE_RUNNING, removed = 0, ref_count = 2, prev = 0x199e4b0, 
  next = 0x1ae9500, related = 0x0}
(gdb) print *$69->head->next->next
$74 = {session = 0x1523880, queue = 0x151fd40, msg = 0x7711930, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x76bdea0, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x0, result = 0x766acf0, 
  paused = 0, new_api = 1, io_started = 0, redirection_count = 0, 
  state = SOUP_MESSAGE_AWAITING_CONNECTION, removed = 0, ref_count = 2, 
  prev = 0x152a290, next = 0x1ae9480, related = 0x0}
(gdb) print *$69->head->next->next->next
$75 = {session = 0x1523880, queue = 0x151fd40, msg = 0x7711a10, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x76aab90, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x0, result = 0x6e81040, 
  paused = 0, new_api = 1, io_started = 0, redirection_count = 0, 
  state = SOUP_MESSAGE_AWAITING_CONNECTION, removed = 0, ref_count = 2, 
  prev = 0x1ae9500, next = 0x152a510, related = 0x0}
(gdb) print *$69->head->next->next->next->next
$76 = {session = 0x1523880, queue = 0x151fd40, msg = 0x7711af0, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x7692920, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x0, result = 0x5fbf570, 
  paused = 0, new_api = 1, io_started = 0, redirection_count = 0, 
  state = SOUP_MESSAGE_AWAITING_CONNECTION, removed = 0, ref_count = 2, 
  prev = 0x1ae9480, next = 0x1ae9200, related = 0x0}
(gdb) print *$69->head->next->next->next->next->next
$77 = {session = 0x1523880, queue = 0x151fd40, msg = 0x7711bd0, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x7661960, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x0, result = 0x6a8ecf0, 
  paused = 0, new_api = 1, io_started = 0, redirection_count = 0, 
  state = SOUP_MESSAGE_AWAITING_CONNECTION, removed = 0, ref_count = 2, 
  prev = 0x152a510, next = 0x199e2b0, related = 0x0}
(gdb) print *$69->head->next->next->next->next->next->next
$78 = {session = 0x1523880, queue = 0x151fd40, msg = 0x7711cb0, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x761bef0, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x0, result = 0x73d0270, 
  paused = 0, new_api = 1, io_started = 0, redirection_count = 0, 
  state = SOUP_MESSAGE_AWAITING_CONNECTION, removed = 0, ref_count = 2, 
  prev = 0x1ae9200, next = 0x1ae9600, related = 0x0}
(gdb) print *$69->head->next->next->next->next->next->next->next
$79 = {session = 0x1523880, queue = 0x151fd40, msg = 0x7711d90, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x7682270, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x0, result = 0x7524420, 
  paused = 0, new_api = 1, io_started = 0, redirection_count = 0, 
  state = SOUP_MESSAGE_AWAITING_CONNECTION, removed = 0, ref_count = 2, 
  prev = 0x199e2b0, next = 0x199e3b0, related = 0x0}
(gdb) print *$69->head
$80 = {session = 0x1523880, queue = 0x151fd40, msg = 0x6a0fd40, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x6a13130, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x152d830, result = 0x0, 
  paused = 0, new_api = 1, io_started = 1, redirection_count = 0, 
  state = SOUP_MESSAGE_RUNNING, removed = 0, ref_count = 2, prev = 0x0, 
  next = 0x152a290, related = 0x0}
(gdb) print *$69->head->next
$81 = {session = 0x1523880, queue = 0x151fd40, msg = 0x7711850, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x76db470, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x152dbf0, result = 0x0, 
  paused = 0, new_api = 1, io_started = 1, redirection_count = 0, 
  state = SOUP_MESSAGE_RUNNING, removed = 0, ref_count = 2, prev = 0x199e4b0, 
  next = 0x1ae9500, related = 0x0}
(gdb) print *$69->head->next->next
$82 = {session = 0x1523880, queue = 0x151fd40, msg = 0x7711930, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x76bdea0, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x0, result = 0x766acf0, 
  paused = 0, new_api = 1, io_started = 0, redirection_count = 0, 
  state = SOUP_MESSAGE_AWAITING_CONNECTION, removed = 0, ref_count = 2, 
  prev = 0x152a290, next = 0x1ae9480, related = 0x0}
(gdb) print $27
$83 = (SoupMessage *) 0x7711850
(gdb) break run_queue
Breakpoint 6 at 0x7f9b06adca30: file /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c, line 357.
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) delete 6
(gdb) call run_queue
$84 = {void (SoupSessionAsync *)} 0x7f9b06adca30 <run_queue>
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) break run_queue
Breakpoint 7 at 0x7f9b06adca30: file /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c, line 357.
(gdb) call run_queue
$85 = {void (SoupSessionAsync *)} 0x7f9b06adca30 <run_queue>
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) delete 6
No breakpoint number 6.
(gdb) delete 7
(gdb) call run_queue()
Too few arguments in function call.
(gdb) call run_queue($67)
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x000000360fae85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, 
    timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
(gdb) break run_queue
Breakpoint 8 at 0x7f9b06adca30: file /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c, line 357.
(gdb) call run_queue($67)

Breakpoint 8, run_queue (sa=0x1523880)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:357
357	{
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(run_queue) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) next
362		gboolean try_pruning = TRUE, should_prune = FALSE;
(gdb) next
357	{
(gdb) next
358		SoupSession *session = SOUP_SESSION (sa);
(gdb) next
359		SoupMessageQueue *queue = soup_session_get_queue (session);
(gdb) next
364		g_object_ref (session);
(gdb) next
359		SoupMessageQueue *queue = soup_session_get_queue (session);
(gdb) next
362		gboolean try_pruning = TRUE, should_prune = FALSE;
(gdb) next
364		g_object_ref (session);
(gdb) next
365		soup_session_cleanup_connections (session, FALSE);
(gdb) next
368		for (item = soup_message_queue_first (queue);
(gdb) next
374			if (msg->method != SOUP_METHOD_CONNECT)
(gdb) print *item
$86 = {session = 0x1523880, queue = 0x151fd40, msg = 0x6a0fd40, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x6a13130, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x152d830, result = 0x0, 
  paused = 0, new_api = 1, io_started = 1, redirection_count = 0, 
  state = SOUP_MESSAGE_RUNNING, removed = 0, ref_count = 3, prev = 0x0, 
  next = 0x152a290, related = 0x0}
(gdb) print *item->msg
$87 = {parent = {g_type_instance = {g_class = 0x1526ba0}, ref_count = 4, 
    qdata = 0x0}, method = 0x7f9b06ae977a "GET", status_code = 8, 
  reason_phrase = 0x6a12cf0 "Message Corrupt", request_body = 0x69fca80, 
  request_headers = 0x6a10a00, response_body = 0x6a10a40, 
  response_headers = 0x6a10a80}
(gdb) step
375				process_queue_item (item, &should_prune, TRUE);
(gdb) step
process_queue_item (item=0x199e4b0, should_prune=0x7fff76ba3a5c, loop=1)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:284
284	{
(gdb) next
285		SoupSession *session = item->session;
(gdb) step
287		if (item->async_context != soup_session_get_async_context (session))
(gdb) call soup_session_get_async_context (session)
$88 = (GMainContext *) 0x0
(gdb) next
284	{
(gdb) next
287		if (item->async_context != soup_session_get_async_context (session))
(gdb) next
294			switch (item->state) {
(gdb) print $27
$89 = (SoupMessage *) 0x7711850
(gdb) print *$27
$90 = {parent = {g_type_instance = {g_class = 0x1526ba0}, ref_count = 4, 
    qdata = 0x0}, method = 0x7f9b06ae977a "GET", status_code = 8, 
  reason_phrase = 0x76e6a10 "Message Corrupt", request_body = 0x76f7b40, 
  request_headers = 0x770de00, response_body = 0x770f580, 
  response_headers = 0x770f6c0}
(gdb) call (SoupMessagePrivate *)g_type_instance_get_private ($27)
Too few arguments in function call.
(gdb) call (SoupMessagePrivate *)g_type_instance_get_private ($27, $90->parent->g_type_instance->g_class->g_type)
$91 = (SoupMessagePrivate *) 0x77118a0
(gdb) print *$91
$92 = {io_data = 0x1536ce0, chunk_allocator = 0, chunk_allocator_data = 0x0, 
  chunk_allocator_dnotify = 0, msg_flags = 0, server_side = 0, sniffer = 0x0, 
  bytes_for_sniffing = 0, http_version = SOUP_HTTP_1_1, 
  orig_http_version = SOUP_HTTP_1_1, uri = 0x76fba00, addr = 0x0, auth = 0x0, 
  proxy_auth = 0x0, disabled_features = 0x0, decoders = 0x0, 
  first_party = 0x0, tls_certificate = 0x0, tls_errors = 0}
(gdb) print *$92->io_data
Attempt to dereference a generic pointer.
(gdb) print *(SoupMessageIOData *)$92->io_data
$93 = {item = 0x152a290, mode = SOUP_MESSAGE_IO_CLIENT, 
  cancellable = 0x76db470, iostream = 0x6a8e800, istream = 0x7661ea0, 
  body_istream = 0x0, ostream = 0x67a8030, body_ostream = 0x0, 
  async_context = 0x151e940, blocking = 0, 
  read_state = SOUP_MESSAGE_IO_STATE_HEADERS, 
  read_encoding = SOUP_ENCODING_UNRECOGNIZED, read_header_buf = 0x770c4c0, 
  read_body = 0x770f580, read_length = 0, 
  write_state = SOUP_MESSAGE_IO_STATE_DONE, 
  write_encoding = SOUP_ENCODING_NONE, write_buf = 0x1fa4640, 
  write_body = 0x76f7b40, write_chunk = 0x0, write_body_offset = 0, 
  write_length = 0, written = 0, io_source = 0x0, unpause_source = 0x0, 
  paused = 0, get_headers_cb = 0x7f9b06acd220 <get_request_headers>, 
  parse_headers_cb = 0x7f9b06acd040 <parse_response_headers>, 
  header_data = 0x152a290, completion_cb = 0x7f9b06adccf0 <message_completed>, 
  completion_data = 0x152a290}
(gdb) print $93->read_meta_buf
There is no member named read_meta_buf.
(gdb) print $93->read_header_buf
$94 = (GByteArray *) 0x770c4c0
(gdb) print *$93->read_header_buf
$95 = {data = 0x7725810 "p\bq\a", len = 0}
(gdb) print *$93
Structure has no component named operator*.
(gdb) print $93
$96 = {item = 0x152a290, mode = SOUP_MESSAGE_IO_CLIENT, 
  cancellable = 0x76db470, iostream = 0x6a8e800, istream = 0x7661ea0, 
  body_istream = 0x0, ostream = 0x67a8030, body_ostream = 0x0, 
  async_context = 0x151e940, blocking = 0, 
  read_state = SOUP_MESSAGE_IO_STATE_HEADERS, 
  read_encoding = SOUP_ENCODING_UNRECOGNIZED, read_header_buf = 0x770c4c0, 
  read_body = 0x770f580, read_length = 0, 
  write_state = SOUP_MESSAGE_IO_STATE_DONE, 
  write_encoding = SOUP_ENCODING_NONE, write_buf = 0x1fa4640, 
  write_body = 0x76f7b40, write_chunk = 0x0, write_body_offset = 0, 
  write_length = 0, written = 0, io_source = 0x0, unpause_source = 0x0, 
  paused = 0, get_headers_cb = 0x7f9b06acd220 <get_request_headers>, 
  parse_headers_cb = 0x7f9b06acd040 <parse_response_headers>, 
  header_data = 0x152a290, completion_cb = 0x7f9b06adccf0 <message_completed>, 
  completion_data = 0x152a290}
(gdb) print &$93
$97 = (SoupMessageIOData *) 0x1536ce0
(gdb) call $97($27, io->read_header_buf->data, io->read_header_buf->len, &io->read_encoding, io->header_data)
No symbol "io" in current context.
(gdb) call $97->parse_headers_cb($27, $97->read_header_buf->data, $97->read_header_buf->len, &$97->read_encoding, $97->header_data)
$98 = 8
(gdb) break parse_response_headers
Breakpoint 9 at 0x7f9b06acd040: file /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-message-client-io.c, line 30.
(gdb) call $97->parse_headers_cb($27, $97->read_header_buf->data, $97->read_header_buf->len, &$97->read_encoding, $97->header_data)

Breakpoint 9, parse_response_headers (req=0x7711850, 
    headers=0x7725810 "p\bq\a", headers_len=0, encoding=0x1536d30, 
    user_data=0x152a290)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-message-client-io.c:30
30	{
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(parse_response_headers) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) step
31		SoupMessagePrivate *priv = SOUP_MESSAGE_GET_PRIVATE (req);
(gdb) step
soup_message_get_type ()
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-message.c:92
92	G_DEFINE_TYPE (SoupMessage, soup_message, G_TYPE_OBJECT)
(gdb) next
parse_response_headers (req=0x7711850, headers=0x7725810 "p\bq\a", 
    headers_len=0, encoding=0x1536d30, user_data=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-message-client-io.c:34
34		g_free(req->reason_phrase);
(gdb) next
31		SoupMessagePrivate *priv = SOUP_MESSAGE_GET_PRIVATE (req);
(gdb) next
34		g_free(req->reason_phrase);
(gdb) next
36		if (!soup_headers_parse_response (headers, headers_len,
(gdb) step
35		req->reason_phrase = NULL;
(gdb) step
36		if (!soup_headers_parse_response (headers, headers_len,
(gdb) step
soup_headers_parse_response (str=0x7725810 "p\bq\a", len=0, headers=0x770f6c0, 
    ver=0x7fff76ba396c, status_code=0x7711870, reason_phrase=0x7711878)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-headers.c:360
360	{
(gdb) print *str
$99 = 112 'p'
(gdb) next
363		g_return_val_if_fail (str != NULL, FALSE);
(gdb) next
369		while ((*str == '\r' || *str == '\n') && len > 0) {
(gdb) next
374			return FALSE;
(gdb) next
373		if (!len)
(gdb) next
392	}
(gdb) next
parse_response_headers (req=0x7711850, headers=0x7725810 "p\bq\a", 
    headers_len=0, encoding=0x1536d30, user_data=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-message-client-io.c:41
41			return SOUP_STATUS_MALFORMED;
(gdb) next
36		if (!soup_headers_parse_response (headers, headers_len,
(gdb) next
65	}
(gdb) next
(gdb) next
291			if (item->paused)
(gdb) next
294			switch (item->state) {
(gdb) ba
#0  process_queue_item (item=0x199e4b0, should_prune=0x7fff76ba3a5c, loop=1)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:294
#1  0x00007f9b06adcacb in run_queue (sa=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:375
#2  <function called from gdb>
#3  0x000000360fae85c3 in __GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=<optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#4  0x00007f9b0771df66 in g_main_context_poll (n_fds=1, fds=0x153a080, 
    priority=<optimized out>, timeout=999, context=0x151e940)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3560
#5  g_main_context_iterate (dispatch=1, block=<optimized out>, 
    context=0x151e940, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3261
#6  g_main_context_iterate (context=0x151e940, block=<optimized out>, 
    dispatch=1, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3203
#7  0x00007f9b0771e3d5 in g_main_loop_run (loop=0x151e8d0)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3460
#8  0x000000000040628d in run_mainloop_monitor_fetcher (
    pull_data=0x7fff76ba3c70) at src/ostree/ostree-pull.c:210
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) step
353	}
(gdb) step
run_queue (sa=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:370
370		     item = soup_message_queue_next (queue, item)) {
(gdb) next
368		for (item = soup_message_queue_first (queue);
(gdb) next
370		     item = soup_message_queue_next (queue, item)) {
(gdb) next
368		for (item = soup_message_queue_first (queue);
(gdb) next
374			if (msg->method != SOUP_METHOD_CONNECT)
(gdb) print *msg
$100 = {parent = {g_type_instance = {g_class = 0x1526ba0}, ref_count = 4, 
    qdata = 0x0}, method = 0x7f9b06ae977a "GET", status_code = 8, 
  reason_phrase = 0x0, request_body = 0x76f7b40, request_headers = 0x770de00, 
  response_body = 0x770f580, response_headers = 0x770f6c0}
(gdb) print SOUP_METHOD_CONNECT
No symbol "SOUP_METHOD_CONNECT" in current context.
(gdb) print _SOUP_METHOD_CONNECT
$101 = (gpointer) 0x7f9b06aebdf3
(gdb) next
375				process_queue_item (item, &should_prune, TRUE);
(gdb) next
370		     item = soup_message_queue_next (queue, item)) {
(gdb) next
368		for (item = soup_message_queue_first (queue);
(gdb) cont
Continuing.
(gdb) ba
#0  0x000000360fae85c3 in __GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=<optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9b0771df66 in g_main_context_poll (n_fds=1, fds=0x153a080, 
    priority=<optimized out>, timeout=999, context=0x151e940)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3560
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, 
    context=0x151e940, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3261
#3  g_main_context_iterate (context=0x151e940, block=<optimized out>, 
    dispatch=1, self=<optimized out>)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3203
#4  0x00007f9b0771e3d5 in g_main_loop_run (loop=0x151e8d0)
    at /home/sam/ostree/embedded-dependencies/glib/glib/gmain.c:3460
#5  0x000000000040628d in run_mainloop_monitor_fetcher (
    pull_data=0x7fff76ba3c70) at src/ostree/ostree-pull.c:210
#6  0x0000000000409873 in fetch_content (error=0x7fff76ba3e88, 
    pull_data=0x7fff76ba3c70, cancellable=<optimized out>)
    at src/ostree/ostree-pull.c:1298
#7  ostree_builtin_pull (argc=2, argv=0x151a750, repo_path=<optimized out>, 
    error=0x7fff76ba3e88) at src/ostree/ostree-pull.c:1598
#8  0x000000000040574d in ostree_main (argc=<optimized out>, 
    argv=<optimized out>, builtins=<optimized out>) at src/ostree/ot-main.c:172
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) call run_queue ($67)

Breakpoint 8, run_queue (sa=0x1523880)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:357
357	{
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(run_queue) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) next
362		gboolean try_pruning = TRUE, should_prune = FALSE;
(gdb) next
357	{
(gdb) next
358		SoupSession *session = SOUP_SESSION (sa);
(gdb) next
359		SoupMessageQueue *queue = soup_session_get_queue (session);
(gdb) next
364		g_object_ref (session);
(gdb) next
359		SoupMessageQueue *queue = soup_session_get_queue (session);
(gdb) next
362		gboolean try_pruning = TRUE, should_prune = FALSE;
(gdb) next
364		g_object_ref (session);
(gdb) next
365		soup_session_cleanup_connections (session, FALSE);
(gdb) next
368		for (item = soup_message_queue_first (queue);
(gdb) next
374			if (msg->method != SOUP_METHOD_CONNECT)
(gdb) step
375				process_queue_item (item, &should_prune, TRUE);
(gdb) step
process_queue_item (item=0x199e4b0, should_prune=0x7fff76ba3a5c, loop=1)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:284
284	{
(gdb) print *item
$102 = {session = 0x1523880, queue = 0x151fd40, msg = 0x6a0fd40, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x6a13130, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x152d830, result = 0x0, 
  paused = 0, new_api = 1, io_started = 1, redirection_count = 0, 
  state = SOUP_MESSAGE_RUNNING, removed = 0, ref_count = 3, prev = 0x0, 
  next = 0x152a290, related = 0x0}
(gdb) item->state = SOUP_MESSAGE_FINISHING
Undefined command: "item->state".  Try "help".
(gdb) set item->state = SOUP_MESSAGE_FINISHING
(gdb) print *item
$103 = {session = 0x1523880, queue = 0x151fd40, msg = 0x6a0fd40, callback = 0, 
  callback_data = 0x0, async_context = 0x0, cancellable = 0x6a13130, 
  proxy_addr = 0x0, proxy_uri = 0x0, conn = 0x152d830, result = 0x0, 
  paused = 0, new_api = 1, io_started = 1, redirection_count = 0, 
  state = SOUP_MESSAGE_FINISHING, removed = 0, ref_count = 3, prev = 0x0, 
  next = 0x152a290, related = 0x0}
(gdb) cont
Continuing.

Breakpoint 3, on_request_unqueued (session=0x1523880, msg=0x6a0fd40, 
    user_data=0x151ac50) at src/ostree/ostree-fetcher.c:125
125	  if (msg == self->sending_message)
(gdb) cont
Continuing.
[New Thread 0x7f9b0507d700 (LWP 2958)]
(gdb) cont
Continuing.

Breakpoint 8, run_queue (sa=0x1523880)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:357
357	{
(gdb) cont
Continuing.

Breakpoint 8, run_queue (sa=0x1523880)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:357
357	{
(gdb) cont
Continuing.

Breakpoint 2, on_request_started (session=0x1523880, msg=0x7711930, 
    socket=0x151c8d0, user_data=0x151ac50) at src/ostree/ostree-fetcher.c:116
116	  self->sending_message = msg;
(gdb) delete 2
(gdb) cont
Continuing.

Breakpoint 9, parse_response_headers (req=0x7711930, 
    headers=0x772d470 "HTTP/1.1 200 OK\r\nDate: Fri, 06 Jul 2012 16:53:06 GMT\r\nServer: Apache/2.2.15 (Red Hat)\r\nLast-Modified: Sat, 05 May 2012 16:13:47 GMT\r\nETag: \"b456fc-a58-4bf4c526354c9\"\r\nAccept-Ranges: bytes\r\nContent-Len"..., headers_len=308, encoding=0x1536c40, user_data=0x1ae9500)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-message-client-io.c:30
30	{
(gdb) delete 9
(gdb) cont
Continuing.

Breakpoint 1, check_outstanding_requests_handle_error (
    pull_data=0x7fff76ba3c70, error=0x0) at src/ostree/ostree-pull.c:178
178	{
(gdb) delete 1
(gdb) cont
Continuing.

Breakpoint 8, run_queue (sa=0x1523880)
    at /home/sam/ostree/embedded-dependencies/libsoup/libsoup/soup-session-async.c:357
357	{
(gdb) delete 8
(gdb) cont
Continuing.

Breakpoint 3, on_request_unqueued (session=0x1523880, msg=0x7711930, 
    user_data=0x151ac50) at src/ostree/ostree-fetcher.c:125
125	  if (msg == self->sending_message)
(gdb) delete 3
(gdb) cont
Continuing.


