GenTL Producer crashes when trying to integrate SceneScan into MATLAB under Windows

Post Reply
m.wnuk
Posts: 1
Joined: Fri Aug 14, 2020 1:30 pm

GenTL Producer crashes when trying to integrate SceneScan into MATLAB under Windows

Post by m.wnuk »

Dear Nerian Support Team,

we recently installed the windows version of libvisontransfer and tried to read our SceneScanPro using the GenTL Provider via Matlab.

After installation of the libvisiontransfer with "nerian-vision-software-8_1_1-win.exe" and the GenTL Consumer (on the Matlab side) we ran the provided matlab example for testing.

Unfortunately we run in an internal exception (which requires to terminate Matlab) everytime we try to connect to the camera using the "hwinfo = imaqhwinfo('gentl');" command.

In the following I provide the crash dump report with the stacktrace.

Do you have any expericence on this problem?

Best regards
Markus
--------------------------------------------------------------------------------
Access violation detected at Fr Aug 14 03:30:35 2020 +0200
--------------------------------------------------------------------------------

Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 520 Version 26.20.100.7812 (2020-1-21)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 1523322
MATLAB Root : D:\02_Software\MATLAB\2020a
MATLAB Version : 9.8.0.1323502 (R2020a)
OpenGL : hardware
Operating System : Microsoft Windows 10 Enterprise
Process ID : 7992
Processor ID : x86 Family 6 Model 78 Stepping 3, GenuineIntel
Session Key : 739b5f9e-ea9a-4c50-afb0-611f801ebaa3
Window System : Version 10.0 (Build 18363)

Fault Count: 1


Abnormal termination:
Access violation

Register State (from fault):
RAX = 0000000000000000 RBX = 0000018558378308
RCX = 0000000004770fff RDX = 0000000000000000
RSP = 000000657e1f23d0 RBP = 0000018558377c88
RSI = 0000000000000008 RDI = 0400040004000400

R8 = 0000000004770fff R9 = 0000000000000000
R10 = 0400040004000400 R11 = 0400040004000400
R12 = 0000000000000001 R13 = 00007ffad68bd8e0
R14 = 0000018558378340 R15 = 0000000000000000

RIP = 00007ffb604bc719 EFL = 00010203

CS = 0033 FS = 0053 GS = 002b

Stack Trace (from fault):
[ 0] 0x00007ffb604bc719 D:\02_Software\MATLAB\2020a\bin\win64\VCRUNTIME140.dll+00050969 memmove+00001113
[ 1] 0x00007ffad68abd79 D:\02_Software\NerianSceneScan\Nerian Vision Software 8.1.1\gentl\gentl64\nerian-gentl.cti+00114041 visiontransfer::ImageProtocol::transferComplete+00009817
[ 2] 0x00007ffad68a99a6 D:\02_Software\NerianSceneScan\Nerian Vision Software 8.1.1\gentl\gentl64\nerian-gentl.cti+00104870 visiontransfer::ImageProtocol::transferComplete+00000646
[ 3] 0x00007ffad68a739f D:\02_Software\NerianSceneScan\Nerian Vision Software 8.1.1\gentl\gentl64\nerian-gentl.cti+00095135 visiontransfer::ImageProtocol::ImageProtocol+00000095
[ 4] 0x00007ffad68a408b D:\02_Software\NerianSceneScan\Nerian Vision Software 8.1.1\gentl\gentl64\nerian-gentl.cti+00082059 visiontransfer::ImageTransfer::ImageTransfer+00000603
[ 5] 0x00007ffad68a3ea5 D:\02_Software\NerianSceneScan\Nerian Vision Software 8.1.1\gentl\gentl64\nerian-gentl.cti+00081573 visiontransfer::ImageTransfer::ImageTransfer+00000117
[ 6] 0x00007ffad689c237 D:\02_Software\NerianSceneScan\Nerian Vision Software 8.1.1\gentl\gentl64\nerian-gentl.cti+00049719 TLUpdateInterfaceList+00030375
[ 7] 0x00007ffad6899a1e D:\02_Software\NerianSceneScan\Nerian Vision Software 8.1.1\gentl\gentl64\nerian-gentl.cti+00039454 TLUpdateInterfaceList+00020110
[ 8] 0x00007ffad689461e D:\02_Software\NerianSceneScan\Nerian Vision Software 8.1.1\gentl\gentl64\nerian-gentl.cti+00017950 IFOpenDevice+00000046
[ 9] 0x00007ffad8ce225e C:\ProgramData\MATLAB\SupportPackages\R2020a\toolbox\imaq\supportpackages\gentl\adaptor\win64\mwgentlimaq.dll+00336478
[ 10] 0x00007ffad8ce2f96 C:\ProgramData\MATLAB\SupportPackages\R2020a\toolbox\imaq\supportpackages\gentl\adaptor\win64\mwgentlimaq.dll+00339862
[ 11] 0x00007ffad8ce31cb C:\ProgramData\MATLAB\SupportPackages\R2020a\toolbox\imaq\supportpackages\gentl\adaptor\win64\mwgentlimaq.dll+00340427
[ 12] 0x00007ffad8d0866b C:\ProgramData\MATLAB\SupportPackages\R2020a\toolbox\imaq\supportpackages\gentl\adaptor\win64\mwgentlimaq.dll+00493163 getAvailHW+00012667
[ 13] 0x00007ffb529e7edb D:\02_Software\MATLAB\2020a\toolbox\imaq\imaq\imaqmex.mexw64+00163547
[ 14] 0x00007ffb529e7072 D:\02_Software\MATLAB\2020a\toolbox\imaq\imaq\imaqmex.mexw64+00159858
[ 15] 0x00007ffb52a2602e D:\02_Software\MATLAB\2020a\toolbox\imaq\imaq\imaqmex.mexw64+00417838 mexFunction+00000510
[ 16] 0x00007ffb0650d406 D:\02_Software\MATLAB\2020a\bin\win64\libmex.dll+00381958 mexfile::Inspector::needs_upgrade+00015190
[ 17] 0x00007ffb0650e7db D:\02_Software\MATLAB\2020a\bin\win64\libmex.dll+00387035 MexRetrieveVersion+00003563
[ 18] 0x00007ffb0650eb14 D:\02_Software\MATLAB\2020a\bin\win64\libmex.dll+00387860 MexRetrieveVersion+00004388
[ 19] 0x00007ffb064ef819 D:\02_Software\MATLAB\2020a\bin\win64\libmex.dll+00260121 QueryMLFcnTable_libmex+00006377
[ 20] 0x00007ffaffc0aebd bin\win64\pgo\m_dispatcher.dll+00634557 Mfh_file::dispatch_file_common+00000165
[ 21] 0x00007ffaffc0a54d bin\win64\pgo\m_dispatcher.dll+00632141 Mfh_error::lookup+00006517
[ 22] 0x00007ffaffc0ae11 bin\win64\pgo\m_dispatcher.dll+00634385 Mfh_file::dispatch+00000045
[ 23] 0x00007ffafc134002 bin\win64\pgo\m_lxe.dll+00540674
[ 24] 0x00007ffafc131ce4 bin\win64\pgo\m_lxe.dll+00531684
[ 25] 0x00007ffafc210179 bin\win64\pgo\m_lxe.dll+01442169 MathWorks::lxe::StartupLxeEngine+00239509
[ 26] 0x00007ffafc123f8d bin\win64\pgo\m_lxe.dll+00475021
[ 27] 0x00007ffafc126344 bin\win64\pgo\m_lxe.dll+00484164
[ 28] 0x00007ffafc12745d bin\win64\pgo\m_lxe.dll+00488541
[ 29] 0x00007ffafc12704f bin\win64\pgo\m_lxe.dll+00487503
[ 30] 0x00007ffafc230fb4 bin\win64\pgo\m_lxe.dll+01576884 MathWorks::lxe::StartupLxeEngine+00374224
[ 31] 0x00007ffafc12f30b bin\win64\pgo\m_lxe.dll+00520971
[ 32] 0x00007ffafc12562e bin\win64\pgo\m_lxe.dll+00480814
[ 33] 0x00007ffafc124358 bin\win64\pgo\m_lxe.dll+00475992
[ 34] 0x00007ffafc123fdc bin\win64\pgo\m_lxe.dll+00475100
[ 35] 0x00007ffaffb825d0 bin\win64\pgo\m_dispatcher.dll+00075216 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 36] 0x00007ffaffb8226d bin\win64\pgo\m_dispatcher.dll+00074349 Mfh_file::dispatch_with_reuse+00000045
[ 37] 0x00007ffafc13317b bin\win64\pgo\m_lxe.dll+00536955
[ 38] 0x00007ffafc130d47 bin\win64\pgo\m_lxe.dll+00527687
[ 39] 0x00007ffafc242c65 bin\win64\pgo\m_lxe.dll+01649765 MathWorks::lxe::ShutdownLxeEngine+00057593
[ 40] 0x00007ffafc242b8f bin\win64\pgo\m_lxe.dll+01649551 MathWorks::lxe::ShutdownLxeEngine+00057379
[ 41] 0x00007ffafc242a4f bin\win64\pgo\m_lxe.dll+01649231 MathWorks::lxe::ShutdownLxeEngine+00057059
[ 42] 0x00007ffafc131ce4 bin\win64\pgo\m_lxe.dll+00531684
[ 43] 0x00007ffafc263d69 bin\win64\pgo\m_lxe.dll+01785193 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,ir::IrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,ir::IrTree>+00030869
[ 44] 0x00007ffafc123f8d bin\win64\pgo\m_lxe.dll+00475021
[ 45] 0x00007ffafc126344 bin\win64\pgo\m_lxe.dll+00484164
[ 46] 0x00007ffafc12745d bin\win64\pgo\m_lxe.dll+00488541
[ 47] 0x00007ffafc12704f bin\win64\pgo\m_lxe.dll+00487503
[ 48] 0x00007ffafc230fb4 bin\win64\pgo\m_lxe.dll+01576884 MathWorks::lxe::StartupLxeEngine+00374224
[ 49] 0x00007ffafc12f30b bin\win64\pgo\m_lxe.dll+00520971
[ 50] 0x00007ffafc12562e bin\win64\pgo\m_lxe.dll+00480814
[ 51] 0x00007ffafc1246ac bin\win64\pgo\m_lxe.dll+00476844
[ 52] 0x00007ffafc195abf bin\win64\pgo\m_lxe.dll+00940735
[ 53] 0x00007ffafc195c2b bin\win64\pgo\m_lxe.dll+00941099
[ 54] 0x00007ffafc195b22 bin\win64\pgo\m_lxe.dll+00940834
[ 55] 0x00007ffafc1cce70 bin\win64\pgo\m_lxe.dll+01166960
[ 56] 0x00007ffafc1cce1e bin\win64\pgo\m_lxe.dll+01166878
[ 57] 0x00007ffafdbe4ef8 bin\win64\pgo\m_lxe.dll+28528376 MathWorks::lxe::profiler::IMexProfilingSupport::~IMexProfilingSupport+00083312
[ 58] 0x00007ffb0774da8c D:\02_Software\MATLAB\2020a\bin\win64\libmwbridge.dll+00187020 mnParser+00001212
[ 59] 0x00007ffaffec6a99 D:\02_Software\MATLAB\2020a\bin\win64\mcr.dll+00551577 mcr_set_enableReadingFromStdin+00016745
[ 60] 0x00007ffaffe5a05a D:\02_Software\MATLAB\2020a\bin\win64\mcr.dll+00106586 mcrOptions::set_use_license_manager+00071962
[ 61] 0x00007ffaffe7b04a D:\02_Software\MATLAB\2020a\bin\win64\mcr.dll+00241738 mcrOptions::set_use_license_manager+00207114
[ 62] 0x00007ffaffd3653e D:\02_Software\MATLAB\2020a\bin\win64\iqm.dll+00615742 iqm::PackagedTaskPlugin::execute+00000862
[ 63] 0x00007ffaffd363c9 D:\02_Software\MATLAB\2020a\bin\win64\iqm.dll+00615369 iqm::PackagedTaskPlugin::execute+00000489
[ 64] 0x00007ffaffec084e D:\02_Software\MATLAB\2020a\bin\win64\mcr.dll+00526414 mcrIsExternalAvailableBuiltin+00045518
[ 65] 0x00007ffaffd0ca03 D:\02_Software\MATLAB\2020a\bin\win64\iqm.dll+00444931 iqm::Iqm::setupIqmFcnPtrs+00100227
[ 66] 0x00007ffaffce4e2f D:\02_Software\MATLAB\2020a\bin\win64\iqm.dll+00282159 iqm::Iqm::create+00009279
[ 67] 0x00007ffaffce4428 D:\02_Software\MATLAB\2020a\bin\win64\iqm.dll+00279592 iqm::Iqm::create+00006712
[ 68] 0x00007ffaffe97d06 D:\02_Software\MATLAB\2020a\bin\win64\mcr.dll+00359686 mcrInstantiationError::operator=+00012150
[ 69] 0x00007ffaffe9830c D:\02_Software\MATLAB\2020a\bin\win64\mcr.dll+00361228 mcrInstantiationError::operator=+00013692
[ 70] 0x00007ffaffe95f0c D:\02_Software\MATLAB\2020a\bin\win64\mcr.dll+00352012 mcrInstantiationError::operator=+00004476
[ 71] 0x00007ffb5e51a203 D:\02_Software\MATLAB\2020a\bin\win64\mwboost_thread-vc141-mt-x64-1_70.dll+00041475 mwboost::thread::swap+00000083
[ 72] 0x00007ffb65790e82 C:\WINDOWS\System32\ucrtbase.dll+00134786 beginthreadex+00000322
[ 73] 0x00007ffb66057bd4 C:\WINDOWS\System32\KERNEL32.DLL+00097236 BaseThreadInitThunk+00000020
[ 74] 0x00007ffb6782ce51 C:\WINDOWS\SYSTEM32\ntdll.dll+00446033 RtlUserThreadStart+00000033


This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
** This crash report has been saved to disk as C:\Users\ac129490\AppData\Local\Temp\matlab_crash_dump.7992-1 **


Caught MathWorks::System::FatalException
k.schauwecker
Posts: 72
Joined: Mon Mar 25, 2019 1:12 pm

Re: GenTL Producer crashes when trying to integrate SceneScan into MATLAB under Windows

Post by k.schauwecker »

Hi,

does NVCom work on this computer? Could you make sure that SceneScan is updated to the latest firmware to rule out compatibility issues.

Also please let me know if you are using TCP or UDP as protocol. If it's TCP, try if UDP is also affected.

Best regards,
Konstantin
Post Reply