Issue 657 - Word 6.0/95 document open fails with SIGBUS
Summary: Word 6.0/95 document open fails with SIGBUS
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 619
Hardware: Sun NetBSD
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: caolanm
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-06 13:15 UTC by mrauch-openoffice
Modified: 2013-08-07 14:39 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch for bug (1.22 KB, patch)
2001-04-06 13:17 UTC, mrauch-openoffice
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description mrauch-openoffice 2001-04-06 13:15:19 UTC
Opening an MS Word 6.0 or 95 document fails on NetBSD/sparc, showing the dialog 
box "An internal error has occured ...". 
Tracing OO with gdb shows a SIGBUS (alignment fault) in 
sw/source/filter/ww8/ww8scan.cxx: WW8Fonts::WW8Fonts(...) ,lines 4724-7 in rev. 
1.7. 

After some searching I could figure out that this bug was already fixed in the 
other branch of the if-then-else, but missed in this one.

Patch is following ...
Comment 1 mrauch-openoffice 2001-04-06 13:17:48 UTC
Created attachment 131 [details]
patch for bug
Comment 2 caolanm 2001-04-06 13:35:48 UTC
I'll just steal this out of the queue for myself.
Comment 3 caolanm 2001-04-06 13:38:52 UTC
Attached patch looks good, checked in. 
Comment 4 caolanm 2001-04-06 13:55:09 UTC
Rev 1.12 of ww8scan.cxx
Comment 5 sander_traveling 2001-04-06 14:15:42 UTC
Just reopening for a sec - can the patch be safely applied to 625? 

Something on the viability of 1.11 inside 625 would also be interesting looking
at the number of bug ids..
Comment 6 caolanm 2001-04-06 14:30:51 UTC
The last applied patch on its own is certainly good for 625.

The r1.11 or ww8scan.cxx along with r1.8 of ww8scan.hxx contain my "ultimate"
patch to finally make fastsaved files work correctly. I *believe* that in
isolation they should be good for 625, but I cannot guarantee it because I
applied a number of nips and tucks to some of the other files around the same
time that if not also included for OO625 might result in undefined behaviour. I
reckon that they are ok though.
Comment 7 caolanm 2001-04-06 15:42:36 UTC
Am practically sitting beside Sander now, so cubicle command decision not to risk
fastsave fixes version for 625 taken.
Comment 8 caolanm 2001-08-28 16:05:15 UTC
Closed long ago
Comment 9 Mathias_Bauer 2007-08-29 16:41:00 UTC
I added a target milestone just to help me for my statistics :-)