{"action":"created","issue":{"url":"https://api.github.com/repos/qpdf/qpdf/issues/231","repository_url":"https://api.github.com/repos/qpdf/qpdf","labels_url":"https://api.github.com/repos/qpdf/qpdf/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/qpdf/qpdf/issues/231/comments","events_url":"https://api.github.com/repos/qpdf/qpdf/issues/231/events","html_url":"https://github.com/qpdf/qpdf/issues/231","id":348125655,"node_id":"MDU6SXNzdWUzNDgxMjU2NTU=","number":231,"title":"Assert fires in QPDF::checkLinearization()","user":{"login":"gtbarnabas","id":41980312,"node_id":"MDQ6VXNlcjQxOTgwMzEy","avatar_url":"https://avatars1.githubusercontent.com/u/41980312?v=4","gravatar_id":"","url":"https://api.github.com/users/gtbarnabas","html_url":"https://github.com/gtbarnabas","followers_url":"https://api.github.com/users/gtbarnabas/followers","following_url":"https://api.github.com/users/gtbarnabas/following{/other_user}","gists_url":"https://api.github.com/users/gtbarnabas/gists{/gist_id}","starred_url":"https://api.github.com/users/gtbarnabas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtbarnabas/subscriptions","organizations_url":"https://api.github.com/users/gtbarnabas/orgs","repos_url":"https://api.github.com/users/gtbarnabas/repos","events_url":"https://api.github.com/users/gtbarnabas/events{/privacy}","received_events_url":"https://api.github.com/users/gtbarnabas/received_events","type":"User","site_admin":false},"labels":[{"id":6293313,"node_id":"MDU6TGFiZWw2MjkzMzEz","url":"https://api.github.com/repos/qpdf/qpdf/labels/bug","name":"bug","color":"fc2929","default":true},{"id":440258274,"node_id":"MDU6TGFiZWw0NDAyNTgyNzQ=","url":"https://api.github.com/repos/qpdf/qpdf/labels/next","name":"next","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-07T00:33:58Z","updated_at":"2018-12-17T13:09:02Z","closed_at":null,"author_association":"NONE","body":"I have a tool that calls the QPDF::checkLinearization() method. When we run the tool against a particular PDF file, it hits an assert and crashes:\r\n```\r\npdf-dump-info: libqpdf/QPDF_linearization.cc:958: void QPDF::checkHSharedObject(std::__cxx11::list<std::__cxx11::basic_string<char> >&, std::__cxx11::list<std::__cxx11::basic_string<char> >&, const std::vector<QPDFObjectHandle>&, std::map<int, int>&): Assertion `this->m->xref_table.count(og) > 0' failed.\r\n\r\nAborted (core dumped)\r\n```\r\nThe file can be downloaded at \"http://gdcm.sourceforge.net/gdcm-2.3.0.pdf\". We are able to view this file with standard PDF viewers.\r\n"},"comment":{"url":"https://api.github.com/repos/qpdf/qpdf/issues/comments/447839781","html_url":"https://github.com/qpdf/qpdf/issues/231#issuecomment-447839781","issue_url":"https://api.github.com/repos/qpdf/qpdf/issues/231","id":447839781,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzgzOTc4MQ==","user":{"login":"jberkenbilt","id":997128,"node_id":"MDQ6VXNlcjk5NzEyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/997128?v=4","gravatar_id":"","url":"https://api.github.com/users/jberkenbilt","html_url":"https://github.com/jberkenbilt","followers_url":"https://api.github.com/users/jberkenbilt/followers","following_url":"https://api.github.com/users/jberkenbilt/following{/other_user}","gists_url":"https://api.github.com/users/jberkenbilt/gists{/gist_id}","starred_url":"https://api.github.com/users/jberkenbilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberkenbilt/subscriptions","organizations_url":"https://api.github.com/users/jberkenbilt/orgs","repos_url":"https://api.github.com/users/jberkenbilt/repos","events_url":"https://api.github.com/users/jberkenbilt/events{/privacy}","received_events_url":"https://api.github.com/users/jberkenbilt/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T13:09:02Z","updated_at":"2018-12-17T13:09:02Z","author_association":"CONTRIBUTOR","body":"I'm hoping to get to this in the current round of fixes."}}
{"actor":{"display_login":"jberkenbilt"}}