To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42877
                  Issue #:|42877
                  Summary:|crasher color issue ...
                Component:|gsl
                  Version:|680m78
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P1
             Subcomponent:|code
              Assigned to:|thb
              Reported by:|mmeeks





------- Additional comments from [EMAIL PROTECTED] Tue Feb 15 15:11:05 -0800 
2005 -------
With this presentation: [
http://download.microsoft.com/download/c/9/8/c98260a1-f82e-409f-b73c-c682c6ae3df8/SteveB04-08-04-PartnerReady.ppt
]

Pressing F9 - to run it, gives this crash on the transition to the 2nd slide:
(gdb) bt
#0  0x403a4556 in com::sun::star::uno::Sequence<double>::getLength
(this=0x4a288280) at Sequence.h:192
#1  0x403a21cf in vcl::unotools::sequenceToColor ([EMAIL PROTECTED],
[EMAIL PROTECTED])
    at /opt/OpenOffice/src680-m78/vcl/source/helper/canvastools.cxx:997
#2  0x46a1ae6a in cppcanvas::internal::ImplRenderer::createTextWithEffectsAction
(this=0x4a287fc8, [EMAIL PROTECTED], rString=
      {mpData = 0x4a2a90a0}, nIndex=0, nLength=7, pCharWidths=0x4a2a9078,
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], 
    [EMAIL PROTECTED], nCurrActionIndex=10) at
