FS#8140 - Attempting to print in OpenOffice causes crash (double free or corruption)

Attached to Project: Arch Linux
Opened by name withheld (Gullible Jones) - Thursday, 27 September 2007, 04:58 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 23 October 2007, 17:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Critical
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

If a user tries to print a document via a working printer using the current version of OpenOffice (with either File>Print or ctrl-P), OpenOffice will immediately either freeze or exit with a message about an unexpected error causing a crash.


Steps to reproduce:

1. Start OpenOffice.
2. Open a document.
3. Try to print the document. OpenOffice should crash instantly.

Additional info:

Version 2.3.0-1

Console output during crash follows:

*** glibc detected *** /opt/openoffice/program/soffice.bin: double free or corruption (out): 0x084a4d60 ***
======= Backtrace: =========
/lib/libc.so.6[0xb6b2ac06]
/lib/libc.so.6(cfree+0x89)[0xb6b2c8c9]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb64809f1]
/opt/openoffice/program/libvclplug_gtk680li.so[0xb4ed2504]
/opt/openoffice/program/libvcl680li.so(_ZN11SalGraphics22GetNativeControlRegionEmmRK6RegionmRK16ImplControlValueR16SalControlHandleRKN3rtl8OUStringERS0_SC_PK12OutputDevice+0x144)[0xb7d84074]
/opt/openoffice/program/libvcl680li.so(_ZN6Window22GetNativeControlRegionEmmRK6RegionmRK16ImplControlValueN3rtl8OUStringERS0_S8_+0x103)[0xb7e43743]
/opt/openoffice/program/libvcl680li.so(_ZN7ListBox6ResizeEv+0x173)[0xb7e8bd33]
/opt/openoffice/program/libvcl680li.so[0xb7e2b0f4]
/opt/openoffice/program/libvcl680li.so(_ZN6Window4ShowEht+0xc7)[0xb7e2c8b7]
/opt/openoffice/program/libvcl680li.so(_ZN7ListBoxC1EP6WindowRK5ResId+0xe1)[0xb7e8a5a1]
/opt/openoffice/program/libsvt680li.so(_ZN11PrintDialogC1EP6Window+0x176)[0xb7886616]
/opt/openoffice/program/libsw680li.so[0xa9c10cab]
/opt/openoffice/program/libsw680li.so[0xa9c10e5e]
/opt/openoffice/program/libsfx680li.so[0xad069360]
/opt/openoffice/program/libsfx680li.so(_ZN8SfxShell11ExecuteSlotER10SfxRequestPK12SfxInterface+0x67)[0xad0ae657]
/opt/openoffice/program/libsw680li.so(_ZN6SwView12ExecutePrintER10SfxRequest+0x6e7)[0xa9c11d97]
/opt/openoffice/program/libsw680li.so[0xa9bdf8d4]
/opt/openoffice/program/libsfx680li.so[0xad09b658]
/opt/openoffice/program/libsfx680li.so[0xad09bde8]
/opt/openoffice/program/libsfx680li.so[0xad0cc236]
/opt/openoffice/program/libsfx680li.so[0xad0cc1d9]
/opt/openoffice/program/libvcl680li.so[0xb7e3e82c]
/opt/openoffice/program/libvclplug_gen680li.so(_ZN10SalDisplay21DispatchInternalEventEv+0xbc)[0xb4a64cec]
/opt/openoffice/program/libvclplug_gtk680li.so[0xb4eb2d21]
/usr/lib/libglib-2.0.so.0[0xb6477671]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x176)[0xb6479226]
/usr/lib/libglib-2.0.so.0[0xb647c5b2]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6e)[0xb647cb6e]
/opt/openoffice/program/libvclplug_gtk680li.so[0xb4eb4fd1]
/opt/openoffice/program/libvclplug_gen680li.so(_ZN14X11SalInstance5YieldEbb+0x37)[0xb4a6c547]
/opt/openoffice/program/libvcl680li.so(_ZN11Application5YieldEb+0x59)[0xb7c40059]
/opt/openoffice/program/libvcl680li.so(_ZN11Application7ExecuteEv+0x3c)[0xb7c4017c]
/opt/openoffice/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0x1360)[0x806c350]
/opt/openoffice/program/libvcl680li.so[0xb7c45bb6]
/opt/openoffice/program/libvcl680li.so(_Z6SVMainv+0x35)[0xb7c45cb5]
/opt/openoffice/program/soffice.bin(main+0xcf)[0x805e1ef]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb6adaf90]
/opt/openoffice/program/soffice.bin(_ZN6Window15SetPosSizePixelEllllt+0x359)[0x805e0b1]
======= Memory map: ========
08048000-08099000 r-xp 00000000 08:01 66789 /opt/openoffice/program/soffice.bin
08099000-0809a000 rwxp 00050000 08:01 66789 /opt/openoffice/program/soffice.bin
0809a000-08536000 rwxp 0809a000 00:00 0 [heap]
a8100000-a8121000 rwxp a8100000 00:00 0
a8121000-a8200000 ---p a8121000 00:00 0
a824f000-a826f000 rwxp a824f000 00:00 0
a826f000-a836c000 r-xp 00000000 08:01 189266 /opt/openoffice/help/en/swriter.ht
a836c000-a838d000 rwxp a836c000 00:00 0
a838d000-a84af000 r-xp 00000000 08:01 189296 /opt/openoffice/help/en/swriter.db
a84af000-a84d0000 rwxp a84af000 00:00 0
a84d0000-a84e9000 r-xp 00000000 08:01 66934 /opt/openoffice/program/svtmisc.uno.so.1.1
a84e9000-a84eb000 rwxp 00018000 08:01 66934 /opt/openoffice/program/svtmisc.uno.so.1.1
a84eb000-a851e000 r-xp 00000000 08:01 42848 /usr/lib/libxslt.so.1.1.22
a851e000-a851f000 rwxp 00033000 08:01 42848 /usr/lib/libxslt.so.1.1.22
a851f000-a857d000 r-xp 00000000 08:01 66855 /opt/openoffice/program/libucpchelp1.so.1.1
a857d000-a857f000 rwxp 0005e000 08:01 66855 /opt/openoffice/program/libucpchelp1.so.1.1
a857f000-a8587000 r-xp 00000000 08:01 66814 /opt/openoffice/program/libmcnttype.so.1.1
a8587000-a8588000 rwxp 00007000 08:01 66814 /opt/openoffice/program/libmcnttype.so.1.1
a8588000-a85e8000 rwxs 00000000 00:08 6979604 /SYSV00000000 (deleted)
a85e8000-a880a000 rwxp a85e8000 00:00 0
a880a000-a8835000 r-xp 00000000 08:01 43339 /usr/lib/libhunspell-1.1.so.0.0.0
a8835000-a8839000 rwxp 0002a000 08:01 43339 /usr/lib/libhunspell-1.1.so.0.0.0
a884c000-a885a000 r-xp 00000000 08:01 66816 /opt/openoffice/program/libspell680li.so.1.1
a885a000-a885b000 rwxp 0000e000 08:01 66816 /opt/openoffice/program/libspell680li.so.1.1
a885b000-a8877000 r-xp 00000000 08:01 67419 /opt/openoffice/program/libsrtrs1.so.1.1
a8877000-a8878000 rwxp 0001c000 08:01 67419 /opt/openoffice/program/libsrtrs1.so.1.1
a8878000-a88ca000 rwxp a8878000 00:00 0
a88ca000-a89cd000 r-xp 00000000 08:01 42080 /usr/lib/libdb-4.5.so
a89cd000-a89d0000 rwxp 00102000 08:01 42080 /usr/lib/libdb-4.5.so
a89dd000-a89e2000 r-xp 00000000 08:01 67397 /opt/openoffice/program/ucpexpand1.uno.so.1.1
a89e2000-a89e3000 rwxp 00005000 08:01 67397 /opt/openoffice/program/ucpexpand1.uno.so.1.1
a89e3000-a89f6000 r-xp 00000000 08:01 66891 /opt/openoffice/program/libdeploymentmisc680li.so
a89f6000-a89f7000 rwxp 00013000 08:01 66891 /opt/openoffice/program/libdeploymentmisc680li.so
a89f7000-a8a74000 r-xp 00000000 08:01 67403 /opt/openoffice/program/deployment680li.uno.so.1.1
a8a74000-a8a7a000 rwxp 0007c000 08:01 67403 /opt/openoffice/program/deployment680li.uno.so.1.1
a8a7a000-a8a99000 r-xs 00000000 08:01 417819 /usr/share/fonts/Type1/cour.pfa
a8a99000-a8cc9000 rwxp a8a99000 00:00 0
a8cc9000-a8ce8000 r-xp 00000000 08:01 67217 /opt/openoffice/program/fsstorage.uno.so.1.1
a8ce8000-a8cea000 rwxp 0001e000 08:01 67217 /opt/openoffice/program/fsstorage.uno.so.1.1
a8cea000-a8cfa000 rwxp a8cea000 00:00 0
a8cfa000-a8d17000 r-xp 00000000 08:01 67437 /opt/openoffice/program/reflection.uno.so.1.1
a8d17000-a8d19000 rwxp 0001c000 08:01 67437 /opt/openoffice/program/reflection.uno.so.1.1
a8d19000-a8d38000 r-xp 00000000 08:01 66460 /opt/openoffice/program/introspection.uno.so.1.1
a8d38000-a8d39000 rwxp 0001f000 08:01 66460 /opt/openoffice/program/introspection.uno.so.1.1
a8d39000-a8e8e000 r-xp 00000000 08:01 66505 /opt/openoffice/program/libdbtools680li.so.1.1
a8e8e000-a8e97000 rwxp 00154000 08:01 66505 /opt/openoffice/program/libdbtools680li.so.1.1
a8e97000-a8e98000 rwxp a8e97000 00:00 0
a8e98000-a9114000 r-xp 00000000 08:01 66723 /opt/openoffice/program/libfrm680li.so.1.1
a9114000-a9134000 rwxp 0027b000 08:01 66723 /opt/openoffice/program/libfrm680li.so.1.

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 23 October 2007, 17:22 GMT
Reason for closing:  Duplicate
Additional comments about closing:  #8209
Comment by Andreas Radke (AndyRTR) - Friday, 28 September 2007, 19:58 GMT
works for me. just open an empty new writer file enter "foo" and try to print it. the log you were pasting shows some weird vcl output. So you are trying to open a MS *.doc document?

