mibrahim210 / voiceid

Automatically exported from code.google.com/p/voiceid
0 stars 0 forks source link

test on ubuntu12.04 sphinx_fe buffer overflow detected #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have installed all dependencies and test on ubuntu12.04.

When I tried vid -i INPUT_FILE -u, I've got the following messages:

converting_file
diarization
*** buffer overflow detected ***: sphinx_fe terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xb75dedd5]
/lib/i386-linux-gnu/libc.so.6(+0xfebaa)[0xb75ddbaa]
/lib/i386-linux-gnu/libc.so.6(+0xfdedd)[0xb75dcedd]
sphinx_fe[0x8049aef]
sphinx_fe[0x804ae3c]
sphinx_fe[0x8048fc6]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb74f84d3]
sphinx_fe[0x8049025]
======= Memory map: ========
08048000-0804e000 r-xp 00000000 08:01 1067556    /usr/bin/sphinx_fe
0804e000-0804f000 r--p 00005000 08:01 1067556    /usr/bin/sphinx_fe
0804f000-08050000 rw-p 00006000 08:01 1067556    /usr/bin/sphinx_fe
09299000-092ba000 rw-p 00000000 00:00 0          [heap]
b7482000-b749e000 r-xp 00000000 08:01 394166     
/lib/i386-linux-gnu/libgcc_s.so.1
b749e000-b749f000 r--p 0001b000 08:01 394166     
/lib/i386-linux-gnu/libgcc_s.so.1
b749f000-b74a0000 rw-p 0001c000 08:01 394166     
/lib/i386-linux-gnu/libgcc_s.so.1
b74b2000-b74b3000 rw-p 00000000 00:00 0 
b74b3000-b74dd000 r-xp 00000000 08:01 394177     
/lib/i386-linux-gnu/libm-2.15.so
b74dd000-b74de000 r--p 00029000 08:01 394177     
/lib/i386-linux-gnu/libm-2.15.so
b74de000-b74df000 rw-p 0002a000 08:01 394177     
/lib/i386-linux-gnu/libm-2.15.so
b74df000-b767e000 r-xp 00000000 08:01 394145     
/lib/i386-linux-gnu/libc-2.15.so
b767e000-b7680000 r--p 0019f000 08:01 394145     
/lib/i386-linux-gnu/libc-2.15.so
b7680000-b7681000 rw-p 001a1000 08:01 394145     
/lib/i386-linux-gnu/libc-2.15.so
b7681000-b7685000 rw-p 00000000 00:00 0 
b7685000-b769c000 r-xp 00000000 08:01 394225     
/lib/i386-linux-gnu/libpthread-2.15.so
b769c000-b769d000 r--p 00016000 08:01 394225     
/lib/i386-linux-gnu/libpthread-2.15.so
b769d000-b769e000 rw-p 00017000 08:01 394225     
/lib/i386-linux-gnu/libpthread-2.15.so
b769e000-b76a0000 rw-p 00000000 00:00 0 
b76a0000-b76d4000 r-xp 00000000 08:01 1067215    /usr/lib/libsphinxbase.so.1.0.0
b76d4000-b76d5000 r--p 00033000 08:01 1067215    /usr/lib/libsphinxbase.so.1.0.0
b76d5000-b76d6000 rw-p 00034000 08:01 1067215    /usr/lib/libsphinxbase.so.1.0.0
b76e7000-b76ea000 rw-p 00000000 00:00 0 
b76ea000-b76eb000 r-xp 00000000 00:00 0          [vdso]
b76eb000-b770b000 r-xp 00000000 08:01 394125     /lib/i386-linux-gnu/ld-2.15.so
b770b000-b770c000 r--p 0001f000 08:01 394125     /lib/i386-linux-gnu/ld-2.15.so
b770c000-b770d000 rw-p 00020000 08:01 394125     /lib/i386-linux-gnu/ld-2.15.so
bffb3000-bffd4000 rw-p 00000000 00:00 0          [stack]
Traceback (most recent call last):
  File "/usr/local/bin/vid", line 101, in <module>
    quiet=configuration.QUIET_MODE, thrd_n=multiprocessing.cpu_count() * 5)
  File "/usr/local/lib/python2.7/dist-packages/voiceid/sr.py", line 919, in extract_speakers
    self.diarization()  # start diarization over your wave file
  File "/usr/local/lib/python2.7/dist-packages/voiceid/sr.py", line 713, in diarization
    self._to_MFCC()
  File "/usr/local/lib/python2.7/dist-packages/voiceid/sr.py", line 719, in _to_MFCC
    fm.extract_mfcc(self._basename)
  File "/usr/local/lib/python2.7/dist-packages/voiceid/fm.py", line 390, in extract_mfcc
    utils.start_subprocess(commandline)
  File "/usr/local/lib/python2.7/dist-packages/voiceid/utils.py", line 62, in start_subprocess
    raise e
OSError: Subprocess <subprocess.Popen object at 0xb700086c> closed unexpectedly 
[sphinx_fe -verbose no -mswav yes -i recordingaudio/hello3.wav -o 
recordingaudio/hello3.mfcc]

I have googled on the web about ubuntu regarding the buffer overflow problem. 
Some suggests to downgrade the gcc version but still cannot solve the problem 
after downgrading. Can you give me some suggestion?

Original issue reported on code.google.com by idiscove...@gmail.com on 9 Jul 2012 at 6:18

GoogleCodeExporter commented 9 years ago
My ubuntu version is ubuntu12.04-desktop-i386.iso

Original comment by idiscove...@gmail.com on 9 Jul 2012 at 6:28

GoogleCodeExporter commented 9 years ago
Hi, if you just run 
sphinx_fe -verbose no -mswav yes -i recordingaudio/hello3.wav -o 
recordingaudio/hello3.mfcc
you get the same error. We think it is a sphinxbase issue in ubuntu 12.04, 
maybe about  some dependencies. 
We try to manually compile and install the sphinxbase utilities (v 0.7, 0.6.1, 
0.6, 0.4.1, 0.4) but even if it doesn't raise any error, it makes a bad mfcc 
file that gives errors in the next steps.
We try to find another way to make the mfcc file we need.
Stay tuned :-)

Original comment by maurome...@gmail.com on 10 Jul 2012 at 6:22

GoogleCodeExporter commented 9 years ago
Ciao Ragazzi,
Ho provato sia su 10.04 che su 12.04 non riesco a produrre il file '.i.seg'.  
Suppongo che sia dovuto al fatto che il file mfcc che viene prodotto non sia 
buono.  Avete qualche idea?
Grazie!

Original comment by j.cummin...@gmail.com on 10 Jul 2012 at 3:53

GoogleCodeExporter commented 9 years ago
Ciao, il tuo problema è probabilmente la versione di sphinxbase-utils 
installata di default su ubuntu (0.4.1-0ubuntu4), che non . 
Le istruzioni per installare la versione funzionante (0.4.1-0ubuntu1) le trovi 
qui http://code.google.com/p/voiceid/issues/detail?id=6
Facci sapere se sei riuscito a risolvere!

Original comment by maurome...@gmail.com on 10 Jul 2012 at 5:50

GoogleCodeExporter commented 9 years ago

Original comment by maurome...@gmail.com on 15 Feb 2014 at 4:26