Author Topic: Can't get pvoc anal to work - ERROR: INVALID DATA  (Read 2667 times)

sciss

  • Full Member
  • ***
  • Posts: 13
    • View Profile
Can't get pvoc anal to work - ERROR: INVALID DATA
« on: March 11, 2017, 05:19:56 PM »
hi there,

what am I doing wrong here:

$ ./pvoc anal 1 /data/audio_work/reverb-L.wav /data/audio_work/reverb-L.pvoc
ERROR: INVALID DATA
ERROR: Cannot open output file /data/audio_work/reverb-L.pvoc


Input is a 11 seconds monophonic file. Platform is Linux.

Thanks!

best regards, hanns holger


sciss

  • Full Member
  • ***
  • Posts: 13
    • View Profile
Re: Can't get pvoc anal to work - ERROR: INVALID DATA
« Reply #1 on: March 11, 2017, 05:22:12 PM »
Here's another attempt giving output file extension 'ana' (which I've seen in another thread --- should it really matter?)

$ ./pvoc anal 1 /data/audio_work/reverb-L.wav /data/audio_work/reverb-L.ana
ERROR: INVALID DATA
ERROR: Cannot open output file /data/audio_work/reverb-L.ana


*** Error in `./pvoc': double free or corruption (!prev): 0x0000558ebd823010 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7f724299abcb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76f96)[0x7f72429a0f96]
/lib/x86_64-linux-gnu/libc.so.6(+0x7778e)[0x7f72429a178e]
/lib/x86_64-linux-gnu/libc.so.6(fclose+0x132)[0x7f7242990c12]
./pvoc(+0x3f8e9)[0x558ebb8c08e9]
./pvoc(+0x408f6)[0x558ebb8c18f6]
/lib/x86_64-linux-gnu/libc.so.6(+0x35920)[0x7f724295f920]
/lib/x86_64-linux-gnu/libc.so.6(+0x3597a)[0x7f724295f97a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf8)[0x7f724294a2b8]
./pvoc(+0x1b9a)[0x558ebb882b9a]
======= Memory map: ========
558ebb881000-558ebb8d9000 r-xp 00000000 08:12 10881663                   /home/hhrutz/Documents/devel/ComposersDesktopProject/dev/Release/pvoc
558ebbad8000-558ebbad9000 r--p 00057000 08:12 10881663                   /home/hhrutz/Documents/devel/ComposersDesktopProject/dev/Release/pvoc
558ebbad9000-558ebbada000 rw-p 00058000 08:12 10881663                   /home/hhrutz/Documents/devel/ComposersDesktopProject/dev/Release/pvoc
558ebbada000-558ebbade000 rw-p 00000000 00:00 0
558ebd811000-558ebd832000 rw-p 00000000 00:00 0                          [heap]
7f723c000000-7f723c021000 rw-p 00000000 00:00 0
7f723c021000-7f7240000000 ---p 00000000 00:00 0
7f7242713000-7f7242729000 r-xp 00000000 08:12 8650842                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7242729000-7f7242928000 ---p 00016000 08:12 8650842                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7242928000-7f7242929000 r--p 00015000 08:12 8650842                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7242929000-7f724292a000 rw-p 00016000 08:12 8650842                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f724292a000-7f7242abf000 r-xp 00000000 08:12 8651797                    /lib/x86_64-linux-gnu/libc-2.24.so
7f7242abf000-7f7242cbe000 ---p 00195000 08:12 8651797                    /lib/x86_64-linux-gnu/libc-2.24.so
7f7242cbe000-7f7242cc2000 r--p 00194000 08:12 8651797                    /lib/x86_64-linux-gnu/libc-2.24.so
7f7242cc2000-7f7242cc4000 rw-p 00198000 08:12 8651797                    /lib/x86_64-linux-gnu/libc-2.24.so
7f7242cc4000-7f7242cc8000 rw-p 00000000 00:00 0
7f7242cc8000-7f7242dcb000 r-xp 00000000 08:12 8651804                    /lib/x86_64-linux-gnu/libm-2.24.so
7f7242dcb000-7f7242fca000 ---p 00103000 08:12 8651804                    /lib/x86_64-linux-gnu/libm-2.24.so
7f7242fca000-7f7242fcb000 r--p 00102000 08:12 8651804                    /lib/x86_64-linux-gnu/libm-2.24.so
7f7242fcb000-7f7242fcc000 rw-p 00103000 08:12 8651804                    /lib/x86_64-linux-gnu/libm-2.24.so
7f7242fcc000-7f7242fef000 r-xp 00000000 08:12 8650833                    /lib/x86_64-linux-gnu/ld-2.24.so
7f72431cb000-7f72431cd000 rw-p 00000000 00:00 0
7f72431eb000-7f72431ef000 rw-p 00000000 00:00 0
7f72431ef000-7f72431f0000 r--p 00023000 08:12 8650833                    /lib/x86_64-linux-gnu/ld-2.24.so
7f72431f0000-7f72431f1000 rw-p 00024000 08:12 8650833                    /lib/x86_64-linux-gnu/ld-2.24.so
7f72431f1000-7f72431f2000 rw-p 00000000 00:00 0
7ffcde4a2000-7ffcde4c3000 rw-p 00000000 00:00 0                          [stack]
7ffcde517000-7ffcde519000 r--p 00000000 00:00 0                          [vvar]
7ffcde519000-7ffcde51b000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted

p8rpp

  • Sr. Member
  • ****
  • Posts: 58
    • View Profile
Re: Can't get pvoc anal to work - ERROR: INVALID DATA
« Reply #2 on: March 11, 2017, 06:38:03 PM »
Dear Mr. Rutz,

does the output file exist already perhaps? CDP does not overwrite output files.

sciss

  • Full Member
  • ***
  • Posts: 13
    • View Profile
Re: Can't get pvoc anal to work - ERROR: INVALID DATA
« Reply #3 on: March 11, 2017, 07:11:23 PM »
dear p8rpp,

no - i double checked that the output file is fresh and doesn't exist yet.

(btw, apologies for posting in "announce", didn't realise)

rwdobson

  • Sr. Member
  • ****
  • Posts: 73
    • View Profile
Re: Can't get pvoc anal to work - ERROR: INVALID DATA
« Reply #4 on: March 13, 2017, 04:36:11 PM »
Yes, the .ana extension is required; CDP uses a fixed set of custom file formats for all its frequency domain data, each identified by its extension, e.g. .ana, .env, .pch etc. Internally they are all WAVE format files.

The reported error suggests that this is an earlier version of the program which requires the environment variable CDP_SOUND_EXT to be set (to wav). The recently updated v7.1 sources on Github have removed this requirement. You can test this by setting the environment variable directly at the console ("export CDP_SOUND_EXT=wav") and then running pvoc. If the progam then runs, you know that it is an older version. The variable is effectively obsolete these days now that all Apple machines are Intel-based.