Speech Recognition Engines

Flat
bufferoverflow error in mfcc computation
User: sweet
Date: 4/13/2013 12:35 am
Views: 5668
Rating: 2

While executing make_feats.pl on my wav files I get bufferoverflow error and a list of memory map.

Can any one please help me out to resolve the error.

--- (Edited on 4/13/2013 12:35 am [GMT-0500] by Visitor) ---

Re: bufferoverflow error in mfcc computation
User: kmaclean
Date: 4/14/2013 8:22 pm
Views: 204
Rating: 1

> While executing make_feats.pl on my wav files

need a little more information on the command you executed and the stack trace and the format of the audio files...

You might get more info by asking on the CMU sphinx forum

--- (Edited on 4/14/2013 9:22 pm [GMT-0400] by kmaclean) ---

Re: bufferoverflow error in mfcc computation
User: meshweta_7
Date: 4/14/2013 11:27 pm
Views: 257
Rating: 2

<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } -->

I am using .wav files and have made changes in cfg parametes as .wav and mswav. Here is the error report presented.

/unused/asrws/workspace/hmm$ sudo perl scripts_pl/make_feats.pl -ctl etc/t_train.fileids

-cfg not specified, using the default ./etc/sphinx_train.cfg

-param not specified, using the default ./etc/feat.params

bin/wave2feat \

-verbose yes \

-alpha 0.97 \

-dither yes \

-doublebw no \

-nfilt 40 \

-ncep 13 \

-lowerf 133.33334 \

-upperf 6855.4976 \

-nfft 512 \

-wlen 0.0256 \

-c etc/t_train.fileids \

-mswav yes \

-di /unused/asrws/workspace/hmm/wav \

-ei wav \

-do /unused/asrws/workspace/hmm/feat \

-eo mfc


[Switch] [Default] [Value]

-help no no

-example no no

-i

-o

-c etc/t_train.fileids

-nskip

-runlen

-di /unused/asrws/workspace/hmm/wav

-ei wav

-do /unused/asrws/workspace/hmm/feat

-eo mfc

-nist no no

-raw no no

-mswav no yes

-input_endian little little

-nchans 1 1

-whichchan 1 1

-logspec no no

-feat sphinx sphinx

-mach_endian little little

-alpha 0.97 9.700000e-01

-srate 16000.0 1.600000e+04

-frate 100 100

-wlen 0.025625 2.560000e-02

-nfft 512 512

-nfilt 40 40

-lowerf 133.33334 1.333333e+02

-upperf 6855.4976 6.855498e+03

-ncep 13 13

-doublebw no no

-warp_type inverse_linear inverse_linear

-warp_params

-blocksize 200000 200000

-dither yes yes

-seed -1 -1

-verbose no yes

INFO: fe_interface.c(100): You are using the internal mechanism to generate the seed.

INFO: fe_sigproc.c(752): Current FE Parameters:

INFO: fe_sigproc.c(753): Sampling Rate: 16000.000000

INFO: fe_sigproc.c(754): Frame Size: 410

INFO: fe_sigproc.c(755): Frame Shift: 160

INFO: fe_sigproc.c(756): FFT Size: 512

INFO: fe_sigproc.c(757): Lower Frequency: 133.333

INFO: fe_sigproc.c(758): Upper Frequency: 6855.5

INFO: fe_sigproc.c(759): Number of filters: 40

INFO: fe_sigproc.c(760): Number of Overflow Samps: 0

INFO: fe_sigproc.c(761): Start Utt Status: 0

INFO: fe_sigproc.c(763): Will add dither to audio

INFO: fe_sigproc.c(764): Dither seeded with -1

INFO: fe_sigproc.c(771): Will not use double bandwidth in mel filter

INFO: wave2feat.c(139): /unused/asrws/workspace/hmm/wav/t_clstk/1/amdhrpradesh1.wav

LENGTH: 4

*** buffer overflow detected ***: bin/wave2feat terminated

======= Backtrace: =========

/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f12d6633ee7]

/lib/x86_64-linux-gnu/libc.so.6(+0xfae00)[0x7f12d6632e00]

bin/wave2feat[0x405fb2]

bin/wave2feat[0x406a06]

bin/wave2feat[0x4012e1]

/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f12d655930d]

bin/wave2feat[0x401341]

======= Memory map: ========

00400000-0040d000 r-xp 00000000 07:00 1693815 /unused/asrws/workspace/hmm/bin/wave2feat

0060c000-0060d000 r--p 0000c000 07:00 1693815 /unused/asrws/workspace/hmm/bin/wave2feat

