After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 346118 - DOC file not correctly parsed
DOC file not correctly parsed
Status: RESOLVED FIXED
Product: libgsf
Classification: Core
Component: MS OLE2 & Properties
1.14.x
Other All
: Normal normal
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-06-28 16:18 UTC by Dominic Lachowicz
Modified: 2006-09-06 20:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample document (126.50 KB, application/octet-stream)
2006-06-28 16:18 UTC, Dominic Lachowicz
Details

Description Dominic Lachowicz 2006-06-28 16:18:05 UTC
This started as AbiWord bug 10317 (http://bugzilla.abisource.com/show_bug.cgi?id=10317). Reporter was 'simsong@acm.org'.

---

I have some word files that were generated by FrameMaker 6.0 on Windows.
AbiWord won't open them. Microsoft Word 2003 opens them just fine. wvText
generates the error "could not convert into HTML."  wvWare generates this
interesting error:

% wvWare /home/simsong/arch/books/2001.WSCP/appb.doc 

(process:79817): libgsf:msole-WARNING **: There is are not supposed to be any
blocks in the small block allocation table, yet there is a link to some. 
Ignoring it.

(process:79817): libgsf:msole-WARNING **: A non directory stream with children
?
[simsong@s dfrws] % 

I have put a copy of this document at http://www.simson.net/appb.doc
Comment 1 Dominic Lachowicz 2006-06-28 16:18:49 UTC
Created attachment 68127 [details]
Sample document
Comment 2 Morten Welinder 2006-09-06 19:47:54 UTC
Confirmed:

./gsf list appb.doc 

(gsf:2937): libgsf:msole-WARNING **: There is are not supposed to be any blocks in the small block allocation table, yet there is a link to some.  Ignoring it.

(gsf:2937): libgsf:msole-WARNING **: A non directory stream with children ?
appb.doc:
f          0 *root*


(I have no idea yet if the file is valid, though.)
Comment 3 Morten Welinder 2006-09-06 20:06:03 UTC
The first warning seems harmless and we can silence it in this case.
sbat_start is 0xffffffff (BAT_MAGIC_UNUSED) where we expect 0xfffffffe
(BAT_MAGIC_END_OF_CHAIN).
Comment 4 Morten Welinder 2006-09-06 20:41:54 UTC
The root directory was marked as a file!  I have changed libgsf to treat it
as a directory always (and warn if claimed otherwise), but I'd say FrameMaker
ought to be fixed.

Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.