[vtkusers] VTKMATLABMEXADAPTER: vtkDataArray to vtkImageData

kwayeke bigvision82 at yahoo.com
Tue Jan 4 19:18:51 EST 2011


I finally rebuild vtk 5.6.1  AND successfully created the MEX file but now I
am getting the following error when I ran matlab using the mex file.
---------------------------------------------------------------------------
 Segmentation violation detected at Wed Jan 05 00:10:36 2011
------------------------------------------------------------------------

Configuration:
  MATLAB Version:   7.11.0.584 (R2010b)
  MATLAB License:   363805
  Operating System: Microsoft Windows XP
  Window System:    Version 5.1 (Build 2600: Service Pack 3)
  Processor ID:     x86 Family 6 Model 14 Stepping 8, GenuineIntel
  Virtual Machine:  Java 1.6.0_17-b04 with Sun Microsystems Inc. Java
HotSpot(TM) Client VM mixed mode
  Default Encoding:  windows-1252

Fault Count: 1



Abnormal termination:


Register State (from fault):
  EAX = 00000000  EBX = 2be28040
  ECX = 00000000  EDX = 33f20040
  ESP = 00c2e16c  EBP = 00c2e240
  ESI = 00c2e170  EDI = 00c2e234
 
  EIP = 2b6c28c5  EFL = 00010246
 
   CS = 0000001b   DS = 00000023   SS = 00000023
   ES = 00000023   FS = 0000003b   GS = 00000000


