To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90076
                 Issue #|90076
                 Summary|Crash in ScCellRangesBase::Notify
               Component|Spreadsheet
                 Version|OOo 2.4.1 RC1
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|nn
             Reported by|pmladek





------- Additional comments from [EMAIL PROTECTED] Wed May 28 15:02:38 +0000 
2008 -------
I tested the build based on ooh680-m16 sources and ooo-build-2-4-1 branch. It
crashed on the C# sample that could be found in 
/odk/examples/CLI/CSharp/Spreadsheet

The crash happend in sc/source/ui/unoobj/cellsuno.cxx in
ScCellRangesBase::Notify when it tried to call

     RefChanged();

The attached backtrace shows that the object this did not exist at that time.
More dubugging showed it was most likely removed on the end of

     ScTableSheetObj::getImplementation( (cppu::OWeakObject*)this )

Note that the method is defined the following way:

     ScTableSheetObj* ScTableSheetObj::getImplementation( const 
         uno::Reference<uno::XInterface> xObj )

so there is created the temporary uno::Reference. The object "this" was probably
destructed together with this temporary reference.


I'll attach a patch that makes sure that the temporary object lives a bit
longer. It is only a workaround. I am not sure how it is supposed to work.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to