Rapid Ears 2.0 crash (EXC_BAD_ACCESS)

Home Forums OpenEars plugins Rapid Ears 2.0 crash (EXC_BAD_ACCESS)

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

  • Author
    Posts
  • #1024906
    dima.nik
    Participant

    Hi, Halle!

    I have a small issue with Rapid Ears 2.0.
    I notice that my app sometimes crashes when I call pocketsphinxController stopListening method. Actually, this crash appears randomly and I don’t found a problem yet.

    Here is stack trace:
    17
    Crashed: com.apple.root.default-qos
    EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000000000004a8

    0 Prompt Smart acmod_flags2list + 268
    1 Prompt Smart acmod_score + 276
    2 Prompt Smart ngram_fwdflat_search + 160
    3 Prompt Smart ngram_search_lattice + 2500
    4 Prompt Smart ps_end_utt + 316
    5 Prompt Smart -[OEContinuousModel(RapidEars) processBufferForRapidEars:] + 1308
    6 Prompt Smart -[OEContinuousModel(RapidEars) heartBeatForRapidEars] + 348
    7 libdispatch.dylib _dispatch_client_callout + 16
    12 libsystem_pthread.dylib _pthread_wqthread + 816

    Here is also a log:
    015-01-16 12:48:23.771 Prompt Smart[13801:60b] Starting OpenEars logging for OpenEars version 2.0 on 64-bit device (or build): iPhone running iOS version: 7.100000
    2015-01-16 12:48:23.864 Prompt Smart[13801:60b] Received memory warning.
    2015-01-16 12:48:23.890 Prompt Smart[13801:b337] The word DRAKE’S was not found in the dictionary /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle/LanguageModelGeneratorLookupList.text.
    2015-01-16 12:48:23.890 Prompt Smart[13801:b337] Now using the fallback method to look up the word DRAKE’S
    2015-01-16 12:48:23.891 Prompt Smart[13801:b337] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the English phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
    2015-01-16 12:48:23.891 Prompt Smart[13801:b337] Using convertGraphemes for the word or phrase DRAKE’S which doesn’t appear in the dictionary
    2015-01-16 12:48:24.009 Prompt Smart[13801:b337] I’m done running performDictionaryLookup and it took 0.184554 seconds
    2015-01-16 12:48:24.021 Prompt Smart[13801:b337] Starting dynamic language model generation

    INFO: cmd_ln.c(702): Parsing command line:
    sphinx_lm_convert \
    -i /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.arpa \
    -o /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.DMP

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -case
    -debug 0
    -help no no
    -i /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.arpa
    -ienc
    -ifmt
    -logbase 1.0001 1.000100e+00
    -mmap no no
    -o /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.DMP
    -oenc utf8 utf8
    -ofmt

    INFO: ngram_model_arpa.c(504): ngrams 1=327, 2=640, 3=619
    INFO: ngram_model_arpa.c(137): Reading unigrams
    INFO: ngram_model_arpa.c(543): 327 = #unigrams created
    INFO: ngram_model_arpa.c(197): Reading bigrams
    INFO: ngram_model_arpa.c(561): 640 = #bigrams created
    INFO: ngram_model_arpa.c(562): 44 = #prob2 entries
    INFO: ngram_model_arpa.c(570): 55 = #bo_wt2 entries
    INFO: ngram_model_arpa.c(294): Reading trigrams
    INFO: ngram_model_arpa.c(583): 619 = #trigrams created
    INFO: ngram_model_arpa.c(584): 14 = #prob3 entries
    INFO: ngram_model_dmp.c(518): Building DMP model…
    INFO: ngram_model_dmp.c(548): 327 = #unigrams created
    INFO: ngram_model_dmp.c(649): 640 = #bigrams created
    INFO: ngram_model_dmp.c(650): 44 = #prob2 entries
    INFO: ngram_model_dmp.c(657): 55 = #bo_wt2 entries
    INFO: ngram_model_dmp.c(661): 619 = #trigrams created
    INFO: ngram_model_dmp.c(662): 14 = #prob3 entries
    2015-01-16 12:48:24.126 Prompt Smart[13801:b337] Done creating language model with CMUCLMTK in 0.103798 seconds.
    INFO: cmd_ln.c(702): Parsing command line:
    sphinx_lm_convert \
    -i /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.arpa \
    -o /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.DMP

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -case
    -debug 0
    -help no no
    -i /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.arpa
    -ienc
    -ifmt
    -logbase 1.0001 1.000100e+00
    -mmap no no
    -o /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.DMP
    -oenc utf8 utf8
    -ofmt

    INFO: ngram_model_arpa.c(504): ngrams 1=327, 2=640, 3=619
    INFO: ngram_model_arpa.c(137): Reading unigrams
    INFO: ngram_model_arpa.c(543): 327 = #unigrams created
    INFO: ngram_model_arpa.c(197): Reading bigrams
    INFO: ngram_model_arpa.c(561): 640 = #bigrams created
    INFO: ngram_model_arpa.c(562): 44 = #prob2 entries
    INFO: ngram_model_arpa.c(570): 55 = #bo_wt2 entries
    INFO: ngram_model_arpa.c(294): Reading trigrams
    INFO: ngram_model_arpa.c(583): 619 = #trigrams created
    INFO: ngram_model_arpa.c(584): 14 = #prob3 entries
    INFO: ngram_model_dmp.c(518): Building DMP model…
    INFO: ngram_model_dmp.c(548): 327 = #unigrams created
    INFO: ngram_model_dmp.c(649): 640 = #bigrams created
    INFO: ngram_model_dmp.c(650): 44 = #prob2 entries
    INFO: ngram_model_dmp.c(657): 55 = #bo_wt2 entries
    INFO: ngram_model_dmp.c(661): 619 = #trigrams created
    INFO: ngram_model_dmp.c(662): 14 = #prob3 entries
    2015-01-16 12:48:24.147 Prompt Smart[13801:b337] I’m done running dynamic language model generation and it took 0.373684 seconds
    2015-01-16 12:48:24.150 Prompt Smart[13801:60b] User gave mic permission for this app.
    2015-01-16 12:48:24.152 Prompt Smart[13801:8237] [info] Engage Apptentive event: local#app#Start_a_Script_Presentation
    2015-01-16 12:48:24.191 Prompt Smart[13801:8237] [info] –Found 1 downloaded and available interaction targeted at the event “local#app#Start_a_Script_Presentation”.
    2015-01-16 12:48:24.200 Prompt Smart[13801:8237] [info] –Criteria not met for available interaction.
    2015-01-16 12:48:24.202 Prompt Smart[13801:8237] [info] –If you are expecting an interaction to be shown at this time, make sure you have fully met the interaction’s requirements as set on your Apptentive dashboard.
    2015-01-16 12:48:24.308 Prompt Smart[13801:60b] User gave mic permission for this app.
    2015-01-16 12:48:24.309 Prompt Smart[13801:60b] setSecondsOfSilence wasn’t set, using default of 0.700000.
    2015-01-16 12:48:24.314 Prompt Smart[13801:8237] Starting listening.
    2015-01-16 12:48:24.316 Prompt Smart[13801:8237] about to set up audio session
    2015-01-16 12:48:24.394 Prompt Smart[13801:482b] 12:48:24.394 ERROR: [0x105558000] AVAudioSessionPortImpl.mm:50: ValidateRequiredFields: Unknown selected data source for Port iPhone –ú–∏–∫—Ä–æ—Ñ–æ–Ω (type: MicrophoneBuiltIn)
    2015-01-16 12:48:24.396 Prompt Smart[13801:482b] Audio route has changed for the following reason:
    2015-01-16 12:48:24.407 Prompt Smart[13801:482b] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
    2015-01-16 12:48:24.413 Prompt Smart[13801:482b] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is —HeadphonesMicrophoneWired—. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x17881ee80,
    inputs = (
    “<AVAudioSessionPortDescription: 0x17881ee60, type = MicrophoneWired; name = \U041c\U0438\U043a\U0440\U043e\U0444\U043e\U043d \U0433\U0430\U0440\U043d\U0438\U0442\U0443\U0440\U044b; UID = Wired Microphone; selectedDataSource = (null)>”
    );
    outputs = (
    “<AVAudioSessionPortDescription: 0x17881ee30, type = Headphones; name = \U041d\U0430\U0443\U0448\U043d\U0438\U043a\U0438; UID = Wired Headphones; selectedDataSource = (null)>”
    )>.
    2015-01-16 12:48:24.423 Prompt Smart[13801:482b] 12:48:24.423 ERROR: [0x105558000] AVAudioSessionPortImpl.mm:50: ValidateRequiredFields: Unknown selected data source for Port iPhone –ú–∏–∫—Ä–æ—Ñ–æ–Ω (type: MicrophoneBuiltIn)
    2015-01-16 12:48:24.425 Prompt Smart[13801:482b] Audio route has changed for the following reason:
    2015-01-16 12:48:24.427 Prompt Smart[13801:482b] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
    2015-01-16 12:48:24.433 Prompt Smart[13801:482b] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is —HeadphonesMicrophoneWired—. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x17881f350,
    inputs = (
    “<AVAudioSessionPortDescription: 0x17881f330, type = MicrophoneWired; name = \U041c\U0438\U043a\U0440\U043e\U0444\U043e\U043d \U0433\U0430\U0440\U043d\U0438\U0442\U0443\U0440\U044b; UID = Wired Microphone; selectedDataSource = (null)>”
    );
    outputs = (null)>.
    2015-01-16 12:48:24.727 Prompt Smart[13801:8237] done starting audio unit
    INFO: cmd_ln.c(702): Parsing command line:
    \
    -lm /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.DMP \
    -vad_threshold 2.000000 \
    -remove_noise yes \
    -remove_silence yes \
    -bestpath no \
    -lw 6.500000 \
    -dict /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.dic \
    -hmm /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -agc none none
    -agcthresh 2.0 2.000000e+00
    -allphone
    -allphone_ci no no
    -alpha 0.97 9.700000e-01
    -argfile
    -ascale 20.0 2.000000e+01
    -aw 1 1
    -backtrace no no
    -beam 1e-48 1.000000e-48
    -bestpath yes no
    -bestpathlw 9.5 9.500000e+00
    -bghist no no
    -ceplen 13 13
    -cmn current current
    -cmninit 8.0 8.0
    -compallsen no no
    -debug 0
    -dict /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.dic
    -dictcase no no
    -dither no no
    -doublebw no no
    -ds 1 1
    -fdict
    -feat 1s_c_d_dd 1s_c_d_dd
    -featparams
    -fillprob 1e-8 1.000000e-08
    -frate 100 100
    -fsg
    -fsgusealtpron yes yes
    -fsgusefiller yes yes
    -fwdflat yes yes
    -fwdflatbeam 1e-64 1.000000e-64
    -fwdflatefwid 4 4
    -fwdflatlw 8.5 8.500000e+00
    -fwdflatsfwin 25 25
    -fwdflatwbeam 7e-29 7.000000e-29
    -fwdtree yes yes
    -hmm /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle
    -input_endian little little
    -jsgf
    -kdmaxbbi -1 -1
    -kdmaxdepth 0 0
    -kdtree
    -keyphrase
    -kws
    -kws_plp 1e-1 1.000000e-01
    -kws_threshold 1 1.000000e+00
    -latsize 5000 5000
    -lda
    -ldadim 0 0
    -lextreedump 0 0
    -lifter 0 0
    -lm /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.DMP
    -lmctl
    -lmname
    -logbase 1.0001 1.000100e+00
    -logfn
    -logspec no no
    -lowerf 133.33334 1.333333e+02
    -lpbeam 1e-40 1.000000e-40
    -lponlybeam 7e-29 7.000000e-29
    -lw 6.5 6.500000e+00
    -maxhmmpf 10000 10000
    -maxnewoov 20 20
    -maxwpf -1 -1
    -mdef
    -mean
    -mfclogdir
    -min_endfr 0 0
    -mixw
    -mixwfloor 0.0000001 1.000000e-07
    -mllr
    -mmap yes yes
    -ncep 13 13
    -nfft 512 512
    -nfilt 40 40
    -nwpen 1.0 1.000000e+00
    -pbeam 1e-48 1.000000e-48
    -pip 1.0 1.000000e+00
    -pl_beam 1e-10 1.000000e-10
    -pl_pbeam 1e-5 1.000000e-05
    -pl_window 0 0
    -rawlogdir
    -remove_dc no no
    -remove_noise yes yes
    -remove_silence yes yes
    -round_filters yes yes
    -samprate 16000 1.600000e+04
    -seed -1 -1
    -sendump
    -senlogdir
    -senmgau
    -silprob 0.005 5.000000e-03
    -smoothspec no no
    -svspec
    -tmat
    -tmatfloor 0.0001 1.000000e-04
    -topn 4 4
    -topn_beam 0 0
    -toprule
    -transform legacy legacy
    -unit_area yes yes
    -upperf 6855.4976 6.855498e+03
    -usewdphones no no
    -uw 1.0 1.000000e+00
    -vad_postspeech 50 50
    -vad_prespeech 10 10
    -vad_threshold 2.0 2.000000e+00
    -var
    -varfloor 0.0001 1.000000e-04
    -varnorm no no
    -verbose no no
    -warp_params
    -warp_type inverse_linear inverse_linear
    -wbeam 7e-29 7.000000e-29
    -wip 0.65 6.500000e-01
    -wlen 0.025625 2.562500e-02

    INFO: cmd_ln.c(702): Parsing command line:
    \
    -nfilt 25 \
    -lowerf 130 \
    -upperf 6800 \
    -feat 1s_c_d_dd \
    -svspec 0-12/13-25/26-38 \
    -agc none \
    -cmn current \
    -varnorm no \
    -transform dct \
    -lifter 22 \
    -cmninit 40

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -agc none none
    -agcthresh 2.0 2.000000e+00
    -alpha 0.97 9.700000e-01
    -ceplen 13 13
    -cmn current current
    -cmninit 8.0 40
    -dither no no
    -doublebw no no
    -feat 1s_c_d_dd 1s_c_d_dd
    -frate 100 100
    -input_endian little little
    -lda
    -ldadim 0 0
    -lifter 0 22
    -logspec no no
    -lowerf 133.33334 1.300000e+02
    -ncep 13 13
    -nfft 512 512
    -nfilt 40 25
    -remove_dc no no
    -remove_noise yes yes
    -remove_silence yes yes
    -round_filters yes yes
    -samprate 16000 1.600000e+04
    -seed -1 -1
    -smoothspec no no
    -svspec 0-12/13-25/26-38
    -transform legacy dct
    -unit_area yes yes
    -upperf 6855.4976 6.800000e+03
    -vad_postspeech 50 50
    -vad_prespeech 10 10
    -vad_threshold 2.0 2.000000e+00
    -varnorm no no
    -verbose no no
    -warp_params
    -warp_type inverse_linear inverse_linear
    -wlen 0.025625 2.562500e-02

    INFO: acmod.c(252): Parsed model-specific feature parameters from /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle/feat.params
    INFO: feat.c(715): Initializing feature stream to type: ‘1s_c_d_dd’, ceplen=13, CMN=’current’, VARNORM=’no’, AGC=’none’
    INFO: cmn.c(143): mean[0]= 12.00, mean[1..12]= 0.0
    INFO: acmod.c(171): Using subvector specification 0-12/13-25/26-38
    INFO: mdef.c(518): Reading model definition: /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle/mdef
    INFO: mdef.c(531): Found byte-order mark BMDF, assuming this is a binary mdef file
    INFO: bin_mdef.c(336): Reading binary model definition: /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle/mdef
    INFO: bin_mdef.c(516): 46 CI-phone, 168344 CD-phone, 3 emitstate/phone, 138 CI-sen, 6138 Sen, 32881 Sen-Seq
    INFO: tmat.c(206): Reading HMM transition probability matrices: /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle/transition_matrices
    INFO: acmod.c(124): Attempting to use SCHMM computation module
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle/means
    INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
    INFO: ms_gauden.c(294): 512×13
    INFO: ms_gauden.c(294): 512×13
    INFO: ms_gauden.c(294): 512×13
    INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle/variances
    INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
    INFO: ms_gauden.c(294): 512×13
    INFO: ms_gauden.c(294): 512×13
    INFO: ms_gauden.c(294): 512×13
    INFO: ms_gauden.c(354): 0 variance values floored
    INFO: s2_semi_mgau.c(904): Loading senones from dump file /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle/sendump
    INFO: s2_semi_mgau.c(928): BEGIN FILE FORMAT DESCRIPTION
    INFO: s2_semi_mgau.c(991): Rows: 512, Columns: 6138
    INFO: s2_semi_mgau.c(1023): Using memory-mapped I/O for senones
    INFO: s2_semi_mgau.c(1294): Maximum top-N: 4 Top-N beams: 0 0 0
    INFO: dict.c(320): Allocating 4501 * 32 bytes (140 KiB) for word entries
    INFO: dict.c(333): Reading main dictionary: /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Library/Caches/1875713894-365866861-Ronald Reagan – Challenger.dic
    INFO: dict.c(213): Allocated 2 KiB for strings, 3 KiB for phones
    INFO: dict.c(336): 396 words read
    INFO: dict.c(342): Reading filler dictionary: /var/mobile/Applications/72034AE7-3229-4CD3-AA42-8C82F00E9EF0/Prompt Smart.app/AcousticModelEnglish.bundle/noisedict
    INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(345): 9 words read
    INFO: dict2pid.c(396): Building PID tables for dictionary
    INFO: dict2pid.c(406): Allocating 46^3 * 2 bytes (190 KiB) for word-initial triphones
    INFO: dict2pid.c(132): Allocated 51152 bytes (49 KiB) for word-final triphones
    INFO: dict2pid.c(196): Allocated 51152 bytes (49 KiB) for single-phone word triphones
    INFO: ngram_model_arpa.c(79): No \data\ mark in LM file
    INFO: ngram_model_dmp.c(166): Will use memory-mapped I/O for LM file
    INFO: ngram_model_dmp.c(220): ngrams 1=327, 2=640, 3=619
    INFO: ngram_model_dmp.c(266): 327 = LM.unigrams(+trailer) read
    INFO: ngram_model_dmp.c(312): 640 = LM.bigrams(+trailer) read
    INFO: ngram_model_dmp.c(338): 619 = LM.trigrams read
    INFO: ngram_model_dmp.c(363): 44 = LM.prob2 entries read
    INFO: ngram_model_dmp.c(383): 55 = LM.bo_wt2 entries read
    INFO: ngram_model_dmp.c(403): 14 = LM.prob3 entries read
    INFO: ngram_model_dmp.c(431): 2 = LM.tseg_base entries read
    INFO: ngram_model_dmp.c(487): 327 = ascii word strings read
    INFO: ngram_search_fwdtree.c(99): 181 unique initial diphones
    INFO: ngram_search_fwdtree.c(148): 0 root, 0 non-root channels, 50 single-phone words
    INFO: ngram_search_fwdtree.c(186): Creating search tree
    INFO: ngram_search_fwdtree.c(192): before: 0 root, 0 non-root channels, 50 single-phone words
    INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 870
    INFO: ngram_search_fwdtree.c(339): after: 181 root, 742 non-root channels, 49 single-phone words
    INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
    2015-01-16 12:48:24.833 Prompt Smart[13801:8237] Restoring SmartCMN value of 33.312500
    2015-01-16 12:48:24.833 Prompt Smart[13801:8237] Listening.
    2015-01-16 12:48:24.835 Prompt Smart[13801:8237] Project has these words or phrases in its dictionary:
    ___REJ_AA
    ___REJ_AE
    ___REJ_AO
    ___REJ_AW
    ___REJ_B
    ___REJ_CH
    ___REJ_D
    ___REJ_DH
    ___REJ_EH
    ___REJ_F
    ___REJ_G
    ___REJ_HH
    ___REJ_IH
    ___REJ_IY
    ___REJ_JH
    ___REJ_K
    ___REJ_L
    ___REJ_M
    ___REJ_N
    ___REJ_NG
    ___REJ_OW
    ___REJ_OY
    ___REJ_P
    ___REJ_R
    ___REJ_S
    ___REJ_SH
    ___REJ_T
    ___REJ_TH
    ___REJ_UH
    ___REJ_UW
    ___REJ_V
    …and 366 more.
    2015-01-16 12:48:24.835 Prompt Smart[13801:8237] Recognition loop has started
    2015-01-16 12:48:24.847 Prompt Smart[13801:60b] Received memory warning.
    2015-01-16 12:48:33.240 Prompt Smart[13801:85c7] Speech detected…
    2015-01-16 12:48:33.241 Prompt Smart[13801:8237] Pocketsphinx heard ” ” with a score of (-3204) and an utterance ID of 2745.
    2015-01-16 12:48:33.242 Prompt Smart[13801:8237] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
    2015-01-16 12:48:33.351 Prompt Smart[13801:8237] Pocketsphinx heard ” ” with a score of (-4132) and an utterance ID of 2746.
    2015-01-16 12:48:33.496 Prompt Smart[13801:8237] Pocketsphinx heard ” ” with a score of (-6315) and an utterance ID of 2747.
    2015-01-16 12:48:33.604 Prompt Smart[13801:8237] Pocketsphinx heard ” ” with a score of (-7384) and an utterance ID of 2748.
    2015-01-16 12:48:33.741 Prompt Smart[13801:8237] Pocketsphinx heard ” ” with a score of (-8437) and an utterance ID of 2749.
    2015-01-16 12:48:33.874 Prompt Smart[13801:8237] Pocketsphinx heard ” ” with a score of (-10221) and an utterance ID of 2750.
    2015-01-16 12:48:33.992 Prompt Smart[13801:8237] Pocketsphinx heard ” ” with a score of (-11067) and an utterance ID of 2751.
    2015-01-16 12:48:34.128 Prompt Smart[13801:8237] Pocketsphinx heard ” ” with a score of (-12187) and an utterance ID of 2752.
    2015-01-16 12:48:34.868 Prompt Smart[13801:85c7] End of speech detected…
    INFO: cmn_prior.c(131): cmn_prior_update: from < 33.31 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 19.97 -7.99 2.01 4.38 -0.16 -1.17 -5.38 2.55 1.75 -0.79 -1.42 1.42 -0.58 >
    INFO: ngram_search_fwdtree.c(1550): 2803 words recognized (25/fr)
    INFO: ngram_search_fwdtree.c(1552): 177185 senones evaluated (1568/fr)
    INFO: ngram_search_fwdtree.c(1556): 82210 channels searched (727/fr), 19729 1st, 20649 last
    INFO: ngram_search_fwdtree.c(1559): 5896 words for which last channels evaluated (52/fr)
    INFO: ngram_search_fwdtree.c(1561): 10050 candidate words for entering last phone (88/fr)
    INFO: ngram_search_fwdtree.c(1564): fwdtree 0.64 CPU 0.565 xRT
    INFO: ngram_search_fwdtree.c(1567): fwdtree 9.85 wall 8.717 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 23 words
    INFO: ngram_search_fwdflat.c(938): 1068 words recognized (9/fr)
    INFO: ngram_search_fwdflat.c(940): 15969 senones evaluated (141/fr)
    INFO: ngram_search_fwdflat.c(942): 6896 channels searched (61/fr)
    INFO: ngram_search_fwdflat.c(944): 2173 words searched (19/fr)
    INFO: ngram_search_fwdflat.c(947): 940 word transitions (8/fr)
    INFO: ngram_search_fwdflat.c(950): fwdflat 0.04 CPU 0.032 xRT
    INFO: ngram_search_fwdflat.c(953): fwdflat 0.03 wall 0.027 xRT
    2015-01-16 12:48:34.901 Prompt Smart[13801:85c7] Pocketsphinx heard ” ” with a score of (-13034) and an utterance ID of 2753.
    2015-01-16 12:48:34.901 Prompt Smart[13801:85c7] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
    2015-01-16 12:48:35.662 Prompt Smart[13801:8237] Speech detected…
    2015-01-16 12:48:35.665 Prompt Smart[13801:85c7] Pocketsphinx heard ” ” with a score of (-2401) and an utterance ID of 2754.
    2015-01-16 12:48:35.666 Prompt Smart[13801:85c7] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
    2015-01-16 12:48:45.018 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS US” with a score of (-142071) and an utterance ID of 2827.
    2015-01-16 12:48:45.138 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS” with a score of (-143754) and an utterance ID of 2828.
    2015-01-16 12:48:45.265 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS THE” with a score of (-145091) and an utterance ID of 2829.
    INFO: cmn_prior.c(99): cmn_prior_update: from < 33.59 1.11 7.24 15.73 0.25 -1.11 -5.26 -5.06 -0.48 -0.17 -6.25 -4.70 2.67 >
    INFO: cmn_prior.c(116): cmn_prior_update: to < 32.39 0.96 7.73 16.92 -0.67 -0.90 -3.00 -4.32 -3.15 -0.63 -4.41 -6.04 3.08 >
    2015-01-16 12:48:45.395 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS THE” with a score of (-147231) and an utterance ID of 2830.
    2015-01-16 12:48:45.523 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS THE” with a score of (-148670) and an utterance ID of 2831.
    2015-01-16 12:48:45.656 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS THE” with a score of (-151667) and an utterance ID of 2832.
    2015-01-16 12:48:45.767 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS THE” with a score of (-153139) and an utterance ID of 2833.
    INFO: ngram_search.c(462): Resized backpointer table to 80000 entries
    2015-01-16 12:48:48.340 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS THE DAY FOR MOURNING AND WOMAN ME” with a score of (-187609) and an utterance ID of 2852.
    INFO: cmn_prior.c(99): cmn_prior_update: from < 32.39 0.96 7.73 16.92 -0.67 -0.90 -3.00 -4.32 -3.15 -0.63 -4.41 -6.04 3.08 >
    INFO: cmn_prior.c(116): cmn_prior_update: to < 31.39 3.82 8.03 15.58 -1.87 -1.62 -1.71 -2.97 -3.82 -1.39 -3.54 -5.41 3.39 >
    2015-01-16 12:48:48.477 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS THE DAY FOR MOURNING AND WOMAN NINETEEN” with a score of (-190420) and an utterance ID of 2853.
    INFO: cmn_prior.c(99): cmn_prior_update: from < 31.39 3.82 8.03 15.58 -1.87 -1.62 -1.71 -2.97 -3.82 -1.39 -3.54 -5.41 3.39 >
    INFO: cmn_prior.c(116): cmn_prior_update: to < 31.63 3.98 8.88 16.30 -4.49 -0.81 0.49 -2.74 -4.51 -2.03 -3.05 -5.39 1.70 >
    2015-01-16 12:48:51.406 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS THE DAY FOR MOURNING AND WOMAN NINETEEN A OF WAVED THE CORE WHICH THANK YOU” with a score of (-235145) and an utterance ID of 2876.
    2015-01-16 12:48:57.056 Prompt Smart[13801:85c7] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
    2015-01-16 12:48:57.057 Prompt Smart[13801:85c7] End of speech detected…
    INFO: cmn_prior.c(131): cmn_prior_update: from < 32.64 1.98 7.99 19.25 -3.49 -2.09 -1.19 -3.05 -3.38 -2.77 -3.36 -5.93 1.19 >
    INFO: cmn_prior.c(149): cmn_prior_update: to < 32.68 2.34 7.53 19.04 -2.17 -0.92 -1.53 -3.59 -3.00 -2.95 -5.34 -5.46 0.64 >
    2015-01-16 12:48:57.061 Prompt Smart[13801:8237] Pocketsphinx heard “LADIES AND GENTLEMEN I’D PLANNED TO SPEAK TO TO YOU TONIGHT TO REPORT THE STATE OF THE UNION BUT TO USED TO THE DAY LED ME TO TO SAYS BONDS THE DAY FOR MOURNING AND WOMAN NINETEEN A OF WAVED THE CORE WHICH TAKING HE THE SHUTTLE SHARE SHIP WE KNOW WE SHARE THIS PAIN THE SO PEOPLE OF TO IT IS TRULY A NATIONAL” with a score of (-312279) and an utterance ID of 2920.
    INFO: ngram_search_fwdtree.c(1550): 80372 words recognized (37/fr)
    INFO: ngram_search_fwdtree.c(1552): 4534643 senones evaluated (2104/fr)
    INFO: ngram_search_fwdtree.c(1556): 2949874 channels searched (1368/fr), 388012 1st, 1654997 last
    INFO: ngram_search_fwdtree.c(1559): 163335 words for which last channels evaluated (75/fr)
    INFO: ngram_search_fwdtree.c(1561): 232663 candidate words for entering last phone (107/fr)
    INFO: ngram_search_fwdtree.c(1564): fwdtree 6.22 CPU 0.289 xRT
    INFO: ngram_search_fwdtree.c(1567): fwdtree 22.16 wall 1.028 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 309 words
    2015-01-16 12:48:57.154 Prompt Smart[13801:8237] [info] Engage Apptentive event: local#app#Exit_Script_Presentation
    2015-01-16 12:48:57.196 Prompt Smart[13801:8237] [info] –Found 1 downloaded and available interaction targeted at the event “local#app#Exit_Script_Presentation”.
    2015-01-16 12:48:57.204 Prompt Smart[13801:60b] Stopping listening.
    2015-01-16 12:48:57.204 Prompt Smart[13801:60b] Cleaning up.
    2015-01-16 12:48:57.205 Prompt Smart[13801:60b] Cleanup complete.
    2015-01-16 12:48:57.203 Prompt Smart[13801:8237] [info] –Criteria not met for available interaction.
    2015-01-16 12:48:57.205 Prompt Smart[13801:8237] [info] –If you are expecting an interaction to be shown at this time, make sure you have fully met the interaction’s requirements as set on your Apptentive dashboard.
    2015-01-16 12:48:57.340 Prompt Smart[13801:60b] Error: couldn’t set session inactive.: ‘!act’
    2015-01-16 12:48:57.341 Prompt Smart[13801:60b] Error: there was a problem tearing down the audio session: Error Domain=NSOSStatusErrorDomain Code=560030580 “The operation couldn’t be completed. (OSStatus error 560030580.)”.
    INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 6.86 CPU 0.303 xRT
    INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 32.01 wall 1.413 xRT
    INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.04 CPU 0.002 xRT
    INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.03 wall 0.001 xRT

    Best regards, Dima.

    #1024909
    Halle Winkler
    Politepix

    Hi,

    It looks like what is happening is that listening is being successfully stopped while recognition is still in progress. I haven’t ever seen an example of this, but it would be very helpful if you could show me a replicable example. I don’t know if it is possible, but could you take a look at this post:

    https://www.politepix.com/forums/topic/how-to-create-a-minimal-case-for-replication/

    And see if it is possible to create a case which replicates this? I have put it in as a bug and I will investigate it more regardless, but it would be very helpful.

    This error raises some questions:

    Error: couldn’t set session inactive.: ‘!act’

    Normally this would not happen unless there were other elements using the audio session simultaneously. Does your app have other audio or video running?

    #1024913
    dima.nik
    Participant

    Hi!
    I’ll try to replicate a bug and tell answer tomorrow.

    About your question: yes, I use audio session simultaneously in order to record a speech. And also there is possibility to record video.

    Thanks

    #1024914
    Halle Winkler
    Politepix

    OK, that is very unlikely to work perfectly – it is fairly probable that the other media objects’ audio session requirements are breaking OpenEars’ required audio session. The error before the crash may suggest that the crash has some connection to this specifically. But I would be happy to take a look at an example like the kind described in the other post I linked to, since I would prefer that this kind of situation is handled as gracefully as possible by OpenEars. Keep in mind that if you are doing all of these things at the same time, although the crash is in a Pocketsphinx library function, it can be caused as a result of an action or flaw in another library.

    Something else I would recommend is to put a guard around your calls to stopListening by checking whether isListening is TRUE first. You can see examples of this in the sample app.

    #1024923
    dima.nik
    Participant

    Hi!
    I added guard around calls to stopListening. Thanks for this.
    Also I can’t reproduce issue with crash for some time.

    But I will try to do this, and give you update ASAP.

    Thanks.

    #1024965
    dima.nik
    Participant

    Hi!
    I can’t reproduce exactly this crash on sample project.
    But I reproduce another one, not sure if they are related.

    Here is stack trace:
    EXC_BAD_ACCESS

    0 ngram_search_save_bp
    1 ngram_fwdflat_search
    2 ngram_search_set_lm
    3 ps_end_utt
    4 ps_get_hyp_re_demo
    5 ps_get_hyp_re_demo
    6 _dispatch_client_callout
    7 _dispatch_source_latch_and_call
    8 _dispatch_source_invoke
    9 _dispatch_root_queue_drain
    10 _dispatch_worker_thread3
    11 _pthread_wqthread

    Please use replication example from this topic : https://www.politepix.com/forums/topic/rapid-ears-final-hypotesis/

    This crash happens randomly.

    Thanks.

    #1024966
    Halle Winkler
    Politepix

    Great, I’ll take a look.

    #1025648
    Halle Winkler
    Politepix

    Hello,

    Take a look and see if OpenEars and RapidEars 2.04 fix this for you.

    #1025731
    dima.nik
    Participant

    Hi!
    Thanks, I’ll take a look.

    #1026558
    dima.nik
    Participant

    Hi, Halle!
    Sorry for big delay.
    I have updated project with new Rapid Ears 2.04 provided by customer.
    I have tested app for a while, and crash is gone.

    Thanks for your work!

    #1026559
    Halle Winkler
    Politepix

    That’s great, thank you for the feedback.

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