OpenOffice.org crashes while updating fonts: soffice.bin crashed with SIGSEGV in FcConfigSubstituteWithPat()

Bug #254359 reported by mattismyname
100
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenOffice
Invalid
Unknown
openoffice.org (Ubuntu)
Triaged
High
Chris Cheney

Bug Description

Binary package hint: openoffice.org

Was not doing anything in OOo at the time of the crash.
I was running Synaptic package manager to update the system at the time

ProblemType: Crash
Architecture: i386
Date: Sat Aug 2 23:43:29 2008
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/lib/openoffice/program/soffice.bin
NonfreeKernelModules: nvidia
Package: openoffice.org-core 1:2.4.1-6ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/lib/openoffice/program/soffice.bin -writer -splash-pipe=5
ProcEnviron:
 PATH=/usr/lib/openoffice/program:/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: openoffice.org
StacktraceTop:
 FcConfigSubstituteWithPat ()
 FcConfigSubstitute () from /usr/lib/libfontconfig.so.1
 psp::PrintFontManager::matchFont ()
 ?? ()
 ?? ()
Title: soffice.bin crashed with SIGSEGV in FcConfigSubstituteWithPat()
Uname: Linux 2.6.26-5-generic i686
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare

Tags: apport-crash
Revision history for this message
mattismyname (mattismyname) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:IA__FcConfigSubstituteWithPat (config=0x90ef100,
IA__FcConfigSubstitute (config=0x90ef100, p=0x9df1838,
psp::PrintFontManager::matchFont ()
GtkSalGraphics::updateSettings ()
GtkSalFrame::UpdateSettings ()

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in openoffice.org:
importance: Undecided → Medium
Revision history for this message
shemgp (shemgp) wrote : Re: soffice.bin crashed with SIGSEGV in FcConfigSubstituteWithPat()

I encountered this crash when installing ttf packages from the repository while openoffice writer was running. Another instance was when i manually copied a .TTF file to /usr/share/fonts/truetype/ folder.

Although, please do take note that I just assumed that these is the same bug as the title of the crash in apport-gtk was the same.

description: updated
Revision history for this message
Olivier Cortès (olive) wrote :

Hi,
up-to-date Intrepid here.
encountered a crash named the same by apport.

I was using Impress on a 50+ pages presentation, few minutes ago.
I updated the system and fontconfig (2.6.0-1ubuntu4) intrepid; urgency=low was in the upgrade.
during the upgrade process, OOImpress crashed, and said that the document was backed up.
When I restarted OOo, it tryed to restore the document, acheived it, but when the Impress window appeared, it crashed again.
On next launch, it asked me to recover the first file, and a second, identically named. I clicked recover, 2 Impress windows lauched, became immediately unresponsible, and OO crashed.
then apport showed up. I don't know which crash it was about…

If I mannualy open the file I found in ~/.openoffice.org2/user/backup/ (after having moved it to my home dir), i recover the last version of the document I was working on, before the first crash, and OOo don't crash any more.

Sorry for the bad english, i'm late this morning, no more time for bug hunting…

Revision history for this message
Wouter de Groot (donteatcheese) wrote :

Similar experience today.
I ran "sudo apt-get install openjdk-6-jre" and during installation Writer crashed. Unfortunately, I do not remember during which package exactly the crash occured, but in one of the dependencies.
I'm running intrepid, latest packages at the time of this post.

Revision history for this message
Dale (me-dale-emmons) wrote :

I was installing xpdf and PDFedit via Add/Remove programs when it crashed.

Revision history for this message
Michael Rooney (mrooney) wrote :

Okay, Confirming. I had this happen in Intrepid, also while installing updates. OO Writer was in the background but I wasn't actively using it at the time.

Changed in openoffice.org:
status: New → Confirmed
Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

I had this happen just now. Dropped a font into my ~/.fonts folder and Writer crashed.

Revision history for this message
Adam Petaccia (mighmos) wrote :

I also was installing updates today when this occured.

Revision history for this message
Chris Cheney (ccheney) wrote : Re: OpenOffice.org crashes while updating system libraries: soffice.bin crashed with SIGSEGV in FcConfigSubstituteWithPat()

Not sure what really can be done about this other than don't update your system while it is open. A similar thing happens when updating while running Firefox and probably other applications as well.

Changed in openoffice.org:
importance: Medium → Wishlist
status: Confirmed → Won't Fix
Revision history for this message
Michael Rooney (mrooney) wrote : Re: [Bug 254359] Re: OpenOffice.org crashes while updating system libraries: soffice.bin crashed with SIGSEGV in FcConfigSubstituteWithPat()

Chris, are you sure this is the message we want to send? If OO.org
itself was being updated I can understanding not supporting that. But
it wasn't OO updates. Do we really want to take on the annoying (IMO)
advice of "Close out all applications before starting this update"? I
feel that supporting updates while going about other business is a
reasonable thing to attempt to do. Do you disagree?

Revision history for this message
Gabriel Bauman (gabrielbauman) wrote : Re: OpenOffice.org crashes while updating system libraries: soffice.bin crashed with SIGSEGV in FcConfigSubstituteWithPat()

This crash occurs repeatably whenever you add a font, system-wide or in the user's ~/.fonts folder. It does not necessarily have anything to do with updates of OpenOffice itself.

Users are seeing this crash during updates *of non-openoffice packages* when the package being installed registers fonts.

If an application segfaults when it notices a new font, that's a bug that needs to be fixed. Period.

Revision history for this message
Chris Cheney (ccheney) wrote :

Gabriel,

Thanks for the narrowed down information. Yes that almost certainly shouldn't be happening. Just adding a font should not cause a crash. Libraries, and other things updating could potentially cause problems depending on how they are used, but fonts definitely should not cause a crash.

I will look into this issue further.

Thanks,

Chris

Changed in openoffice.org:
status: Won't Fix → Confirmed
Revision history for this message
Chris Cheney (ccheney) wrote :

Confirmed with openoffice.org 1:2.4.1-11ubuntu2. Still need to test against official Sun OpenOffice.org 2.4.1.

Changed in openoffice.org:
importance: Wishlist → High
status: Confirmed → Triaged
Revision history for this message
Pietrangelo Masala (pietrangelo-masala) wrote :

OpenOffice crashed when installing some microsoft fonts. I was editing a file and i needed to install "times new roman" as a font, after this OpenOffice crashed.

Revision history for this message
BernyMadriz (bernyamm) wrote :

OpenOffice crashed when opening a document .doc with a lot of pictures and links

Revision history for this message
Chris Cheney (ccheney) wrote :

BernyMadriz,

That is a different bug please file a new bug via OpenOffice.org Help->Report a bug and include the document that caused it to crash.

Chris

Chris Cheney (ccheney)
Changed in openoffice.org:
assignee: nobody → ccheney
milestone: none → intrepid-updates
Changed in openoffice:
status: Unknown → Confirmed
Changed in openoffice:
status: Confirmed → Invalid
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.