To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=98240
                 Issue #|98240
                 Summary|.xls crash after GetBasic called on Shell
               Component|Spreadsheet
                 Version|OOO300m9
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|open-import
             Assigned to|spreadsheet
             Reported by|cmc





------- Additional comments from c...@openoffice.org Mon Jan 19 13:16:41 +0000 
2009 -------
The attached .xls crashes on load for me. Attached is the valgrind trace.

basically we have...

pDocShell->GetBasic();
which triggers a sequence of events which ends with 
SvStream::~SvStream() (stream.cxx:513)
SfxMedium::CloseInStream_Impl() (docfile.cxx:579)
SfxMedium::CreateTempFile() (docfile.cxx:3504)
SfxMedium::GetStorage() (docfile.cxx:1196)
the medium referred to is the same one used as the excel filter RootStorage, so
it gets invalidated if GetBasic is called, so the following
sfx2::LoadOlePropertySet used deleted stuff.

As a hackaround attached is a workaround patch that ensures that GetBasic is
called before getting the RootStorage

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sc.openoffice.org
For additional commands, e-mail: issues-h...@sc.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to