[vtkusers] VTk/Examples/GUI/Qt/GraphicsView crashed on win7

Dženan Zukić dzenanz at gmail.com
Thu Mar 29 04:58:04 EDT 2012


This example also crashes on my system, but with a different error message:
"Unhandled exception at 0x02512c40 in qtgraphicsview.exe: 0xC0000005:
Access violation at location 0x0000000002512c40."

The crash is in vtk-5.8.0\GUISupport\Qt\QVTKGraphicsItem.cxx, line 113:
mContext->makeCurrent();

I tried a few other Qt examples and they work fine.

2012/3/29 Dženan Zukić <dzenanz at gmail.com>

> This smells a lot like linking to wrong libraries (versions etc). But
> check what the error message complains about: whether the function calling
> convention is the same across your main executable and all the libraries
> linked. "/Gd" is used in my project.
>
>
> On Thu, Mar 29, 2012 at 08:18, septem <septem.wu at gmail.com> wrote:
>
>> Hi
>>
>> I am trying to run VTK/Examples/Gui/Qt/GraphicsView, unfortunately it
>> crashed.
>> my environments:
>>
>> Qt4.8.0
>> vtk5.8
>> VS2010 sp1
>>
>> all are build as x64
>>
>> on windows 7 x64
>>
>> Then I debug the program, and the vs debuger show me that :
>> http://vtk.1045678.n5.nabble.com/file/n5602763/qvtk.png
>>
>> I have no ideal about that.
>>
>> Thanks
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/VTk-Examples-GUI-Qt-GraphicsView-crashed-on-win7-tp5602763p5602763.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120329/2d1001e9/attachment.htm>


More information about the vtkusers mailing list