[Bug 1015018] New: Entire X crash while exporting slide as PDF in LibreOffice
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018 Bug ID: 1015018 Summary: Entire X crash while exporting slide as PDF in LibreOffice Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Critical Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: opensuse.lietuviu.kalba@gmail.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- Created attachment 705975 --> http://bugzilla.opensuse.org/attachment.cgi?id=705975&action=edit ODP slide In LibreOffice 5.2.3.3 (Build ID: 20m0(Build:3)) from default openSUSE 42.2 repo Open attached ODP file (slide), go File > Export as PDF, select „Archive PDF/A1-a“, Export. Entire X system crash, I must re-login into my desktop. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018#c1
--- Comment #1 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018#c2
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018#c3
--- Comment #3 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018#c4
Michal Srb
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018#c5
Michal Srb
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018#c6
Michal Srb
From Xlib Programming Manual: "BadAlloc: The server fails to allocate the requested resource. Note that the explicit listing of BadAlloc errors in requests only covers allocation errors at a very coarse level and is not intended to (nor can it in practice hope to) cover all cases of a server running out of allocation space in the middle of service. The semantics when a server runs out of allocation space are left unspecified, but a server may generate a BadAlloc error on any request for this reason, and clients should be prepared to receive such errors and handle or discard them."
https://tronche.com/gui/x/xlib/event-handling/protocol-errors/default-handle... The acceleration code is pretty complex and there is currently no way to report the information about allocation error back to the client. Doing so would require big rewrite that would touch all accelerations backends in X server. So quitting the X server with FatalError seems to be the best option in this case. I am still going to investigate if there is any potential for security error when the allocation succeeds (because the backtrace in comment 1 looks different from mine). I have observed this issue only in KDE 5. In Gnome or when running without any window manager nothing attempts to copy such huge image and so X server does not crash. However LibreOffice crashes every time. I will create separate bug for LibreOffice maintainers to work on it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018#c7
--- Comment #7 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018#c8
--- Comment #8 from Mindaugas Baranauskas
http://bugzilla.opensuse.org/show_bug.cgi?id=1015018
ede rag
participants (1)
-
bugzilla_noreply@novell.com