Hi,
I would like to confirm that. The application crashes with the following
message when I try to show the Segmentation view:
!3.360! [BlueBerry] WARNING: The class QmitkSegmentationView was not
registered as an Extension Type using BERRY_REGISTER_EXTENSION_CLASS(type,
pluginContext) or you forgot to run Qt's moc on the header file. Legacy
BlueBerry bundles should use CreateExecutableExtension<C>(propertyName,
C::GetManifestName()) instead.
!3.360! [BlueBerry] WARNING: Could not load executable extension
QmitkSegmentationView from org.mitk.gui.qt.segmentation
Another strange issue is that if I delete the hidden directory containing
settings (like .ExtApp) then the application does not start at all. I get
the following error:
!1.970! [BlueBerry] WARNING: The class QmitkDataManagerView was not
registered as an Extension Type using BERRY_REGISTER_EXTENSION_CLASS(type,
pluginContext) or you forgot to run Qt's moc on the header file. Legacy
BlueBerry bundles should use CreateExecutableExtension<C>(propertyName,
C::GetManifestName()) instead.
!1.970! [BlueBerry] WARNING: Could not load executable extension
QmitkDataManagerView from org.mitk.gui.qt.datamanager
However, for the second try it starts.
Is there a way to get the Segmentation view working?
Thanks,
Miklos
On Mon, Jun 13, 2011 at 6:41 PM, Matt Clarkson
<[email protected]>wrote:
> Hi Sascha,
>
> following your email below, I did a git clone of the latest MITK, turned
> the first screen of plugins all on, and did a full SuperBuild on Mac and
> Centos.
>
> The good news on Centos is that both CoreApp and ExtApp do now start. So, i
> believe bug 8481 to do with dynamic casts has been fixed. However, on
> Centos, running ExtApp and selecting Window->Show View and simply loading
> the following plugins gives segmentation faults (see attached log files,
> starting with ExtApp).
>
> DeformableRegistration
> RegionGrowing
> RigidRegistration
> Segmentation
>
> Then on my Mac if I run CoreApp, I get 2 different errors:
>
> If I run with my debugger connected, I get to line berryStarter.cpp line
> 144, the line that reads: app =
> runs.front()->CreateExecutableExtension<IApplication> ("class");
> I put a debug line of text before and after this, and the line of text
> before gets emmitted, and the line of text after doesnt get emmitted. i.e.
> when I step over this line, the application crashes. I have attached the
> Mac crash log.
>
> Thanks for the quick fixes.
>
> Matt
>
> ----- "Sascha Zelzer" <[email protected]> wrote:
>
> > Hi,
> >
> > this has been fixed recently. Please have a look at
> > http://bugs.mitk.org/show_bug.cgi?id=8481 if you are interested in the
> >
> > technical details.
> >
> > Best,
> > Sascha
> >
> > On 06/10/2011 11:56 AM, Sascha Zelzer wrote:
> > > Hi,
> > >
> > > Thanks again for the debugging. We are having the same issue on one
> > of
> > > our Mac machines and a Ubuntu 10.04 machine and are currently
> > working on
> > > a solution. I hope to be able to fix it today.
> > >
> > > Best,
> > > Sascha
> > >
> > > On 06/07/2011 07:17 PM, Matt Clarkson wrote:
> > >> Hi Sascha,
> > >>
> > >> I removed $HOME/.ExtApp, and that resolved the problem of picking
> > up 2 different sets of plugins.
> > >> However, the seg-fault is still happening.
> > >>
> > >> This problem is seen just running the standard MITK ExtApp program
> > from a completely clean build of MITK, on both my Centos and Mac
> > machines.
> > >>
> > >> As far as I can work out on my Centos machine, it's the "result =
> > iter->second.Cast<I>();" in berryTweaklets.h Get method that is
> > failing. When the WorkbenchTweaklet is first created, it is entered
> > into the map, which is a map of smart pointers to objects. When it is
> > used from the map, the Cast operation performs a dynamic cast, and
> > this fails. Swapping to a static_cast instead of a dynamic cast
> > appears to get past this issue, but there are other problems further
> > along the line, where the IPreferencesService appears to not be
> > present.
> > >>
> > >> Thats as far as I have got for now.
> > >>
> > >> Matt
> > >
> > >
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users