{"action":"created","issue":{"url":"https://api.github.com/repos/mate-desktop/atril/issues/97","labels_url":"https://api.github.com/repos/mate-desktop/atril/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/mate-desktop/atril/issues/97/comments","events_url":"https://api.github.com/repos/mate-desktop/atril/issues/97/events","html_url":"https://github.com/mate-desktop/atril/issues/97","id":47154026,"number":97,"title":"epub: Crash on certain epub files","user":{"login":"infirit","id":3465730,"avatar_url":"https://avatars.githubusercontent.com/u/3465730?v=3","gravatar_id":"","url":"https://api.github.com/users/infirit","html_url":"https://github.com/infirit","followers_url":"https://api.github.com/users/infirit/followers","following_url":"https://api.github.com/users/infirit/following{/other_user}","gists_url":"https://api.github.com/users/infirit/gists{/gist_id}","starred_url":"https://api.github.com/users/infirit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infirit/subscriptions","organizations_url":"https://api.github.com/users/infirit/orgs","repos_url":"https://api.github.com/users/infirit/repos","events_url":"https://api.github.com/users/infirit/events{/privacy}","received_events_url":"https://api.github.com/users/infirit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mate-desktop/atril/labels/confirmed","name":"confirmed","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-10-29T14:25:26Z","updated_at":"2015-11-02T08:14:15Z","closed_at":null,"body":"On some epub file I get a crash in libepubdocumen.\r\n\r\nBacktrace:\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7fff77fff700 (LWP 4725)]\r\n0x00007fff8c4f98d3 in page_set_function ()\r\n   from /usr/lib64/atril/3/backends/libepubdocument.so\r\n#0  0x00007fff8c4f98d3 in page_set_function ()\r\n   from /usr/lib64/atril/3/backends/libepubdocument.so\r\n#1  0x00007ffff509d178 in g_list_foreach (list=<optimized out>, \r\n    func=0x7fff8c4f98c0 <page_set_function>, user_data=0x7a95a0)\r\n    at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/glist.c:993\r\n#2  0x00007fff8c4fb9a8 in epub_document_load ()\r\n   from /usr/lib64/atril/3/backends/libepubdocument.so\r\n#3  0x00007ffff7797476 in ev_document_load ()\r\n   from /usr/lib64/libatrildocument.so.3\r\n#4  0x00007ffff7798f6b in ev_document_factory_get_document ()\r\n   from /usr/lib64/libatrildocument.so.3\r\n#5  0x00007ffff7559fff in ev_job_load_run () from /usr/lib64/libatrilview.so.3\r\n#6  0x00007ffff755af40 in ev_job_thread_proxy ()\r\n   from /usr/lib64/libatrilview.so.3\r\n#7  0x00007ffff50c58f5 in g_thread_proxy (data=0xb9c190)\r\n    at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gthread.c:764\r\n#8  0x00007ffff4b43083 in start_thread (arg=0x7fff77fff700)\r\n    at pthread_create.c:309\r\n#9  0x00007ffff488003d in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n```\r\n\r\nExample file: https://www.dropbox.com/s/p5ytz5tk4tde0n8/Do%20Plants%20Think_%20-%20Scientific%20American.epub?dl=0"},"comment":{"url":"https://api.github.com/repos/mate-desktop/atril/issues/comments/152947980","html_url":"https://github.com/mate-desktop/atril/issues/97#issuecomment-152947980","issue_url":"https://api.github.com/repos/mate-desktop/atril/issues/97","id":152947980,"user":{"login":"monsta","id":5138986,"avatar_url":"https://avatars.githubusercontent.com/u/5138986?v=3","gravatar_id":"","url":"https://api.github.com/users/monsta","html_url":"https://github.com/monsta","followers_url":"https://api.github.com/users/monsta/followers","following_url":"https://api.github.com/users/monsta/following{/other_user}","gists_url":"https://api.github.com/users/monsta/gists{/gist_id}","starred_url":"https://api.github.com/users/monsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monsta/subscriptions","organizations_url":"https://api.github.com/users/monsta/orgs","repos_url":"https://api.github.com/users/monsta/repos","events_url":"https://api.github.com/users/monsta/events{/privacy}","received_events_url":"https://api.github.com/users/monsta/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T08:14:15Z","updated_at":"2015-11-02T08:14:15Z","body":"Neither of these document causes any crashes for me. I'm using the latest Atril from git though, which is very close to be released as 1.12."}}