Bug 557225 - wv-1.2.7-2.fc12 segfaults when run on particular MS Word doc
Summary: wv-1.2.7-2.fc12 segfaults when run on particular MS Word doc
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tracker
Version: 12
Hardware: x86_64
OS: Mac OS
low
medium
Target Milestone: ---
Assignee: Deji Akingunola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f0e099dded32132230cbb790e10...
: 553102 559148 563183 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-20 19:00 UTC by James Heather
Modified: 2010-02-23 05:21 UTC (History)
6 users (show)

Fixed In Version: tracker-0.6.96-3.fc12
Clone Of:
Environment:
Last Closed: 2010-02-23 05:21:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (63.74 KB, text/plain)
2010-01-20 19:00 UTC, James Heather
no flags Details
The Word doc that causes wvWare to segfault (389.00 KB, application/msword)
2010-02-06 19:21 UTC, James Heather
no flags Details

Description James Heather 2010-01-20 19:00:39 UTC
abrt 1.0.3 detected a crash.

Comment: Tracker called wvWare while it was indexing. I am not certain what the file was it was looking at.
Attached file: backtrace
cmdline: /usr/bin/wvWare -1 -x /usr/share/wv/wvHtml.xml -d /tmp -b wv-kEkef5 /tmp/tracker.msword_filter.yrnz6YstWq/tmpfile
component: wv
executable: /usr/bin/wvWare
kernel: 2.6.31.9-174.fc12.x86_64
package: wv-1.2.7-2.fc12
rating: 4
reason: Process was terminated by signal 11 (Segmentation fault)

Comment 1 James Heather 2010-01-20 19:00:42 UTC
Created attachment 385752 [details]
File: backtrace

Comment 2 James Heather 2010-02-06 11:59:42 UTC
I have now managed to isolate the file, so I have a word doc on which wvWare crashes.

It contains semi-confidential info about me, so I am reluctant to attach it here, but if you let me know how to get it to you privately, I will send it to you.

Comment 3 Rahul Sundaram 2010-02-06 15:19:25 UTC
Can you scrub the personal information (replace with random gibberish) and attach it?  Would be useful for upstream developers Thanks for helping

Comment 4 James Heather 2010-02-06 19:21:25 UTC
Created attachment 389304 [details]
The Word doc that causes wvWare to segfault

Comment 5 James Heather 2010-02-06 19:25:07 UTC
I've attached the doc. But a little investigation shows that some of the wvWare utils are deprecated and no longer maintained. The segfault came from wvHtml, but the approved method is now abiword --to=html.

This now becomes a problem in tracker, which is what called wvWare in the first place. It needs to be changed to use the new abiword switch. Abiword uses the wvWare libs to do its business, but without using the deprecated bits.

Comment 6 Rahul Sundaram 2010-02-06 19:56:25 UTC
Based on that description I am reassigning this

Comment 7 Deji Akingunola 2010-02-06 20:32:04 UTC
Not Tracker's problem. Tracker doesn't called wvHtml directly, it only uses wvText (like so; wvText A_MS_Word_file.doc The_MS_Word_file.txt). It could be that wvText is internally using wvHml though ...

Re-assigning bug back to wv.

Comment 8 James Heather 2010-02-06 20:39:54 UTC
No, it really is Tracker: wvHtml and wvText and similar are all deprecated. These are supposed to be done with

abiword --to=html

abiword --to=text

Have a look at http://wvware.sourceforge.net/ under 'Utilities'.

I'd thought Tracker was turning it into html with a deprecated call, but it's turning it into text with a deprecated call.

Comment 9 James Heather 2010-02-06 20:49:40 UTC
I should add that you can confirm that on the file I uploaded it works with abiword --to=text but segfaults with wvText.

James

Comment 10 Deji Akingunola 2010-02-06 21:09:41 UTC
Thanks James, I will fix the tracker MSword filter by removing the use of wvText and replacing it with the appropriate use of abiword.

@wv Maintainer,
The 'wv' utilities (or the package altogether) ought to be dropped from Fedora then, as they are practically useless.

Comment 11 Rahul Sundaram 2010-02-07 04:21:42 UTC
I am not sure about that  Will confirm with upstream (Abiword developers are upstream for Wv as well)

Comment 12 James Heather 2010-02-07 11:33:39 UTC
My reading of http://wvware.sourceforge.net/ is that the libs contained in wv (libwv*) are not deprecated, and abiword uses these libs. It is the utilities (wvText etc.) that are deprecated.

So abiword rightly depends on wv. Other apps ought to depend on abiword or link to libwv. That means that wv can't be dropped, though it would be possible to drop the utilities. Conceivably we could replace e.g. wvText with a small shell script (or even an alias if everything works out nicely) that runs abiword --to=text instead. That would be a good way of getting backward compatibility very cheaply without keeping the deprecated bits.

Comment 13 Fedora Update System 2010-02-08 14:23:53 UTC
tracker-0.6.96-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/tracker-0.6.96-2.fc11

Comment 14 Fedora Update System 2010-02-09 05:00:41 UTC
tracker-0.6.96-2.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tracker'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-1566

Comment 15 Rahul Sundaram 2010-02-10 09:07:15 UTC
*** Bug 553102 has been marked as a duplicate of this bug. ***

Comment 16 Rahul Sundaram 2010-02-10 09:07:24 UTC
*** Bug 563183 has been marked as a duplicate of this bug. ***

Comment 17 Rahul Sundaram 2010-02-10 09:08:07 UTC
*** Bug 559148 has been marked as a duplicate of this bug. ***

Comment 18 Fedora Update System 2010-02-10 16:05:55 UTC
tracker-0.6.96-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/tracker-0.6.96-3.fc12

Comment 19 Fedora Update System 2010-02-11 14:52:48 UTC
tracker-0.6.96-3.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tracker'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1750

Comment 20 Fedora Update System 2010-02-23 05:18:19 UTC
tracker-0.6.96-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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