Hi Sascha!
Thanks for reply!
The error message popping up is: Unhandled exception at 0x77e215de in
myProjectAppTwo.exe: 0xC0000005: Access violation reading location 0x000000fc.
The stack trace says:
ntdll.dll!77e215de()
[Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
ntdll.dll!77e215de()
ntdll.dll!77e1014e()
>
>liborg_mitk_gui_qt_stdmultiwidgeteditor.dll!QmitkStdMultiWidgetEditor::GetStdMultiWidget()
> Line 142 + 0xe bytes C++
liborg_company_myplugin2.dll!MITKPluginTest2::CreateQtPartControl(QWidget
* parent=0x05c6ed70) Line 56 + 0xb bytes C++
liborg_mitk_gui_qt_common.dll!QmitkAbstractView::CreatePartControl(void *
parent=0x05c60730) Line 207 + 0x28 bytes C++
liborg_blueberry_ui.dll!berry::ViewReference::CreatePartHelper() Line 311
+ 0x57 bytes C++
liborg_blueberry_ui.dll!berry::ViewReference::CreatePart() Line 156 + 0xf
bytes C++
liborg_blueberry_ui.dll!berry::WorkbenchPartReference::GetPart(bool
restore=true) Line 467 + 0x1d bytes C++
liborg_blueberry_ui.dll!berry::WorkbenchPage::ActivationList::SetActive(berry::SmartPointer<berry::IWorkbenchPartReference>
ref={...}) Line 340 + 0x23 bytes C++
liborg_blueberry_ui.dll!berry::WorkbenchPage::RestoreState(berry::SmartPointer<berry::IMemento>
memento={...}, berry::SmartPointer<berry::IPerspectiveDescriptor>
activeDescriptor={...}) Line 3112 C++
liborg_blueberry_ui.dll!berry::WorkbenchWindow::RestoreState(berry::SmartPointer<berry::IMemento>
memento={...}, berry::SmartPointer<berry::IPerspectiveDescriptor>
activeDescriptor={...}) Line 1036 + 0x73 bytes C++
liborg_blueberry_ui.dll!berry::Workbench::DoRestoreState(berry::SmartPointer<berry::IMemento>
memento={...}, bool & status=true) Line 516 + 0x65 bytes C++
liborg_blueberry_ui.dll!berry::Workbench::RestoreState(berry::SmartPointer<berry::IMemento>
memento={...}) Line 412 C++
liborg_blueberry_ui.dll!berry::RestoreStateRunnable::Run() Line 148 C++
liborg_blueberry_solstice_common.dll!berry::SafeRunner::Run(berry::SmartPointer<berry::ISafeRunnable>
code={...}) Line 30 + 0x20 bytes C++
liborg_blueberry_ui.dll!berry::Workbench::RestoreState() Line 376 + 0x1e
bytes C++
liborg_blueberry_ui.dll!berry::WorkbenchConfigurer::RestoreState() Line
107 C++
liborg_blueberry_ui.dll!berry::WorkbenchAdvisor::OpenWindows() Line 152 +
0x1a bytes C++
liborg_blueberry_ui.dll!berry::Workbench::Init() Line 338 + 0x1b bytes
C++
liborg_blueberry_ui.dll!berry::Workbench::RunUI() Line 743 + 0x8 bytes
C++
liborg_blueberry_ui.dll!berry::Workbench::CreateAndRunWorkbench(berry::Display
* display=0x05d0f9e0, berry::WorkbenchAdvisor * advisor=0x05d10300) Line 190 +
0xb bytes C++
liborg_blueberry_ui.dll!berry::PlatformUI::CreateAndRunWorkbench(berry::Display
* display=0x05d0f9e0, berry::WorkbenchAdvisor * advisor=0x05d10300) Line 59 +
0xd bytes C++
liborg_mitk_gui_qt_extapplication.dll!QmitkExtApplication::Start() Line
32 + 0x4b bytes C++
liborg_blueberry_osgi.dll!berry::Starter::Run(int & argc=1, char * *
argv=0x0101d6a0, Poco::Util::AbstractConfiguration * config=0x02865988) Line
198 + 0x15 bytes C++
myProjectAppTwo.exe!main(int argc=1, char * * argv=0x0101d6a0) Line 42 +
0x17 bytes C++
myProjectAppTwo.exe!__tmainCRTStartup() Line 586 + 0x19 bytes C
myProjectAppTwo.exe!mainCRTStartup() Line 403 C
kernel32.dll!770733aa()
ntdll.dll!77e39ef2()
ntdll.dll!77e39ec5()
Best Regards,
Martin
________________________________
Von: Sascha Zelzer <[email protected]>
An: Martin Tatzber <[email protected]>
CC: "[email protected]" <[email protected]>
Gesendet: 15:01 Donnerstag, 14.Februar 2013
Betreff: Re: [mitk-users] Tutorial Step 9
Hi Martin,
judging from your description, everything you did was correct.
Yes, the "actually do something here..." would be the first entry
point for customizing the functionality of the generated plug-in.
To track down your problems, it would be very helpful if you could
provide us with a stack trace leading to the white inactive
workbench window.
Thanks,
Sascha
On 02/14/2013 10:52 AM, Martin Tatzber wrote:
Hi!
>
>
>Hm, the problem could also be, that I inserted the code on the wrong
>positions... especially at the DoImageProcessing part, I'm not that sure.
>There is a comment in the function saying "actually do something here...".
>This should be the correct place to insert, right? Or was it meant as
>replacing the function ...?
>
>
>Could someone help me, please :)
>
>
>Best Regards,
>Martin
>
>
>
>________________________________
> Von: Martin Tatzber <[email protected]>
>An: Martin Tatzber <[email protected]>;
>"[email protected]" <[email protected]>
>Gesendet: 15:51 Montag, 11.Februar 2013
>Betreff: Re: [mitk-users] Tutorial Step 9
>
>
>Hi!
>
>It's me again^^ I think I figured the problem out, and
I think now that it's a bug of either the MITK or the
code provided in Tutorial Step 9.
>
>I made a new project with a new plugin, and that's
what I experienced now:
>
>When generating the project via the
MITKPluginGenerator, it worked fine. When closing the
app window, an error appeared:
>169.32 core.io.loggingadapter ERROR: ERROR: In
..\..\VTK-src\Rendering\vtkOpenGL
>Texture.cxx, line 58
>vtkOpenGLTexture (10605AF0): PBO should have been
deleted in ReleaseGraphicsResources()
>
>When I started the project, opened and closed the
subwindow of the plugin, and then closed the app
window, the same error appeared even three times.
>Besides of that, there seems to be no problem so far.
>
>
>Then I made the changes described in the Tutorial Step 9. I could now toggle
>point interaction via the "+" button in the plugin window and mark some
>points. I also could close the project and reopen it again. But as soon as I
>marked one point, then a second point, and then selected the first point in
>the list in the plugin window, there is an error:
>44.66 ext.ui.pntListView ERROR: Point set has multiple selected points. This
>view is not designed for more than one selected point.
>
>I just made a left click when selecting the other point, so from my point of
>view, I WAS selecting just one point.
>
>After doing this and closing the project, it won't reopen, showing the
>"Fenster funktioniert nicht mehr" as described before.
>
>
>
>Best Regards,
>Martin
>
>
>
>________________________________
> Von: Martin Tatzber <[email protected]>
>An: "[email protected]" <[email protected]>
>Gesendet: 10:36 Montag, 11.Februar 2013
>Betreff: Re: [mitk-users] Tutorial Step 9
>
>
>Hi!
>
>
>
>Hm still have the problem... I undid the changes in the source, again built it
>with CMake, opened startVS_debug.bat and built the ALL_BUILD. So it now should
>be the original, created by the MITKPluginGenerator.
>
>
>
>I started it with debugging, and now a window appears saying
>"Unhandled exception at 0x772f15de in myProjectApp.exe: 0xC0000005: Access
>violation reading location 0xcdcdcddd."
>
>
>It's pointing at Mutex_WIN32.h at
>
>inline void MutexImp1::unlockImp1()
>{
> LeaveCriticalSection(&_cs); //<-------
>
>}
>
>
>After closing Visual Studio, starting startVS_debug.bat and debugging again,
>it is pointing here at berryObject.cpp, with the same error message appearing:
>
>void Object::Register() const
>{
> Poco::Mutex::ScopedLock lock(m_ReferenceCountLock);
> m_ReferenceCount++;
>
>} //<-------
>
>
>
>Any idea what could be the mistake?
>
>
>Best Regards,
>Martin
>
>
>
>
>________________________________
> Von: Martin Tatzber <[email protected]>
>An: "[email protected]" <[email protected]>
>Gesendet: 14:37 Freitag, 8.Februar 2013
>Betreff: [mitk-users] Tutorial Step 9
>
>
>Hi!
>
>
>I'm still struggling with the plugin thing.
>
>
>I have now created my own project with my own plugin. I tried to work through
>these steps: [1]
>
>
>
>It worked once. I was able to load the Pic3D.nrrd and mark some points via the
>plugin. There was no region grower though, but beside of that, it worked
>really fine. Then I closed the application and opened it again. The Blueberry
>Application window showed up, but stayed white. Then a window showed up saying
>"myProjectApp.exe funktioniert nicht mehr" (I defined myProjectApp as
>project-app-name)
>
>
>I also have a question, which could make the problem clearer: What are the
>steps, if I have a plugin and want to write my own code into it? Here is what
>I did right now:
>I inserted the code pieces described in [1] into the
>myProject\Plugins\org.company.myplugin\src\internal\MyFirstMITKPlugin.cpp and
>the MyFirstMITKPlugin.h (I have one folder "myProject" with the source files
>and one folder "myProject-bin" with the binaries). Then I opened CMake and
>configured and generated everything again. After this, I startet the
>StartVS_debug.bat, built the ALL_BUILD and launched the project, with
>myProjectApp set as StartUp Project.
>
>
>I had the same problem yesterday and somehow managed to get it work again. But
>again, I closed it and wanted it to open again, and the same behaviour occured.
>
>
>
>[1] http://docs.mitk.org/nightly-qt4/Step09Page.html
>
>
>Best Regards,
>Martin
>
>------------------------------------------------------------------------------
>Free Next-Gen Firewall Hardware Offer
>Buy your Sophos next-gen firewall before
the end March 2013
>and get the hardware for free! Learn
more.
>http://p.sf.net/sfu/sophos-d2d-feb
>_______________________________________________
>mitk-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/mitk-users
>
>
>
>------------------------------------------------------------------------------
>Free Next-Gen Firewall Hardware Offer
>Buy your Sophos next-gen firewall before the end
March 2013
>and get the hardware for free! Learn more.
>http://p.sf.net/sfu/sophos-d2d-feb
>_______________________________________________
>mitk-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/mitk-users
>
>
>
>
>------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users