*** glibc detected *** double free or corruption (fasttop): 0x082a9ec8 ***

Bug #24342 reported by David Sterratt
8
Affects Status Importance Assigned to Milestone
openoffice.org2-amd64 (Ubuntu)
Fix Released
Medium
Matthias Klose

Bug Description

I start up ooffice2 (or ooffice) with the attached document. It appears to load,
but then does not display, and openoffice hangs. I get the following error message:

~$ ooffice2 ~/text/teaching/mscns-dtc/passive-buggy-minimal.sxi
*** glibc detected *** double free or corruption (fasttop): 0x082a9ec8 ***

It looks like it might be related to this openoffice bug, which only seems to be
a problem on Debian or Ubuntu:
http://www.openoffice.org/issues/show_bug.cgi?id=53922

Revision history for this message
David Sterratt (david-c-sterratt) wrote :

Created an attachment (id=4712)
.sxi file that causes ooffice2 to crash

Revision history for this message
David Sterratt (david-c-sterratt) wrote :

Should have said: this file seems to cause no problems on Fedora Core 3 with
openoffice 1.1.3.

Revision history for this message
Radovan Semancik (gildir) wrote :

I'm encountering the same problem with the file that worked fine in Hoary (OOo
v1.1.5). After upgrade to Breezy the OOo 2 beta hangs with the "double free or
corruption (fasttop)". The same for OOo 1.1.5 in Breezy.

I've diagnosed the problem a bit and it looks like the problem is slide preview.
The OOo 1.1.5 works fine until a slide preview is displayed somewhere. As the
OOo 2 display a slide preview by default, it hangs right after startup.

Revision history for this message
Scott Thatcher (thatcher) wrote :

This problem appears to be more general. I'm having OpenOffice 2.0 crash in
breezy whenever I load a document with a windows metafile graphic. The document
loads fine, but crashes as soon as it gets to the point where it should be
displaying the graphic. Not all wmf graphics crash OpenOffice, but at least one
does.

Revision history for this message
Scott Thatcher (thatcher) wrote :

I'll add one more piece of information: I recently uninstalled all the Ubuntu
OpenOffice2 packages and installed the "official" rpm packages using alien. The
file and graphic that caused the Ubuntu OpenOffice2 to crash _do not_ cause a
crash when opened with the official OpenOffice2 packages running on Ubuntu. I'm
not sure what this means, but I thought I'd report it.

Revision history for this message
Joachim Geiler (joachim-geiler) wrote :

I had the same problems with OOo1.1.5, OOo2 ubuntu and the official OOo2.

The problem seems to be in glibc2:
If You set the environment variable MALLOC_CHECK_ to any value of 0, 1 or 2, the
error disappears. According man (3) malloc I think, with MALLOC_CHECK_ set to 2 a
double free() should be detected.

My workaround for now is to set this variable in the /usr/bin/openoffice scripts.

Revision history for this message
Scott Thatcher (thatcher) wrote :

(In reply to comment #5)
> I'll add one more piece of information: I recently uninstalled all the Ubuntu
> OpenOffice2 packages and installed the "official" rpm packages using alien.
The
> file and graphic that caused the Ubuntu OpenOffice2 to crash _do not_ cause a
> crash when opened with the official OpenOffice2 packages running on Ubuntu.
I'm
> not sure what this means, but I thought I'd report it.

Although I could swear that everything worked fine after I installed the
official rpm's, when I went back to test today, the official distribution
seemed to show the same bug as the ubuntu package. Sorry about the noise.

Scott Thatcher

Revision history for this message
Matthias Klose (doko) wrote :

crash not reproducible with 2.0.2 anymore, as found in dapper

Changed in openoffice.org2-amd64:
status: Unconfirmed → Fix Released
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.