soffice.bin crashed with SIGSEGV in UpdateNativeMenu()

Bug #1048156 reported by Pit(er) Ralon
124
This bug affects 16 people
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

- background firefox was running
- opend the dash
- clicked for preview on the libreoffice impress icon
- then clicked on launch
- libreoffice started well
- then launched a master layout and select a diagramm to put in ... crash happens

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: libreoffice-core 1:3.6.1~rc2-1ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-14.15-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Sun Sep 9 10:14:59 2012
ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcCmdline: /usr/lib/libreoffice/program/soffice.bin --impress --splash-pipe=6
Signal: 11
SourcePackage: libreoffice
StacktraceTop:
 UpdateNativeMenu (pMenu=0x555e8b0, pMenu@entry=<error reading variable: value has been optimised out>) at /build/buildd/libreoffice-3.6.1~rc2/vcl/unx/gtk/window/gtksalmenu.cxx:103
 GenerateMenu (user_data=<error reading variable: value has been optimised out>) at /build/buildd/libreoffice-3.6.1~rc2/vcl/unx/gtk/window/gtksalmenu.cxx:131
 g_timeout_dispatch (source=source@entry=0x3982150, callback=<optimised out>, user_data=<optimised out>) at /build/buildd/glib2.0-2.33.12/./glib/gmain.c:4026
 g_main_dispatch (context=0x24e2c60) at /build/buildd/glib2.0-2.33.12/./glib/gmain.c:2715
 g_main_context_dispatch (context=context@entry=0x24e2c60) at /build/buildd/glib2.0-2.33.12/./glib/gmain.c:3219
Title: soffice.bin crashed with SIGSEGV in UpdateNativeMenu()
UpgradeStatus: Upgraded to quantal on 2012-09-07 (1 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
XsessionErrors: gnome-session[2086]: WARNING: Could not launch application 'evolution-alarm-notify.desktop': Unable to start application: Kindprozess »/usr/lib/evolution/3.2/evolution-alarm-notify« konnte nicht ausgeführt werden (Datei oder Verzeichnis nicht gefunden)

Revision history for this message
Pit(er) Ralon (pitralon) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 UpdateNativeMenu (pMenu=0x555e8b0, pMenu@entry=<error reading variable: value has been optimized out>) at /build/buildd/libreoffice-3.6.1~rc2/vcl/unx/gtk/window/gtksalmenu.cxx:103
 GenerateMenu (user_data=<error reading variable: value has been optimized out>) at /build/buildd/libreoffice-3.6.1~rc2/vcl/unx/gtk/window/gtksalmenu.cxx:131
 g_timeout_dispatch (source=source@entry=0x3982150, callback=<optimized out>, user_data=<optimized out>) at /build/buildd/glib2.0-2.33.12/./glib/gmain.c:4026
 g_main_dispatch (context=0x24e2c60) at /build/buildd/glib2.0-2.33.12/./glib/gmain.c:2715
 g_main_context_dispatch (context=context@entry=0x24e2c60) at /build/buildd/glib2.0-2.33.12/./glib/gmain.c:3219

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Nicolas Guichard (cocolas-nicolas) wrote :

It seems to happen when quitting any OLE object editing… Formula, diagramm…

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libreoffice (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas Perl (thp) wrote :
Download full text (5.2 KiB)

Steps to reproduce:

 1. Start LibreOffice Calc
 2. Click the Chart icon in the toolbar
 3. Click Cancel

Backtrace with "libreoffice-dbg" installed, obtained via:

 1. Do step 1. of "Steps to reproduce"
 2. sudo gdb -p $(pgrep soffice.bin)
 3. "c" on the (gdb) prompt
 4. Do step 2. and 3. of "Steps to reproduce"

(gdb) bt
#0 0x0aabfdd0 in ?? ()
#1 0xb36a4c06 in GenerateMenu (user_data=0xab06178)
    at /build/buildd/libreoffice-3.6.1~rc2/vcl/unx/gtk/window/gtksalmenu.cxx:134
#2 0xb56cb75f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3 0xb56caa83 in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#4 0xb56cae20 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5 0xb56caf01 in g_main_context_iteration ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#6 0xb368d320 in GtkData::Yield (this=0x9795a50, bWait=true,
    bHandleAllCurrentEvents=false)
    at /build/buildd/libreoffice-3.6.1~rc2/vcl/unx/gtk/app/gtkdata.cxx:583
#7 0xb368d7e7 in GtkInstance::Yield (this=0x9795a20, bWait=true,
    bHandleAllCurrentEvents=false)
    at /build/buildd/libreoffice-3.6.1~rc2/vcl/unx/gtk/app/gtkinst.cxx:568
#8 0xb6381102 in ImplYield (i_bWait=true, i_bAllEvents=false)
    at /build/buildd/libreoffice-3.6.1~rc2/vcl/source/app/svapp.cxx:451
