View Issue Details

IDProjectCategoryView StatusLast Update
0004136ardourbugspublic2020-04-19 20:15
Reporterpneuman Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Target Version3.0-beta1 
Summary0004136: Adding CC automation lane to track with only one MIDI channel enabled causes a crash
DescriptionArdour 3 from SVN (and 3.0a7) crashes when you try to add a CC automation lane to a MIDI track that has just one MIDI channel enabled.

Steps to reproduce:
* create new project
* add a MIDI track
* expand the track vertically so that the channel selection boxes become available
* disable all but one channel (I used "None" to disable them all, then re-enabled channel 1)
* right-click on the track and add an automation lane for a MIDI CC -- I was using CC 69, but Bender or Pressure will do

Ardour will crash with the following message:

ardour-3.0: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = ARDOUR::AutomationControl]: Assertion `px != 0' failed.
Aborted

If more than one channel is enabled on the track, the CC selection menu has an extra sub-menu after selecting the CC, to let you select the channel to apply the automation to. This doesn't appear in the single-channel case, which makes sense and I'm sure is the expected behaviour.
Additional InformationOS: Ubuntu 10.10 AMD64
Ardour version: reproduced on both alpha7 and on SVN r9763
TagsNo tags attached.

Relationships

duplicate of 0004137 closedpaul A3 segfaults when selecting MIDI channel from track automation/controller popup menu 

Activities

pneuman

2011-06-23 08:44

reporter   ~0010932

Actually, I think you can generalise this to "Adding a CC automation lane causes Ardour to crash" -- I tried it on a track with multiple channels enabled, and it crashed as soon as I selected which channel I wanted to add the automation lane to.

paul

2011-06-23 17:58

administrator   ~0010935

superficially fixed in alpha8, but see comments in the duplicate bug.

paul

2011-07-08 18:44

administrator   ~0010999

fixed in alpha9

system

2020-04-19 20:15

developer   ~0022628

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2011-06-23 08:42 pneuman New Issue
2011-06-23 08:44 pneuman Note Added: 0010932
2011-06-23 16:35 cth103 cost => 0.00
2011-06-23 16:35 cth103 Target Version => 3.0-beta1
2011-06-23 17:58 paul Relationship added duplicate of 0004137
2011-06-23 17:58 paul Note Added: 0010935
2011-07-08 18:44 paul Note Added: 0010999
2011-07-08 18:44 paul Status new => resolved
2011-07-08 18:44 paul Resolution open => fixed
2011-07-08 18:44 paul Assigned To => paul
2020-04-19 20:15 system Note Added: 0022628
2020-04-19 20:15 system Status resolved => closed