https://bugs.freedesktop.org/show_bug.cgi?id=46100

--- Comment #9 from Michael Meeks <[email protected]> ---
We eventually throw from here:

#0  0xb7ec46d0 in __cxa_throw () from /usr/lib/libstdc++.so.6
#1  0xab932168 in realloc (this=<optimized out>, nSize=<optimized out>)
    at
/data/opt/libreoffice/master/solver/unxlngi6.pro/inc/com/sun/star/uno/Sequence.hxx:199
#2  com::sun::star::uno::Sequence<double>::realloc (this=0xaa5cad34,
nSize=63578)
    at
/data/opt/libreoffice/master/solver/unxlngi6.pro/inc/com/sun/star/uno/Sequence.hxx:188
#3  0xab977264 in chart::(anonymous namespace)::lcl_addPointToPoly
(rPoly=<optimized out>, rPos=..., nPolygonIndex=584, rResultPointCount=..., 
    nReservePointCount=63578) at
/data/opt/libreoffice/master/chart2/source/view/main/Clipping.cxx:183
#4  0xab9777ed in chart::Clipping::clipPolygonAtRectangle (rPolygon=...,
rRectangle=..., aResult=..., bSplitPiecesToDifferentPolygons=true)
    at /data/opt/libreoffice/master/chart2/source/view/main/Clipping.cxx:268
#5  0xab945e37 in chart::AreaChart::impl_createLine (this=0x97f4e28,
pSeries=0x9c3b1c0, pSeriesPoly=0x9c3b1c4, pPosHelper=0x97f4f20)
    at
/data/opt/libreoffice/master/chart2/source/view/charttypes/AreaChart.cxx:310
#6  0xab946495 in chart::AreaChart::impl_createSeriesShapes (this=0x97f4e28)
    at
/data/opt/libreoffice/master/chart2/source/view/charttypes/AreaChart.cxx:510
#7  0xab947cbb in chart::AreaChart::createShapes (this=0x97f4e28)

Reading up the trace; I'm interested by:

2801    void SAL_CALL ChartView::update() throw (uno::RuntimeException)
2802    {
2803        impl_updateView();
2804    
2805        //#i100778# migrate all imported or old documents to a plot area
sizing exclusive axes (in case the save settings allow for this):
2806        //Although in general it is a bad idea to change the model from
within the view this is exceptionally the best place to do this special
conversion.
2807        //When a view update is requested (what happens for creating the
metafile or displaying
(gdb) 
2808        //the chart in edit mode or printing) it is most likely that all
necessary informations are available - like the underlying spreadsheet data for
example.
2809        //Those data is important for the correct axis lable sizes which
are needed during conversion.
2810        if( DiagramHelper::switchDiagramPositioningToExcludingPositioning(
m_xChartModel, true, false ) )
2811            impl_updateView();

Why all that big comment if we're going to call impl_updateView anyway ?
perhaps some merge error there ? ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to