Paste from writer to gaim in edgy segfaults writer

Bug #65226 reported by jbj
6
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Confirmed
Undecided
Matthias Klose

Bug Description

Binary package hint: openoffice.org

If I try to copy and paste content from an oo2 writer window into a gaim session, oowriter2 will segfault (and the paste will not occur). I can paste into, for example, a terminal, but gaim is at least one example of segfaulting oo2.

This is an up-to-the-minute updated edgy install
My gdb activity:
<do copy of text 'hello' on otherwise empty window, then when I select gaim conversation and paste:>
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1361364064 (LWP 6935)]
0xb74101dd in osl_getFileStatus ()
   from /usr/lib/openoffice/program/libuno_sal.so.3
(gdb) bt
#0 0xb74101dd in osl_getFileStatus ()
   from /usr/lib/openoffice/program/libuno_sal.so.3
#1 0xb0b0c935 in component_writeInfo ()
   from /usr/lib/openoffice/program/libucpfile1.so
#2 0xb0afb90f in component_writeInfo ()
   from /usr/lib/openoffice/program/libucpfile1.so
#3 0xb0b01ca7 in component_writeInfo ()
   from /usr/lib/openoffice/program/libucpfile1.so
#4 0xb7518955 in ucb::Content::abortCommand ()
   from /usr/lib/openoffice/program/libucbhelper3gcc3.so
#5 0xb751c385 in ucb::Content::getPropertyValuesInterface ()
   from /usr/lib/openoffice/program/libucbhelper3gcc3.so
#6 0xb751c6bd in ucb::Content::getPropertyValues ()
   from /usr/lib/openoffice/program/libucbhelper3gcc3.so
#7 0xb751ca27 in ucb::Content::getPropertyValue ()
   from /usr/lib/openoffice/program/libucbhelper3gcc3.so
#8 0xb7c49316 in FStatHelper::GetModifiedDateTimeOfFile ()
   from /usr/lib/openoffice/program/libsvl680li.so
#9 0xae57306b in SwIoSystem::GetFileFilter ()
   from /usr/lib/openoffice/program/libsw680li.so
#10 0xae5f4a0d in SwIoSystem::GetFileFilter ()
   from /usr/lib/openoffice/program/libsw680li.so
#11 0xae6494d9 in SwIoSystem::GetFileFilter ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/openoffice/program/libsw680li.so
#12 0xae5720c7 in SwIoSystem::GetFileFilter ()
   from /usr/lib/openoffice/program/libsw680li.so
#13 0xae7e7f7f in SwGlossaryHdl::ExpandGlossary ()
   from /usr/lib/openoffice/program/libsw680li.so
#14 0xb788e679 in TransferableHelper::SetObject ()
   from /usr/lib/openoffice/program/libsvt680li.so
#15 0xae7e787c in SwGlossaryHdl::ExpandGlossary ()
   from /usr/lib/openoffice/program/libsw680li.so
#16 0xb7891447 in TransferableHelper::getTransferData ()
   from /usr/lib/openoffice/program/libsvt680li.so
#17 0xaedc4b8d in ?? () from /usr/lib/openoffice/program/libdtransX11680li.so
#18 0xaedcb813 in ?? () from /usr/lib/openoffice/program/libdtransX11680li.so
#19 0xaedcccf5 in ?? () from /usr/lib/openoffice/program/libdtransX11680li.so
#20 0xaedcd9ef in ?? () from /usr/lib/openoffice/program/libdtransX11680li.so
#21 0xaedcdf3b in ?? () from /usr/lib/openoffice/program/libdtransX11680li.so
#22 0xaedcdfc0 in ?? () from /usr/lib/openoffice/program/libdtransX11680li.so
#23 0xaedce29d in ?? () from /usr/lib/openoffice/program/libdtransX11680li.so
#24 0xb74042ce in osl_resumeThread ()
   from /usr/lib/openoffice/program/libuno_sal.so.3
#25 0xb70ab504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#26 0xb6e6f51e in clone () from /lib/tls/i686/cmov/libc.so.6

Revision history for this message
jbj (jbj-ubu) wrote : Re: Paste from oo2 to gaim in edgy segfaults oo2

I can also paste into web forms in firefox and paste into gedit. If I go to compose a note in evolution, and paste text from writer into the new message, I get the same segfault with the same stack trace.

Revision history for this message
Joey Stanford (joey) wrote :

Thanks for your bug report. Could you please try to obtain a
valgrind report by following the instructions on
       http://wiki.ubuntu.com/DebuggingProgramCrash.
This will greatly aid us in tracking down your problem.

I was not able to reproduce this in Edgy.

Changed in openoffice.org:
status: Unconfirmed → Needs Info
Revision history for this message
jbj (jbj-ubu) wrote :

Valgrind log as requested

