필터 지우기
필터 지우기

Standalone GUI application crashes when adding a new vertex to an impoly object

조회 수: 2 (최근 30일)
Hello,
I have created a gui (using GUIDE) that serves me to determine the coordinates of points of interest in an image. In order to do so, I use impoly objects and save their vertices locations when I'm satisfied. Everything works like a charm when I launch it through Matlab, but I want other people to help me in my task and wanted to use applicationCompiler to provide them a standalone version of my application.
The compilation is OK, I can launch the app and perform basic operations. However, once I have created an impoly object, I cannot add it any new vertex (pressing key 'a' and clicking on a line of the polygon) because it makes the app crash ...
I've seen someone got a similar problem due to a missing point.png file in the compiled version. However, this png is the pointer that appears when one holds key 'a' pressed and puts the mouse cursor over the polygon and, in my case, this pointer appears without problem. The crash only occurs after I've clicked.
Thanks in advance,
Slim
PS: The logs I get report an access violation :
------------------------------------------------------------------------
Access violation detected at Thu Jun 04 15:04:53 2015
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: NVIDIA Corporation GeForce GTX 970M/PCIe/SSE2 Version 4.4.0 NVIDIA 344.00
Default Encoding : windows-1252
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce GTX 970M Version 9.18.13.4400
Host Name : ASUS2014
MATLAB Architecture : win64
MATLAB Root : C:\Program Files\MATLAB\R2015a
MATLAB Version : 8.5.0.197613 (R2015a)
OpenGL : hardware
Operating System : Microsoft Windows 8.1
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 6.3 (Build 9600)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
RAX = 0000000000000000 RBX = 00000000836c9170
RCX = 0000000000000000 RDX = 0000000082c7f4f0
RSP = 000000001625d4c0 RBP = 000000001625daa0
RSI = 0000000000000000 RDI = 0000000082c7f4f0
R8 = 000000000daf7248 R9 = 000000000d9b9010
R10 = 0000000080801218 R11 = 0000000080801210
R12 = 000000001625d868 R13 = 00000000ecb25598
R14 = 0000000000000000 R15 = 0000000000000000
RIP = 00000000fd0d81de EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00000000fd0d81de C:\Program Files\MATLAB\R2015a\bin\win64\mcr.dll+00360926 mcrInstance::MCallbackAttach+00000014
[ 1] 0x00000000fb3e02b7 C:\Program Files\MATLAB\R2015a\bin\win64\libmwgui.dll+00066231 MCallback::init+00000215
[ 2] 0x00000000fb3def20 C:\Program Files\MATLAB\R2015a\bin\win64\libmwgui.dll+00061216 MCallback::MCallback+00000384
[ 3] 0x0000000062900fca C:\Program Files\MATLAB\R2015a\bin\win64\hgdatatypes.dll+00069578 graphics::datatype::CallbackDataType::copy+00000170
[ 4] 0x0000000062901e01 C:\Program Files\MATLAB\R2015a\bin\win64\hgdatatypes.dll+00073217 graphics::datatype::CallbackDataType::destroy+00003025
[ 5] 0x00000000fb1fc3d8 C:\Program Files\MATLAB\R2015a\bin\win64\hgutils.dll+00312280 hgutils::HGHandle::setProperty+00002120
[ 6] 0x00000000fb1fb9f2 C:\Program Files\MATLAB\R2015a\bin\win64\hgutils.dll+00309746 hgutils::HGHandle::setPVPairs+00000162
[ 7] 0x00000000e3e5b22a C:\Program Files\MATLAB\R2015a\bin\win64\handle_graphics.dll+08565290 graphics::primitive::Group::getPrivateClient+00002234
[ 8] 0x000000000d995740 C:\Program Files\MATLAB\R2015a\bin\win64\mcos_impl.dll+00153408
[ 9] 0x000000000d985af0 C:\Program Files\MATLAB\R2015a\bin\win64\mcos_impl.dll+00088816
[ 10] 0x000000000d9928fe C:\Program Files\MATLAB\R2015a\bin\win64\mcos_impl.dll+00141566
[ 11] 0x000000000d991356 C:\Program Files\MATLAB\R2015a\bin\win64\mcos_impl.dll+00136022
[ 12] 0x000000000d996f4f C:\Program Files\MATLAB\R2015a\bin\win64\mcos_impl.dll+00159567
[ 13] 0x000000000d9937b5 C:\Program Files\MATLAB\R2015a\bin\win64\mcos_impl.dll+00145333
[ 14] 0x000000000d9e2c3a C:\Program Files\MATLAB\R2015a\bin\win64\mcos_impl.dll+00470074 mcos::plugins::init__pm_init+00027114
[ 15] 0x000000000da87ae9 C:\Program Files\MATLAB\R2015a\bin\win64\mcos_impl.dll+01145577 QueryMLFcnTable_mcos_impl+00671417
[ 16] 0x00000000f992fe2f C:\Program Files\MATLAB\R2015a\bin\win64\hgbuiltins.dll+00589359
[ 17] 0x00000000f992fcb7 C:\Program Files\MATLAB\R2015a\bin\win64\hgbuiltins.dll+00588983
[ 18] 0x00000000f9945370 C:\Program Files\MATLAB\R2015a\bin\win64\hgbuiltins.dll+00676720 hgbuiltins::PlotParser::operator=+00048480
[ 19] 0x000000000bb32f5e C:\Program Files\MATLAB\R2015a\bin\win64\m_dispatcher.dll+00077662 mdLogging::log_function_exit+00000110
[ 20] 0x000000000bb3295c C:\Program Files\MATLAB\R2015a\bin\win64\m_dispatcher.dll+00076124 Mfunction_handle::dispatch+00000476
[ 21] 0x000000000ad59597 C:\Program Files\MATLAB\R2015a\bin\win64\m_interpreter.dll+00103831 in_is_matl

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by