0060d000-0060e000 rw-p 0000d000 07:00 1693815 /unused/asrws/workspace/hmm/bin/wave2feat

0098d000-009ae000 rw-p 00000000 00:00 0 [heap]

7f12d6322000-7f12d6337000 r-xp 00000000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6337000-7f12d6536000 ---p 00015000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6536000-7f12d6537000 r--p 00014000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6537000-7f12d6538000 rw-p 00015000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6538000-7f12d66d1000 r-xp 00000000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d66d1000-7f12d68d0000 ---p 00199000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d68d0000-7f12d68d4000 r--p 00198000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d68d4000-7f12d68d5000 rw-p 0019c000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d68d5000-7f12d68db000 rw-p 00000000 00:00 0

7f12d68db000-7f12d695e000 r-xp 00000000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d695e000-7f12d6b5d000 ---p 00083000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d6b5d000-7f12d6b5e000 r--p 00082000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d6b5e000-7f12d6b5f000 rw-p 00083000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d6b5f000-7f12d6b80000 r-xp 00000000 07:00 2947 /lib/x86_64-linux-gnu/ld-2.13.so

7f12d6d5d000-7f12d6d60000 rw-p 00000000 00:00 0

7f12d6d7b000-7f12d6d7f000 rw-p 00000000 00:00 0

7f12d6d7f000-7f12d6d80000 r--p 00020000 07:00 2947 /lib/x86_64-linux-gnu/ld-2.13.so

7f12d6d80000-7f12d6d82000 rw-p 00021000 07:00 2947 /lib/x86_64-linux-gnu/ld-2.13.so

7fff055a5000-7fff055c6000 rw-p 00000000 00:00 0 [stack]

7fff055ff000-7fff05600000 r-xp 00000000 00:00 0 [vdso]

ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

Aborted

 

--- (Edited on 4/14/2013 11:27 pm [GMT-0500] by meshweta_7) ---

Re: bufferoverflow error in mfcc computation
User: meshweta_7
Date: 4/14/2013 11:30 pm
Views: 264
Rating: 1

<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } -->

I am using .wav files and have made changes in cfg parametes as .wav and mswav. Here is the error report presented.

/unused/asrws/workspace/hmm$ sudo perl scripts_pl/make_feats.pl -ctl etc/t_train.fileids

-cfg not specified, using the default ./etc/sphinx_train.cfg

-param not specified, using the default ./etc/feat.params

bin/wave2feat \

-verbose yes \

-alpha 0.97 \

-dither yes \

-doublebw no \

-nfilt 40 \

-ncep 13 \

-lowerf 133.33334 \

-upperf 6855.4976 \

-nfft 512 \

-wlen 0.0256 \

-c etc/t_train.fileids \

-mswav yes \

-di /unused/asrws/workspace/hmm/wav \

-ei wav \

-do /unused/asrws/workspace/hmm/feat \

-eo mfc


[Switch] [Default] [Value]

-help no no

-example no no

-i

-o

-c etc/t_train.fileids

-nskip

-runlen

-di /unused/asrws/workspace/hmm/wav

-ei wav

-do /unused/asrws/workspace/hmm/feat

-eo mfc

-nist no no

-raw no no

-mswav no yes

-input_endian little little

-nchans 1 1

-whichchan 1 1

-logspec no no

-feat sphinx sphinx

-mach_endian little little

-alpha 0.97 9.700000e-01

-srate 16000.0 1.600000e+04

-frate 100 100

-wlen 0.025625 2.560000e-02

-nfft 512 512

-nfilt 40 40

-lowerf 133.33334 1.333333e+02

-upperf 6855.4976 6.855498e+03

-ncep 13 13

-doublebw no no

-warp_type inverse_linear inverse_linear

-warp_params

-blocksize 200000 200000

-dither yes yes

-seed -1 -1

-verbose no yes

INFO: fe_interface.c(100): You are using the internal mechanism to generate the seed.

INFO: fe_sigproc.c(752): Current FE Parameters:

INFO: fe_sigproc.c(753): Sampling Rate: 16000.000000

INFO: fe_sigproc.c(754): Frame Size: 410

INFO: fe_sigproc.c(755): Frame Shift: 160

INFO: fe_sigproc.c(756): FFT Size: 512

INFO: fe_sigproc.c(757): Lower Frequency: 133.333

INFO: fe_sigproc.c(758): Upper Frequency: 6855.5

INFO: fe_sigproc.c(759): Number of filters: 40

