Error about using deploytool to build an exe-file

2 views (last 30 days)
the log is:
ant:
<mkdir dir="E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OT\distrib" />
<mkdir dir="E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OT\src" />
mcc -o OT -W WinMain:OT -T link:exe -d E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OT\src -w enable:specified_file_mismatch -w enable:repeated_file -w enable:switch_ignored -w enable:missing_lib_sentinel -w enable:demo_license -v E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OtkbCalibration.m -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\AsynchronousOneBufferedAI.m -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\CLD1015-Manual.pdf -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\CLD1015-ProgrammersReferenceManual.pdf -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\cubeserialnumbers.txt -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\EquipartitionAnalysis.m -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\filename.mat -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\FitPsdFunction.m -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\html -a 'E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\Matlab OTKB GUI Manual.pdf' -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\mccExcludedFiles.log -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OT.prj -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OTKB_M-Manual.pdf -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OtkbCalibration.asv -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OtkbCalibration.fig -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OtkbCalibration.m -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\SaveName.txt -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\Series4000_SPCI_Programmers_Reference_V3.2.pdf -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\SynchronousOneBufferedAI.m -a E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\TransferFunc.m
Warning: MATLAB Toolbox Path Cache is out of date and is not being used.
Type 'help toolbox_path_cache' for more info
Compiler version: 4.18 (R2012b)
Processing D:\Program Files\MATLAB\R2012b\toolbox\matlab\mcc.enc
Processing D:\Program Files\MATLAB\R2012b\toolbox\daq\mcc.enc
Processing D:\Program Files\MATLAB\R2012b\toolbox\signal\mcc.enc
Processing D:\Program Files\MATLAB\R2012b\toolbox\stats\mcc.enc
Processing D:\Program Files\MATLAB\R2012b\toolbox\shared\optimlib\mcc.enc
Processing E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OtkbCalibration.fig
Processing D:\Program Files\MATLAB\R2012b\toolbox\optim\mcc.enc
Processing D:\Program Files\MATLAB\R2012b\toolbox\matlab\guide\guideopts.fig
Processing D:\Program Files\MATLAB\R2012b\toolbox\matlab\winfun\actxcontrolselect.fig
Processing D:\Program Files\MATLAB\R2012b\toolbox\matlab\winfun\actxcontrolcreateproperty.fig
Processing D:\Program Files\MATLAB\R2012b\toolbox\shared\spcuilib\mcc.enc
Processing D:\Program Files\MATLAB\R2012b\toolbox\images\mcc.enc
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OT\src\mccExcludedFiles.log contains a list of functions excluded from the CTF archive.
0 item(s) added.
Generating MATLAB path for the compiled application...
Created 56 path items.
Begin validation of MEX files: Fri Apr 11 11:08:50 2014
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\activeset.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\barrierqplp.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\ippl.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\iptutil.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\libippmwipt.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\neighborhood.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\optimutil.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\servicesproxy.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\tammex.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\tamobjsys.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\bin\win32\tamutil.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\+daq\+ni\private\mexNIDAQmx.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\bin\win32\daqmlconverter.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\bin\win32\ni\mwnidaqmxai.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\bin\win32\ni\mwnidaqmxao.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\daqmex.mexw32'.
Found MATLAB file 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\daqmex.m'.
MEX file
'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\daqmex.mexw32'
is valid. It contains 'mexFunction.'
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\private\WinIo.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\private\mwadvantech.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\private\mwmcc.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\private\mwnidaq.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\private\mwnidaqmx.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\private\mwparallel.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\daq\daq\private\mwwinsound.dll'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\signal\signal\buffer.mexw32'.
Found MATLAB file 'D:\Program Files\MATLAB\R2012b\toolbox\signal\signal\buffer.m'.
MEX file
'D:\Program Files\MATLAB\R2012b\toolbox\signal\signal\buffer.mexw32'
is valid. It contains 'mexFunction.'
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\signal\signal\private\chebwinx.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\signal\signal\private\goertzelmex.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\stats\stats\@sobolset\private\DNToMatrix.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\stats\stats\@sobolset\private\MatrixToDN.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\stats\stats\@sobolset\private\computeDN.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\stats\stats\@sobolset\private\convertToDouble.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\stats\stats\@sobolset\private\matrixBitXor.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\stats\stats\@sobolset\private\sobolIndexed.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\stats\stats\@sobolset\private\sobolNet.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\stats\stats\@sobolset\private\sobolPoint.mexw32'.
No conflicting MATLAB file found.
Validating 'D:\Program Files\MATLAB\R2012b\toolbox\stats\stats\@sobolset\private\sobolSequence.mexw32'.
No conflicting MATLAB file found.
End validation of MEX files: Fri Apr 11 11:08:50 2014
Warning: Adding path "E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab"
to Compiler path instance.
Parsing file "E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OtkbCalibration.m"
(Referenced from: "Compiler Command Line").
Parsing file "D:\Program Files\MATLAB\R2012b\toolbox\compiler\deploy\deployprint.m"
(Referenced from: "Compiler Command Line").
Parsing file "D:\Program Files\MATLAB\R2012b\toolbox\compiler\deploy\printdlg.m"
(Referenced from: "Compiler Command Line").
Error in finding file entry 'C:\Users\LYSSAM\AppData\Local\Temp\mathworks_tmp_5772_10524_5772.auth'
Failed to build CTF file: 'E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OT\src\OT.ctf'.
------------------------------------------------------------------------
(unknown signal) detected at Fri Apr 11 11:37:34 2014
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Default Encoding: GBK
MATLAB Root : D:\Program Files\MATLAB\R2012b
MATLAB Version : 8.0.0.783 (R2012b)
Operating System: Microsoft Windows 7
Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel
Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
Window System : Version 6.1 (Build 7600)
Fault Count: 1
Abnormal termination:
(unknown signal)
Register State (from fault):
EAX = 0028f47c EBX = 00000000
ECX = 00000003 EDX = 00000000
ESP = 0028f47c EBP = 0028f4cc
ESI = 77358c26 EDI = 04d36248
EIP = 7576969b EFL = 00000202
CS = 0000001b DS = 00000023 SS = 00000023
ES = 00000023 FS = 0000003b GS = 00000000
Stack Trace (from fault):
[ 0] 0x7576969b C:\Windows\system32\KERNELBASE.dll+00038555 ( RaiseException+000084 )
[ 1] 0x723adf60 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll+00384864 ( CxxThrowException+000072 )
[ 2] 0x0279e37a D:\Program Files\MATLAB\R2012b\bin\win32\mclbase.dll+00123770 ( MathWorks::mcl::mclInternalException::mclInternalException+000922 )
[ 3] 0x0279e546 D:\Program Files\MATLAB\R2012b\bin\win32\mclbase.dll+00124230 ( MathWorks::mcl::mclInternalException::mclInternalException+001382 )
[ 4] 0x027a0f9f D:\Program Files\MATLAB\R2012b\bin\win32\mclbase.dll+00135071 ( FileRemover::FileRemover+001567 )
[ 5] 0x01114134 D:\Program Files\MATLAB\R2012b\bin\win32\mcc.exe+00082228 ( ???+000000 )
[ 6] 0x011141d6 D:\Program Files\MATLAB\R2012b\bin\win32\mcc.exe+00082390 ( ???+000000 )
[ 7] 0x027a8b55 D:\Program Files\MATLAB\R2012b\bin\win32\mclbase.dll+00166741 ( mclRunMain+000021 )
[ 8] 0x011143cc D:\Program Files\MATLAB\R2012b\bin\win32\mcc.exe+00082892 ( ???+000000 )
[ 9] 0x01133909 D:\Program Files\MATLAB\R2012b\bin\win32\mcc.exe+00211209 ( ???+000000 )
[ 10] 0x77361154 C:\Windows\system32\kernel32.dll+00332116 ( BaseThreadInitThunk+000018 )
[ 11] 0x7751b429 C:\Windows\SYSTEM32\ntdll.dll+00373801 ( RtlInitializeExceptionChain+000099 )
[ 12] 0x7751b3fc C:\Windows\SYSTEM32\ntdll.dll+00373756 ( RtlInitializeExceptionChain+000054 )
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.** This crash report has been saved to disk as C:\Users\LYSSAM\AppData\Local\Temp\matlab_crash_dump.5772-1 **
MATLAB is exiting because of fatal error
* * *
Error* * * in finding file entry 'C:\Users\LYSSAM\AppData\Local\Temp\mathworks_tmp_5772_10524_5772.auth'
Failed to build CTF file: 'E:\Program\OT-soft\OTKB_Program_Revised\OTKB-soft-matlab\OT\src\OT.ctf'.
What is the auth-type file? How to avoid the error?Thank you for your answer!

Answers (2)

Friedrich
Friedrich on 11 Apr 2014
Hi,
When multiple ctfs are generated at nearly the same time, the temporary m-file names could collide and deletion of the m-file in one ctf build can cause other ctf builds to miss the same file.
Please make sure only one build process is started at the same time (by all users logged in into that machine) or try upgrading to R2013b or newer.

André Kolbe
André Kolbe on 26 Sep 2017

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!