IPS-LMU / wrassp

wrassp is a wrapper for R around Michel Scheffers's libassp (Advanced Speech Signal Processor). The libassp library aims at providing functionality for handling speech signal files in most common audio formats and for performing analyses common in phonetic science/speech science. This includes the calculation of formants, fundamental frequency, root mean square, auto correlation, a variety of spectral analyses, zero crossing rate, filtering etc. This wrapper provides R with a large subset of libassp's signal processing functions and provides them to the user in a (hopefully) user-friendly manner. The wrassp package is used by the EMU Speech Database Management System (EMU-SDMS) to perform signal processing routines.
http://ips-lmu.github.io/EMU.html
22 stars 7 forks source link

ksvAMV() function causes segfault #34

Closed raphywink closed 8 years ago

raphywink commented 9 years ago

If the ksvF0() function is called on certain files (e.g. diapix//p01_ses/Diapix2_p02_AMM07_ende_bndl/Diapix2_p02_AMM07_ende.wav) a certain number of times (it varies sometimes it crashes after 90 runs sometimes after 120 and so on) the ksvAMV() function causes a segfault (https://github.com/IPS-LMU/wrassp/blob/master/src/assp/ksv.c#L1326) forcing the R session to crash. This only seems to be the case on OSX (tested on 10.10.3) under linux it does (thankfully) not seem to want to crash.

A funny detail: if you turn of gctorture(T) it doesn't crash any more... which I find very strange...

raphywink commented 8 years ago

I can't seem to cause segfault any more! I just ran:

for (i in 1:1000){
  print(i)
  ksvF0("~/Desktop/Diapix2_p02_AMM07_ende.wav")
}

5 times with no crashed. Guessing it has to do with an R update (currently running 3.2.2)! Closing issue for now ...