View Issue Details

IDProjectCategoryView StatusLast Update
0002807ardourbugspublic2020-04-19 20:14
Reporterdrmoore Assigned Tocth103  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0002807: Crash on 'New Return'
DescriptionReproduce as follows:
New session
Add mono audio track
From mixer view add a new return ('New Return' from context menu)
Same bug occurs on a mono bus.

#0 0xb7f14430 in __kernel_vsyscall ()
0000001 0xb5ee56d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb5ee7098 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb5ede5ce in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
0000004 0x081ba2af in boost::shared_ptr<ARDOUR::IO>::operator-> (this=0xbfd30a54)
    at /usr/include/boost/shared_ptr.hpp:315
0000005 0x0851b1f0 in IOSelector (this=0xb3acb748, p=0xb3acb738,
    session=@0x94ebf00, io={px = 0xbfd30a54, pn = {pi_ = 0x0}})
    at ../gtk2_ardour/io_selector.cc:46
#6 0x0851db08 in IOSelectorWindow (this=0xb3acb738, session=@0x94ebf00, io=
        {px = 0xbfd30b14, pn = {pi_ = 0x1}})
    at ../gtk2_ardour/io_selector.cc:155
#7 0x08655fa2 in ProcessorBox::choose_return (this=0x97acdf4)
    at ../gtk2_ardour/processor_box.cc:733
0000008 0x08656426 in ProcessorBox::rb_choose_return ()
    at ../gtk2_ardour/processor_box.cc:1576
Additional InformationI looked at this and it seems like a copy paste error, same code with different i/o direction?
Possible patch attached but this may not be the whole story.
TagsNo tags attached.

Activities

2009-08-03 11:30

 

new_return.patch (694 bytes)   
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc
index 0ad9a96..ecc2477 100644
--- a/gtk2_ardour/processor_box.cc
+++ b/gtk2_ardour/processor_box.cc
@@ -730,10 +730,10 @@ ProcessorBox::choose_return ()
 	}
 
 	/* let the user adjust the IO setup before creation */
-	IOSelectorWindow *ios = new IOSelectorWindow (_session, retrn->output(), true);
+	IOSelectorWindow *ios = new IOSelectorWindow (_session, retrn->input(), true);
 	ios->show_all ();
 
-	/* keep a reference to the send so it doesn't get deleted while
+	/* keep a reference to the return so it doesn't get deleted while
 	   the IOSelectorWindow is doing its stuff */
 	_processor_being_created = retrn;
 
new_return.patch (694 bytes)   

cth103

2009-08-03 16:15

administrator   ~0006480

Applied to 3.0 SVN. Thanks!

system

2020-04-19 20:14

developer   ~0021968

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
2009-08-03 11:30 drmoore New Issue
2009-08-03 11:30 drmoore File Added: new_return.patch
2009-08-03 16:15 cth103 cost => 0.00
2009-08-03 16:15 cth103 Note Added: 0006480
2009-08-03 16:15 cth103 Status new => resolved
2009-08-03 16:15 cth103 Fixed in Version => SVN 3.0
2009-08-03 16:15 cth103 Resolution open => fixed
2009-08-03 16:15 cth103 Assigned To => cth103
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:31 cth103 Category bugs2 => bugs
2020-04-19 20:14 system Note Added: 0021968
2020-04-19 20:14 system Status resolved => closed