Hi,

I have just done a superbuild with your setup (2016.03, CMake 3.7, VS 2013 
Community Update 5, and Qt 5.4.2). I switched on MITK_USE_SOFA in the 
superbuild. Boost with a few libraries were force switched on then. I 
configured again and generated the superbuild solution. I built the project 
MITK-Configure in Debug Configuration, and then switched in CMake to the 
MITK-build directory to switch on the two simulation plugins. 
Configure/Gerenrate. I used the debug batch file (!) to open the MITK solution 
and built/run MITKWorkbench. So everything works for me.

Thing that might have gone wrong in your case:


-       Did you check, that the superbuild was completely successful?

-       Did you use the right batch file to open the MITK solution?

-       Did you switch on both simulation plugins?

-       If you’re sure that everything was built successfully, you can either 
go to %APP_DATA%/../Local/DKFZ and delete all the Workbench folders to force a 
clean start of the Workbench, or pass /BlueBerry.clean once as argument to the 
Workbench, which will do the same (remember to remove the argument later). You 
can add the argument in the properties of the MITKWorkbench project 
(Configuration Properties -> Debugging -> Command Arguments).

Best
Stefan



From: Camille Krewcun [mailto:[email protected]]
Sent: Dienstag, 31. Januar 2017 17:54
To: [email protected]
Subject: [mitk-users] [Simulation plugin] Execution error at plugin loading

Hello everyone,

I encounter an execution error (memory access violation) when trying to launch 
MITK Workbench with the simulation plugin.

This error seems to result from a call to the insertArchive method of 
ctkPluginStorageSQL (relatively to org.mitk.simulation plugin), through the 
updateDB method. However I have difficulties to trace back the exact cause of 
the problem through the plugin loading process.

Has this situation been encountered before?

I leave more information concerning the error and my environment below.

Best regards,

Camille


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Build information:

Working on Microsoft Windows 10 Professional (original version 10240)

MITK 2016.03 release sources
CMake 3.7.0
Visual Studio 2013 Community (Update 5)
Qt 5.4.2

All third party libraries automatically downloaded and built during MITK 
superbuild

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Error message:

"Unhandled exception at 0x00007FFF19064FF5 (SofaCore_1_0d.dll) in 
MitkWorkbench.exe: 0xC0000005: Access violation reading location 
0x00007FFF0A90F530."

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Callstack when error is triggered:

>    SofaCore_1_0d.dll!boost::detail::sp_counted_base::release() Line 103
     SofaCore_1_0d.dll!boost::detail::shared_count::~shared_count() Line 471
     [External Code]
     
SofaCore_1_0d.dll!boost::checked_delete<sofa::core::ObjectFactory::ClassEntry>(sofa::core::ObjectFactory::ClassEntry
 * x) Line 34
     
SofaCore_1_0d.dll!boost::detail::sp_counted_impl_p<sofa::core::ObjectFactory::ClassEntry>::dispose()
 Line 79
     SofaCore_1_0d.dll!boost::detail::sp_counted_base::release() Line 104
     SofaCore_1_0d.dll!boost::detail::shared_count::~shared_count() Line 471
     [External Code]
     SofaCore_1_0d.dll!sofa::core::ObjectFactory::~ObjectFactory() Line 37
     [External Code]
     Qt5Cored.dll!QLibraryPrivate::unload_sys() Line 150
     Qt5Cored.dll!QLibraryPrivate::unload(QLibraryPrivate::UnloadFlag flag) 
Line 549
     Qt5Cored.dll!QPluginLoader::unload() Line 256
     
CTKPluginFramework.dll!ctkPluginStorageSQL::insertArchive(QSharedPointer<ctkPluginArchiveSQL>
 pa, QSqlQuery * query) Line 491
     CTKPluginFramework.dll!ctkPluginStorageSQL::updateDB() Line 333
     CTKPluginFramework.dll!ctkPluginStorageSQL::open() Line 179
     
CTKPluginFramework.dll!ctkPluginStorageSQL::ctkPluginStorageSQL(ctkPluginFrameworkContext
 * framework) Line 64
     CTKPluginFramework.dll!ctkPluginFrameworkContext::init() Line 161
     CTKPluginFramework.dll!ctkPluginFrameworkPrivate::init() Line 56
     CTKPluginFramework.dll!ctkPluginFramework::start(const QFlags<enum 
ctkPlugin::StartOption> & options) Line 112
     CTKPluginFramework.dll!ctkPluginFrameworkLauncher::startup(QRunnable * 
__formal) Line 521
     CTKPluginFramework.dll!ctkPluginFrameworkLauncher::run(QRunnable * 
endSplashHandler, const QVariant & argument) Line 425
     MitkAppUtil.dll!mitk::BaseApplication::main(const 
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> 
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > > > & args) Line 686
     PocoUtild.dll!Poco::Util::Application::run() Line 333
     MitkAppUtil.dll!mitk::BaseApplication::run() Line 784
     MitkWorkbench.exe!main(int argc, char * * argv) Line 41
     [External Code]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to