About skip SkipImages unit test on MacOs

Robert Antoni Buj i Gelonch robert.buj at gmail.com
Wed Jun 3 02:53:03 PDT 2015


I attach the bt, if someone is interested I can print the variables of a
specific frame.

make CppunitTest_sw_globalfilter

(lldb) breakpoint set --file
/Volumes/Master/lo/core/sw/qa/extras/globalfilter/globalfilter.cxx --line
663

(lldb) run

(lldb) breakpoint set --file
/Volumes/Master/lo/core/vcl/source/outdev/map.cxx --line 382 --condition
"n==9223372036854755805"

(lldb) c

(lldb) list
   386        n64 *= nMapNum;
   387        n64 *= nDPI;
   388        if( nMapDenom == 1 )
   389           n = (long)n64;
   390        else
   391        {
   392           n = (long)(2 * n64 / nMapDenom);

(lldb) bt
* thread #1: tid = 0x2e6349, 0x0000000105d3354a
libvcllo.dylib`ImplLogicToPixel(n=9223372036854755805, nDPI=72, nMapNum=1,
nMapDenom=1600, nThres=64051194700380381) + 170 at map.cxx:382, queue =
'com.apple.main-thread', stop reason = breakpoint 2.1
  * frame #0: 0x0000000105d3354a
libvcllo.dylib`ImplLogicToPixel(n=9223372036854755805, nDPI=72, nMapNum=1,
nMapDenom=1600, nThres=64051194700380381) + 170 at map.cxx:382
    frame #1: 0x0000000105d37338
libvcllo.dylib`OutputDevice::LogicToPixel(this=0x00000001029947f0,
rLogicRect=0x00007fff5fbecd58) const + 184 at map.cxx:998
    frame #2: 0x000000010cc8cf27
libswlo.dylib`SwAlignRect(rRect=0x00007fff5fbed2d8, pSh=0x0000000121f06300)
+ 231 at paintfrm.cxx:1254
    frame #3: 0x000000010cca874d
libswlo.dylib`lcl_CalcBorderRect(rRect=0x00007fff5fbed2d8,
pFrm=0x0000000121f085f0, rAttrs=0x000000011a10bf18, bShadow=false,
properties=0x000000010dca4e10) + 3005 at paintfrm.cxx:1512
    frame #4: 0x000000010cca3d18
libswlo.dylib`SwFrm::GetBackgroundBrush(this=0x0000000121f085f0,
rFillAttributes=0x00007fff5fbed2c8, rpBrush=0x00007fff5fbed300,
rpCol=0x00007fff5fbed2f8, rOrigRect=0x00007fff5fbed2d8, bLowerMode=false)
const + 1736 at paintfrm.cxx:7596
    frame #5: 0x000000010cca333e
libswlo.dylib`SwFlyFrm::IsBackgroundTransparent(this=0x0000000121f085f0)
const + 238 at paintfrm.cxx:3973
    frame #6: 0x000000010ccb6c65
libswlo.dylib`lcl_RefreshLine(pLay=0x0000000121f07040,
pPage=0x000000011a10a000, rP1=0x00007fff5fbed838, rP2=0x00007fff5fbed808,
nSubColor='\x10', pSubsLines=0x000000011ebcb7a0) + 1221 at paintfrm.cxx:6858
    frame #7: 0x000000010ccb620f
libswlo.dylib`SwLayoutFrm::PaintSubsidiaryLines(this=0x0000000121f07040,
pPage=0x000000011a10a000, rRect=0x00007fff5fbede90) const + 1391 at
paintfrm.cxx:7175
    frame #8: 0x000000010cca750d
libswlo.dylib`SwLayoutFrm::RefreshLaySubsidiary(this=0x0000000121f07040,
pPage=0x000000011a10a000, rRect=0x00007fff5fbede90) const + 205 at
paintfrm.cxx:6750
    frame #9: 0x000000010cca572a
libswlo.dylib`SwFlyFrm::Paint(this=0x0000000121f07040,
rRect=0x0000000121f070a0, (null)=0x0000000000000000) const + 5018 at
paintfrm.cxx:4333
    frame #10: 0x000000010ca7be6e
libswlo.dylib`SwVirtFlyDrawObj::wrap_DoPaintObject(this=0x0000000121f07250,
rViewInformation=0x00000001251e4be8) const + 366 at dflyobj.cxx:486
    frame #11: 0x000000010ca7bcd7
libswlo.dylib`drawinglayer::primitive2d::SwVirtFlyDrawObjPrimitive::get2DDecomposition(this=0x0000000102a251f0,
rViewInformation=0x00000001251e4be8) const + 55 at dflyobj.cxx:240
    frame #12: 0x0000000111ff0e1f
libdrawinglayerlo.dylib`drawinglayer::processor2d::VclPixelProcessor2D::processBasePrimitive2D(this=0x00000001251e4be0,
rCandidate=0x0000000102a251f0) + 14383 at vclpixelprocessor2d.cxx:1242
    frame #13: 0x0000000111fc4506
libdrawinglayerlo.dylib`drawinglayer::processor2d::BaseProcessor2D::process(this=0x00000001251e4be0,
rSource=0x00007fff5fbef088) + 310 at baseprocessor2d.cxx:64
    frame #14: 0x0000000114a50982
libsvxcorelo.dylib`sdr::contact::ObjectContactOfPageView::DoProcessDisplay(this=0x000000010289ade0,
rDisplayInfo=0x00007fff5fbef2d0) + 2322 at objectcontactofpageview.cxx:301
    frame #15: 0x0000000114a50015
libsvxcorelo.dylib`sdr::contact::ObjectContactOfPageView::ProcessDisplay(this=0x000000010289ade0,
rDisplayInfo=0x00007fff5fbef2d0) + 133 at objectcontactofpageview.cxx:122
    frame #16: 0x0000000114ab1e4a
libsvxcorelo.dylib`SdrPageWindow::RedrawLayer(this=0x000000012051b1f0,
pId=0x00007fff5fbef587, pRedirector=0x00007fff5fbefeb0) + 618 at
sdrpagewindow.cxx:403
    frame #17: 0x0000000114cb693b
libsvxcorelo.dylib`SdrPageView::DrawLayer(this=0x0000000121f10f70,
nID='\x01', pGivenTarget=0x00000001029947f0,
pRedirector=0x00007fff5fbefeb0, rRect=0x00007fff5fbef678) + 715 at
svdpagv.cxx:367
    frame #18: 0x000000010d302d80
libswlo.dylib`SwViewShellImp::PaintLayer(this=0x0000000121f06640,
_nLayerID='\x01', pPrintData=0x0000000000000000,
aPaintRect=0x000000011a10a060, _pPageBackgrdColor=0x00007fff5fbefd98,
_bIsPageRightToLeft=false, pRedirector=0x00007fff5fbefeb0) + 1072 at
vdraw.cxx:140
    frame #19: 0x000000010cc98b2c
libswlo.dylib`SwRootFrm::Paint(this=0x0000000121f06700,
rRect=0x00007fff5fbf0370, pPrintData=0x0000000000000000) const + 6508 at
paintfrm.cxx:3417
    frame #20: 0x000000010d3118ce
libswlo.dylib`SwViewShell::Paint(this=0x0000000121f06300,
rRenderContext=0x000000010200bc00, rRect=0x00007fff5fbf09e8) + 1406 at
viewsh.cxx:1736
    frame #21: 0x000000010c6bc91b
libswlo.dylib`SwCrsrShell::Paint(this=0x0000000121f06300,
rRenderContext=0x000000010200bc00, rRect=0x00007fff5fbf09e8) + 411 at
crsrsh.cxx:1256
    frame #22: 0x000000010d646a1d
libswlo.dylib`SwEditWin::Paint(this=0x000000010200bc00,
rRenderContext=0x000000010200bc00, rRect=0x00007fff5fbf09e8) + 413 at
edtwin2.cxx:470
    frame #23: 0x00000001058e8dbb
libvcllo.dylib`PaintHelper::DoPaint(this=0x00007fff5fbf09b0,
pRegion=0x0000000000000000) + 2923 at paint.cxx:243
    frame #24: 0x00000001058ea3fb
libvcllo.dylib`vcl::Window::ImplCallPaint(this=0x000000010200bc00,
rBuffer=0x00007fff5fbf0b18, pRegion=0x0000000000000000, nPaintFlags=26) +
971 at paint.cxx:541
    frame #25: 0x00000001058eba5f
libvcllo.dylib`vcl::Window::Update(this=0x000000010200bc00) + 1199 at
paint.cxx:1277
    frame #26: 0x000000010d310339
libswlo.dylib`SwViewShell::VisPortChgd(this=0x0000000121f06300,
rRect=0x00007fff5fbf1358) + 4937 at viewsh.cxx:1168
    frame #27: 0x000000010c6bcc6a
libswlo.dylib`SwCrsrShell::VisPortChgd(this=0x0000000121f06300,
rRect=0x00007fff5fbf1358) + 314 at crsrsh.cxx:1292
    frame #28: 0x000000010d8557e7
libswlo.dylib`SwView::SetVisArea(this=0x0000000121f05e40,
rRect=0x00007fff5fbf1488, bUpdateScrollbar=false) + 1015 at viewport.cxx:264
    frame #29: 0x000000010d8552ff
libswlo.dylib`SwView::DocSzChgd(this=0x0000000121f05e40,
rSz=0x00007fff5fbf1528) + 527 at viewport.cxx:203
    frame #30: 0x000000010d6470dd
libswlo.dylib`SizeNotify(pVwSh=0x0000000121f06300,
rSize=0x00007fff5fbf1528) + 109 at edtwin3.cxx:63
    frame #31: 0x000000010d30a4e0
libswlo.dylib`SwViewShell::UISizeNotify(this=0x0000000121f06300) + 128 at
viewsh.cxx:2225
    frame #32: 0x000000010d30a391
libswlo.dylib`SwViewShell::ImplEndAction(this=0x0000000121f06300,
bIdleEnd=false) + 6689 at viewsh.cxx:440
    frame #33: 0x000000010c6c6024
libswlo.dylib`SwViewShell::EndAction(this=0x0000000121f06300,
bIdleEnd=false) + 68 at viewsh.hxx:616
    frame #34: 0x000000010c6b370a
libswlo.dylib`SwCrsrShell::EndAction(this=0x0000000121f06300,
bIdleEnd=false, DoSetPosX=false) + 522 at crsrsh.cxx:253
    frame #35: 0x000000010d81a085
libswlo.dylib`SwView::ReadUserDataSequence(this=0x0000000121f05e40,
rSequence=0x00007fff5fbf24d0, bBrowse=true) + 5509 at view.cxx:1446
    frame #36: 0x00000001135ba0bf
libsfxlo.dylib`SfxBaseController::ConnectSfxFrame_Impl(this=0x000000011dcc3698,
i_eConnect=E_CONNECT) + 5871 at sfxbasecontroller.cxx:1400
    frame #37: 0x00000001135b8825
libsfxlo.dylib`SfxBaseController::attachFrame(this=0x000000011dcc3698,
xFrame=0x00007fff5fbf2f20) + 725 at sfxbasecontroller.cxx:570
    frame #38: 0x00000001135ba97f libsfxlo.dylib`non-virtual thunk to
SfxBaseController::attachFrame(this=0x000000011dcc36c0,
xFrame=0x00007fff5fbf2f20) + 47 at sfxbasecontroller.cxx:578
    frame #39: 0x00000001135a61a6 libsfxlo.dylib`(anonymous
namespace)::SfxFrameLoader_Impl::impl_createDocumentView(i_rModel=0x00007fff5fbf2bc8,
i_rFrame=0x00007fff5fbf2f20, i_rViewFactoryArgs=0x00007fff5fbf2b90,
i_rViewName=0x00007fff5fbf2af0) + 710 at frmload.cxx:608
    frame #40: 0x00000001135a3d8b libsfxlo.dylib`(anonymous