/opt/OpenOffice/src680-m78/cppcanvas/source/mtfrenderer/implrenderer.cxx:935
#3  0x46a20b97 in cppcanvas::internal::ImplRenderer::createActions
(this=0x4a287fc8, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
    at 
/opt/OpenOffice/src680-m78/cppcanvas/source/mtfrenderer/implrenderer.cxx:2281
#4  0x46a22801 in ImplRenderer (this=0x4a287fc8, [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED])
    at 
/opt/OpenOffice/src680-m78/cppcanvas/source/mtfrenderer/implrenderer.cxx:2462
#5  0x46a0bfb9 in cppcanvas::VCLFactory::createRenderer (this=0x48356720,
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
    at /opt/OpenOffice/src680-m78/cppcanvas/source/wrapper/vclfactory.cxx:317
#6  0x48f5c630 in presentation::internal::ViewShape::prefetch () from
/opt/OOInstall/program/slideshow.uno.so
#7  0x48f5c82a in presentation::internal::ViewShape::draw () from
/opt/OOInstall/program/slideshow.uno.so
#8  0x48f5e024 in presentation::internal::ViewShape::render () from
/opt/OOInstall/program/slideshow.uno.so
#9  0x48f60474 in presentation::internal::ViewShape::update () from
/opt/OOInstall/program/slideshow.uno.so
#10 0x48ee1d31 in presentation::internal::DrawShape::addViewLayer () from
/opt/OOInstall/program/slideshow.uno.so
#11 0x48f00909 in boost::_bi::bind_t<void, boost::_mfi::mf2<void,
presentation::internal::Shape,
boost::shared_ptr<presentation::internal::ViewLayer> const&, bool>,
boost::_bi::list3<boost::arg<1>,
boost::reference_wrapper<boost::shared_ptr<presentation::internal::ViewLayer>
const>, boost::_bi::value<bool> >
>::operator()<boost::shared_ptr<presentation::internal::Shape> const> () from
/opt/OOInstall/program/slideshow.uno.so
#12 0x48efff7d in
_STL::for_each<_STL::_Rb_tree_iterator<boost::shared_ptr<presentation::internal::Shape>,
_STL::_Const_traits<boost::shared_ptr<presentation::internal::Shape> > >,
boost::_bi::bind_t<void, boost::_mfi::mf2<void, presentation::internal::Shape,
boost::shared_ptr<presentation::internal::ViewLayer> const&, bool>,
boost::_bi::list3<boost::arg<1>,
boost::reference_wrapper<boost::shared_ptr<presentation::internal::ViewLayer>
const>, boost::_bi::value<bool> > > > () from
/opt/OOInstall/program/slideshow.uno.so
#13 0x48eff5cc in presentation::internal::Layer::addViewLayer () from
/opt/OOInstall/program/slideshow.uno.so
#14 0x48f01aa5 in presentation::internal::LayerManager::addView () from
/opt/OOInstall/program/slideshow.uno.so
#15 0x48f296b0 in presentation::internal::Slide::createCurrentSlideBitmap ()
from /opt/OOInstall/program/slideshow.uno.so
#16 0x48f28b6e in presentation::internal::Slide::getCurrentSlideBitmap () from
/opt/OOInstall/program/slideshow.uno.so
#17 0x48f11eb6 in
presentation::internal::Presentation_Impl::notifySlideAnimationsEnded () from
/opt/OOInstall/program/slideshow.uno.so
#18 0x48f1955e in boost::_bi::bind_t<void, boost::_mfi::mf0<void,
presentation::internal::Presentation_Impl>,
boost::_bi::list1<boost::reference_wrapper<presentation::internal::Presentation_Impl>
> >::operator() () from /opt/OOInstall/program/slideshow.uno.so
#19 0x48f19493 in presentation::internal::Delay<boost::_bi::bind_t<void,
boost::_mfi::mf0<void, presentation::internal::Presentation_Impl>, boost::_bi::l
ist1<boost::reference_wrapper<presentation::internal::Presentation_Impl> > >
>::fire () from /opt/OOInstall/program/slideshow.uno.so
#20 0x48ef81b4 in presentation::internal::EventQueue::process () from
/opt/OOInstall/program/slideshow.uno.so
#21 0x48f11880 in presentation::internal::Presentation_Impl::update () from
/opt/OOInstall/program/slideshow.uno.so
#22 0x48f12e17 in presentation::Presentation::update () from
/opt/OOInstall/program/slideshow.uno.so
#23 0x48f6ac1f in presentation::SlideShow::update () from
/opt/OOInstall/program/slideshow.uno.so
#24 0x4691ae3f in sd::SlideshowImpl::update () from
/opt/OOInstall/program/libsd680li.so
#25 0x4691af8f in sd::SlideshowImpl::updateHdl () from
/opt/OOInstall/program/libsd680li.so
#26 0x4691af46 in sd::SlideshowImpl::LinkStubupdateHdl () from
/opt/OOInstall/program/libsd680li.so
#27 0x40171d65 in Timer::Timeout () at gen.hxx:127
#28 0x40171a69 in ImplTimerCallbackProc () at gen.hxx:127
#29 0x424445bc in SalData::Timeout () from
/opt/OOInstall/program/libvclplug_gen680li.so
#30 0x41ee849f in GtkXLib::timeoutFn () from
/opt/OOInstall/program/libvclplug_gtk680li.so
#31 0x4237ca76 in g_timeout_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#32 0x4237be87 in g_main_context_dispatch () from 
/opt/gnome/lib/libglib-2.0.so.0
#33 0x4237e5c7 in g_main_context_iterate () from /opt/gnome/lib/libglib-2.0.so.0
#34 0x4237e6c3 in g_main_context_iteration () from 
/opt/gnome/lib/libglib-2.0.so.0
#35 0x41ee8832 in GtkXLib::Yield () from
/opt/OOInstall/program/libvclplug_gtk680li.so
#36 0x4244e05f in X11SalInstance::Yield () from
/opt/OOInstall/program/libvclplug_gen680li.so
#37 0x4016b242 in Application::Yield () from 
/opt/OOInstall/program/libvcl680li.so
#38 0x4016b159 in Application::Execute () from 
/opt/OOInstall/program/libvcl680li.so
#39 0x08079735 in desktop::Desktop::Main ()
#40 0x40170ed0 in SVMain () at gen.hxx:127
#41 0x0807288d in sal_main ()
#42 0x0807283c in main ()
(gdb) up
#1  0x403a21cf in vcl::unotools::sequenceToColor ([EMAIL PROTECTED],
[EMAIL PROTECTED])
    at /opt/OpenOffice/src680-m78/vcl/source/helper/canvastools.cxx:997
