To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107273
                 Issue #|107273
                 Summary|sc: a11y use after delete
               Component|Spreadsheet
                 Version|DEV300m65
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|nn
             Reported by|cmc





------- Additional comments from [email protected] Fri Nov 27 15:51:22 +0000 
2009 -------
launch calc with a11y enabled. Type aaa in the formula bar, keep the text cursor
in the formula bar and use view->formula bar to remove the formula bar, valgrind
reports...

==14442== Invalid read of size 8
==14442==    at 0xA6A7490: EditView::GetEditEngine() const (in
/usr/lib64/openoffice.org/basis3.2/program/libsvxcorelx.so)
==14442==    by 0xD3EF1B1: ScAccessibleEditLineTextData::ResetEditMode()
(AccessibleText.cxx:1303)
==14442==    by 0xD3EF37C: ScAccessibleEditLineTextData::Dispose()
(AccessibleText.cxx:1215)
==14442==    by 0xCE11DAB: ScTextWnd::~ScTextWnd() (inputwin.cxx:777)
==14442==    by 0xCE11F38: ScInputWindow::~ScInputWindow() (inputwin.cxx:258)
==14442==    by 0x5DE78F3: SfxChildWindow::~SfxChildWindow() (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0xCE13CA2: ScInputWindowWrapper::~ScInputWindowWrapper()
(inputwin.hxx:219)
==14442==    by 0x5DE82C8: SfxChildWindow::Destroy() (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0x5E2A19D: ??? (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0x5E2B216: ??? (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0xCEB78D2: ScTabViewShell::Execute(SfxRequest&) 
(tabvwsh3.cxx:645)
==14442==    by 0x5F84EE2: ??? (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==  Address 0x23cbfae8 is 8 bytes inside a block of size 16 free'd
==14442==    at 0x4A04D72: free (vg_replace_malloc.c:325)
==14442==    by 0xCE11D70: ScTextWnd::~ScTextWnd() (inputwin.cxx:774)
==14442==    by 0xCE11F38: ScInputWindow::~ScInputWindow() (inputwin.cxx:258)
==14442==    by 0x5DE78F3: SfxChildWindow::~SfxChildWindow() (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0xCE13CA2: ScInputWindowWrapper::~ScInputWindowWrapper()
(inputwin.hxx:219)
==14442==    by 0x5DE82C8: SfxChildWindow::Destroy() (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0x5E2A19D: ??? (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0x5E2B216: ??? (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0xCEB78D2: ScTabViewShell::Execute(SfxRequest&) 
(tabvwsh3.cxx:645)
==14442==    by 0x5F84EE2: ??? (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0x5F79F83: ??? (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)
==14442==    by 0x5FA5E74: ??? (in
/usr/lib64/openoffice.org/basis3.2/program/libsfxlx.so)

Simple fix attached to reorder dtor so as to release accessibility contexts
before deleting resource they might want to use

---------------------------------------------------------------------
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