soffice.bin crashed with SIGSEGV in com::sun::star::uno:WeakReferenceHelper:get()

Asked by stella363

Calc crashes with the stating "soffice.bin crashed with SIGSEGV in com::sun::star::uno:WeakReferenceHelper:get()"

XsessionErrors also - amongst others, lists the following:

(compiz:1856): GConf-CRITICAL **:gconf_client_add_dir: assertion 'gconf_valid_key (dirname, NULL)' failed
(gnome-contorl-center:2438): background-cc-panel-WARNING **: Could not load /usr/share/themes/Adwaita/index.theme: Datei oder Verzeichnis nicht gefunden
(soffice:2318): GLib-GObject-CRITICAL ++:g_object_ref: assertion 'G_IS_OBJECT (object)' failed

The error seems to occur when using the Calc Data Pilot, i.e. more specifically when changing the layout of pivot tables, and there possibly when quickly changing selections and emptying fields. I appear to be able to avoid the error by not making a field completely empty of selections, though I am not sure if this entirely works.

The error with reference to compiz above occurs when using Unity 3D. The crash, however, also occurs when using Unity 2D.

(Unrelated to the use of LibreOffice) in Unity 3D I get errors for compiz: compiz crashed with SIGSEGV in g_main_context_dispatch()
And in 2D I get: unity-panel-service crashed with SIGSEGV in g_main_context_dispatch()

I am therefore not sure if this is LibreOffice related.

I have tried to reset Unity, which, however, has not changed the initial problem. (For terminal output see http://forum.ubuntuusers.de/topic/fehlermeldung-unity-compiz-nach-unity-zuruecks/)

I would be interested in not getting crashes of LibreOffice (as well as compiz or unity panel service) again.

I'm using Ubuntu 12.04.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Have you tried the Unity2D session which is selectable on the login page?

What is the output of :

lsb_release -a; uname -a; apt-cache policy libreoffice

Thanks

Revision history for this message
stella363 (stella363) said :
#2

Thanks! Yes, I've tried Unity2D (I'm on this right now), and there LibreOffice also crashes. And there I get the internal errors "unity-panel-service crashed with SIGSEGV in g_main_context_dispatch()" as stated above.

lsb_release -a; uname -a; apt-cache policy libreoffice
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
Linux userxy 3.11.0-17-generic #31~precise1-Ubuntu SMP Tue Feb 4 21:25:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
libreoffice:
  Installiert: (keine)
  Kandidat: 1:3.5.7-0ubuntu5
  Versionstabelle:
     1:3.5.7-0ubuntu5 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
     1:3.5.4-0ubuntu1.1 0
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
     1:3.5.2-2ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You could try renaming the configuration folder of libreoffice which is inside ~/.config

May help

Revision history for this message
stella363 (stella363) said :
#4

Okay, I simply renamed the folder libreoffice into libreofficea.
Will see if this makes it stable and report back. (What exactly does this do?)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

When you run commands and there is no config folder for your user, the application will make a default one with default settings. By renaming the folder you force the application to regenerate the default configuration.

Revision history for this message
stella363 (stella363) said :
#6

I'm afraid it just crashed again, though I did not get an error message. Is there anything else I might try?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get dist-upgrade

Then retry.

Revision history for this message
stella363 (stella363) said :
#8

Right, so that means to reinstall LibreOffice - that is, you're assuming there's no problem with compiz or unity?
It's just that I appeared to have some errors when initially trying to reset unity this morning (see some of the terminal output before), and I'm not sure what that means - (do I get these messages simply because I don't have CCSM installed and have not changed any settings in compiz)? I'm just trying to understand this :-) But I'm happy to reinstall LibreOffice and see if that works.

----
unity --reset
WARNING: Unity currently default profile, so switching to metacity while resetting the values
Checking if settings need to be migrated ...no
Checking if internal files need to be migrated ...yes
[LOG]: Moving Internal Files
[LOG]: Copying subdirectory from /home/userxy/.compiz/session to /home/userxy/.compiz-1/session
[LOG]: Copied file /home/userxy/.compiz/session/104b2e959b1d3a982b139298650271653800000018090034 to /home/userxy/.compiz-1/session/104b2e959b1d3a982b139298650271653800000018090034
[LOG]: Successfully moved internal files
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1e00004

compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1400002

compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1600002

Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing vpswitch options...done
Initializing snap options...done
Initializing mousepoll options...done
Initializing resize options...done
Initializing place options...done
Initializing move options...done
Initializing wall options...done
Initializing grid options...done
Initializing session options...done
Initializing gnomecompat options...done
Initializing animation options...done
Initializing fade options...done
Initializing unitymtgrabhandles options...done
Initializing workarounds options...done
Initializing scale options...done
compiz (expo) - Warn: failed to bind image to texture
Initializing expo options...done
Initializing ezoom options...done

(compiz:5357): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed
error subscribing to gestures
Initializing unityshell options...done
compiz (core) - Warn: unhandled ConfigureNotify on 0xe00090!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
compiz (core) - Warn: unhandled ConfigureNotify on 0xe00093!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
compiz (core) - Warn: unhandled ConfigureNotify on 0xe00096!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
Starting gtk-window-decorator
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 2
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 3
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 4
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 5
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 6
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 7
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 8
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 9
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 10
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 11
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 12
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 13
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 14
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 15
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 16
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 17
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 18
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 19
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 20
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 21
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 22
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 23
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 24
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 25
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 26
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 27
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 28
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 29
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 30
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 31
ERROR 2014-02-22 09:53:32 unity.glib <unknown>:0 g_hash_table_lookup: assertion `hash_table != NULL' failed
WARN 2014-02-22 09:53:32 unity <unknown>:0 No listener with the specified ID: 32
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
Initializing staticswitcher options...done
WARN 2014-02-22 09:53:32 unity.libindicator <unknown>:0 Desktop file '/usr/share/applications/libreoffice-writer.desktop' is using a deprecated format for its actions that will be dropped soon.
WARN 2014-02-22 09:53:32 unity.libindicator <unknown>:0 Desktop file '/usr/share/applications/libreoffice-calc.desktop' is using a deprecated format for its actions that will be dropped soon.
WARN 2014-02-22 09:53:32 unity.libindicator <unknown>:0 Desktop file '/usr/share/applications/libreoffice-impress.desktop' is using a deprecated format for its actions that will be dropped soon.
ERROR 2014-02-22 09:53:33 unity.glib-gobject <unknown>:0 g_object_unref: assertion `G_IS_OBJECT (object)' failed
Setting Update "main_menu_key"
Setting Update "run_key"
WARN 2014-02-22 09:54:34 unity <unknown>:0 Unable to fetch children: Keine derartige Schnittstelle »org.ayatana.bamf.view« des Objekts im Pfad /org/ayatana/bamf/application2095958995

WARN 2014-02-22 09:54:34 unity <unknown>:0 Unable to fetch children: Keine derartige Schnittstelle »org.ayatana.bamf.view« des Objekts im Pfad /org/ayatana/bamf/application2095958995

WARN 2014-02-22 09:54:35 unity <unknown>:0 Failed to fetch path: Keine derartige Schnittstelle »org.ayatana.bamf.application« des Objekts im Pfad /org/ayatana/bamf/application0x1382d30
WARN 2014-02-22 09:54:35 unity <unknown>:0 Unable to fetch children: Keine derartige Schnittstelle »org.ayatana.bamf.view« des Objekts im Pfad /org/ayatana/bamf/application0x1382d30

ERROR 2014-02-22 09:54:36 unity.glib-gobject <unknown>:0 g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
ERROR 2014-02-22 09:54:36 unity.glib-gobject <unknown>:0 g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
WARN 2014-02-22 09:54:52 unity <unknown>:0 Unable to fetch children: Keine derartige Schnittstelle »org.ayatana.bamf.view« des Objekts im Pfad /org/ayatana/bamf/application746707297

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#9

If it does the same in 2D then i dont believe so. The PPA installs a later version of Libreoffice which may resolve the issue.

Revision history for this message
stella363 (stella363) said :
#10

I've installed the PPA and LibreOffice hasn't crashed since.

Calc tends to occasionally briefly hang after inserting charts etc, but so far the dimmed screen has always come back without a crash. I've increased the graphics cache under OPTIONS, disabled hardware acceleration, but that doesn't appear to have affected or sped up these instances.
Opening files does some strange things in the starter, i.e. adding new symbols to the starter, not display opened files there or only displaying them as plain text documents. I can circumvent this by first opening a new file by clicking on the symbol in the starter and then opening my file - haven't had time to look around if this is a known problem yet.
(I still get the occasional compiz/unity error message but they now seem to occur LibreOffice-unrelated.)

So since LibreOffice hasn't crashed so far, I'll mark this as solved for now.

Thanks for your help!

Revision history for this message
stella363 (stella363) said :
#11

Thanks actionparsnip, that solved my question.