{"action":"created","issue":{"url":"https://api.github.com/repos/ostreedev/ostree/issues/504","repository_url":"https://api.github.com/repos/ostreedev/ostree","labels_url":"https://api.github.com/repos/ostreedev/ostree/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/ostreedev/ostree/issues/504/comments","events_url":"https://api.github.com/repos/ostreedev/ostree/issues/504/events","html_url":"https://github.com/ostreedev/ostree/issues/504","id":176064630,"number":504,"title":"'ostree static-delta show' can dump core when given bogus delta","user":{"login":"miabbott","id":10236257,"avatar_url":"https://avatars.githubusercontent.com/u/10236257?v=3","gravatar_id":"","url":"https://api.github.com/users/miabbott","html_url":"https://github.com/miabbott","followers_url":"https://api.github.com/users/miabbott/followers","following_url":"https://api.github.com/users/miabbott/following{/other_user}","gists_url":"https://api.github.com/users/miabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/miabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miabbott/subscriptions","organizations_url":"https://api.github.com/users/miabbott/orgs","repos_url":"https://api.github.com/users/miabbott/repos","events_url":"https://api.github.com/users/miabbott/events{/privacy}","received_events_url":"https://api.github.com/users/miabbott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-09T17:32:28Z","updated_at":"2016-09-09T17:47:08Z","closed_at":null,"body":"Using RHELAH autobrew 7.3.internal.0.33 which has ostree-2016.10-1.atomic.el7.x86_64\r\n\r\n```\r\n# ostree static-delta list --repo=/srv/cahc e1788f54a981639a0063fe24f21720ea946f52ba3b01211b98d67546e7f3e76f-97f8f19d226215da845c2c4df49847b881a2d203bf36bfcac084be149dc93596\r\n# ostree static-delta show --repo=/srv/cahc foobar\r\n**\r\nOSTree:ERROR:src/libostree/ostree-core.c:1241:ostree_checksum_inplace_to_bytes: assertion failed: (little != -1)\r\nAborted (core dumped)\r\n# ostree static-delta show --repo=/srv/cahc e1788f54a981639a0063fe24f21720ea946f52ba3b01211b98d67546e7f3e76f-97f8f19d226215da845c2c4df49847b881a2d203bf36bfcac084be149dc93596\r\n({'ostree.endianness': <byte 0x6c>}, uint64 4964323960373116928, [byte 0xe1, 0x78, 0x8f, 0x54, 0xa9, 0x81, 0x63, 0x9a, 0x00, 0x63, 0xfe, 0x24, 0xf2, 0x17, 0x20, 0xea, 0x94, 0x6f, 0x52, 0xba, 0x3b, 0x01, 0x21, 0x1b, 0x98, 0xd6, 0x75, 0x46, 0xe7, 0xf3, 0xe7, 0x6f], [byte 0x97, 0xf8, 0xf1, 0x9d, 0x22, 0x62,\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/ostreedev/ostree/issues/comments/245987204","html_url":"https://github.com/ostreedev/ostree/issues/504#issuecomment-245987204","issue_url":"https://api.github.com/repos/ostreedev/ostree/issues/504","id":245987204,"user":{"login":"miabbott","id":10236257,"avatar_url":"https://avatars.githubusercontent.com/u/10236257?v=3","gravatar_id":"","url":"https://api.github.com/users/miabbott","html_url":"https://github.com/miabbott","followers_url":"https://api.github.com/users/miabbott/followers","following_url":"https://api.github.com/users/miabbott/following{/other_user}","gists_url":"https://api.github.com/users/miabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/miabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miabbott/subscriptions","organizations_url":"https://api.github.com/users/miabbott/orgs","repos_url":"https://api.github.com/users/miabbott/repos","events_url":"https://api.github.com/users/miabbott/events{/privacy}","received_events_url":"https://api.github.com/users/miabbott/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T17:47:08Z","updated_at":"2016-09-09T17:47:08Z","body":"TIL about `systemd-coredump` and `coredumpctl`\r\n\r\n```\r\n# coredumpctl info 12373\r\n           PID: 12373 (ostree)\r\n           UID: 0 (root)\r\n           GID: 0 (root)\r\n        Signal: 6 (ABRT)\r\n     Timestamp: Fri 2016-09-09 17:31:23 UTC (13min ago)\r\n  Command Line: ostree static-delta show --repo=/srv/cahc foobar\r\n    Executable: /usr/bin/ostree\r\n Control Group: /user.slice/user-1000.slice/session-1.scope\r\n          Unit: session-1.scope\r\n         Slice: user-1000.slice\r\n       Session: 1\r\n     Owner UID: 1000 (cloud-user)\r\n       Boot ID: 0a6123a8d06c4d7aa88515c29192d45f\r\n    Machine ID: 70a7a4279c7e8442a7c1649606bd0320\r\n      Hostname: rhel-atomic-7.2-test\r\n      Coredump: /var/lib/systemd/coredump/core.ostree.0.0a6123a8d06c4d7aa88515c29192d45f.12373.1473442283000000.xz\r\n       Message: Process 12373 (ostree) of user 0 dumped core.\r\n                \r\n                Stack trace of thread 12373:\r\n                #0  0x00007f79e6a9e1d7 raise (libc.so.6)\r\n                #1  0x00007f79e6a9f8c8 abort (libc.so.6)\r\n                #2  0x00007f79e75702a5 g_assertion_message (libglib-2.0.so.0)\r\n                #3  0x00007f79e757033a g_assertion_message_expr (libglib-2.0.so.0)\r\n                #4  0x00007f79e8981cd6 ostree_checksum_inplace_to_bytes (libostree-1.so.1)\r\n                #5  0x00007f79e8982dd1 _ostree_get_relative_static_delta_path (libostree-1.so.1)\r\n                #6  0x00007f79e89bb2b0 _ostree_repo_static_delta_dump (libostree-1.so.1)\r\n                #7  0x0000000000413cc1 ot_static_delta_builtin_show (ostree)\r\n                #8  0x00000000004146a2 ostree_builtin_static_delta (ostree)\r\n                #9  0x0000000000414cb0 ostree_run (ostree)\r\n                #10 0x000000000040b91c main (ostree)\r\n                #11 0x00007f79e6a8ab35 __libc_start_main (libc.so.6)\r\n                #12 0x000000000040b9ad _start (ostree)\r\n```"}}
{"actor":{"display_login":"miabbott"}}