namespace)::SfxFrameLoader_Impl::load(this=0x000000011a6c3dc8,
rArgs=0x00007fff5fbf2ee0, _rTargetFrame=0x00007fff5fbf2f20) + 4203 at
frmload.cxx:726
    frame #41: 0x00000001135a4267 libsfxlo.dylib`non-virtual thunk to
(anonymous namespace)::SfxFrameLoader_Impl::load(this=0x000000011a6c3df0,
rArgs=0x00007fff5fbf2ee0, _rTargetFrame=0x00007fff5fbf2f20) + 55 at
frmload.cxx:759
    frame #42: 0x000000011745f5c6
libfwklo.dylib`framework::LoadEnv::impl_loadContent(this=0x00007fff5fbf35b8)
+ 4118 at loadenv.cxx:1122
    frame #43: 0x0000000117459f6a
libfwklo.dylib`framework::LoadEnv::startLoading(this=0x00007fff5fbf35b8) +
810 at loadenv.cxx:383
    frame #44: 0x00000001174583e8
libfwklo.dylib`framework::LoadEnv::loadComponentFromURL(xLoader=0x00007fff5fbf3758,
xContext=0x0000000107f8f3d0, sURL=0x00007fff5fbf4b00,
sTarget=0x00007fff5fbf40b8, nFlags=0, lArgs=0x00007fff5fbf40b0) + 280 at
loadenv.cxx:164
    frame #45: 0x00000001174aa369
libfwklo.dylib`framework::Desktop::loadComponentFromURL(this=0x0000000107f8f2b0,
sURL=0x00007fff5fbf4b00, sTargetFrameName=0x00007fff5fbf40b8,
nSearchFlags=0, lArguments=0x00007fff5fbf40b0) + 297 at desktop.cxx:566
    frame #46: 0x00000001174aa45e libfwklo.dylib`non-virtual thunk to
framework::Desktop::loadComponentFromURL(this=0x0000000107f8f328,
sURL=0x00007fff5fbf4b00, sTargetFrameName=0x00007fff5fbf40b8,
nSearchFlags=0, lArguments=0x00007fff5fbf40b0) + 78 at desktop.cxx:567
    frame #47: 0x000000010ef2bda8
libunotest.dylib`unotest::MacrosTest::loadFromDesktop(this=0x00000001005aa868,
rURL=0x00007fff5fbf4b00, rDocService=0x00007fff5fbf4af8,
rExtraArgs=0x00007fff5fbf4af0) + 4152 at macros_test.cxx:50
    frame #48: 0x000000010b9e89b3
libtest_sw_globalfilter.dylib`Test::testSkipImages(this=0x00000001005aa820)
+ 1539 at globalfilter.cxx:694
    frame #49: 0x000000010b9efa9e
libtest_sw_globalfilter.dylib`CppUnit::TestCaller<Test>::runTest(this=0x00000001005aa7d0)
+ 110 at TestCaller.h:166
    frame #50: 0x000000010017d9fe
libcppunit-1.13.0.dylib`CppUnit::TestCaseMethodFunctor::operator(this=0x00007fff5fbf5860)()
const + 110 at TestCase.cpp:32
    frame #51: 0x00000001053c6581 libvclbootstrapprotector.dylib`(anonymous
