About testSkipImages unit test on MacOs

julien2412 serval2412 at yahoo.fr
Fri Mar 25 23:16:43 UTC 2016


Hello,

Several months later
http://nabble.documentfoundation.org/About-skip-SkipImages-unit-test-on-MacOs-td4149788.html,
there's still some pb with testSkipImages on MacOs 10.11 + lode  + master
sources updated some days ago and with dbgutil.
autogen.input:
--enable-debug
--enable-werror
--enable-dbgutil
--disable-firebird-sdbc

Here are the end of trace I get:
"
libc++abi.dylib: terminating with uncaught exception of type
com::sun::star::uno::DeploymentException


Fatal exception: Signal 6
Stack:
/Users/XXXX/lo/lode/dev/core/instdir/LibreOfficeDev.app/Contents/Frameworks/libuno_sal.dylib.3+0x89ad3(_ZL10PrintStacki+0x33)[0x100dd6ad3]
/Users/XXXX/lo/lode/dev/core/instdir/LibreOfficeDev.app/Contents/Frameworks/libuno_sal.dylib.3+0x89a15(_Z17CallSystemHandleri+0x185)[0x100dd6a15]
/Users/XXXX/lo/lode/dev/core/instdir/LibreOfficeDev.app/Contents/Frameworks/libuno_sal.dylib.3+0x8a471(_ZL21SignalHandlerFunctioni+0xd1)[0x100dd7471]
/usr/lib/system/libsystem_platform.dylib+0x4eaa(_sigtramp+0x1a)[0x7fff97d1eeaa]
"

More precisely, I put some debug traces and here what I got:
...
TODO SfxBaseController::attachFrame
TODO SfxBaseController::attachFrame before
TODO SfxBaseController::ConnectSfxFrame_Impl
warn:linguistic:57075:1:linguistic/source/lngsvcmgr.cxx:466: no extension
manager - should fire on mobile only
warn:fwk.uielement:57075:1:framework/source/uifactory/uielementfactorymanager.cxx:509:
could not create factory:
org.apache.openoffice.comp.svx.sidebar.PanelFactory
warn:sfx.sidebar:57075:1:sfx2/source/sidebar/SidebarController.cxx:853:
Cannot create panel private:resource/toolpanel/SvxPanelFactory/EmptyPanel: 
TODO SfxBaseController::ConnectSfxFrame_Impl before
TODO SfxViewFrame::MakeActive_Impl
TODO SfxViewFrame::MakeActive_Impl before
TODO SfxViewFrame::SetViewFrame
TODO SfxApplication::SetViewFrame_Impl
TODO SfxApplication::SetViewFrame_Impl Before
TODO SfxViewFrame::DoActivate: 1
TODO SfxViewFrame::DoActivate B
TODO SfxDispatcher::DoActivate_Impl
TODO SfxDispatcher::DoActivate_Impl DBG F
TODO SfxDispatcher::DoActivate_Impl S
TODO SfxDispatcher::DoActivate_Impl 'int i = int(xImp->aStack.size()) - 1; i
>= 0; --i' loop, i=4 bMDI=1
TODO SfxShell::DoActivate_Impl
TODO SfxShell::DoActivate_Impl A
TODO SfxShell::DoActivate_Impl B
TODO SfxShell::Activate
TODO SfxShell::BroadcastContextForActivation
TODO SfxShell::BroadcastContextForActivation D
TODO SfxShell::BroadcastContextForActivation D1
TODO SfxShell::BroadcastContextForActivation D2
TODO ContextChangeBroadcaster::Activate
TODO SfxShell::BroadcastContextForActivation End
TODO SfxShell::DoActivate_Impl End
TODO SfxDispatcher::DoActivate_Impl 'int i = int(xImp->aStack.size()) - 1; i
>= 0; --i' loop, i=3 bMDI=1
TODO SfxShell::DoActivate_Impl
TODO SfxShell::DoActivate_Impl A
TODO SfxShell::DoActivate_Impl B
TODO SfxShell::Activate
TODO SfxShell::BroadcastContextForActivation
TODO SfxShell::BroadcastContextForActivation D
TODO SfxShell::BroadcastContextForActivation D1
TODO SfxShell::BroadcastContextForActivation D2
TODO ContextChangeBroadcaster::Activate
TODO SfxShell::BroadcastContextForActivation End
TODO SfxShell::DoActivate_Impl End
TODO SfxDispatcher::DoActivate_Impl 'int i = int(xImp->aStack.size()) - 1; i
>= 0; --i' loop, i=2 bMDI=1
TODO SfxShell::DoActivate_Impl
TODO SfxShell::DoActivate_Impl A
TODO SfxShell::DoActivate_Impl B
TODO SfxShell::DoActivate_Impl End
TODO SfxDispatcher::DoActivate_Impl 'int i = int(xImp->aStack.size()) - 1; i
>= 0; --i' loop, i=1 bMDI=1
TODO SfxShell::DoActivate_Impl
TODO SfxShell::DoActivate_Impl A
TODO SfxShell::DoActivate_Impl B
TODO SfxShell::Activate
TODO SfxShell::BroadcastContextForActivation
TODO SfxShell::BroadcastContextForActivation D
TODO SfxShell::BroadcastContextForActivation D1
TODO SfxShell::BroadcastContextForActivation D2
TODO ContextChangeBroadcaster::Activate
TODO SfxShell::BroadcastContextForActivation End
TODO SfxShell::DoActivate_Impl End
TODO SfxDispatcher::DoActivate_Impl 'int i = int(xImp->aStack.size()) - 1; i
>= 0; --i' loop, i=0 bMDI=1
TODO SfxShell::DoActivate_Impl
TODO SfxShell::DoActivate_Impl A
TODO SfxShell::DoActivate_Impl B
libc++abi.dylib: terminating with uncaught exception of type
com::sun::star::uno::DeploymentException

Of course, sorry for these lame manual traces which are less useful than
line number but I had to put these kind of traces during several hours to
advance blindly and finally to obtain this.
Indeed, ../../opt/bin/make CppunitTest_sw_globalfilter CPPUNITTRACE="lldb
--" doesn't help since I can't retrieve a backtrace for a reason I ignore.
(I retrieved some bts on Linux but really stuck here)
Badfully, I can't use Valgrind because it's not yet compatible with MacOs
10.11 (see http://valgrind.org/downloads/current.html)

Anyway, the weird thing I noticed is, for some reason "Activate" line
doesn't appear sometimes in DoActivate_Impl loop whereas it's just the first
trace of "Activate" method which is always called:
328 std::cerr << "TODO SfxShell::DoActivate_Impl A\n";
329     if ( bMDI )
330     {
331         // Remember Frame, in which it was activated
332         pImp->pFrame = pFrame;
333         pImp->bActive = true;
334     }
335 
336 std::cerr << "TODO SfxShell::DoActivate_Impl B\n";
337     // Notify Subclass
338     Activate(bMDI);
339 std::cerr << "TODO SfxShell::DoActivate_Impl End\n";

Any idea how to keep on the investigation?

Julien



--
View this message in context: http://nabble.documentfoundation.org/About-testSkipImages-unit-test-on-MacOs-tp4179552.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list