997                 OSL_ENSURE( rColor.getLength() > 2, "sequenceToColor: need
at least three channels" );
(gdb) l
992             }
993
994             Color sequenceToColor( const uno::Reference<
rendering::XGraphicDevice >&       xGraphicDevice,
995                                    const uno::Sequence< double >&          
                                rColor           )
996             {
997                 OSL_ENSURE( rColor.getLength() > 2, "sequenceToColor: need
at least three channels" );
998
999                 // TODO: handle color space conversions, when defined on
canvas/graphicDevice
1000                Color aColor;
1001
(gdb) p rColor
$4 = (const com::sun::star::uno::Sequence<double> &) @0x4a288280: {_pSequence =
0x0, static s_pType = 0x0}
(gdb) 

(gdb) up
#2  0x46a1ae6a in cppcanvas::internal::ImplRenderer::createTextWithEffectsAction
(this=0x4a287fc8, [EMAIL PROTECTED], rString=
      {mpData = 0x4a2a90a0}, nIndex=0, nLength=7, pCharWidths=0x4a2a9078,
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], 
    [EMAIL PROTECTED], nCurrActionIndex=10) at
/opt/OpenOffice/src680-m78/cppcanvas/source/mtfrenderer/implrenderer.cxx:935
935                         rCanvas->getUNOCanvas()->getDevice(),
rState.textColor );
(gdb) l
930                     Point aReliefPoint( nReliefOffset, nReliefOffset );
931                     aReliefPoint += rStartPoint;
932
933                     // determine relief color (from outdev3.cxx)
934                     ::Color aTextColor = ::vcl::unotools::sequenceToColor(
935                         rCanvas->getUNOCanvas()->getDevice(),
rState.textColor );
936                     ::Color aReliefColor( COL_LIGHTGRAY );
937                     if( aTextColor.GetColor() == COL_BLACK )
938                         aReliefColor = ::Color( COL_WHITE );
939                     else if( aTextColor.GetColor() == COL_WHITE )
(gdb) p rState
$5 = (cppcanvas::internal::OutDevState &) @0x4a288260: {clip = {mpPolyPolygon =
0x0}, clipRect = {nLeft = 1078984704, nTop = 0, nRight = 1079263232, 
    nBottom = 0}, xClipPoly = {<com::sun::star::uno::BaseReference> =
{_pInterface = 0x405a0000}, <No data fields>}, lineColor = {_pSequence = 0x0, 
    static s_pType = 0x473cf3a0}, fillColor = {_pSequence = 0x405e4000, static
s_pType = 0x473cf3a0}, textColor = {_pSequence = 0x0, 
    static s_pType = 0x473cf3a0}, textFillColor = {_pSequence = 0x40606000,
static s_pType = 0x473cf3a0}, textLineColor = {_pSequence = 0x21, 
    static s_pType = 0x473cf3a0}, xFont = {<com::sun::star::uno::BaseReference>
= {_pInterface = 0x48}, <No data fields>}, transform = {
    mpM = 0x4a288288}, fontTransform = {mpM = 0x4a288978}, textEmphasisMarkStyle
= 35964, pushFlags = 18984, textDirection = 124 '|', 
  textAlignment = -116 '\214', textReliefStyle = 40 '(', textUnderlineStyle = 74
'J', textStrikeoutStyle = 0 '\0', isTextOutlineModeSet = false, 
  isTextEffectShadowSet = false, isTextWordUnderlineSet = false, isLineColorSet
= false, isFillColorSet = false, isTextFillColorSet = false, 
  isTextLineColorSet = false}
(gdb)

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