LibreOffice crashing because of GTK2 theme issue

Recently my LibreOffice began crashing during saving a document.

The output on terminal said something like

(soffice:4294): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.GoaVolumeMonitor is not supported

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f3b62c2c270, pid=4294, tid=139893124328000

JRE version: OpenJDK Runtime Environment (7.0_51) (build 1.7.0_51-b00)

Java VM: OpenJDK 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [libgobject-2.0.so.0+0x33270] g_type_check_instance_cast+0x10

I reinstalled the Java packages, LibreOffice and glib2-devel-2.38.2-8.2.x86_64 (which contains file libgobject-2.0.so), but it didn’t help.

After Google search, found a solution here, Post # 2:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1241532

The solution essentially is not to use theme oxygen-gtk.

Sad. It was a good theme. Don’t know why the four things suddenly stopped working together (Java, LibreOffice, glib2-devel, the oxygen-gtk theme). I use now Adwaita theme, which is too bright. Firefox is also affected.

I will try to use oxygen-gtk again after some time.

I spent one evening on this and was lucky to find the helpful website. Somebody must say who and where caused the trouble which may lie somewhere else.

This is a known bug:
https://bugzilla.novell.com/show_bug.cgi?id=869791

It’s already fixed in the Gtk2-oxygen theme packages in KDE:Extra, so install gtk2-theme-oxygen and gtk2-engine-oxygen from there and it should not crash any more.
You should find the KDE:Extra repo in YaST->Software Repositories->Add->Community Repositories.

I installed the two new packages, and now LibreOffice is working normally. Thanks.

From the diagnostic messages, I would have never guessed that the theme is at fault. However, there is something said about liboxygen-gtk.so in the log file of JVM: /tmp/jvm-4294/hs_error.log

ZStefan wrote:

>
> Recently my LibreOffice began crashing during saving a document.
>
> The output on terminal said something like
>
>
>
> (soffice:4294): GVFS-RemoteVolumeMonitor-WARNING **: remote volume
> monitor with dbus name org.gtk.Private.GoaVolumeMonitor is not supported
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGSEGV (0xb) at pc=0x00007f3b62c2c270, pid=4294, tid=139893124328000
> #
> # JRE version: OpenJDK Runtime Environment (7.0_51) (build 1.7.0_51-b00)
> # Java VM: OpenJDK 64-Bit Server VM (24.45-b08 mixed mode linux-amd64
> compressed oops)
> # Problematic frame:
> # C [libgobject-2.0.so.0+0x33270] g_type_check_instance_cast+0x10
>
>
>
> I reinstalled the Java packages, LibreOffice and
> glib2-devel-2.38.2-8.2.x86_64 (which contains file libgobject-2.0.so),
> but it didn’t help.
>
> After Google search, found a solution here, Post # 2:
> https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1241532
>
> The solution essentially is not to use theme oxygen-gtk.
>
> Sad. It was a good theme. Don’t know why the four things suddenly
> stopped working together (Java, LibreOffice, glib2-devel, the oxygen-gtk
> theme). I use now Adwaita theme, which is too bright. Firefox is also
> affected.
>
> I will try to use oxygen-gtk again after some time.
>
> I spent one evening on this and was lucky to find the helpful website.
> Somebody must say who and where caused the trouble which may lie
> somewhere else.
>
>

Patches are now in the update repo - if you run online update the crashes
should be fixed. They did fix my similar problems with GnuCash.

No they are not yet.

The Gnucash crash which is fixed by the packages in update repo is something different.

But the fix for this LibreOffice crash has been submitted to the Maintenance process today, and should be released as online update some time next week, if all goes well.

This did not work for me. I already have gtk2-theme/engine installed and LibreOffice still crashes.

I am new to OpenSuse but an experienced Linux user. What do you think is the error? The same version of LibreOffice seems to work fine in Ubuntu (Gnome-shell).

I am getting the following error:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f72ee760270, pid=20128, tid=140131691260480

JRE version: OpenJDK Runtime Environment (7.0_51) (build 1.7.0_51-b00)

Java VM: OpenJDK 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [libgobject-2.0.so.0+0x33270] g_type_check_instance_cast+0x10

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again

An error report file with more information is saved as:

/tmp/jvm-20128/hs_error.log

If you would like to submit a bug report, please include

instructions on how to reproduce the bug and visit:

http://icedtea.classpath.org/bugzilla

[error occurred during error reporting , id 0xb]

How do I correct this error in KDE and Gnome-shell, since I am primarily a Gnome-shell user.

Thanks very much in advance.

And which ones?

rpm -q gtk2-theme-oxygen gtk2-engine-oxygen

As already mentioned, this is fixed in the packages from the KDE:Extra repo only. An update for standard 13.1 is not available yet, but should be some time next week.

How do I correct this error in KDE and Gnome-shell, since I am primarily a Gnome-shell user.

Well, you have to actually use the Gtk2-oxygen theme that installing those updated packages helps.
If not, you definitely have a different problem than this thread is about, but your crash message does look similar.

As a workaround, you could either switch to LibreOffice’s own dialogs (in Settings->General), or switch to another Gtk2 theme (but I have no idea how you would do that in GNOME).

I added the KDE:extra repository but I found that gtk2-theme-oxygen gtk2-engine-oxygen were already installed. Running your command gives me:
gtk2-theme-oxygen-1.4.4-2.4.1.x86_64
gtk2-engine-oxygen-1.4.4-2.4.1.x86_64
I tried an unconditional upgrade in yast and nothing chaged. How do I install the KDE:extra packages? Sorry for sounding dumb, but I searched for gtk2-theme/engine-oxygen in yast.

Well I am using the Gtk2-oxygen theme, but like I said am not sure if I’m using the updated packages from KDE:extra.

I also tried another theme and that didn’t work. LibreOffice’s own dialogs works for me.

Thanks again for your help.

Right, those packages DO NOT contain the fix yet.

I tried an unconditional upgrade in yast and nothing chaged. How do I install the KDE:extra packages? Sorry for sounding dumb, but I searched for gtk2-theme/engine-oxygen in yast.

Select the packages and click on “Versions” below the package list.
You can then choose which version you want.

The ones from KDE:Extra should have the version 1.4.4-11.1.

I also tried another theme and that didn’t work.

If you change the theme in GNOME, only the Gtk3 theme will be changed I suppose. But LO uses Gtk2.
No idea how you would change the Gtk2 theme in Gnome.

If you changed it in KDE’s settings (“Configure Desktop”), there are options for the Gtk2 and the Gtk3 theme. You have to change the Gtk2 theme as I said already.

Hi Wolfi,

thanks a lot for your patience. Both suggestions worked for me now in KDE!

Since today, this fix is indeed in the update repo. :wink: