Menu

#69 Crash when having aux/insert sends to more than one effect bus

git_head
closed
nobody
None
2015-02-01
2013-09-15
No

I have lots of midi-tracks with synth-plugins that output to an audio bus. Let's call these buses instrument busses. Their output goes to master in.

Then I'd like to have 2 buses with a reverb plugin (C* plate 2x2) with different settings. Let's call these buses effect buses. Their output goes to Master in as well.

Using only only one effect bus (by several instrument buses) works fine.
Using the 2nd effect bus doesn't work and loading this saved session crashes Qtractor immediately.

The difference between the qtr-file that can be loaded (instrument tracks only use the 1st effect-bus) and the qtr-file that crashes Qtractor (one instrument track uses the 2nd effect bus) is only
< <config key="audioBusName">G Rev1</config>
-
> <config key="audioBusName">G Rev2</config>

As far as I tested the same thing happens when I use an insert-send instead of an aux-send.

Discussion

  • Rui Nuno Capela

    Rui Nuno Capela - 2013-09-15

    hard to reproduce, yet.

    would you rebuild qtractor for debugging (./configure --enable-debug) and run src/qtractor from a terminal/console, load the crashing session file and catch the gdb crash-backtrace that gets dumped on output?

    also, i'd ask/suggest whether you can make to crash it with a simpler and bare minimal session setup and check whether a crash occurs on the same spot by reading on the crash-dump backtrace.

    keep trying and removing simple elements (plugins, clips, tracks, etc.), one by one, one step at a time, until you end with a loadable session which have 2 aux-send inserts in the same track that doesn't crash on load.

    nb. use different filenames or incremental backups each time you save for next trial.

    when done, attach here the "minimalistic" session file that may reproduce the crash.

    hth.
    cheers && thanks

     
  • Rui Nuno Capela

    Rui Nuno Capela - 2013-09-15
    • status: open --> pending
    • Milestone: 0.5.10 --> svn_trunk
     
  • Holger Marzen

    Holger Marzen - 2013-09-15

    No crash anymore. Good job!

    Using insert-send now works like a charm.

    Using aux-send now doesn't crash anymore but only the 1st effect-bus receives the signal. The 2nd doesn't get any signal when I direct the aux-send to it.

    There must still be some bug hidden in the aux-send code.

     
  • Holger Marzen

    Holger Marzen - 2013-09-15

    I tested it more thoroughly:

    • aux-send in the in-part (left) to 1st effect-bus and aux-send in the out-part (right) to the 2nd effect-bus works

    • if aux-sends to the 2 effect-buses are both in the in-part (left) or both in the out-part (right) then only the first used effect-bus gets a signal.

     
  • Holger Marzen

    Holger Marzen - 2013-09-16

    And one more test: Doing the same with insert-sends works. But this is not the desirable way because it adds mixer strips in the left part of the mixer and they are labelled "insert" and not like their destination.

     
  • Holger Marzen

    Holger Marzen - 2013-09-20

    It is fixed. Thank you.

     
  • Holger Marzen

    Holger Marzen - 2013-09-20

    I was too fast. It works when putting the aux sends in the "in"-part (mixer's left side) of the bus. It's still not fixed in the "out"-part (mixer's right side).

     
    • Rui Nuno Capela

      Rui Nuno Capela - 2013-09-20

      aux-sends that are inserted on output buses might work depending where the destination ouput bus appears wrt. the one which is source, concerning the internal bus create/processing order (as seen on View/Buses... listing top-to-bottom and on mixer layout, left-to-right).

      i am sorry, but this isn't quite fixable atm. and must be as is--aux-sends weren't really made to be inserted on buses anyway; although input buses are ok now. output buses are certainly prone to undefined/partial behavior wrt. aux-sends inserts,

      see, it's like the old chicken-and-egg problem when you think that you may have aux-send spaghetti with forward/backward loops and what not :).

      cheers

       

      Last edit: Rui Nuno Capela 2013-09-20
  • Holger Marzen

    Holger Marzen - 2013-09-20

    OK, thanks. Then this ticket could be closed since the crash has been fixed. But then Ticket #70 should stay alive. I could live fine with aux sends in input buses if they were post fader.

     
  • Rui Nuno Capela

    Rui Nuno Capela - 2013-09-20
    • status: pending --> closed
     

Log in to post a comment.