Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 162395 - OOo writer crash with Word document
Summary: OOo writer crash with Word document
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-07-04 02:27 UTC by Horst H. von Brand
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-07-11 22:13:04 UTC

Attachments (Terms of Use)
Word file that crashes oowriter here (deleted)
2005-07-04 02:27 UTC, Horst H. von Brand
no flags Details

Description Horst H. von Brand 2005-07-04 02:27:21 UTC
Description of problem:
Opening oowriter gives a crash report.

Version-Release number of selected component (if applicable):

How reproducible:
Don't know.

Steps to Reproduce:
1. Open attached file.
Actual results:
0x160b0a: /usr/lib/openoffice.org2.0/program/ + 0x1db0a
0x161358: /usr/lib/openoffice.org2.0/program/ + 0x1e358
0xae9420:  + 0x420 (__kernel_sigreturn + 0x0)
0x496c08de: /lib/ + 0x98de
0x496c4908: /lib/ + 0xd908
0x496c9fb0: /lib/ + 0x12fb0
0x4a97a916: /usr/lib/ + 0x15916 (cupsDoFileRequest + 0x336)
0x4a96a4e2: /usr/lib/ + 0x54e2
0x4a96ad28: /usr/lib/ + 0x5d28 (cupsGetDests2 + 0x54)
0x4a96b018: /usr/lib/ + 0x6018 (cupsGetDests + 0x48)
0x2036188: /usr/lib/openoffice.org2.0/program/ + 0x51188
0x2034043: /usr/lib/openoffice.org2.0/program/ + 0x4f043
(psp::CUPSManager::runDests() + 0x21)
0x2034099: /usr/lib/openoffice.org2.0/program/ + 0x4f099
(psp::CUPSManager::runDestThread(void*) + 0x17)
0x15a2ad: /usr/lib/openoffice.org2.0/program/ + 0x172ad
0x4992eb80: /lib/ + 0x5b80
0x4979fd4e: /lib/ + 0xcad4e (__clone + 0x5e)

Expected results:
Not this, for sure ;-)

Additional info:

Comment 1 Horst H. von Brand 2005-07-04 02:27:22 UTC
Created attachment 116317 [details]
Word file that crashes oowriter here

Comment 2 Caolan McNamara 2005-07-04 07:38:24 UTC
It doesn't crash for me when loaded, but that stack trace contains reference to
cups, so it may happen with a specific printer driver, or cups configuration.
What printer configuration do you have ?

Comment 3 Tim Waugh 2005-07-04 08:05:07 UTC
I don't understand that stack trace format -- when were the top two lines
involved in the stack, and what signal caused the crash?

Coalan: is there any way to get a proper core file from OOo, or at least to get
it to crash under gdb with debuginfo packages installed?

Comment 4 Caolan McNamara 2005-07-04 08:21:53 UTC
yeah, install the massive debuginfo packages and 

gdb /usr/lib/
(gdb) run -writer

The top two few lines are just the stack trace of the stack dumper itself where
it calls backtrace of /usr/include/execinfo.h

Comment 5 Tim Waugh 2005-07-04 08:42:03 UTC

1. Please install the cups-debuginfo package with the same version and release
as the cups package you have installed (which is that btw?).

2. Then run 'gdb --args /usr/lib/ -writer' and
enter 'run' at the (gdb) prompt.  Then, when it crashes, enter 'bt' to get the
stack trace.

3. Also useful is the output of 'lpstat -s', and some information about how you
have configured CUPS.

Comment 6 Horst H. von Brand 2005-07-04 18:48:47 UTC
1. cups-1.1.23-16
2. gdb --args /usr/lib/openoffice.org2.0/program/soffice.bin -writer Estado\
del\ arte.doc # (I assume the offending file has to be there too...)

This now works fine. I don't know what could do this... at home (where this
happened), I don't have access to the networked printer here. And I hadn't the
Epson printer either. Funny thing is that I had opened another .doc (no trouble
there), and opened this one immediately after closing oowriter with the other
one. I did never get any trouble with OOo before (but then, rawhide has updated
everything there a few times; and I'm no fan of WYSIWYG word processing, so...)

3. lpstat -s
system default destination: printer
device for epson: usb:/dev/usb/lp0
device for printer: ipp://

What exactly about the CUPS mess?

Comment 7 Tim Waugh 2005-07-05 09:14:58 UTC
Can you try 'ulimit -c unlimited' and running:

/usr/lib/openoffice.org2.0/program/soffice.bin -writer

then opening the file?  Do you get a core dump then?  Without a proper stack
trace this will not be very easy at all to debug.

Comment 8 Horst H. von Brand 2005-07-11 21:26:07 UTC
I tried several times, and could not reproduce the crash. Sorry.

Note You need to log in before you can comment on or make changes to this bug.