Dies when adding to a bank

Help
mcai8sh4
2012-04-15
2013-05-28
  • mcai8sh4
    mcai8sh4
    2012-04-15

    I've been looking for a guitar effects processorfor a while, and after playing with a few rakarrack seems to be the one!
    I've got a small problem with saving to the banks though.
    I've made my own preset (clean) and when I go to the banks I can right-click and replace whats there with my preset.
    All good.
    I also downloaded a rkr file fron the rakarrack site ( http://rakarrack.sourceforge.net/presets/Sweet%20Rack%20O%27Mine%20v1.0.rkr )
    When I try to add that to the bank I get a buffer overflow and rakarrack closes.

    Does anyone know why, and more importantly - how to fix it?
    I'm using 0.6.1 no ubuntu 11.10

     
  • Transmogrifox
    Transmogrifox
    2012-04-16

    I have a small clue, but if you don't mind trying some things.  One time I got a segmentation fault when loading a preset with Reverbtron, and probably I need to chase down a memory indexing problem in Reverbtron…and if you can reproduce it that will help confirm where the problem came from.

    Here is that same preset with some things changed:
    1) I replaced reverbtron with Reverb, and
    2) I shortened the length on the Convolotron to reduce the initial CPU load.
    To make it sound more like the original preset, increas Length parameter on Convolotron to about 75.
    Copy/paste this text to a file with extension .rkr (like Sweet2.rkr)

    0.6.2
    RJB Modified                                           
    Sweet Rack O'Mine v1.0
    0.500000,0.200000,1.000000,1
    -51,50,59,46,8050,76,1,1
    35,91,0
    0,64,35,127,48,26,1,5406,708,0,1,0,0,0
    62,-38,3,-29,90,6,1
    58,64,0,31,0,0,0,88,0,0,0,1,/usr/local/share/rakarrack/1.wav
    65,0,6,6,0,37,0,127,6,39,181,95,95,1
    -32,0,0,110,800,10,-27,16000,1,0,24,64,1,10,0,0
    64,45,34,4,0,76,3,41,0,96,-13,64,1,1,0,1,0,/usr/local/share/rakarrack/1.dly
    111,64,63,24,0,0,0,4002,27,83,1,64,1
    64,0,1,0,1,0,64,1,0,1,64,1,0,0,0
    25,36,3,39,29,15,20,41,8,30
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    274,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    278,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    

    If you can load that preset, it will give us some clues.

    Save some of the presets that you know work from your bank as individual .rkr presets then try to load them in the same way, and see if they work correctly.

    Probably the best way to get a fix to this is to compile from sources from the git repository, and I can track down whatever the problem is and push a fix.  Otherwise you would be stuck with a workaround until a next release, or get a git version packaged from somebody's PPA (I think AutoStatic keeps development .deb packages in his PPA).  A PPA may be a faster way to get bug fixes from recent development snapshots.

    Please reply with results and I will see if I can help.

     
  • mcai8sh4
    mcai8sh4
    2012-04-16

    Transmogrifox - thank you for your help with this one!

    I copied your altered presets into a file and tried it out. Firstly it didn't work at all (then I realised I had a empty line at the begining) After removing the blank line, it sounded pretty much how I wanted (some tweaking to do, but worked ok)

    I was able to load the other preset in as well, and that also worked.
    The problem was when I tried to add it to a bank.

    I tried adding your file to a bank, and that also worked without problem.

    You seem to have fixed my error, although I don't think I've helped you with your seg fault.
    Now I just need to figure out how to set this bank to be 'u' bank, every time I try it tells me it cannot load the bank - I'll play around (maybe file permission issues).

    Thanks for your help, it's really appreciated! If there is anything else you want me to try to help with your issue, let me know - I'm just playing around so I;m happy to mess about if needed.

    Thanks :D

     
  • Transmogrifox
    Transmogrifox
    2012-04-16

    The default for "U" bank can be set in Preferences, bank tab.  There is nothing set there by default, so it is probably trying to load from a location that doesn't exist…

    Else, if you HAVE set it, it may be related to a directory that has spaces (I thought we fixed that) but there are some clues for you anyway.

    I'm glad it seems to be working for you now.  This Segmentation fault errror I was talking about behaved like that for me, so that is why I was wondering if maybe was the same for you.  I know I need to just take the time to muck about in the code and I will most likely discover the problem.  Reverbtron is somewhat complicated in the way the memory is used, so even though I originally coded it, probably will take some time to remind myself what I was thinking ;)

     
  • mcai8sh4
    mcai8sh4
    2012-04-18

    Everything works well now. Thank you for the help