Revision history for this message
Joey Stanford (joey) wrote :

Although I can't replicate the error, I'll confirm this based on the valgrind and pass to Matthias. I've seen the same error in libvclplug_gen680li.so with another recent bug. This might be related to the other one where it appears that there is a linkage error. Matthias will need to double-check the build and recompile. At that point you (jbj) will need to retest. I'll let him make the call on the relatedness. FYI: The original gdb trace does not seem to match with the valgrind.

Changed in openoffice.org:
assignee: nobody → doko
status: Needs Info → Confirmed
Revision history for this message
jbj (jbj-ubu) wrote :

FYI, two systems I installed (my laptop, installed from scratch, and my desktop, dist-upgraded from dapper show the problem).

AFACT, the valgrind log does match up with the stack trace from gdb, this excerpt from the log appears to match based on what function names I can see and the libraries called, though valgrind doesn't seem to resolve some of the libucpfile1.so function names.

The addresses of course do not match, but these are two independent execution runs of the same bug.

==7759== Process terminating with default action of signal 11 (SIGSEGV)
==7759== Access not within mapped region at address 0xEB96EE0
==7759== at 0x4BDA1DD: osl_getFileStatus (in /usr/lib/openoffice/program/libuno_sal.so.3)
==7759== by 0xC6FD934: (within /usr/lib/openoffice/program/libucpfile1.so)
==7759== by 0xC6EC90E: (within /usr/lib/openoffice/program/libucpfile1.so)
==7759== by 0xC6F2CA6: (within /usr/lib/openoffice/program/libucpfile1.so)
==7759== by 0x4A9D954: (within /usr/lib/openoffice/program/libucbhelper3gcc3.so)
==7759== by 0x4AA1384: ucb::Content::getPropertyValuesInterface(com::sun::star::uno::Sequence<rtl::OUString> const&) (in /usr/lib/openoffice/program/libucbhelper3gcc3.so)
==7759== by 0x4AA16BC: ucb::Content::getPropertyValues(com::sun::star::uno::Sequence<rtl::OUString> const&) (in /usr/lib/openoffice/program/libucbhelper3gcc3.so)
==7759== by 0x4AA1A26: ucb::Content::getPropertyValue(rtl::OUString const&) (in /usr/lib/openoffice/program/libucbhelper3gcc3.so)
==7759== by 0x4441315: FStatHelper::GetModifiedDateTimeOfFile(String const&, Date*, Time*) (in /usr/lib/openoffice/program/libsvl680li.so)
==7759== by 0xF59E06A: (within /usr/lib/openoffice/program/libsw680li.so)
==7759== by 0xF61FA0C: (within /usr/lib/openoffice/program/libsw680li.so)
==7759== by 0xF6744D8: (within /usr/lib/openoffice/program/libsw680li.so)
--7759-- Discarding syms at 0x693E000-0x6941000 in /usr/lib/gconv/ISO8859-1.so due to munmap()
--7759-- Discarding syms at 0x694C000-0x6955000 in /lib/tls/i686/cmov/libnss_compat-2.4.so due to munmap()
--7759-- Discarding syms at 0x6955000-0x695F000 in /lib/tls/i686/cmov/libnss_nis-2.4.so due to munmap()
--7759-- Discarding syms at 0x695F000-0x696A000 in /lib/tls/i686/cmov/libnss_files-2.4.so due to munmap()

Revision history for this message
Hein-PietervanBraam (hp) wrote :

I was just going to try and post this very issue, anyway, it is not just to gaim, pasting to an application that supports formatted text crashes openoffice.org writer, pasting from OOo2 to gedit or xterm or any other non-formatted program will work, pasting to gaim or abiword will crash openoffice.org writer.

my 2 cents

Revision history for this message
Hein-PietervanBraam (hp) wrote :

I tried rebuilding OOo from the source deb's, but that doesn't solve the issue (I thought that perhaps some libs changed since building it for edgy, and some updates later)

I can also confirm that the bug does not appear when using the stock OOo binaries from openoffice.org

So, apparently, the problem is somewhere in the 70 meg diff that comes with it... nice :)

Revision history for this message
Hein-PietervanBraam (hp) wrote :

Hey! it is me again,

this also occurs on debian sid.

Revision history for this message
Hein-PietervanBraam (hp) wrote :
Revision history for this message
Daniel Serpell (daniel-serpell) wrote :

This bug is fixed in Debian sid, with OOo 2.0.4-2, it existed with 2.0.4-1.

From the changelog, notable changes are:

* ooo-build:
  - update
  - fixed system-icu.diff now also working with 3.4 again
  - src:
  - remove de GSI, old and obsolete
* debian/rules:
  - enable -gcj
  - revert to building with libstlport4.6 (closes: #392698, reopens: #364814)

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.