crash at `[OECMUCLMTKModel runCMUCLMTKOnCorpusFile:withBin:binarySuffix:]`

Home Forums OpenEars crash at `[OECMUCLMTKModel runCMUCLMTKOnCorpusFile:withBin:binarySuffix:]`

Viewing 2 posts - 1 through 2 (of 2 total)

  • Author
    Posts
  • #1033258
    minilv
    Participant

    .
    .
    .
    7
    myApp
    rr_iopen.c – Line 128
    rr_iclose + 128
    8
    myApp
    idngram2lm.c – Line 1014
    idngram2lm_main + 1014
    9
    myApp
    OECMUCLMTKModel.m – Line 278
    -[OECMUCLMTKModel runCMUCLMTKOnCorpusFile:withBin:binarySuffix:] + 278
    10
    myApp
    OELanguageModelGenerator.m – Line 488
    -[OELanguageModelGenerator createLanguageModelFromFilename:] + 488
    11
    myApp
    OELanguageModelGenerator.m – Line 601
    -[OELanguageModelGenerator generateLanguageModelFromArray:withFilesNamed:forAcousticModelAtPath:] + 601
    12
    myApp
    mySDKController.swift – Line 113
    mySDKController..setupOpenEars() + 113

    ————————————————————
    myApp (353,0x21490be40) malloc: double free for ptr 0x113951000

    When app launch, setup openears, show the crash dump👆🏻.

    #1033260
    xwang
    Participant

    Hi,

    Ang update in this issue? same thing happend here.

    The framework works perfect on my test demo and one of my APPS say App A, but after installed in my App B, it cause crash after launch.

    I thought there may be conflict between the framwork i used in project or some project setting issue? so i try flowing steps:

    1、 removed some suspicious frameworks in project
    2、 removed refrence of openears framework, and re-installed again.
    3、 re-installed the framworks which i removed in step 1.

    then crash disapeear magically, dynamic language model generation success.

    I actually donnt know what happend, after checking wiht my git record, the only things change is the possion of those framworks, but crash just disappear.

    I thought issue was solved for now, but after more test on my App, another framework i used initialize failed after i installed Openears framwork.

    So basically, that’s what happend in my situation, no idea what is the real reason for this. any one can give any hint about this?

    Thank you.
    (I post the crush log the openears print bellow)

    LOG:

    2023-09-21 13:59:03.098729+0800 XiaoWuStoryPhone[70195:4600818] Starting OpenEars logging for OpenEars version 2.509 on 64-bit device (or build): iPhone running iOS version: 13.600000

    2023-09-21 13:59:03.102015+0800 XiaoWuStoryPhone[70195:4600818] Starting dynamic language model generation

    (lldb)

    ————————

    2023-09-21 14:01:42.665183+0800 XiaoWuStoryPhone[13224:2290528] Starting OpenEars logging for OpenEars version 2.509 on 64-bit device (or build): iPhone running iOS version: 16.100000

    2023-09-21 14:01:42.667237+0800 XiaoWuStoryPhone[13224:2290528] Starting dynamic language model generation

    (lldb)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.