[nama] Nama woes

  • From: Julien Claassen <julien@xxxxxxxxxxx>
  • To: Nama user's mailinglist <nama@xxxxxxxxxxxxx>
  • Date: Sun, 2 Jun 2013 14:15:54 +0200 (CEST)

Hello Joel!
I have trouble with the current Nama. First of all make test fails, the logfile is attached. That might be indicative. Second in Nama itself, I can't create a recording setup anymore. I do the following:
create project
add nl1/stereo;r 7
  So far so good. But then I just try:
doodle
  and get the following warning:
panic: attempt to copy freed scalar bb94568 to 97f2268 at ../lib/Audio/Nama/Effects.pm line 380. I don't understand why remove_effects gets called at this stage. Also the display has changed, though that might be intentional. It now lists not nl1, but nl1/stereo . With the first trial I also got set ona temporary track, but I couldn't reproduce that in a hurry. Something like tmp/nl1_rec_file, so one of the hidden tracks in the background. But I could go back to nl1. Still no joy with recording anything. Do you know, why that might have happened? This must have happened in the last change. I'm still up to date and I think I did a small recording with the version just prior to this.
  Warm regards
          Julien

----------------------------------------
http://juliencoder.de/nama/music.html
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01_symbols.t .. ok
Log4perl: Seems like no initialization happened. Forgot to call init()?
# scalar array: 4 scalar hash: 1/8
t/02_assign.t ... ok
t/03_wav.t ...... ok
t/04_object.t ... ok
t/06_latency.t .. ok
t/11_mark.t ..... ok
Useless use of not in void context at (eval 1100) line 81341, <DATA> line 9924.
Useless use of private array in void context at (eval 1100) line 100770, <DATA> 
line 9924.
caught error: panic: attempt to copy freed scalar c3d5050 to a1a8880 at 
/root/build/nama/blib/lib/Audio/Nama/Effects.pm line 380.
 (L 129) Inconsistency found in effects data{
  is_error => 1,
  track => {
    sax_rec_file => {
      is_error => 1,
      orphan_pan => "E"
    }
  }
}
 at /root/build/nama/blib/lib/Audio/Nama/Log.pm line 140
        Audio::Nama::Log::logit(129, 'Audio::Nama::Grammar', 'logcluck', 
'Inconsistency found in effects data', '{\x{a}  is_error => 1,\x{a}  track => 
{\x{a}    sax_rec_file => {\x{a}      i...') called at 
/root/build/nama/blib/lib/Audio/Nama/Log.pm line 154
        
Audio::Nama::Log::logpkg('/root/build/nama/blib/lib/Audio/Nama/Grammar.pm', 
129, 'logcluck', 'Inconsistency found in effects data', '{\x{a}  is_error => 
1,\x{a}  track => {\x{a}    sax_rec_file => {\x{a}      i...') called at 
/root/build/nama/blib/lib/Audio/Nama/Grammar.pm line 129
        Audio::Nama::process_command('sax; source jack; gen') called at 
t/12_nama.t line 253

#   Failed test 'set JACK port for manual input'
#   at t/12_nama.t line 254.
#                   '# ecasound chainsetup file
# 
# # general
# 
# -z:mixmode,sum -G:jack,Nama,send -b 1024 -z:nodb -z:intbuf -f:f32_le,2,44100
# 
# # audio inputs
# 
# -a:1,5 -i:loop,sax_out
# -a:3,R3 -i:jack,Horgand
# 
# # post-input processing
# 
# -a:3 -chcopy:1,2
# 
# # audio outputs
# 
# -a:1 -o:jack_multi,system:playback_1,system:playback_2
# -a:3 -o:loop,sax_out
# -a:5 -o:jack_multi,system:playback_5
# -a:R3 -f:s16_le,1,44100,i -o:/tmp/nama-test/test/.wav/sax_1.wav
# 
# '
#     doesn't match '(?-xism:jack,,sax_in)'
 (L 129) Inconsistency found in effects data{
  is_error => 1,
  track => {
    sax_rec_file => {
      is_error => 1,
      orphan_pan => "E"
    }
  }
}
 at /root/build/nama/blib/lib/Audio/Nama/Log.pm line 140
        Audio::Nama::Log::logit(129, 'Audio::Nama::Grammar', 'logcluck', 
'Inconsistency found in effects data', '{\x{a}  is_error => 1,\x{a}  track => 
{\x{a}    sax_rec_file => {\x{a}      i...') called at 
/root/build/nama/blib/lib/Audio/Nama/Log.pm line 154
        
Audio::Nama::Log::logpkg('/root/build/nama/blib/lib/Audio/Nama/Grammar.pm', 
129, 'logcluck', 'Inconsistency found in effects data', '{\x{a}  is_error => 
1,\x{a}  track => {\x{a}    sax_rec_file => {\x{a}      i...') called at 
/root/build/nama/blib/lib/Audio/Nama/Grammar.pm line 129
        Audio::Nama::process_command('sax; source 2') called at t/12_nama.t 
line 256
caught error: panic: attempt to copy freed scalar c3d5280 to a1a8880 at 
/root/build/nama/blib/lib/Audio/Nama/Effects.pm line 380.
 (L 129) Inconsistency found in effects data{
  is_error => 1,
  track => {
    sax_aux_send => {
      is_error => 1,
      orphan_pan => "G"
    }
  }
}
 at /root/build/nama/blib/lib/Audio/Nama/Log.pm line 140
        Audio::Nama::Log::logit(129, 'Audio::Nama::Grammar', 'logcluck', 
'Inconsistency found in effects data', '{\x{a}  is_error => 1,\x{a}  track => 
{\x{a}    sax_aux_send => {\x{a}      i...') called at 
/root/build/nama/blib/lib/Audio/Nama/Log.pm line 154
        
Audio::Nama::Log::logpkg('/root/build/nama/blib/lib/Audio/Nama/Grammar.pm', 
129, 'logcluck', 'Inconsistency found in effects data', '{\x{a}  is_error => 
1,\x{a}  track => {\x{a}    sax_aux_send => {\x{a}      i...') called at 
/root/build/nama/blib/lib/Audio/Nama/Grammar.pm line 129
        Audio::Nama::process_command('3; nosend; gen') called at t/12_nama.t 
line 261

#   Failed test 'ALSA basic setup'
#   at t/12_nama.t line 797.
#          got: '{
#    "-a:1 -o:jack_multi,system:playback_1,system:playback_2" : 1,
#    "-a:1,5 -i:loop,sax_out" : 1,
#    "-a:3 -chcopy:1,2" : 1,
#    "-a:3 -o:loop,sax_out" : 1,
#    "-a:3,R3 -i:jack,Horgand" : 1,
#    "-a:5 -o:jack_multi,system:playback_5" : 1,
#    "-a:R3 -f:s16_le,1,44100,i -o:/tmp/nama-test/test/.wav/sax_1.wav" : 1
# }
# '
#     expected: '{
#    "-a:1 -i:loop,Master_in" : 1,
#    "-a:1 -o:alsa,default" : 1,
#    "-a:3 -chmove:2,1 -chcopy:1,2" : 1,
#    "-a:3 -o:loop,Master_in" : 1,
#    "-a:3,R3 -i:alsa,default" : 1,
#    "-a:R3 -chmove:2,1" : 1,
#    "-a:R3 -f:s16_le,1,44100,i -o:/tmp/nama-test/test/.wav/sax_1.wav" : 1
# }
# '
caught error: panic: attempt to copy freed scalar c3dc988 to a1a8880 at 
/root/build/nama/blib/lib/Audio/Nama/Effects.pm line 380.
 (L 129) Inconsistency found in effects data{
  is_error => 1,
  track => {
    sax_rec_file => {
      is_error => 1,
      orphan_pan => "H"
    }
  }
}
 at /root/build/nama/blib/lib/Audio/Nama/Log.pm line 140
        Audio::Nama::Log::logit(129, 'Audio::Nama::Grammar', 'logcluck', 
'Inconsistency found in effects data', '{\x{a}  is_error => 1,\x{a}  track => 
{\x{a}    sax_rec_file => {\x{a}      i...') called at 
/root/build/nama/blib/lib/Audio/Nama/Log.pm line 154
        
Audio::Nama::Log::logpkg('/root/build/nama/blib/lib/Audio/Nama/Grammar.pm', 
129, 'logcluck', 'Inconsistency found in effects data', '{\x{a}  is_error => 
1,\x{a}  track => {\x{a}    sax_rec_file => {\x{a}      i...') called at 
/root/build/nama/blib/lib/Audio/Nama/Grammar.pm line 129
        Audio::Nama::process_command('3;rec_defeat; gen') called at t/12_nama.t 
line 305

#   Failed test 'JACK rec_defeat setup'
#   at t/12_nama.t line 797.
#          got: '{
#    "-a:1 -i:loop,Master_in" : 1,
#    "-a:1 -o:jack_multi,system:playback_1,system:playback_2" : 1,
#    "-a:3 -chcopy:1,2" : 1,
#    "-a:3 -o:loop,Master_in" : 1,
#    "-a:3,R3 -i:jack_multi,system:capture_2" : 1,
#    "-a:R3 -f:s16_le,1,44100,i -o:/tmp/nama-test/test/.wav/sax_1.wav" : 1
# }
# '
#     expected: '{
#    "-a:1 -i:loop,Master_in" : 1,
#    "-a:1 -o:jack_multi,system:playback_1,system:playback_2" : 1,
#    "-a:3 -chcopy:1,2" : 1,
#    "-a:3 -i:jack_multi,system:capture_2" : 1,
#    "-a:3 -o:loop,Master_in" : 1
# }
# '
caught error: panic: attempt to copy freed scalar c3f95c8 to a1a8880 at 
/root/build/nama/blib/lib/Audio/Nama/Effects.pm line 380.
 (L 129) Inconsistency found in effects data{
  is_error => 1,
  track => {
    Horns => {
      is_error => 1,
      orphan_pan => "I"
    }
  }
}
 at /root/build/nama/blib/lib/Audio/Nama/Log.pm line 140
        Audio::Nama::Log::logit(129, 'Audio::Nama::Grammar', 'logcluck', 
'Inconsistency found in effects data', '{\x{a}  is_error => 1,\x{a}  track => 
{\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Log.pm line 154
        
Audio::Nama::Log::logpkg('/root/build/nama/blib/lib/Audio/Nama/Grammar.pm', 
129, 'logcluck', 'Inconsistency found in effects data', '{\x{a}  is_error => 
1,\x{a}  track => {\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Grammar.pm line 129
        Audio::Nama::process_command('remove_bus Horns') called at t/12_nama.t 
line 522
 (L 129) Inconsistency found in effects data{
  is_error => 1,
  track => {
    Horns => {
      is_error => 1,
      orphan_pan => "I"
    }
  }
}
 at /root/build/nama/blib/lib/Audio/Nama/Log.pm line 140
        Audio::Nama::Log::logit(129, 'Audio::Nama::Grammar', 'logcluck', 
'Inconsistency found in effects data', '{\x{a}  is_error => 1,\x{a}  track => 
{\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Log.pm line 154
        
Audio::Nama::Log::logpkg('/root/build/nama/blib/lib/Audio/Nama/Grammar.pm', 
129, 'logcluck', 'Inconsistency found in effects data', '{\x{a}  is_error => 
1,\x{a}  track => {\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Grammar.pm line 129
        Audio::Nama::process_command('add_send_bus_cooked Vo 5') called at 
t/12_nama.t line 523
 (L 129) Inconsistency found in effects data{
  is_error => 1,
  track => {
    Horns => {
      is_error => 1,
      orphan_pan => "I"
    }
  }
}
 at /root/build/nama/blib/lib/Audio/Nama/Log.pm line 140
        Audio::Nama::Log::logit(129, 'Audio::Nama::Grammar', 'logcluck', 
'Inconsistency found in effects data', '{\x{a}  is_error => 1,\x{a}  track => 
{\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Log.pm line 154
        
Audio::Nama::Log::logpkg('/root/build/nama/blib/lib/Audio/Nama/Grammar.pm', 
129, 'logcluck', 'Inconsistency found in effects data', '{\x{a}  is_error => 
1,\x{a}  track => {\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Grammar.pm line 129
        Audio::Nama::process_command('gen') called at t/12_nama.t line 782
        Audio::Nama::gen_jack() called at t/12_nama.t line 535

#   Failed test 'Send bus - soundcard - JACK'
#   at t/12_nama.t line 797.
#          got: '{
#    "-a:1 -o:jack_multi,system:playback_1,system:playback_2" : 1,
#    "-a:1,5 -i:loop,sax_out" : 1,
#    "-a:3 -i:jack_multi,system:capture_2,system:capture_3" : 1,
#    "-a:3 -o:loop,sax_out" : 1,
#    "-a:5 -o:jack_multi,system:playback_5,system:playback_6" : 1
# }
# '
#     expected: '{
#    "-a:1 -o:jack_multi,system:playback_1,system:playback_2" : 1,
#    "-a:1,4 -i:loop,sax_out" : 1,
#    "-a:3 -i:jack_multi,system:capture_2,system:capture_3" : 1,
#    "-a:3 -o:loop,sax_out" : 1,
#    "-a:4 -o:jack_multi,system:playback_5,system:playback_6" : 1
# }
# '
caught error: panic: attempt to copy freed scalar c3f77c8 to a1a8880 at 
/root/build/nama/blib/lib/Audio/Nama/Effects.pm line 380.
 (L 129) Inconsistency found in effects data{
  is_error => 2,
  track => {
    Horns => {
      is_error => 1,
      orphan_pan => "I"
    },
    Vo_sax => {
      is_error => 1,
      orphan_pan => "K"
    }
  }
}
 at /root/build/nama/blib/lib/Audio/Nama/Log.pm line 140
        Audio::Nama::Log::logit(129, 'Audio::Nama::Grammar', 'logcluck', 
'Inconsistency found in effects data', '{\x{a}  is_error => 2,\x{a}  track => 
{\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Log.pm line 154
        
Audio::Nama::Log::logpkg('/root/build/nama/blib/lib/Audio/Nama/Grammar.pm', 
129, 'logcluck', 'Inconsistency found in effects data', '{\x{a}  is_error => 
2,\x{a}  track => {\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Grammar.pm line 129
        Audio::Nama::process_command('remove_bus Vo') called at t/12_nama.t 
line 537
 (L 129) Inconsistency found in effects data{
  is_error => 2,
  track => {
    Horns => {
      is_error => 1,
      orphan_pan => "I"
    },
    Vo_sax => {
      is_error => 1,
      orphan_pan => "K"
    }
  }
}
 at /root/build/nama/blib/lib/Audio/Nama/Log.pm line 140
        Audio::Nama::Log::logit(129, 'Audio::Nama::Grammar', 'logcluck', 
'Inconsistency found in effects data', '{\x{a}  is_error => 2,\x{a}  track => 
{\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Log.pm line 154
        
Audio::Nama::Log::logpkg('/root/build/nama/blib/lib/Audio/Nama/Grammar.pm', 
129, 'logcluck', 'Inconsistency found in effects data', '{\x{a}  is_error => 
2,\x{a}  track => {\x{a}    Horns => {\x{a}      is_error...') called at 
/root/build/nama/blib/lib/Audio/Nama/Grammar.pm line 129
        Audio::Nama::process_command('sax mono') called at t/12_nama.t line 538
# Looks like you failed 4 tests of 111.
t/12_nama.t ..... 
Failed 4/111 subtests 
t/13_io.t ....... ok

Test Summary Report
-------------------
t/12_nama.t   (Wstat: 0 Tests: 111 Failed: 4)
  Failed tests:  49-50, 52, 62
Files=8, Tests=149,  6 wallclock secs ( 0.07 usr  0.02 sys +  4.26 cusr  0.96 
csys =  5.31 CPU)
Result: FAIL
Failed 1/8 test programs. 4/149 subtests failed.
gmake: *** [test_dynamic] Error 255

Other related posts: