Description of problem: I was running a script that regenerated some PDF files, which were open atril. I'd guess atril tried to reload them at the same time that they were being writen. Version-Release number of selected component: atril-1.12.2-2.fc23 Additional info: reporter: libreport-2.6.4 backtrace_rating: 4 cmdline: atril /home/sam/physicstmp/norma/magnets/20160505/plots/norma_da_energy.pdf crash_function: ev_web_view_disconnect_handlers executable: /usr/bin/atril global_pid: 24764 kernel: 4.4.8-300.fc23.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #0 ev_web_view_disconnect_handlers at ev-web-view.c:865 #1 ev_window_set_document at ev-window.c:1599 #2 ev_window_document_changed_cb at ev-window.c:4859 #8 g_object_notify_by_spec_internal at gobject.c:1154 #9 g_object_notify at gobject.c:1202 #10 ev_document_model_set_document at ev-document-model.c:306 #11 ev_window_reload_job_cb at ev-window.c:1833 #12 _g_closure_invoke_va at gclosure.c:864 #15 emit_finished at ev-jobs.c:193 #20 gtk_main at gtkmain.c:1268
Created attachment 1154620 [details] File: backtrace
Created attachment 1154621 [details] File: cgroup
Created attachment 1154622 [details] File: core_backtrace
Created attachment 1154623 [details] File: dso_list
Created attachment 1154624 [details] File: environ
Created attachment 1154625 [details] File: exploitable
Created attachment 1154626 [details] File: limits
Created attachment 1154627 [details] File: maps
Created attachment 1154628 [details] File: mountinfo
Created attachment 1154629 [details] File: namespaces
Created attachment 1154630 [details] File: open_fds
Created attachment 1154631 [details] File: proc_pid_status
Created attachment 1154632 [details] File: var_log_messages
Similar problem has been detected: Open the PDF (generated by xelatex), while still opening it, change the content of the tex and recompile the tex file to override the PDF, atril crashes. reporter: libreport-2.6.4 backtrace_rating: 4 cmdline: atril /home/hlx98007/Dropbox/study/s7/COMP4983/proposal/proposal.pdf crash_function: ev_web_view_disconnect_handlers executable: /usr/bin/atril global_pid: 16255 kernel: 4.4.8-300.fc23.x86_64 package: atril-1.12.2-2.fc23 reason: atril killed by SIGSEGV runlevel: N 5 type: CCpp uid: 1000
I can reproduce this every time I update a pdf file that is open in atril. For example create a pdf with python -c "from matplotlib import pyplot; pyplot.plot([1,2,1]); pyplot.savefig('foo.pdf')" open it with atril, and then run the python command again to overwrite the pdf. This is a regular part of my workflow, so I think it must be a new regression. Probably with the 1.12.2-2.fc23 update about a week ago.
Well, it seems that the bugfix update 1.12.2-2.fc23 causes another regression if you reload the document from menu entry. https://github.com/mate-desktop/atril/issues/198 But, this should not be related to this issue. Can you reproduce the issue with 1.12.2-1.fc23 ? Btw, i'm currently working on an option to disable auto-reload, see https://github.com/mate-desktop/atril/commits/dev-page-cache
Reload from the menu also crashes 1.12.2-2.fc23. If I revert to atril-1.12.2-1.fc23.x86_64 (from http://koji.fedoraproject.org/koji/buildinfo?buildID=707544 ), then I don't get the crash from either updating the PDF or reload from the menu. (Personally, I find the auto-reload very useful, so I hope i am right in thinking that it is still the default option)
Ok, thank you for confirm the regression. No worry, see https://github.com/mate-desktop/atril/commit/59fe03471aceeb90d26774284e20ad86ed3df851#diff-25a3d455dd9b30d8d484cdde11823b35R16
Please downgrade atril for the momment, we're looking for an solution.
*** Bug 1334513 has been marked as a duplicate of this bug. ***
atril-1.12.2-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-25e52112ff
atril-1.14.0-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5219642bcd
atril-1.12.2-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8f5f2f1e53
atril-1.12.2-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e2dd43cc56
atril-1.12.2-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-25e52112ff
atril-1.12.2-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8f5f2f1e53
atril-1.12.2-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e2dd43cc56
atril-1.14.0-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5219642bcd
atril-1.12.2-3.fc23 fixes the issue. Thanks.
(In reply to Sam Tygier from comment #29) > atril-1.12.2-3.fc23 fixes the issue. Thanks. confirmed fix
atril-1.12.2-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
atril-1.14.0-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
atril-1.12.2-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
atril-1.12.2-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.