namespace)::Protector::protect(this=0x00000001029055c0,
functor=0x00007fff5fbf5860, (null)=0x00007fff5fbf56b8) + 33 at
vclbootstrapprotector.cxx:57
    frame #52: 0x00000001001735f8
libcppunit-1.13.0.dylib`CppUnit::ProtectorChain::ProtectFunctor::operator(this=0x0000000121997e40)()
const + 40 at ProtectorChain.cpp:20
    frame #53: 0x00000001007dbe21 unobootstrapprotector.dylib`(anonymous
namespace)::Prot::protect(this=0x00000001003194a0,
functor=0x0000000121997e40, (null)=0x00007fff5fbf56b8) + 33 at
unobootstrapprotector.cxx:88
    frame #54: 0x00000001001735f8
libcppunit-1.13.0.dylib`CppUnit::ProtectorChain::ProtectFunctor::operator(this=0x000000012514f880)()
const + 40 at ProtectorChain.cpp:20
    frame #55: 0x00000001002f9f8f unoexceptionprotector.dylib`(anonymous
namespace)::Prot::protect(this=0x0000000100317e40,
functor=0x000000012514f880, context=0x00007fff5fbf56b8) + 79 at
unoexceptionprotector.cxx:63
    frame #56: 0x00000001001735f8
