Apache OpenOffice (AOO) Bugzilla – Issue 75298
new Chart: Crash. Switch into the wizard third Page open Help and use shrink button
Last modified: 2013-02-24 21:21:16 UTC
In addition to i75297 Create new Chart Page three of wizard add a Dataseries Open Help Close Help Use shrink Button Range for names Leave the chart -> crash new chart ================ new Chart: Switch into the wizard third Page and use shrink button ================ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE errormail:errormail PUBLIC "-//OpenOffice.org//DTD ErrorMail 1.0//EN" "errormail.dtd"> <errormail:errormail xmlns:errormail="http://openoffice.org/2002/errormail" usertype=""> <reportmail:mail xmlns:reportmail="http://openoffice.org/2002/reportmail" version="1.1" feedback="true" email="thomas.klarhoefer@sun.com"> <reportmail:title></reportmail:title> <reportmail:attachment name="description.txt" media-type="text/plain;charset=UTF-8" class="UserComment"/> <reportmail:attachment name="user.dmp" media-type="application/octet-stream" class="UserDump"/> </reportmail:mail> <officeinfo:officeinfo xmlns:officeinfo="http://openoffice.org/2002/officeinfo" build="680m202(Build:9115)[CWS:chart2mst3]" platform="wntmsci10.pro" language="" procpath="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\" exceptiontype="0xC0000005" product="StarOffice 8"/> <systeminfo:systeminfo xmlns:systeminfo="http://openoffice.org/2002/systeminfo"> <systeminfo:System name="Windows NT" version="5.1" build="2600" locale="0x00000409"/> <systeminfo:CPU type="x86"/> </systeminfo:systeminfo> <errormail:Stack type="Win32"> <errormail:StackInfo pos="0" ip="0x5F9F85D7" rel="0x000485D7" ordinal="Ordinal4191+0x000000C3" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="1" ip="0x5F1DCCF8" rel="0x0000CCF8" ordinal="component_getFactory+0x0000B990" name="chartcontroller680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="2" ip="0x051A290E" rel="0x0020290E" ordinal="Ordinal948+0x000C8CEF" name="sc680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="3" ip="0x05047390" rel="0x000A7390" ordinal="Ordinal922+0x000000E0" name="sc680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="4" ip="0x04FA979A" rel="0x0000979A" ordinal="Ordinal1439+0x000000F6" name="sc680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="5" ip="0x61C9AD0E" rel="0x0004AD0E" ordinal="Ordinal2120+0x000003C8" name="sfx680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="6" ip="0x61C9C4C0" rel="0x0004C4C0" ordinal="Ordinal2139+0x000001A5" name="sfx680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="7" ip="0x61C9263A" rel="0x0004263A" ordinal="Ordinal2360+0x00000419" name="sfx680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="8" ip="0x61D39473" rel="0x000E9473" ordinal="Ordinal3250+0x00003CAD" name="sfx680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="9" ip="0x61D37651" rel="0x000E7651" ordinal="Ordinal3250+0x00001E8B" name="sfx680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="10" ip="0x6521E66A" rel="0x0009E66A" ordinal="component_getFactory+0x00077591" name="fwk680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="11" ip="0x6012564D" rel="0x0000564D" ordinal="Ordinal163+0x00000011" name="tl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="12" ip="0x5FA72A51" rel="0x000C2A51" ordinal="Ordinal5581+0x0000039E" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="13" ip="0x5F9B2451" rel="0x00002451" ordinal="Ordinal851+0x00000016" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="14" ip="0x5FADF19C" rel="0x0012F19C" ordinal="Ordinal3189+0x00011F91" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="15" ip="0x5FADF3FF" rel="0x0012F3FF" ordinal="Ordinal3189+0x000121F4" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="16" ip="0x77D48734" rel="0x00008734" ordinal="GetDC+0x0000006D" name="USER32.dll" path="C:\WINDOWS\system32\"/> <errormail:StackInfo pos="17" ip="0x77D48816" rel="0x00008816" ordinal="GetDC+0x0000014F" name="USER32.dll" path="C:\WINDOWS\system32\"/> <errormail:StackInfo pos="18" ip="0x77D489CD" rel="0x000089CD" ordinal="GetWindowLongW+0x00000127" name="USER32.dll" path="C:\WINDOWS\system32\"/> <errormail:StackInfo pos="19" ip="0x77D48A10" rel="0x00008A10" ordinal="DispatchMessageW+0x0000000F" name="USER32.dll" path="C:\WINDOWS\system32\"/> <errormail:StackInfo pos="20" ip="0x5FACEB90" rel="0x0011EB90" ordinal="Ordinal3189+0x00001985" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="21" ip="0x5FA6C141" rel="0x000BC141" ordinal="Ordinal4404+0x00000510" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="22" ip="0x5FA6C19B" rel="0x000BC19B" ordinal="Ordinal4404+0x0000056A" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="23" ip="0x5FA6C284" rel="0x000BC284" ordinal="Ordinal4404+0x00000653" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="24" ip="0x5F9E3591" rel="0x00033591" ordinal="Ordinal7468+0x0000003A" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="25" ip="0x5F9E47B2" rel="0x000347B2" ordinal="Ordinal1201+0x0000001E" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="26" ip="0x5FB20154" rel="0x00170154" ordinal="Ordinal1332+0x000002EB" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="27" ip="0x5FB20204" rel="0x00170204" ordinal="Ordinal1333+0x0000001C" name="vcl680mi.dll" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="28" ip="0x0040102F" rel="0x0000102F" name="soffice.BIN" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="29" ip="0x00401076" rel="0x00001076" name="soffice.BIN" path="C:\Documents and Settings\tk93714\Local Settings\Application Data\chart2_mst12\program\"/> <errormail:StackInfo pos="30" ip="0x7C816FD7" rel="0x00016FD7" ordinal="RegisterWaitForInputIdle+0x00000049" name="kernel32.dll" path="C:\WINDOWS\system32\"/> </errormail:Stack> <errormail:Checksums type="MD5"> <errormail:Checksum sum="0x7FD0035CEAD5E46B20EC0EFC1EDB5B7A" bytes="1167360" file="soffice.BIN"/> <errormail:Checksum sum="0xFAF908ACBCB24AC8E7B17825F6CC4895" bytes="1368064" file="fwk680mi.dll"/> <errormail:Checksum sum="0xC01A3D92173A096691C84C3CF8A16AD1" bytes="5210112" file="sc680mi.dll"/> <errormail:Checksum sum="0x5080918913FD8750D22A5C7056FEBC26" bytes="2150400" file="sfx680mi.dll"/> <errormail:Checksum sum="0x02500A49B6050A11A858E6BB63CAFD13" bytes="983040" file="chartcontroller680mi.dll"/> <errormail:Checksum sum="0xD8DB5397DE07577C1CB50BA6D23B3AD4" bytes="984064" file="kernel32.dll"/> <errormail:Checksum sum="0xE5D22FDC4D4AB9B189777022A112B961" bytes="2330624" file="vcl680mi.dll"/> <errormail:Checksum sum="0xDE2DB164BBB35DB061AF0997E4499054" bytes="577024" file="USER32.dll"/> <errormail:Checksum sum="0xEC7ABDA749F94836E6EBF0D0F4CA84D0" bytes="397312" file="tl680mi.dll"/> </errormail:Checksums> </errormail:errormail>
set Keyword
->bm, please check whether the current range chooser mechanism has problems with focus changes.
Adding a series is not necessary to reproduce. If you press the shrink button after the help was opened and closed again, the following assertion comes up: Error: missing view shell :-( From File Y:\SRC680\src.m202\sc\source\ui\view\reffact.cxx at Line 188 s After that, the range choosing does not work. Instead a click deactivates the chart which is bad, because it still has an open dialog whose parent is deleted in deactivation.
The problem also appears in this situation: 1. Create an empty Writer Document 2. Create a Calc document with a Chart 3. Open the Data Source Dialog 4. Switch to the Writer Doc and back to the Calc 5. Press the range chooser button => Crash, as the "current view shell" has changed. In sc/source/ui/view/reffact.cxx:187 the call to SfxViewTabViewShell::Current() returns 0. The problem here is probably, that Current() tries to return the SfxViewShell of the chart, as that is active at the moment, which does not work, as the chart does not implement this class (if it would it would still be the wrong implementation). Here is what Current probably returns: 1. Writer 2. Calc 3. Still Calc, as Chart does not implement SfxViewShell, therefore the current one does not change 4. Writer, switching back tries to get the chart's viewshell which does not exist, therefore it stays the Writer view-shell or becomes 0. ->NN: Is there a possibility to use a different method than SfxViewShell::Current()? I also noticed that Sc2ChartDataProvider seems to return the current XController as range selection. Doesn't the current controller "know" its view shell?
Fixed on CWS chart2mst3.
Available in CWS build, reassigning to QA for verification.
changed target
no crash anymore -> verified
no crash in m215