You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the wonderful library you've built. I'm trying to use it to synthesise some voices for a video game.
While running:
python3 example/initialize.py -3 DEMON FAIRY 16000
I'm running into two errors - one about malloc and another about segmentation fault
=== MALLOC ERROR===
python3(25887,0x108c7c5c0) malloc: Incorrect checksum for freed object 0x7fb534175e00: probably modified after being freed.
Corrupt value: 0x401f13f9ffb0cfed
python3(25887,0x108c7c5c0) malloc: *** set a breakpoint in malloc_error_break to debug
I have tried to debug and it is going into pyworld library.
When the code in https://github.com/k2kobayashi/sprocket/blob/master/sprocket/speech/analyzer.py
is being executed, the lines 57 and 59 cause these problems. Usually segmentation fault occurs while computing 'spc' using pyworld.cheaptrick and malloc error occurs while computing 'ap' using pyworld.d4c methods.
Also note that this does not happen always. Sometimes it analyses the first few audio files and then crashes with one of the two errors. Every run, a different number of audio files are analysed before crashing.
Not sure is this issue - #17 is related to this one.
Any idea how I can overcome this? Any help is appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
I experienced this too. I feel that different parameter configurations cause this problem (e.g. setting a FFT length which is not a power of 2). I'll invest few hours to find the problem and if I solve I'll let you know.
Hi @k2kobayashi,
Thanks for the wonderful library you've built. I'm trying to use it to synthesise some voices for a video game.
While running:
python3 example/initialize.py -3 DEMON FAIRY 16000
I'm running into two errors - one about malloc and another about segmentation fault
=== MALLOC ERROR===
python3(25887,0x108c7c5c0) malloc: Incorrect checksum for freed object 0x7fb534175e00: probably modified after being freed.
Corrupt value: 0x401f13f9ffb0cfed
python3(25887,0x108c7c5c0) malloc: *** set a breakpoint in malloc_error_break to debug
=== SEG FAULT ERROR===
1] 26095 segmentation fault python3 example/initialize.py -3 DEMON FAIRY 16000
I have tried to debug and it is going into pyworld library.
When the code in https://github.com/k2kobayashi/sprocket/blob/master/sprocket/speech/analyzer.py
is being executed, the lines 57 and 59 cause these problems. Usually segmentation fault occurs while computing 'spc' using pyworld.cheaptrick and malloc error occurs while computing 'ap' using pyworld.d4c methods.
Also note that this does not happen always. Sometimes it analyses the first few audio files and then crashes with one of the two errors. Every run, a different number of audio files are analysed before crashing.
Not sure is this issue - #17 is related to this one.
Any idea how I can overcome this? Any help is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: