multiple bdp.sh commands in bash

Viewing 3 reply threads
  • Author
    Posts
    • #1578
      dahyunyi
      Participant

      Hello dear experts!

      I thank you in advance for any help.

      (I’m using imac, and using up-to-date xquartz running bash. I’m using the right MCR version, etc).

      I’m trying to run bdp.sh for many participants sequentially. So, I do:

      /Applications/BrainSuite18a/bdp/bdp.sh subj1.bfc.nii.gz –nii subj1.dwi.nii.gz -g subj1.bvec -b subj1.bval; /Applications/BrainSuite18a/bdp/bdp.sh subj2.bfc.nii.gz –nii subj2.dwi.nii.gz -g subj2.bvec -b subj2.bval; /Applications/BrainSuite18a/bdp/bdp.sh subj3.bfc.nii.gz –nii subj3.dwi.nii.gz -g subj3.bvec -b subj3.bval; etc…

      ==> separating command for each participant by semicolon, which is typically what I would do for bse, bfc, for instance.

      However, this semicolon does not appear to work with bdp.sh. If I input single command for a single participant, everything works a okay. BUT, when I try to do the above (several command separated by ;), it returns error, not moving onto the next command.

      Any help is greatly appreciated.

      How is everyone processing data with many subjects for bdp.sh??

      Thank you a ton!

      Dahyun

    • #1579
      David Shattuck
      Keymaster

      hi Dahyun –

      I don’t know why the semicolon isn’t working — the bash shell should be separating them into separate commands. It looks like you are only using one dash for the –nii flag, though. That could just be how our forum software translated it into text (it sometimes converts two dashes into a single emdash).

      In any case, for multiple subjects, I would typically use a for loop, like this:

      for SubjID in subj1 subj2 subj3; do
      	/Applications/BrainSuite18a/bdp/bdp.sh ${SubjID}.bfc.nii.gz --nii ${SubjID}.dwi.nii.gz -g ${SubjID}.bvec -b ${SubjID}.bval
      done

      For this, you only type the BDP command once, and you can add subjects to the for loop as you like. If you put this in a bash script, you can reuse it, something like:

      #!/bin/bash
      for SubjID in $@; do
      	/Applications/BrainSuite18a/bdp/bdp.sh ${SubjID}.bfc.nii.gz --nii ${SubjID}.dwi.nii.gz -g ${SubjID}.bvec -b ${SubjID}.bval
      done

      If you save that into a file, let’s say runBDPsubjs.sh, make it executable (using chmod +x runBDPsubjs.sh), then you can run it from the command line and pass it the subject IDs that you want to process, e.g.,

      runBDPsubjs.sh subj1 subj2 subj3

      It will run the commands you are trying to call. The $@ in the script contains the arguments that you passed to the script on the command line.

      Hope that helps.

      -David Shattuck

    • #1580
      dahyunyi
      Participant

      Dear David!!

      Thank you so much!!! :D I can’t even express into words how thankful I am to have given a possible solution so quickly.

      I’ll try what you explained so kindly. (and, i am not sure what happened during pasting, but the command indeed is with double dash before nii).

      I’ll update the progress for other users’ FYI.

      Thank you!!

      Dahyun

    • #1581
      dahyunyi
      Participant

      Dear David,

      I did follow your suggestion. And, it works fine except I get an error “segmentation violation detected” (as seen from the matlab_crash_dump. log)

      There is lots of (gibberish looking) information that I cannot make sense of. I’m pasting it here in case it can be helpful. Is it memory problem?

      ————————————————————————
      Segmentation violation detected at Fri Jan 25 17:40:53 2019
      ————————————————————————

      Configuration:
      Crash Decoding : Disabled
      Crash Mode : continue (default)
      Current Graphics Driver: Unknown hardware
      Current Visual : Quartz
      Default Encoding : US-ASCII
      Host Name : SNUHLDY3s-iMac-Pro.local
      MATLAB Architecture : maci64
      MATLAB Root : /Applications/MATLAB/MATLAB_Runtime/v90
      MATLAB Version : 8.6.0.267246 (R2015b)
      OpenGL : hardware
      Operating System : Darwin 17.7.0 Darwin Kernel Version 17.7.0: Wed Oct 10 23:06:14 PDT 2018; root:xnu-4570.71.13~1/RELEASE_X86_64 x86_64
      Processor ID : x86 Family 6 Model 85 Stepping 4, GenuineIntel
      Virtual Machine : Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
      Window System : Quartz

      Fault Count: 1

      Abnormal termination:
      Segmentation violation

      Register State (from fault):
      RAX = 0000000000000000 RBX = 0000000000000000
      RCX = 000070000bd6d6d0 RDX = 00000001124a3540
      RSP = 00007fd8a3013000 RBP = 00009b630bd6d6d0
      RSI = 00007fd8a1d15ff0 RDI = 000070000bd6d6c0

      R8 = 00007fd8a527b040 R9 = 00007fd8a3013000
      R10 = 000000011c71890b R11 = 0000000000000000
      R12 = 000070000bd6d730 R13 = 00000001122ef569
      R14 = 000070000bd6d700 R15 = 000000011c71891d

      RIP = 0000000119297fb0 RFL = 00007fd8a527b040

      CS = 00009b6300305bc2 FS = 000000011c71890b GS = 00007fd8a30131e8

      Stack Trace (from fault):
      [ 0] 0x0000000104af4a34 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwfl.dylib+00027188 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052
      [ 1] 0x0000000104af835a /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwfl.dylib+00041818 _ZN2fl4test17terminate_handledEv+00000746
      [ 2] 0x0000000104af7e08 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwfl.dylib+00040456 _ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000152
      [ 3] 0x0000000109eb3316 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcr.dylib+00336662 _Z32mnRunPathDependentInitializationv+00002806
      [ 4] 0x0000000109eb35a9 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcr.dylib+00337321 _Z32mnRunPathDependentInitializationv+00003465
      [ 5] 0x0000000109eb18ca /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcr.dylib+00329930 mnFatalSignalHandler+00000282
      [ 6] 0x00007fff5820af5a /usr/lib/system/libsystem_platform.dylib+00008026 _sigtramp+00000026
      [ 7] 0x00007fd8a3013000 <unknown-module>+00000000
      [ 8] 0x00000001122e0f09 /Applications/MATLAB/MATLAB_Runtime/v90/sys/java/jre/maci64/jre//lib/server/libjvm.dylib+03149577 jni_GetMethodID+00000126
      [ 9] 0x0000000110654951 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwjmi.dylib+00158033 _Z12mljGetMethodP7_jclassPKcS2_+00000049
      [ 10] 0x000000011c10a41d /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhg.dylib+00549917 _ZN2ui14JavaScreenData11fillDevicesEPNSt3__16vectorIN11gui_objects11Rectangle2dENS1_9allocatorIS4_EEEE+00000221
      [ 11] 0x000000011c10a6dc /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhg.dylib+00550620 _ZN2ui14JavaScreenData20getPrimaryScreenRectEv+00000204
      [ 12] 0x000000011c110cdb /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhg.dylib+00576731 _ZN10ScreenImpl13getScreenSizeEv+00000043
      [ 13] 0x000000011c10efd2 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhg.dylib+00569298 _ZNK2ui24RootScreenAndPointerImpl13getScreenSizeEv+00000018
      [ 14] 0x000000011c1135a2 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhg.dylib+00587170 _ZN2ui4Root17getScreenSizeImplEPN4mcos11COSPropInfoEPNS1_9COSClientEPNS1_12COSInterfaceE+00000034
      [ 15] 0x000000011c47af11 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhg.dylib+04157201 _ZN5boost8functionIFvPN2ui4RootEPN4mcos11COSPropInfoEPKNS4_9COSClientEPNS4_12COSInterfaceENS4_8COSValueEEEaSERKSE_+00000401
      [ 16] 0x0000000112a996d3 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00362195 _ZN4mcos13COSInterfaceI18igetDirectInternalEPNS_12COSInterfaceE+00000131
      [ 17] 0x0000000112a91a4a /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00330314 _ZN4mcos13COSInterfaceI10igetDirectEPKNS_9COSClientEPNS_12COSInterfaceE+00000202
      [ 18] 0x0000000112af7f0b /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00749323 _ZN4mcos6setget28getValueOfKnownClassPropertyEP11mxArray_tagmPKS1_NS_15COSInterfacePtrEPKNS_9COSClientE+00000379
      [ 19] 0x0000000112af8c16 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00752662 _ZN4mcos6setget16getPropertyValueEPKNS_9COSClientEPNS_9COSClassIEPK11mxArray_tagS8_mPS6_+00000454
      [ 20] 0x0000000112af8f57 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00753495 _ZN4mcos6setget15getWithCharImplEPKNS_9COSClientEPKNS_8COSValueE+00000135
      [ 21] 0x0000000112af93b6 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00754614 _ZNK4mcos6setget5GetMI6invokeEPKNS_9COSClientERiPNS_8COSValueEiPKS6_+00000118
      [ 22] 0x0000000112ae2e97 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00663191 _ZN24OpaqueMethodCallMetaData11callCMethodEPN4mcos13COSMethodInfoEPP11mxArray_tagPKNS0_9COSClientE+00000439
      [ 23] 0x0000000112ae57e4 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00673764 _ZN24OpaqueMethodCallMetaData23callMethodOrConstructorEP11mxArray_tagbiPS1_iPPKS0_bPKN4mcos9COSClientEPS9_PPNS6_13COSMethodInfoEb+00000500
      [ 24] 0x0000000112ae604a /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00675914 _ZN20OpaqueMethodMetaData23callMethodOrConstructorEP11mxArray_tagbiPS1_iPPKS0_bPKN4mcos9COSClientEPS9_PPNS6_13COSMethodInfoEb+00000394
      [ 25] 0x0000000112ae3968 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00665960 _Z18mcosCallMethodImplN4mcos9COSNameIDES0_PKNS_9COSClientEiPP11mxArray_tagiPPKS4_bb+00000200
      [ 26] 0x0000000112ae4764 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00669540 _ZN4mcos4impl12omCallMethodENS_9COSNameIDES1_PKNS_9COSClientEiPP11mxArray_tagiPPKS5_b+00000084
      [ 27] 0x0000000112b8df17 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+01363735 _ZN4mcos22COSGenericDynamicPropIC2ENS_9COSStringENS_9COSNameIDES2_+00002967
      [ 28] 0x0000000109ffdc09 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos.dylib+00039945 _Z12omCallMethodRKN4mcos9COSNameIDES2_PKNS_9COSClientEiPP11mxArray_tagiPPKS6_b+00000073
      [ 29] 0x000000011cd77939 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhgutils.dylib+00387385 _ZN7hgutils17MCOSMethodInvoker6invokeEPKN4mcos9COSClientERiPNS1_8COSValueEiPKS6_+00000953
      [ 30] 0x000000011cd7750b /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhgutils.dylib+00386315 _ZN7hgutils14callMCOSMethodERKN4mcos9COSNameIDERKNS0_12MemberAccessEPNS0_8COSClassEPKNS0_9COSClientERiPNS0_8COSValueEiPKSD_+00000107
      [ 31] 0x000000011cd77497 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhgutils.dylib+00386199 _ZN7hgutils14callMCOSMethodERKN4mcos9COSNameIDEPNS0_8COSClassEPKNS0_9COSClientERiPNS0_8COSValueEiPKSA_+00000055
      [ 32] 0x000000011cd5b8d7 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwhgutils.dylib+00272599 _ZThn8_NK7hgutils22HGPropHandlerClassInfo16areChildrenSavedEv+00021847
      [ 33] 0x0000000112ae2e97 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00663191 _ZN24OpaqueMethodCallMetaData11callCMethodEPN4mcos13COSMethodInfoEPP11mxArray_tagPKNS0_9COSClientE+00000439
      [ 34] 0x0000000112ae57e4 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00673764 _ZN24OpaqueMethodCallMetaData23callMethodOrConstructorEP11mxArray_tagbiPS1_iPPKS0_bPKN4mcos9COSClientEPS9_PPNS6_13COSMethodInfoEb+00000500
      [ 35] 0x0000000112ae604a /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00675914 _ZN20OpaqueMethodMetaData23callMethodOrConstructorEP11mxArray_tagbiPS1_iPPKS0_bPKN4mcos9COSClientEPS9_PPNS6_13COSMethodInfoEb+00000394
      [ 36] 0x0000000112ae4a00 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+00670208 _Z22omCallMethodWithClientP11mxArray_tagbS0_iPS0_iPPKS_PKN4mcos9COSClientEPS8_PPNS5_13COSMethodInfoE+00000352
      [ 37] 0x0000000112bffb6a /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+01829738 _ZN16Mfh_MCOS_dynamic11dispatch_mfEiPP11mxArray_tagiS2_+00000442
      [ 38] 0x000000010d610126 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00016678 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000502
      [ 39] 0x0000000112bfedbc /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+01826236 _ZN10Mfh_opaque11dispatch_fhEiPP11mxArray_tagiS2_+00000028
      [ 40] 0x000000010df64787 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+08943495 _ZNK9MathWorks3lxe21UnboundFunctionHandle26invokeAfterPossibleRefreshEmPP11mxArray_tagmPKPKS2_+00000151
      [ 41] 0x000000010df64873 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+08943731 _ZNK9MathWorks3lxe21UnboundFunctionHandle6invokeEmPP11mxArray_tagmPKPKS2_+00000019
      [ 42] 0x000000010df6497a /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+08943994 _ZNK9MathWorks3lxe21UnboundFunctionHandle6invokeEmPNS0_6xvalueEmPKS2_+00000186
      [ 43] 0x000000010df6a92c /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+08968492 _ZN9MathWorks3lxe20call_global_functionERNS0_14ILxeDispatcherEPKcPKNS0_29DispatcherFunctionHandleTokenEmPNS0_6xvalueEmPKS8_+00000156
      [ 44] 0x000000010ddaaa48 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+07133768 _ZN9MathWorks3lxe17LxeDispatcherImpl14apply_dispatchEPKcPKNS0_29DispatcherFunctionHandleTokenEmPNS0_6xvalueEmPKS7_+00000184
      [ 45] 0x000000010df171c6 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+08626630 _ZN9MathWorks3lxe14apply_dispatchEPvNS_2ts4TypeEPKvS1_S1_+00000454
      [ 46] 0x000000010decd4c5 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+08324293 _ZN9MathWorks3lxe38cpp_primitive_template_fn_with_contextIXadL_ZNS0_14apply_dispatchEPvNS_2ts4TypeEPKvS2_S2_EEEEbS2_S4_S6_S2_S2_+00000021
      [ 47] 0x000000010dac170b /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+04081419 callPrimitiveWrapper+00000299
      [ 48] 0x000000010daa94ef /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+03982575 _ZN9MathWorks3lxe15ExecutionDriver9ThreadRunEv+00000639
      [ 49] 0x000000010daba150 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+04051280 _ZN9MathWorks3lxe12IrEngineImpl5ApplyERKN2ir6IrTreeEPvS6_+00000352
      [ 50] 0x000000010dca6a93 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+06068883 _ZN9MathWorks3lxe17IrEngineDecorator5ApplyERKN2ir6IrTreeEPvS6_+00000211
      [ 51] 0x000000010dc6bac2 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+05827266 _ZN9MathWorks3lxe9Evaluator15ApplyStatementsERKN2ir6IrTreeERNS0_18IEvaluationContextE+00000450
      [ 52] 0x000000010dc6d7a7 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+05834663 _ZN9MathWorks3lxe9Evaluator17EvalStatementImplEPKcRNS0_18IEvaluationContextE+00000167
      [ 53] 0x000000010dc6d854 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+05834836 _ZN9MathWorks3lxe9Evaluator13EvalStatementERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEERNS0_18IEvaluationContextE+00000100
      [ 54] 0x000000010dcf28f7 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+06379767 _ZN9MathWorks3lxe9LxeBridge15EvalInWorkSpaceERNS0_18IEvaluationContextEiPP11mxArray_tagiS6_+00000439
      [ 55] 0x000000010dcf315f /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+06381919 _ZN9MathWorks3lxe9LxeBridge6EvalInEiPP11mxArray_tagiS4_+00000287
      [ 56] 0x000000010d6276a6 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00112294 _Z14new_fh_builtinPFviPP11mxArray_tagiS1_EPKcP11MdispatcherP13Mlm_MATLAB_fniiiiibbbi+00001318
      [ 57] 0x000000010d610126 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00016678 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000502
      [ 58] 0x0000000112bf170a /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+01771274 _ZN19Mobject_system_impl11callBuiltinEPKciPP11mxArray_tagiS4_+00000570
      [ 59] 0x000000010d65b06a /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00323690 _Z21mdBuiltinAsBuiltinFcniPP11mxArray_tagiS1_+00000282
      [ 60] 0x000000010d628dd7 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00118231 _ZN11Mlm_builtin11PostLoadFcnEv+00000247
      [ 61] 0x000000010d6118bd /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00022717 _ZN13Mlm_MATLAB_fn4loadEv+00000061
      [ 62] 0x000000010d647399 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00242585 _Z18xxCreateClassArrayPKc+00000425
      [ 63] 0x00000001052097e9 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmx.dylib+00653289 _ZN6matrix6detail10noninlined12mx_array_api18mxCreateClassArrayEPKc+00000073
      [ 64] 0x0000000112bf3bc5 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+01780677 _ZN11MOpaqueType14initLoadModuleEv+00000069
      [ 65] 0x0000000112c04108 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+01847560 _ZN11MOpaqueType10methodListERNSt3__16vectorI19mdMethodDescriptionNS0_9allocatorIS2_EEEEbbi+00000376
      [ 66] 0x0000000112bf36bb /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcos_impl.dylib+01779387 _ZN19Mobject_system_impl10getDynamicEiRNSt3__16vectorIP13Mfh_MATLAB_fnNS0_9allocatorIS3_EEEE+00000155
      [ 67] 0x000000010d65f5e5 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00341477 _ZN18VectorBuilderWorld17pushOpaqueMethodsERNSt3__16vectorIP13Mfh_MATLAB_fnNS0_9allocatorIS3_EEEERNS1_IPKcNS4_IS9_EEEE+00000101
      [ 68] 0x000000010d66000b /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00344075 _ZN18VectorBuilderWorld8getWorldERNSt3__16vectorIP13Mfh_MATLAB_fnNS0_9allocatorIS3_EEEERNS1_IPKcNS4_IS9_EEEE+00002219
      [ 69] 0x000000010d6609ca /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00346570 _Z10mdGetWorldP11Mdispatcher6mpPathiiPKciPK14MTypeAttrTuple17mpCaseSensitivitybRNSt3__16vectorIP13Mfh_MATLAB_fnNS8_9allocatorISB_EEEERNS9_IS3_NSC_IS3_EEEEb+00000170
      [ 70] 0x000000010d645e35 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00237109 _ZN11mdWhichInfo30fill_hidden_and_non_contextualEv+00001669
      [ 71] 0x000000010d64473e /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00231230 _ZN11mdWhichInfo4findEv+00000158
      [ 72] 0x000000011dfbb868 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwwkspintrospect.dylib+00055400 _Z7bnWhichiPP11mxArray_tagiS1_+00001832
      [ 73] 0x000000010d6276a6 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00112294 _Z14new_fh_builtinPFviPP11mxArray_tagiS1_EPKcP11MdispatcherP13Mlm_MATLAB_fniiiiibbbi+00001318
      [ 74] 0x000000010d610126 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00016678 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000502
      [ 75] 0x000000010ddb31f8 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+07168504 _ZZN9MathWorks3lxe21call_mxarray_functionIN5boost3_bi6bind_tIvNS2_4_mfi3mf4Iv16Mfunction_handleiPP11mxArray_tagiSA_EENS3_5list5INS3_5valueIP13Mfh_MATLAB_fnEENS2_3argILi1EEENSH_ILi2EEENSH_ILi3EEENSH_ILi4EEEEEEEmEEbRKT_T0_PNS0_6xvalueESR_PKSS_RNS0_13IMxArrayCacheEEN21MxArrayFunctionCaller19CallMxArrayFunctionEv+00000120
      [ 76] 0x000000010ddaa8e7 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+07133415 _ZN9MathWorks3lxe17LxeDispatcherImpl12apply_handleEPNS0_29DispatcherFunctionHandleTokenEmPNS0_6xvalueEmPKS4_+00000103
      [ 77] 0x000000010deb3de5 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+08220133 _ZN9MathWorks3lxe38cpp_primitive_template_fn_with_contextIXadL_ZNS0_12apply_handleEPvNS_2ts4TypeEPKvS2_S2_EEEEbS2_S4_S6_S2_S2_+00000021
      [ 78] 0x000000010dac170b /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+04081419 callPrimitiveWrapper+00000299
      [ 79] 0x000000010daa94ef /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+03982575 _ZN9MathWorks3lxe15ExecutionDriver9ThreadRunEv+00000639
      [ 80] 0x000000010daba150 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+04051280 _ZN9MathWorks3lxe12IrEngineImpl5ApplyERKN2ir6IrTreeEPvS6_+00000352
      [ 81] 0x000000010dca6a93 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+06068883 _ZN9MathWorks3lxe17IrEngineDecorator5ApplyERKN2ir6IrTreeEPvS6_+00000211
      [ 82] 0x000000010dda16c9 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+07096009 _ZN9MathWorks3lxe27FileBasedMatlabCodeFunction16DispatchFunctionEiPP11mxArray_tagiS4_+00000553
      [ 83] 0x000000010dda11e4 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+07094756 _ZN9MathWorks3lxe27FileBasedMatlabCodeFunction25DispatchFunctionWithReuseEiPP11mxArray_tagiS4_+00000100
      [ 84] 0x000000010d669b53 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00383827 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000819
      [ 85] 0x000000010d669d83 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_dispatcher.dylib+00384387 _ZN8Mfh_file22dispatch_fh_with_reuseEiPP11mxArray_tagiS2_+00000035
      [ 86] 0x000000010df64787 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+08943495 _ZNK9MathWorks3lxe21UnboundFunctionHandle26invokeAfterPossibleRefreshEmPP11mxArray_tagmPKPKS2_+00000151
      [ 87] 0x000000010df64873 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+08943731 _ZNK9MathWorks3lxe21UnboundFunctionHandle6invokeEmPP11mxArray_tagmPKPKS2_+00000019
      [ 88] 0x000000010dc68eaa /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+05815978 _ZN9MathWorks3lxe9Evaluator5FevalEiPP11mxArray_tagiPKPKS2_PKc+00000090
      [ 89] 0x000000010dc6b300 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+05825280 _ZN9MathWorks3lxe9Evaluator5FevalEiPP11mxArray_tagiPKPKS2_PKcRNS0_18IEvaluationContextE+00000400
      [ 90] 0x000000010dce755f /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+06333791 _ZN9MathWorks3lxe9LxeBridge18CallFcnInDesiredWSEiPP11mxArray_tagiS4_PKcP15inWorkSpace_tag+00000111
      [ 91] 0x000000010dce6b9f /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_lxe.dylib+06331295 _ZN9MathWorks3lxe9LxeBridge26CallFcnWithTrapInDesiredWSEiPP11mxArray_tagiS4_PKcbP15inWorkSpace_tag+00001151
      [ 92] 0x000000010c589647 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwm_interpreter.dylib+00554567 _Z44inCallFcnWithTrapInDesiredWSAndPublishEventsiPP11mxArray_tagiS1_PKcbP15inWorkSpace_tag+00000087
      [ 93] 0x000000010d20298b /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwiqm.dylib+00182667 _ZNK3iqm15BaseFEvalPlugin17inCallFcnWithTrapEiPP11mxArray_tagiS3_PKcbP15inWorkSpace_tag+00000043
      [ 94] 0x000000010d202b02 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwiqm.dylib+00183042 _ZN3iqm15BaseFEvalPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000354
      [ 95] 0x0000000109e9202f /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcr.dylib+00200751 _ZN3mcr3mvm27McrSwappingIqmPluginAdapterIN3iqm18DefaultFEvalPluginEE7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000687
      [ 96] 0x000000010d1fc3a1 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwiqm.dylib+00156577 _ZNK3iqm17DefaultPacketInfo7executeEP15inWorkSpace_tag+00000257
      [ 97] 0x000000010d1e05e9 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwiqm.dylib+00042473 _ZN3iqm10DefaultIqm7dequeueEN6mlutil14cmddistributor13WhenToDequeue13WhenToDequeueEN5boost8optionalINSt3__18functionIFvRKNS5_10shared_ptrINS_22IntermediatePacketInfoEEEEEEEENS6_ImEE+00002105
      [ 98] 0x000000010d1e7dec /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwiqm.dylib+00073196 _ZN3iqm10DefaultIqm26isIqmUserEventsModeEnabledEv+00003724
      [ 99] 0x000000010c0d8b4f /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwservices.dylib+00183119 _ZN10eventqueue18UserEventQueueImpl5flushEv+00000975
      [100] 0x0000000110b25325 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwuix.dylib+00041765 _Z25isHandleUserEventCallbackPFvPvE+00000645
      [101] 0x000000010c1c15cc /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwservices.dylib+01136076 _Z40svWS_ProcessPendingEventsWithLimitedRateb+00016332
      [102] 0x000000010c1bcd62 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwservices.dylib+01117538 _Z25svWS_ProcessPendingEventsiib+00000898
      [103] 0x000000010c1bca3b /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwservices.dylib+01116731 _Z25svWS_ProcessPendingEventsiib+00000091
      [104] 0x0000000109e7e717 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcr.dylib+00120599 _ZN3mcr7runtime17InterpreterThread4Impl14process_eventsERKN5boost10shared_ptrIS2_EE+00000103
      [105] 0x0000000109e7ea06 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcr.dylib+00121350 _ZN3mcr7runtime17InterpreterThread4Impl3runERKN5boost10shared_ptrIS2_EEPNS2_12init_contextE+00000358
      [106] 0x0000000109e67116 /Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64/libmwmcr.dylib+00024854 _Z26run_init_and_handle_eventsPv+00000054
      [107] 0x00007fff58214661 /usr/lib/system/libsystem_pthread.dylib+00013921 _pthread_body+00000340
      [108] 0x00007fff5821450d /usr/lib/system/libsystem_pthread.dylib+00013581 _pthread_body+00000000
      [109] 0x00007fff58213bf9 /usr/lib/system/libsystem_pthread.dylib+00011257 thread_start+00000013

      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.

      ======

      Thank you so much!

      Dahyun

Viewing 3 reply threads
  • You must be logged in to reply to this topic.