Since LibreOffice 6.3 release, I have experienced a random but persistent crash when activating a chart within Calc. Now I don't remember if the crash has happened also with the chart already activated, but it happens with both, Qt5 and GTK toolkits. When LibreOffice executed from console, when the crash happens, I've got the following message: $ libreoffice QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbConnection: XCB error: 3 (BadWindow), sequence: 42765, resource id: 23972462, major code: 40 (TranslateCoords), minor code: 0 QXcbClipboard::setMimeData: Cannot set X11 selection owner QXcbClipboard::setMimeData: Cannot set X11 selection owner QXcbClipboard::setMimeData: Cannot set X11 selection owner LibreOffice 6.3 - Fatal Error: getCurrentController was called on an already disposed or closed model The crash happens with any file, but I can upload one example if needed. Steps: 0) Open calc, fill it with some data 1) insert a chart, and some series 2) exit the chart and continue working 3) try activate the chart Results 4) Option 1: LibreOffice crash 5) Option 2: no crash, go to step 2) and repeat Expected No crash Additional info Versión: 6.3.1.2 Id. de compilación: 1:6.3.1~rc2-0ubuntu0.18.04.1~lo1 Subprocs. CPU: 4; SO: Linux 4.15; Repres. IU: predet.; VCL: kde5; Configuración regional: en-US (es_AR.UTF-8); Idioma de IU: es-ES Calc: threaded
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.) I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Created attachment 154006 [details] Just an example ODS file with many charts in it
I forgot to mention that, under GTK tooklit, when LibreOffice crashes a small window appears informing the same error: Fatal Error: getCurrentController was called on an already disposed or closed model. Regards, Francisco
What do you mean by "activate the chart" ? One click to select the chart or double-click to edit the chart ? When you say GTK toolkit, do you mean GTK2 (SAL_USE_VCLPLUGIN=gtk) or GTK3 (SAL_USE_VCLPLUGIN=gtk3) ? Status has been set to NEEDINFO, please set it back to UNCONFIRMED once requested information has been provided. Best regards. JBF
(In reply to Jean-Baptiste Faure from comment #4) > What do you mean by "activate the chart" ? One click to select the chart or > double-click to edit the chart ? Woof... good question. I was pretty sure it was while clicking when trying to activate it (double click). But now that you mention it, I'm not completely sure and I think it has also happened when clicking anywhere inside the chart (single click), and even after it got activated (selecting the chart area, or trying to modify series, for example). > When you say GTK toolkit, do you mean GTK2 (SAL_USE_VCLPLUGIN=gtk) or GTK3 > (SAL_USE_VCLPLUGIN=gtk3) ? Sorry, I hadn't payed attention to that. It's GTK2 becuase it's the one installed in my computer. > Status has been set to NEEDINFO, please set it back to UNCONFIRMED once > requested information has been provided. I'll continue my test and post it. Regards, Francisco
[Automated Action] NeedInfo-To-Unconfirmed
Hi Francisco, Do you think it's a duplicate of bug 127306?
(In reply to Xisco Faulí from comment #7) > Hi Francisco, > Do you think it's a duplicate of bug 127306? Not becuase of the message I got from console: $ libreoffice kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "" kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find "" terminate called after throwing an instance of 'com::sun::star::lang::DisposedException' The message "getCurrentController was called on an already disposed or closed model." is missing. I emphasize this because this "getCurrentController" thing also appeared in a popup unider GTK. Regadrs, Francisco
Created attachment 154088 [details] bug screenshot It just has happened, using GTK2. This is the popup message. Regards, Francisco
(In reply to Francisco from comment #5) > I'll continue my test and post it. Well, definitively it may happen with the chart already activated through doble click: sometimes, once the chart is activated, it chashes after the first click inside the chart (when attempting to select any part of it). And it happens with different charts, not one specific. Regards, Francisco
(In reply to Francisco from comment #10) > (In reply to Francisco from comment #5) > > > I'll continue my test and post it. > > Well, definitively it may happen with the chart already activated through > doble click: sometimes, once the chart is activated, it chashes after the > first click inside the chart (when attempting to select any part of it). And > it happens with different charts, not one specific. > Sorry, forgot to add: it happens also with charts inserted in other apps, like Impress, for example. Regards, Francisco
To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
(In reply to Xisco Faulí from comment #12) > To be certain the reported issue is not > related to corruption in the user profile, could you please reset your > Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and > re-test? > > I have set the bug's status to 'NEEDINFO'. Please change it back to > 'UNCONFIRMED' if the issue is still present Ok, I'll try to work with a clean profile. I'll be a pain, but I'll do it.
(In reply to Francisco from comment #13) > Ok, I'll try to work with a clean profile. I'll be a pain, but I'll do it. The crash just happened using a clean profile, twice. This is the console info from last execution: $ libreoffice QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard: SelectionRequest too old QXcbClipboard::setMimeData: Cannot set X11 selection owner QXcbClipboard: Cannot transfer data, no data available QXcbClipboard::setMimeData: Cannot set X11 selection owner QXcbClipboard::setMimeData: Cannot set X11 selection owner QXcbClipboard::setMimeData: Cannot set X11 selection owner LibreOffice 6.3 - Fatal Error: getCurrentController was called on an already disposed or closed model
I get the folowing error message with Version: 6.3.1.2 Build ID: b79626edf0065ac373bd1df5c28bd630b4424273 Threads CPU : 8; OS : Mac OS X 10.14.6; UI Render : par défaut; VCL: osx; Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR Calc: threaded after creating a second chart via the wizard, then deleting that second chart and attempting to click on the first chart : Fatal Error: getCurrentController was called on an already disposed or closed model and the LO crashes and goes into recovery mode. Obviously, I don't see any of the QK/KDE stuff as I'm on macOS. Confirming. Does seem similar to bug 127306 though.
Status set to NEW and OS to ALL from comment #16. Best regards. JBF
Created attachment 154385 [details] Sample file
How to reproduce it: 1. Open 'Sample file' 2. Click three times on any of the charts -> Chart dialog is prompted 3. Close the dialog a click somewhere outside the chart 4. Delete the chart 5. Click three times on the other chart -> Crash
Regression introduced by https://cgit.freedesktop.org/libreoffice/core/commit/?id=b58aa94f1f365c746135470bceb97cc182c289bc Closing as a dupe of bug 127306 *** This bug has been marked as a duplicate of bug 127306 ***
(In reply to Xisco Faulí from comment #20) > Regression introduced by > https://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=b58aa94f1f365c746135470bceb97cc182c289bc > Closing as a dupe of bug 127306 > > *** This bug has been marked as a duplicate of bug 127306 *** Xisco: Thank you very much for finding specific steps to reproduce it. I really couldn't, as it happened to me when I was working and never could be sure. Again, thank you. Regards, Francisco