Calc crashes on MRI relaunch

In Calc 7.1 and 7.2 (on Mint) MRI 1.3.4 (Selection) crashes Calc on MRI relaunch, for example, if I close out the MRI window, make another selection, then do Tools>Add-Ons>MRI (Selection) again. It’s easy enough to navigate and just leave one instance of the MRI window up, but a quick select-and-look would be handier than entering sheet and cell indices. Am I missing something obvious that causes this?

Hello,

Been getting that for some time now on Ubuntu 20.x

Sometimes get 2 or 3 executions before a crash. Usually just restart job (actually all of LO must be closed) after closing MRI window (can keep MRI window open and run another most times).

Don’t see any hope in this being fixed. It is my understanding this project has been dropped by the originator.

In the newer versions of LO (except for Base) there is a similar tool - Development Tools on Tool menu:

Screenshot at 2021-12-14 19-59-43

not up to MRI from what little I looked at.

Start with SAL_USE_VCLPLUGIN=gtk and see if it makes a difference.

SAL_USE_VCLPLUGIN=gtk /opt/libreoffice7.2/program/soffice

Yes. It is worse. Second execution of MRI puts LO in a loop:

(soffice:40679): Gtk-CRITICAL **: 10:34:30.218: gtk_widget_queue_draw_area: assertion 'GTK_IS_WIDGET (widget)' failed

(soffice:40679): GLib-GObject-WARNING **: 10:34:30.218: invalid unclassed pointer in cast to 'GtkWidget'

(soffice:40679): Gtk-CRITICAL **: 10:34:30.218: gtk_widget_queue_draw_area: assertion 'GTK_IS_WIDGET (widget)' failed

(soffice:40679): GLib-GObject-WARNING **: 10:34:30.218: invalid unclassed pointer in cast to 'GtkWidget'

(soffice:40679): Gtk-CRITICAL **: 10:34:30.218: gtk_widget_queue_draw_area: assertion 'GTK_IS_WIDGET (widget)' failed

(soffice:40679): GLib-GObject-WARNING **: 10:34:30.218: invalid unclassed pointer in cast to 'GtkWidget'

:flushed: Sorry, I mean

SAL_USE_VCLPLUGIN=gen

I always start LO with the generic VCL because I’m tired of fancy widgets in a conservative application.

1 Like

Yes, that works fine. Have used your startup of this (another post where soffice is modified I seem to recall) but personally do not like the interface. However, regardless of my preferences, it will be useful for research.

Thank You.

Solves the problem on 7.2.2.2/Mint 19.3. Thanks.

You may add this to the soffice start script:

export SAL_USE_VCLPLUGIN=gen
1 Like