<feed xmlns='http://www.w3.org/2005/Atom'>
<title>atril, branch v1.12.2</title>
<subtitle>MATE document viewer</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/'/>
<entry>
<title>Release 1.12.2</title>
<updated>2015-12-18T07:40:59+00:00</updated>
<author>
<name>monsta</name>
<email>monsta@inbox.ru</email>
</author>
<published>2015-12-18T07:40:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=672001fd2cfddcc7370968af8c694c2d5d44604e'/>
<id>672001fd2cfddcc7370968af8c694c2d5d44604e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash for epubs when accessibility is enabled</title>
<updated>2015-12-18T07:21:13+00:00</updated>
<author>
<name>Andrey Gursky</name>
<email>andrey.gursky@e-mail.ua</email>
</author>
<published>2015-12-17T01:47:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=064c2a49c1651735033041d19e48a80d8e313e62'/>
<id>064c2a49c1651735033041d19e48a80d8e313e62</id>
<content type='text'>
Once epub support has been implemented, atril crashes with all epubs.
Backtrace for 1.10.2+repack1-1 (Debian Stretch):

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd26d2700 (LWP 22276)]
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in  ()
#1  0x00007ffff755914e in ev_job_page_data_run (job=0x9e3850 [EvJobPageData]) at ev-jobs.c:762
#2  0x00007ffff755a85a in ev_job_thread_proxy (job=0x9e3850 [EvJobPageData]) at ev-job-scheduler.c:184
#3  0x00007ffff755a85a in ev_job_thread_proxy (data=&lt;optimized out&gt;) at ev-job-scheduler.c:217
#4  0x00007ffff14e1955 in g_thread_proxy (data=0x7fff84002280) at /build/glib2.0-VKSJTv/glib2.0-2.46.1/./glib/gthread.c:778
#5  0x00007ffff08690a4 in start_thread (arg=0x7fffd26d2700) at pthread_create.c:309
#6  0x00007ffff059e06d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)

It turns out it couldn't really work since one function pointer is
uninitialized. But nobody complained. Thus I investigated it further,
why it fails only for me. First, I tried a gtk3 version. And it works
properly, but the broken code is not hit at all. Due to the threaded
design, it was harder to figure out, why. Here is the code path:

--&gt;
ev_window_load_job_cb          (shell/ev-window.c) --&gt;
ev_document_model_set_document (libview/ev-document-model.c) --&gt;
ev_view_document_changed_cb    (libview/ev-view.c) --&gt;
setup_caches                   (libview/ev-view.c) --&gt;

        if (ev_view_is_a11y_enabled (view)) {
                ev_page_cache_set_flags();
        }

ev_page_cache_set_flags        (libview/ev-page-cache.c) --&gt;
ev_page_cache_set_page_range   (libview/ev-page-cache.c) --&gt;

        data-&gt;job = ev_job_page_data_new (cache-&gt;document, i, flags);
        ...
        ev_job_scheduler_push_job (data-&gt;job, EV_JOB_PRIORITY_NONE);

...

--&gt;
ev_job_thread_proxy            (libview/ev-job-scheduler.c) --&gt;
ev_job_page_data_run           (libview/ev-jobs.c) --&gt;
ev_document_links_get_links    (libdocument/ev-document-links.c) --&gt;

        EvDocumentLinksInterface *iface = EV_DOCUMENT_LINKS_GET_IFACE (document_links);
        return iface-&gt;get_links (document_links, page);

(get_links == NULL) --&gt; crash

As one can see it depends on the accessibility. And it is enabled on my
box.

It can be reproduced with
gsettings set org.mate.interface accessibility true
(mate logout and login)

Why the enabled accessibility is not discovered by the gtk3 version is
another story. My question [1] was motivated by this.

[1] https://github.com/mate-desktop/atril/issues/171
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Once epub support has been implemented, atril crashes with all epubs.
Backtrace for 1.10.2+repack1-1 (Debian Stretch):

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd26d2700 (LWP 22276)]
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in  ()
#1  0x00007ffff755914e in ev_job_page_data_run (job=0x9e3850 [EvJobPageData]) at ev-jobs.c:762
#2  0x00007ffff755a85a in ev_job_thread_proxy (job=0x9e3850 [EvJobPageData]) at ev-job-scheduler.c:184
#3  0x00007ffff755a85a in ev_job_thread_proxy (data=&lt;optimized out&gt;) at ev-job-scheduler.c:217
#4  0x00007ffff14e1955 in g_thread_proxy (data=0x7fff84002280) at /build/glib2.0-VKSJTv/glib2.0-2.46.1/./glib/gthread.c:778
#5  0x00007ffff08690a4 in start_thread (arg=0x7fffd26d2700) at pthread_create.c:309
#6  0x00007ffff059e06d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)

It turns out it couldn't really work since one function pointer is
uninitialized. But nobody complained. Thus I investigated it further,
why it fails only for me. First, I tried a gtk3 version. And it works
properly, but the broken code is not hit at all. Due to the threaded
design, it was harder to figure out, why. Here is the code path:

--&gt;
ev_window_load_job_cb          (shell/ev-window.c) --&gt;
ev_document_model_set_document (libview/ev-document-model.c) --&gt;
ev_view_document_changed_cb    (libview/ev-view.c) --&gt;
setup_caches                   (libview/ev-view.c) --&gt;

        if (ev_view_is_a11y_enabled (view)) {
                ev_page_cache_set_flags();
        }

ev_page_cache_set_flags        (libview/ev-page-cache.c) --&gt;
ev_page_cache_set_page_range   (libview/ev-page-cache.c) --&gt;

        data-&gt;job = ev_job_page_data_new (cache-&gt;document, i, flags);
        ...
        ev_job_scheduler_push_job (data-&gt;job, EV_JOB_PRIORITY_NONE);

...

--&gt;
ev_job_thread_proxy            (libview/ev-job-scheduler.c) --&gt;
ev_job_page_data_run           (libview/ev-jobs.c) --&gt;
ev_document_links_get_links    (libdocument/ev-document-links.c) --&gt;

        EvDocumentLinksInterface *iface = EV_DOCUMENT_LINKS_GET_IFACE (document_links);
        return iface-&gt;get_links (document_links, page);

(get_links == NULL) --&gt; crash

As one can see it depends on the accessibility. And it is enabled on my
box.

It can be reproduced with
gsettings set org.mate.interface accessibility true
(mate logout and login)

Why the enabled accessibility is not discovered by the gtk3 version is
another story. My question [1] was motivated by this.

[1] https://github.com/mate-desktop/atril/issues/171
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to 1.12.1</title>
<updated>2015-11-29T17:35:03+00:00</updated>
<author>
<name>Monsta</name>
<email>monsta@inbox.ru</email>
</author>
<published>2015-11-29T17:35:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=cd81d8fb2a1454740ba1d40a452c812966644878'/>
<id>cd81d8fb2a1454740ba1d40a452c812966644878</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated translations</title>
<updated>2015-11-20T12:36:52+00:00</updated>
<author>
<name>Clement Lefebvre</name>
<email>clement.lefebvre@linuxmint.com</email>
</author>
<published>2015-11-20T12:36:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=63b03e5ed6aac992bafed75c725b24c5bb991769'/>
<id>63b03e5ed6aac992bafed75c725b24c5bb991769</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #169 from mate-desktop/oops</title>
<updated>2015-11-05T17:53:15+00:00</updated>
<author>
<name>Martin Wimpress</name>
<email>code@flexion.org</email>
</author>
<published>2015-11-05T17:53:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=d5e103f32ad976522449cb14db9fb4ec58b73493'/>
<id>d5e103f32ad976522449cb14db9fb4ec58b73493</id>
<content type='text'>
dvi: fix crash due to regression</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dvi: fix crash due to regression</pre>
</div>
</content>
</entry>
<entry>
<title>dvi: fix crash due to regression</title>
<updated>2015-11-05T11:42:20+00:00</updated>
<author>
<name>monsta</name>
<email>monsta@inbox.ru</email>
</author>
<published>2015-11-05T11:42:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=aa97fdc1e1dc9ca08e70cbba9038da03f14d6261'/>
<id>aa97fdc1e1dc9ca08e70cbba9038da03f14d6261</id>
<content type='text'>
fixes https://github.com/mate-desktop/atril/issues/164

regression has been introduced in https://github.com/mate-desktop/atril/commit/94dcb761b95ee54ef1f1512d59721932d75ffb7f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes https://github.com/mate-desktop/atril/issues/164

regression has been introduced in https://github.com/mate-desktop/atril/commit/94dcb761b95ee54ef1f1512d59721932d75ffb7f
</pre>
</div>
</content>
</entry>
<entry>
<title>release 1.12.0</title>
<updated>2015-11-02T01:29:40+00:00</updated>
<author>
<name>Wolfgang Ulbrich</name>
<email>chat-to-me@raveit.de</email>
</author>
<published>2015-11-02T01:27:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=e36f62aae535f3548e23da5f16733c24165b2e8a'/>
<id>e36f62aae535f3548e23da5f16733c24165b2e8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync translations with transifex</title>
<updated>2015-11-01T15:44:55+00:00</updated>
<author>
<name>mate-i18n</name>
<email>mate-i18n@ml.mate-desktop.org</email>
</author>
<published>2015-11-01T15:44:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=fd3fefe3dc95804f8fab82809764586ea14cad49'/>
<id>fd3fefe3dc95804f8fab82809764586ea14cad49</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update NEWS for 1.12</title>
<updated>2015-10-30T11:28:59+00:00</updated>
<author>
<name>monsta</name>
<email>monsta@inbox.ru</email>
</author>
<published>2015-10-30T11:28:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=9faeac13b46d7863582791604d6b02d862ab86b8'/>
<id>9faeac13b46d7863582791604d6b02d862ab86b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>release 1.11.0</title>
<updated>2015-10-14T16:47:54+00:00</updated>
<author>
<name>raveit65</name>
<email>chat-to-me@raveit.de</email>
</author>
<published>2015-10-14T16:47:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/atril/commit/?id=2dac32fd6012ef634f2a37f370e2be48ac2444cf'/>
<id>2dac32fd6012ef634f2a37f370e2be48ac2444cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