#9 0xb637ee76 in Application::Yield (i_bAllEvents=false)
    at /build/buildd/libreoffice-3.6.1~rc2/vcl/source/app/svapp.cxx:485
#10 0xb637eea7 in Application::Execute ()
    at /build/buildd/libreoffice-3.6.1~rc2/vcl/source/app/svapp.cxx:430
#11 0xb7676c3e in desktop::Desktop::Main (this=0xbf8b4b1c)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/libreoffice-3.6.1~rc2/desktop/source/app/app.cxx:1683
#12 0xb6385243 in ImplSVMain ()
    at /build/buildd/libreoffice-3.6.1~rc2/vcl/source/app/svmain.cxx:183
#13 0xb6385365 in SVMain ()
    at /build/buildd/libreoffice-3.6.1~rc2/vcl/source/app/svmain.cxx:220
#14 0xb76917d7 in soffice_main ()
    at /build/buildd/libreoffice-3.6.1~rc2/desktop/source/app/sofficemain.cxx:85
#15 0x0804857c in sal_main ()
    at /build/buildd/libreoffice-3.6.1~rc2/desktop/source/app/main.c:34
#16 main (argc=3, argv=0xbf8b4c44)
    at /build/buildd/libreoffice-3.6.1~rc2/desktop/source/app/main.c:33

~% dpkg -l | grep libreoffice
ii libreoffice-base-core 1:3.6.1~rc2-1ubuntu5 i386 office productivity suite -- shared library
ii libreoffice-calc 1:3.6.1~rc2-1ubuntu5 i386 office productivity suite -- spreadsheet
ii libreoffice-common 1:3.6.1~rc2-1ubuntu5 all office productivity suite -- arch-independent files
ii libreoffice-core 1:3.6.1~rc2-1ubuntu5 i386 office productivity suite -- arch-dependent files
ii libreoffice-dbg 1:3.6.1~rc2-1ubuntu5 i386 office productivity suite -- debug symbols
ii libreoffice-draw 1:3.6.1~rc2-1ubuntu5 i386 office productivity sui...

Read more...

Revision history for this message
Thomas Perl (thp) wrote :

On Unity, it also crashes, but I get the following error:

** (soffice:25543): CRITICAL **: void g_lo_menu_remove(GLOMenu*, gint): assertion `0 <= position && position < (gint) menu->items->len' failed

The difference in behaviour could be because Unity and Gnome Shell differ in terms of how the menus are displayed.

Revision history for this message
Daniel O'Connor (daniel-oconnor) wrote :

Bug #1042187 has a different signature, but the symptoms sound quite similar. Bug #1042070 is similar as well, talking about both menus and charts.

Revision history for this message
theghost (theghost) wrote :

Come on, what's so hard to fix this ? Just bring a new stable upstream version for LibreOffice. At the moment it is unuseable, everytime a try to edit a diagram it crashes. We have January and this bug isn't fixed since October. How can you expect to use this (Ubuntu) in a production environment ?

Revision history for this message
theghost (theghost) wrote :

All who still suffering from this crasher, just use the LibreOffice PPA: https://launchpad.net/~libreoffice/+archive/ppa
It's fixed there.

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

Fix released with LibreOffice 4 to raring.

Changed in libreoffice (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
theghost (theghost) wrote :

What about Quantal ? When is LibreOffice4 backported to it ? Or is it supposed to stay broken till april 2014 (support time of 12.10/Quantal) ?

Revision history for this message
penalvch (penalvch) wrote :

TheGhost, this is a significant bug in Ubuntu. If you need a fix for the bug in previous versions of Ubuntu, please do steps 1 and 2 of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Revision history for this message
theghost (theghost) wrote :

This is fixed in the current development version of Ubuntu as it uses LibreOffice4.

For Quantal I don't need no attention anymore, because I use Raring now and there it works.
If it is not fixed in Quantal the developers / Ubuntu / Canonical gambles away their own reputation. It's sad for Quantal users but I guess that's the price for Ubuntu's strange release model...

Revision history for this message
mauriicio (mauriicio) wrote : Re: [Bug 1048156] Re: soffice.bin crashed with SIGSEGV in UpdateNativeMenu()

here i am using lubuntu raring.
no more problems.

2013/5/28 TheGhost <email address hidden>

> This is fixed in the current development version of Ubuntu as it uses
> LibreOffice4.
>
> For Quantal I don't need no attention anymore, because I use Raring now
> and there it works.
> If it is not fixed in Quantal the developers / Ubuntu / Canonical gambles
> away their own reputation. It's sad for Quantal users but I guess that's
> the price for Ubuntu's strange release model...
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1056952).
> https://bugs.launchpad.net/bugs/1048156
>
> Title:
> soffice.bin crashed with SIGSEGV in UpdateNativeMenu()
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1048156/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.