INFO: fe_sigproc.c(760): Number of Overflow Samps: 0

INFO: fe_sigproc.c(761): Start Utt Status: 0

INFO: fe_sigproc.c(763): Will add dither to audio

INFO: fe_sigproc.c(764): Dither seeded with -1

INFO: fe_sigproc.c(771): Will not use double bandwidth in mel filter

INFO: wave2feat.c(139): /unused/asrws/workspace/hmm/wav/t_clstk/1/amdhrpradesh1.wav

LENGTH: 4

*** buffer overflow detected ***: bin/wave2feat terminated

======= Backtrace: =========

/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f12d6633ee7]

/lib/x86_64-linux-gnu/libc.so.6(+0xfae00)[0x7f12d6632e00]

bin/wave2feat[0x405fb2]

bin/wave2feat[0x406a06]

bin/wave2feat[0x4012e1]

/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f12d655930d]

bin/wave2feat[0x401341]

======= Memory map: ========

00400000-0040d000 r-xp 00000000 07:00 1693815 /unused/asrws/workspace/hmm/bin/wave2feat

0060c000-0060d000 r--p 0000c000 07:00 1693815 /unused/asrws/workspace/hmm/bin/wave2feat

0060d000-0060e000 rw-p 0000d000 07:00 1693815 /unused/asrws/workspace/hmm/bin/wave2feat

0098d000-009ae000 rw-p 00000000 00:00 0 [heap]

7f12d6322000-7f12d6337000 r-xp 00000000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6337000-7f12d6536000 ---p 00015000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6536000-7f12d6537000 r--p 00014000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6537000-7f12d6538000 rw-p 00015000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6538000-7f12d66d1000 r-xp 00000000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d66d1000-7f12d68d0000 ---p 00199000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d68d0000-7f12d68d4000 r--p 00198000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d68d4000-7f12d68d5000 rw-p 0019c000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d68d5000-7f12d68db000 rw-p 00000000 00:00 0

7f12d68db000-7f12d695e000 r-xp 00000000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d695e000-7f12d6b5d000 ---p 00083000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d6b5d000-7f12d6b5e000 r--p 00082000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d6b5e000-7f12d6b5f000 rw-p 00083000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d6b5f000-7f12d6b80000 r-xp 00000000 07:00 2947 /lib/x86_64-linux-gnu/ld-2.13.so

7f12d6d5d000-7f12d6d60000 rw-p 00000000 00:00 0

7f12d6d7b000-7f12d6d7f000 rw-p 00000000 00:00 0

7f12d6d7f000-7f12d6d80000 r--p 00020000 07:00 2947 /lib/x86_64-linux-gnu/ld-2.13.so

7f12d6d80000-7f12d6d82000 rw-p 00021000 07:00 2947 /lib/x86_64-linux-gnu/ld-2.13.so

7fff055a5000-7fff055c6000 rw-p 00000000 00:00 0 [stack]

7fff055ff000-7fff05600000 r-xp 00000000 00:00 0 [vdso]

ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

Aborted

 

 

--- (Edited on 4/14/2013 11:30 pm [GMT-0500] by meshweta_7) ---

Re: bufferoverflow error in mfcc computation
User: meshweta_7
Date: 4/14/2013 11:32 pm
Views: 2496
Rating: 1

<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } -->

I am using .wav files and have made changes in cfg parametes as .wav and mswav. Here is the error report presented.

/unused/asrws/workspace/hmm$ sudo perl scripts_pl/make_feats.pl -ctl etc/t_train.fileids

-cfg not specified, using the default ./etc/sphinx_train.cfg

-param not specified, using the default ./etc/feat.params

bin/wave2feat \

-verbose yes \

-alpha 0.97 \

-dither yes \

-doublebw no \

-nfilt 40 \

-ncep 13 \

-lowerf 133.33334 \

-upperf 6855.4976 \

-nfft 512 \

-wlen 0.0256 \

-c etc/t_train.fileids \

-mswav yes \

-di /unused/asrws/workspace/hmm/wav \

-ei wav \

-do /unused/asrws/workspace/hmm/feat \

-eo mfc


[Switch] [Default] [Value]

-help no no

-example no no

-i

-o

-c etc/t_train.fileids

-nskip

-runlen

-di /unused/asrws/workspace/hmm/wav

-ei wav

-do /unused/asrws/workspace/hmm/feat

-eo mfc

-nist no no

-raw no no

-mswav no yes

-input_endian little little

-nchans 1 1

-whichchan 1 1

-logspec no no

