Apache OpenOffice (AOO) Bugzilla – Issue 81407
Adding more than one color in one session, causes OOo to crash
Last modified: 2007-12-07 21:01:31 UTC
Using the Dutch version, build 9215. How to reproduce: Tools|Options|OpenOffice,org >Colors Edit , choose color, Click OK Give name, click Add Again: Edit , choose color, Click OK Give name, click Add Click OK > Crash Other scenario: Tools|Options|OpenOffice,org >Colors Edit , choose color, Click OK Give name, click Add Click OK > Ok Again: Tools|Options|OpenOffice,org >Colors Edit , choose color, Click OK Give name, click Add Click OK > Crash Adding only one color is no problem, the secons crashes OOo
Two (of the three, four) related error reports: - rhtj9n - rytj9n
Crashes with en-us version in same circumstances under win XP - 2.3.0 RC2 Error report rvrp9n
@ cgu: Please have a look.
I can reproduce the bug. everything works correct, when I change the whole name of the color the crash occurs when I onky add a letter to the 'old' name and click on add afterwards. e.g. name of the first color aaa name of the second color aaab Please have a look.
fixed in svx/source/dialog/tpcolor.cxx (r. 1.29.114.1) changed ResMgr rMgr = DIALOG_MGR(); to ResMgr& rMgr = DIALOG_MGR();
verified in cws, back to qa
I know this is "fixed" for later releases, but I want to verify it also does this on Linux OO 2.3.0. I can add two colors; as soon as I add the third color, WHAM: /oa/openoffice.org2.3.0/program/soffice: line 251: 29215 Segmentation fault "$sd_prog/$sd_binary" "$@"
I meant to also add that the problem is pretty severe and it isn't just that you can add one color at a time. It simply is not possible to add more than one new color, EVER. Even if I exit out of options and go back in, I still can't add another color. Even if I save and exit out of OpenOffice completely, go back in to options and try to add more more color, it crashes. It also crashes the same way when you try to add colors through Area, rather than through Tools->Options. The ONLY way I could get my 7 custom colors into OpenOffice was to replace (modify) existing "Chart X" colors. Hopefully this won't cause a problem with the new charting functions... This is a critical flaw. Since it was reported on RC1, it should NOT have made its way into the live/final/released 2.3.0 :( Without a workaround for the released version, many of us are stuck with a very bad problem.
@ crxssi I just tested and indeed with the third new color (all completely different names) > freeze. Did this test on the lasted milistone (M7) but the fixt won't be integrated in that. So wait for next build and test than.
In which CWS should be the fix
I must reopen this issue because there is some unclarity concerning the behaviour in m234. The office keeps crashing when adding new Colors (at least three times; see issue 82835) Thus I had a look at svx/source/dialog/tpcolor.cxx and found that all ResMgr-Occurances have been replaced by ResMgr& except the one in "Add" approx line 516. After changing that one everything works perfectly. @cl: Do you have that one changed in your CWS as well?
*** Issue 82835 has been marked as a duplicate of this issue. ***
cl->simon: yes
*** Issue 82960 has been marked as a duplicate of this issue. ***
CGU: Verified in cws impress131
*** Issue 83114 has been marked as a duplicate of this issue. ***
CGU: integrated in src680m236 and oog680m9
*** Issue 83909 has been marked as a duplicate of this issue. ***
*** Issue 84345 has been marked as a duplicate of this issue. ***