libcppunit-1.13.0.dylib`CppUnit::ProtectorChain::ProtectFunctor::operator(this=0x0000000121983550)()
const + 40 at ProtectorChain.cpp:20
    frame #57: 0x000000010014cecf
libcppunit-1.13.0.dylib`CppUnit::DefaultProtector::protect(this=0x0000000100317f40,
functor=0x0000000121983550, context=0x00007fff5fbf56b8) + 79 at
DefaultProtector.cpp:15
    frame #58: 0x00000001001735f8
libcppunit-1.13.0.dylib`CppUnit::ProtectorChain::ProtectFunctor::operator(this=0x0000000125153930)()
const + 40 at ProtectorChain.cpp:20
    frame #59: 0x000000010016b01c
libcppunit-1.13.0.dylib`CppUnit::ProtectorChain::protect(this=0x0000000100317d80,
functor=0x00007fff5fbf5860, context=0x00007fff5fbf56b8) + 1788 at
ProtectorChain.cpp:77
    frame #60: 0x000000010019e133
libcppunit-1.13.0.dylib`CppUnit::TestResult::protect(this=0x00007fff5fbf6978,
functor=0x00007fff5fbf5860, test=0x00000001005aa7d0,
shortDescription=0x00007fff5fbf5838) + 99 at TestResult.cpp:181
    frame #61: 0x000000010017d208
libcppunit-1.13.0.dylib`CppUnit::TestCase::run(this=0x00000001005aa7d0,
result=0x00007fff5fbf6978) + 744 at TestCase.cpp:91
    frame #62: 0x000000010017e18d
libcppunit-1.13.0.dylib`CppUnit::TestComposite::doRunChildTests(this=0x0000000100542350,
controller=0x00007fff5fbf6978) + 125 at TestComposite.cpp:64
    frame #63: 0x000000010017e00a
libcppunit-1.13.0.dylib`CppUnit::TestComposite::run(this=0x0000000100542350,
result=0x00007fff5fbf6978) + 90 at TestComposite.cpp:23
    frame #64: 0x000000010017e18d
libcppunit-1.13.0.dylib`CppUnit::TestComposite::doRunChildTests(this=0x00000001005a9ef0,
controller=0x00007fff5fbf6978) + 125 at TestComposite.cpp:64
    frame #65: 0x000000010017e00a
libcppunit-1.13.0.dylib`CppUnit::TestComposite::run(this=0x00000001005a9ef0,
result=0x00007fff5fbf6978) + 90 at TestComposite.cpp:23
    frame #66: 0x00000001001aa8ce
libcppunit-1.13.0.dylib`CppUnit::TestRunner::WrappingSuite::run(this=0x00000001005423b0,
result=0x00007fff5fbf6978) + 78 at TestRunner.cpp:47
    frame #67: 0x000000010019dc72
libcppunit-1.13.0.dylib`CppUnit::TestResult::runTest(this=0x00007fff5fbf6978,
test=0x00000001005423b0) + 82 at TestResult.cpp:148
    frame #68: 0x00000001001aabe8
libcppunit-1.13.0.dylib`CppUnit::TestRunner::run(this=0x00007fff5fbf6050,
controller=0x00007fff5fbf6978, testPath=0x00007fff5fbf5ff0) + 104 at
TestRunner.cpp:96
    frame #69: 0x000000010000366a cppunittester`(anonymous
namespace)::ProtectedFixtureFunctor::run(this=0x00007fff5fbf68b8) const +
2698 at cppunittester.cxx:276
    frame #70: 0x0000000100002356 cppunittester`sal_main() + 3590 at
cppunittester.cxx:379
    frame #71: 0x0000000100001537 cppunittester`main(argc=21,
argv=0x00007fff5fbf6a68) + 39 at cppunittester.cxx:297
    frame #72: 0x00007fff8d2645c9 libdyld.dylib`start + 1
    frame #73: 0x00007fff8d2645c9 libdyld.dylib`start + 1

-- 
http://about.me/rbuj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150603/7d451309/attachment.html>


More information about the LibreOffice mailing list