Issue 31837 - status bar config crasher ...
Summary: status bar config crasher ...
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.2
Hardware: All All
: P1 (highest) Trivial (vote)
Target Milestone: OOo 1.1.3
Assignee: carsten.driesner
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-21 12:45 UTC by mmeeks
Modified: 2004-10-02 18:40 UTC (History)
4 users (show)

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


Attachments
the patch (1.47 KB, patch)
2004-07-21 12:46 UTC, mmeeks
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description mmeeks 2004-07-21 12:45:36 UTC
Rather an obvious cache pollution issue in the code.
To reproduce the crasher; start oowriter, click on the status bar, go to
re-configure the status bar in Tools->Configure->Status Bar, change some of the
options; then close, double click on the status bar - bang.

Attached patch fixes the problem; thanks to Ashwanth for some debugging insight.
Comment 1 mmeeks 2004-07-21 12:46:12 UTC
Created attachment 16653 [details]
the patch
Comment 2 mmeeks 2004-07-21 12:47:07 UTC
Incidentally - I'd like to see this in 1.1.3 as well - if it's possible.
Comment 3 carsten.driesner 2004-07-21 13:15:32 UTC
CD: We have some strong doubts that the patch from Ashwanth fixes the problem
correctly. He removed a call to a virtual method of a statusbar controller and
instead calls the statusbar method. 
I also cannot see that this is a P1 which prevents anybody from working!
Comment 4 carsten.driesner 2004-07-21 15:06:32 UTC
CD->mmeeks: Can you please join the discussion on the mailing list
dev@framework.openoffice.org where we clearly stated our doubts that the fix is
correct.
I think it is not a good style to force the integration of a bug fix when two
developers have strong doubts and think that it breaks other code parts. I will
accept a P2 task to fix this issue or a patch that fixes the root cause without
breaking something.
Comment 5 mmeeks 2004-07-21 16:12:04 UTC
please read the patch, it is not Ashwanth's; but a re-write.
Perhaps you'd like to explain how the cache pointer gets cleaned up otherwise :-)
Comment 6 carsten.driesner 2004-07-22 07:30:43 UTC
CD->mmeeks: Sorry, I misunderstand your description. Your patchs looks good to
me and will integrate it into my current CWS for OOo 2.0. I have to clarify
which CWS I can use to integrate your patch into OOo 1.1.3. Thanks for your
patch and help.
Comment 7 carsten.driesner 2004-07-22 07:31:23 UTC
CD: Patch accepted.
Comment 8 andreas.schluens 2004-07-26 12:35:29 UTC
Reviewed and approved.
Comment 9 mmeeks 2004-07-26 16:43:59 UTC
So what CWS's should this go to ? and can you commit it to save me the pain ? :-)
Comment 10 carsten.driesner 2004-07-26 16:49:45 UTC
CD->mmeeks: CWS ooo113fix2, I already commit the changes.

Comment 11 carsten.driesner 2004-09-15 09:11:58 UTC
CD: Verified fix in SRX645m46. No crash anymore => verified.
Comment 12 andreschnabel 2004-10-02 18:40:31 UTC
closing issue as there is no crash in 1.1.3rc