-feat sphinx sphinx

-mach_endian little little

-alpha 0.97 9.700000e-01

-srate 16000.0 1.600000e+04

-frate 100 100

-wlen 0.025625 2.560000e-02

-nfft 512 512

-nfilt 40 40

-lowerf 133.33334 1.333333e+02

-upperf 6855.4976 6.855498e+03

-ncep 13 13

-doublebw no no

-warp_type inverse_linear inverse_linear

-warp_params

-blocksize 200000 200000

-dither yes yes

-seed -1 -1

-verbose no yes

INFO: fe_interface.c(100): You are using the internal mechanism to generate the seed.

INFO: fe_sigproc.c(752): Current FE Parameters:

INFO: fe_sigproc.c(753): Sampling Rate: 16000.000000

INFO: fe_sigproc.c(754): Frame Size: 410

INFO: fe_sigproc.c(755): Frame Shift: 160

INFO: fe_sigproc.c(756): FFT Size: 512

INFO: fe_sigproc.c(757): Lower Frequency: 133.333

INFO: fe_sigproc.c(758): Upper Frequency: 6855.5

INFO: fe_sigproc.c(759): Number of filters: 40

INFO: fe_sigproc.c(760): Number of Overflow Samps: 0

INFO: fe_sigproc.c(761): Start Utt Status: 0

INFO: fe_sigproc.c(763): Will add dither to audio

INFO: fe_sigproc.c(764): Dither seeded with -1

INFO: fe_sigproc.c(771): Will not use double bandwidth in mel filter

INFO: wave2feat.c(139): /unused/asrws/workspace/hmm/wav/t_clstk/1/amdhrpradesh1.wav

LENGTH: 4

*** buffer overflow detected ***: bin/wave2feat terminated

======= Backtrace: =========

/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f12d6633ee7]

/lib/x86_64-linux-gnu/libc.so.6(+0xfae00)[0x7f12d6632e00]

bin/wave2feat[0x405fb2]

bin/wave2feat[0x406a06]

bin/wave2feat[0x4012e1]

/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f12d655930d]

bin/wave2feat[0x401341]

======= Memory map: ========

00400000-0040d000 r-xp 00000000 07:00 1693815 /unused/asrws/workspace/hmm/bin/wave2feat

0060c000-0060d000 r--p 0000c000 07:00 1693815 /unused/asrws/workspace/hmm/bin/wave2feat

0060d000-0060e000 rw-p 0000d000 07:00 1693815 /unused/asrws/workspace/hmm/bin/wave2feat

0098d000-009ae000 rw-p 00000000 00:00 0 [heap]

7f12d6322000-7f12d6337000 r-xp 00000000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6337000-7f12d6536000 ---p 00015000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6536000-7f12d6537000 r--p 00014000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6537000-7f12d6538000 rw-p 00015000 07:00 2117 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f12d6538000-7f12d66d1000 r-xp 00000000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d66d1000-7f12d68d0000 ---p 00199000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d68d0000-7f12d68d4000 r--p 00198000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d68d4000-7f12d68d5000 rw-p 0019c000 07:00 2949 /lib/x86_64-linux-gnu/libc-2.13.so

7f12d68d5000-7f12d68db000 rw-p 00000000 00:00 0

7f12d68db000-7f12d695e000 r-xp 00000000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d695e000-7f12d6b5d000 ---p 00083000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d6b5d000-7f12d6b5e000 r--p 00082000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d6b5e000-7f12d6b5f000 rw-p 00083000 07:00 2943 /lib/x86_64-linux-gnu/libm-2.13.so

7f12d6b5f000-7f12d6b80000 r-xp 00000000 07:00 2947 /lib/x86_64-linux-gnu/ld-2.13.so

7f12d6d5d000-7f12d6d60000 rw-p 00000000 00:00 0

7f12d6d7b000-7f12d6d7f000 rw-p 00000000 00:00 0

7f12d6d7f000-7f12d6d80000 r--p 00020000 07:00 2947 /lib/x86_64-linux-gnu/ld-2.13.so

7f12d6d80000-7f12d6d82000 rw-p 00021000 07:00 2947 /lib/x86_64-linux-gnu/ld-2.13.so

7fff055a5000-7fff055c6000 rw-p 00000000 00:00 0 [stack]

7fff055ff000-7fff05600000 r-xp 00000000 00:00 0 [vdso]

ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

Aborted

 

 

--- (Edited on 4/14/2013 11:32 pm [GMT-0500] by meshweta_7) ---

PreviousNext