|Anonymous | Login | Signup for a new account||2018-01-20 22:49 PST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006898||ardour||bugs||public||2016-06-18 01:14||2018-01-13 05:00|
|Priority||normal||Severity||block||Reproducibility||have not tried|
|Platform||KX studio||OS||GNU/Linux||OS Version||KXStudio 14.04.2|
|Target Version||Fixed in Version|
|Summary||0006898: ardour freezes during clean-up|
|Description||KXStudio 14.04.2 LTS - Release amd64|
i have had a problem with Clean-up for a while:
If i go to Session>Clean-up>Clean-up Unused Sources...>Clean-up nothing happens. The popup below does not appear http://robin.linuxaudio.org/tmp/cleanup.png [^]
Ardour freezes and if i try to close Ardour it takes a while and an "Ardour is not responding"screen pops up.
I ran in gdb and that is here: http://pastebin.com/7zETEQGS [^]
If you tell me how i would attach my session file as well.
I found out: if i try to uncombine the first compounds from Droomvlucht-solo(@ 07:13:21:08, tracks: "gitaar-room" and "gitaar" ) they are deleted.
(i have the original session file(without -3001) too but it cannot be attached?, pressing browse nothing happens)
nb: i hope i filled in everything correctly: any questions, just ask please :)
|Tags||No tags attached.|
|Attached Files|| rommelen-3001.ardour [^] (3,988,339 bytes) 2016-06-18 01:14|
rommelen.ardour [^] (3,988,339 bytes) 2016-06-18 02:47
Ardour-5.12.bug6898.trace.tar.xz [^] (3,346,648 bytes) 2018-01-13 05:00
|the issue persists in Ardour 5.12|
I can reproduce the freezing issue with cleanup sources and the Session you have attached with 5.12
Based on the gdb backtrace you have referenced and the comment in SessionPlaylist::source_use_count () there may be circular references between compound regions and this is causing an infinite loop/freeze.
Thanks for taking the time to report this and attaching a Session that can be used to reproduce the issue.
I've attached a trace that can be loaded in chrome://tracing that shows the function calls occurring with this session when calling Session::cleanup(At least the first few seconds before I have to interrupt the process so as to not write too large a trace file).
It indicates that the amount of deep nesting (8-9 levels at least) of compound regions in combination with the number of sources in this session may be causing the freezing as in the trace it is still processing the first source out of ~400 after 4 seconds.
I'm unsure that the freeze is actually infinite at this point and how there can be circular references.
It does definitely indicate that another method of processing the sources to determine which ones can be "cleaned up" is perhaps needed.
It seems like a method in which each snapshot is loaded and then determining unused sources based on the reference count of the source would much quicker, or possibly just something like storing the Source reference count in a property of the Source on save and using that instead.
|2016-06-18 01:14||aeLiXihr||New Issue|
|2016-06-18 01:14||aeLiXihr||File Added: rommelen-3001.ardour|
|2016-06-18 02:47||aeLiXihr||File Added: rommelen.ardour|
|2016-06-18 02:48||aeLiXihr||Note Added: 0018254|
|2017-12-22 04:37||aeLiXihr||Note Added: 0020109|
|2017-12-22 05:41||aeLiXihr||Note Deleted: 0018254|
|2018-01-11 05:07||timbyr||Note Added: 0020114|
|2018-01-11 05:08||timbyr||Status||new => confirmed|
|2018-01-11 05:08||timbyr||Product Version||=> 5.12|
|2018-01-13 05:00||timbyr||File Added: Ardour-5.12.bug6898.trace.tar.xz|
|2018-01-13 05:00||timbyr||Note Added: 0020115|
|Copyright © 2000 - 2018 MantisBT Team|