please try new OOo version. make sure your system is up to date (pacman -Syu) and you don't use affected packages form outside the repos.
Comment by name withheld (Gullible Jones) - Saturday, 29 September 2007, 17:33 GMT
Okay, seems to be fixed in the new version. Maybe there was corruption or file loss?
Comment by Juanma Hernandez (juanmah) - Monday, 22 October 2007, 16:07 GMT
This happens to me too, when I print, when I go to Options/Language Configuration/Language, when I check ortography, and lots more.

I use version 2.3.0-3 over a clean distribution, up-to-date, and first install of all.
Comment by Andreas Radke (AndyRTR) - Monday, 22 October 2007, 18:00 GMT
[root@workstation64 andyrtr]# pacman -Q glibc libcups openoffice-base gtk2 gtk-engines
glibc 2.6.1-2
libcups 1.3.3-1
openoffice-base 2.3.0-4
gtk2 2.12.1-1
gtk-engines 2.12.2-1

Make sure you have these recent versions installed. What gtk theme to you use? Try to change that and maybe test enother window manager(kde).

It might also be a duplicate of #8209.
Comment by Juanma Hernandez (juanmah) - Tuesday, 23 October 2007, 07:00 GMT
pacman -Q glibc libcups openoffice-base gtk2 gtk-engines
glibc 2.6.1-2
libcups 1.3.3-1
openoffice-base 2.3.0-4
gtk2 2.12.1-1
gtk-engines 2.12.2-1

theme Dogmastik

Now it runs all ok.

I think also that it is a duplicate of #8209

Loading...