Stack Trace (from fault):
[  0] 0x2b6c28c5 D:/Program
Files/VTK5.0/Build/bin/Debug/vtkVolumeRendering.dll+01845445
vtkFixedPointVolumeRayCastCompositeHelper::GenerateImage+000101
[  1] 0x2b8938e1 D:/Program
Files/VTK5.0/Build/bin/Debug/vtkVolumeRendering.dll+03750113
FixedPointVolumeRayCastMapper_CastRays+000625
[  2] 0x29477007 D:/Program
Files/VTK5.0/Build/bin/Debug/vtkCommon.dll+01667079
vtkMultiThreader::SingleMethodExecute+000823
[  3] 0x2b892ce7 D:/Program
Files/VTK5.0/Build/bin/Debug/vtkVolumeRendering.dll+03747047
vtkFixedPointVolumeRayCastMapper::RenderSubVolume+000087
[  4] 0x2b893510 D:/Program
Files/VTK5.0/Build/bin/Debug/vtkVolumeRendering.dll+03749136
vtkFixedPointVolumeRayCastMapper::Render+000320
[  5] 0x29d9cfda D:/Program
Files/VTK5.0/Build/bin/Debug/vtkRendering.dll+03919834
vtkVolume::RenderVolumetricGeometry+001242
[  6] 0x29cf5522 D:/Program
Files/VTK5.0/Build/bin/Debug/vtkRendering.dll+03233058
vtkRenderer::UpdateGeometry+001730
[  7] 0x29e28c06 D:/Program
Files/VTK5.0/Build/bin/Debug/vtkRendering.dll+04492294
vtkOpenGLRenderer::DeviceRender+000198
[  8] 0x29cf41fe D:/Program
Files/VTK5.0/Build/bin/Debug/vtkRendering.dll+03228158
vtkRenderer::Render+002638
[  9] 0x0bb61260 D:/Documents and
Settings/IBM/Desktop/MATVTK/VTKVOLUME/vo.mexw32+00004704 ???+002638
[ 10] 0x7b833394 D:/Program
Files/MATLAB/R2010b/bin/win32/libmex.dll+00013204 ( mexRunMexFile+000132 )
[ 11] 0x7b832199 D:/Program
Files/MATLAB/R2010b/bin/win32/libmex.dll+00008601 (
inSwapMexfileReader+000201 )
[ 12] 0x7b832391 D:/Program
Files/MATLAB/R2010b/bin/win32/libmex.dll+00009105 (
inSwapMexfileReader+000705 )
[ 13] 0x7a29b0f9 D:/Program
Files/MATLAB/R2010b/bin/win32/m_dispatcher.dll+00045305 (
Mfh_file::dispatch_fh+000249 )
[ 14] 0x7a29b384 D:/Program
Files/MATLAB/R2010b/bin/win32/m_dispatcher.dll+00045956 (
Mfunction_handle::dispatch+000420 )
[ 15] 0x7aa206c2 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00394946 (
MathWorks::MException::MExceptionEnvelope::MExceptionEnvelope+245282 )
[ 16] 0x7a9cbef6 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00048886 (
MStackWatermark::MStackWatermark+028486 )
[ 17] 0x7aa1f721 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00390945 (
MathWorks::MException::MExceptionEnvelope::MExceptionEnvelope+241281 )
[ 18] 0x7aa343c7 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00476103 (
MathWorks::MException::MExceptionEnvelope::MExceptionEnvelope+326439 )
[ 19] 0x7aa344eb D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00476395 (
MathWorks::MException::MExceptionEnvelope::MExceptionEnvelope+326731 )
[ 20] 0x7aa2556c D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00415084 (
MathWorks::MException::MExceptionEnvelope::MExceptionEnvelope+265420 )
[ 21] 0x7aa243f2 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00410610 (
MathWorks::MException::MExceptionEnvelope::MExceptionEnvelope+260946 )
[ 22] 0x7aa2f747 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00456519 (
MathWorks::MException::MExceptionEnvelope::MExceptionEnvelope+306855 )
[ 23] 0x7aa2f7c9 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00456649 (
MathWorks::MException::MExceptionEnvelope::MExceptionEnvelope+306985 )
[ 24] 0x7a29b0f9 D:/Program
Files/MATLAB/R2010b/bin/win32/m_dispatcher.dll+00045305 (
Mfh_file::dispatch_fh+000249 )
[ 25] 0x7a29b384 D:/Program
Files/MATLAB/R2010b/bin/win32/m_dispatcher.dll+00045956 (
Mfunction_handle::dispatch+000420 )
[ 26] 0x7aa8f0d6 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00848086 (
inAnonymousFunction+001158 )
[ 27] 0x7aa8fc46 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00851014 (
inMainLoopIdle+000662 )
[ 28] 0x7a9d68d5 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00092373 (
inFullFevalFcn+003445 )
[ 29] 0x7aa9010f D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00852239 (
inMainLoopIdle+001887 )
[ 30] 0x7aa90159 D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00852313 (
inMainLoopIdle+001961 )
[ 31] 0x7aa9017e D:/Program
Files/MATLAB/R2010b/bin/win32/m_interpreter.dll+00852350 (
inEvalCmdWithLocalReturn+000030 )
[ 32] 0x78346cd3 D:/Program
Files/MATLAB/R2010b/bin/win32/libmwbridge.dll+00027859 (
mnInitializeParser+000179 )
[ 33] 0x7834ab3f D:/Program
Files/MATLAB/R2010b/bin/win32/libmwbridge.dll+00043839 ( mnParser+000495 )
[ 34] 0x7a3eb423   D:/Program Files/MATLAB/R2010b/bin/win32/mcr.dll+00177187
( mcrInstance::mnParser_on_interpreter_thread+000051 )
[ 35] 0x7a3d44c2   D:/Program Files/MATLAB/R2010b/bin/win32/mcr.dll+00083138
( mvm::detail::RecursiveScopedMcrLock::~RecursiveScopedMcrLock+034226 )
[ 36] 0x7a3d4595   D:/Program Files/MATLAB/R2010b/bin/win32/mcr.dll+00083349
( mvm::detail::RecursiveScopedMcrLock::~RecursiveScopedMcrLock+034437 )
[ 37] 0x7a3d2148   D:/Program Files/MATLAB/R2010b/bin/win32/mcr.dll+00074056
( mvm::detail::RecursiveScopedMcrLock::~RecursiveScopedMcrLock+025144 )
[ 38] 0x7b558e21   D:/Program Files/MATLAB/R2010b/bin/win32/uiw.dll+00298529
( UIW_IsUserMessage+000129 )
[ 39] 0x7b5593cf   D:/Program Files/MATLAB/R2010b/bin/win32/uiw.dll+00299983
( ws_ProcessPendingEventsWaitForWindows+000303 )
[ 40] 0x7e431923                     D:/WINDOWS/system32/USER32.dll+00137507
( UnhookWinEvent+000119 )
[ 41] 0x7e42b317                     D:/WINDOWS/system32/USER32.dll+00111383
( MoveWindow+000121 )
[ 42] 0x7e4278d0                     D:/WINDOWS/system32/USER32.dll+00096464
( GetWindowTextLengthW+000154 )
[ 43] 0x7c90e473                      D:/WINDOWS/system32/ntdll.dll+00058483
( KiUserCallbackDispatcher+000019 )
[ 44] 0x7b52e624   D:/Program Files/MATLAB/R2010b/bin/win32/uiw.dll+00124452
( UIW_SetCurrentDialog+000564 )
[ 45] 0x7b52e67f   D:/Program Files/MATLAB/R2010b/bin/win32/uiw.dll+00124543
( UIW_SetCurrentDialog+000655 )
[ 46] 0x7b55a4e5   D:/Program Files/MATLAB/R2010b/bin/win32/uiw.dll+00304357
( ws_FreeSystemFont+000485 )
[ 47] 0x7a0a1b07 D:/Program
Files/MATLAB/R2010b/bin/win32/libuij.dll+00137991 (
sysq::ws_ppeHook::~ws_ppeHook+006887 )
[ 48] 0x7a0a21da D:/Program
Files/MATLAB/R2010b/bin/win32/libuij.dll+00139738 (
sysq::ws_ppeHook::~ws_ppeHook+008634 )
[ 49] 0x7a0a3183 D:/Program
Files/MATLAB/R2010b/bin/win32/libuij.dll+00143747 (
svWS_CommitDatabaseUpdates+002051 )
[ 50] 0x7a0a3a43 D:/Program
Files/MATLAB/R2010b/bin/win32/libuij.dll+00145987 (
svWS_CommitDatabaseUpdates+004291 )
[ 51] 0x7a0a3c36 D:/Program
Files/MATLAB/R2010b/bin/win32/libuij.dll+00146486 (
svWS_CommitDatabaseUpdates+004790 )
[ 52] 0x7a0a3d24 D:/Program
Files/MATLAB/R2010b/bin/win32/libuij.dll+00146724 (
svWS_CommitDatabaseUpdates+005028 )
[ 53] 0x7a0a3ea2 D:/Program
Files/MATLAB/R2010b/bin/win32/libuij.dll+00147106 (
UIJ_WS_ProcessPendingEvents+000018 )
[ 54] 0x7a3d4e3a   D:/Program Files/MATLAB/R2010b/bin/win32/mcr.dll+00085562
( mvm::detail::RecursiveScopedMcrLock::~RecursiveScopedMcrLock+036650 )
[ 55] 0x7a3d506d   D:/Program Files/MATLAB/R2010b/bin/win32/mcr.dll+00086125
( mvm::detail::RecursiveScopedMcrLock::~RecursiveScopedMcrLock+037213 )
[ 56] 0x7a3d531c   D:/Program Files/MATLAB/R2010b/bin/win32/mcr.dll+00086812
( mcr_
-- 
View this message in context: http://vtk.1045678.n5.nabble.com/VTKMATLABMEXADAPTER-vtkDataArray-to-vtkImageData-tp3327361p3328099.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list