Skip to content

Instantly share code, notes, and snippets.

@chergert
Created February 4, 2015 00:38
Show Gist options
  • Save chergert/a78efb2537b205125a78 to your computer and use it in GitHub Desktop.
Save chergert/a78efb2537b205125a78 to your computer and use it in GitHub Desktop.
why thank you libgit2.
#0 0x00007ffff185c830 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1 0x00007ffff2933d8c in attr_cache_lock (cache=0x0) at /home/christian/Projects/libgit2-0.21.2/src/attrcache.c:14
#2 0x00007ffff2934307 in attr_cache_lookup (out_file=0x7fffd2ffc390, out_entry=0x7fffd2ffc398, repo=0x7fffc8006090, source=GIT_ATTR_FILE__FROM_FILE, base=0x7fffc8008ba0 "/home/christian/Projects/libide/", filename=0x7fffc8008d00 "/home/christian/Projects/libide/.gitattributes")
at /home/christian/Projects/libgit2-0.21.2/src/attrcache.c:175
#3 0x00007ffff293441f in git_attr_cache__get (out=0x7fffd2ffc3f0, repo=0x7fffc8006090, source=GIT_ATTR_FILE__FROM_FILE, base=0x7fffc8008ba0 "/home/christian/Projects/libide/", filename=0x7ffff2973180 ".gitattributes", parser=0x7ffff290fcec <git_attr_file__parse_buffer>)
at /home/christian/Projects/libgit2-0.21.2/src/attrcache.c:209
#4 0x00007ffff28d3682 in push_attr_file (repo=0x7fffc8006090, list=0x7fffd2ffc5b0, source=GIT_ATTR_FILE__FROM_FILE, base=0x7fffc8008ba0 "/home/christian/Projects/libide/", filename=0x7ffff2973180 ".gitattributes") at /home/christian/Projects/libgit2-0.21.2/src/attr.c:367
#5 0x00007ffff28d3753 in push_one_attr (ref=0x7fffd2ffc4e0, path=0x7fffd2ffc470) at /home/christian/Projects/libgit2-0.21.2/src/attr.c:390
#6 0x00007ffff2939544 in git_path_walk_up (path=0x7fffd2ffc510, ceiling=0x7fffc80028f0 "p4\001\310\377\177", cb=0x7ffff28d36c6 <push_one_attr>, data=0x7fffd2ffc4e0) at /home/christian/Projects/libgit2-0.21.2/src/path.c:437
#7 0x00007ffff28d3949 in collect_attr_files (repo=0x7fffc8006090, flags=0, path=0x10e6640 "src/ide-device.c", files=0x7fffd2ffc5b0) at /home/christian/Projects/libgit2-0.21.2/src/attr.c:450
#8 0x00007ffff28d2911 in git_attr_get (value=0x7fffd2ffc670, repo=0x7fffc8006090, flags=0, pathname=0x10e6640 "src/ide-device.c", name=0x7ffff297a07e "diff") at /home/christian/Projects/libgit2-0.21.2/src/attr.c:60
#9 0x00007ffff2915669 in git_diff_driver_lookup (out=0x7fffd2ffc8b0, repo=0x7fffc8006090, path=0x10e6640 "src/ide-device.c") at /home/christian/Projects/libgit2-0.21.2/src/diff_driver.c:349
#10 0x00007ffff2937441 in diff_file_content_init_common (fc=0x7fffd2ffc8a0, opts=0x0) at /home/christian/Projects/libgit2-0.21.2/src/diff_file.c:55
#11 0x00007ffff29378a3 in git_diff_file_content__init_from_src (fc=0x7fffd2ffc8a0, repo=0x7fffc8006090, opts=0x0, src=0x7fffd2ffca20, as_file=0x7fffd2ffc990) at /home/christian/Projects/libgit2-0.21.2/src/diff_file.c:164
#12 0x00007ffff28ea3ba in diff_patch_from_sources (pd=0x7fffd2ffc830, xo=0x7fffd2ffc7b0, oldsrc=0x7fffd2ffca40, newsrc=0x7fffd2ffca20, opts=0x0) at /home/christian/Projects/libgit2-0.21.2/src/diff_patch.c:375
#13 0x00007ffff28ea656 in diff_from_sources (oldsrc=0x7fffd2ffca40, newsrc=0x7fffd2ffca20, opts=0x0, file_cb=0x0, hunk_cb=0x0, data_cb=0x7ffff2bcc5d0 <ggit_diff_line_callback_wrapper>, payload=0x7fffd2ffcab0) at /home/christian/Projects/libgit2-0.21.2/src/diff_patch.c:432
#14 0x00007ffff28ea93f in git_diff_blob_to_buffer (old_blob=0x7fffc400b250, old_path=0x10e6640 "src/ide-device.c",
buf=0xd8b800 "/* ide-device.c\n *\n * Copyright (C) 2015 Christian Hergert <[email protected]>\n *\n * This file is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser Genera"..., buflen=6048, buf_path=0x10e6640 "src/ide-device.c",
opts=0x0, file_cb=0x0, hunk_cb=0x0, data_cb=0x7ffff2bcc5d0 <ggit_diff_line_callback_wrapper>, payload=0x7fffd2ffcab0) at /home/christian/Projects/libgit2-0.21.2/src/diff_patch.c:518
#15 0x00007ffff2bcd9a3 in ggit_diff_blob_to_buffer (old_blob=old_blob@entry=0xe57950, old_as_path=old_as_path@entry=0x10e6640 "src/ide-device.c",
buffer=buffer@entry=0xd8b800 "/* ide-device.c\n *\n * Copyright (C) 2015 Christian Hergert <[email protected]>\n *\n * This file is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser Genera"..., buffer_len=<optimized out>,
buffer_len@entry=-1, buffer_as_path=buffer_as_path@entry=0x10e6640 "src/ide-device.c", diff_options=diff_options@entry=0x0, file_cb=0x0, hunk_cb=0x0, line_cb=0x43c800 <diff_line_cb>, user_data=0xf6a980, error=0x7fffd2ffcb58) at ggit-diff.c:810
#16 0x000000000043d249 in gb_source_change_monitor_worker (async=0xed6160, object=<optimized out>, cancellable=<optimized out>) at src/editor/gb-source-change-monitor.c:215
#17 0x00007ffff25aa37f in run_in_thread (job=<optimized out>, c=0x0, _data=0xd48550) at gsimpleasyncresult.c:858
#18 0x00007ffff2596136 in io_job_thread (task=<optimized out>, source_object=<optimized out>, task_data=0x10e1200, cancellable=<optimized out>) at gioscheduler.c:85
#19 0x00007ffff25bb0f5 in g_task_thread_pool_thread (thread_data=0xc06b90, pool_data=<optimized out>) at gtask.c:1215
#20 0x00007ffff1de66f8 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#21 0x00007ffff1de5d75 in g_thread_proxy (data=0xe71b70) at gthread.c:764
#22 0x00007ffff185a52a in start_thread () from /lib64/libpthread.so.0
#23 0x00007ffff159679d in clone () from /lib64/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment