View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000248 | ardour | bugs | public | 2004-02-12 03:09 | 2008-11-20 23:35 |
| Reporter | timbyr | Assigned To | taybin | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0000248: Cancelling Audio Import(copy) causes ardour to crash. | ||||
| Description | If I try to cancel why importing an audio file ardour will crash. This doesn't happen if the file has to be resampled. | ||||
| Tags | No tags attached. | ||||
|
|
Is this still an issue? I can't duplicate it. |
|
|
This problem appears to be in Session::import_audio in import.cc when a file import is multichannel an audioregion is created even if the import is cancelled, which the ui through the AudioRegionCreated signal has a reference to. The AudioRegion is then deleted at the end of import audio because the import was cancelled leading to a dangling pointer. |
|
|
This is a little deeper actually. I'm changing it so that the cancel button is disabled after it has imported the soundfiles. Once it starts creating AudioRegions, it will tell the status, but it can't be canceled. Otherwise, files could be created with no record of them in the session file. |
|
|
Fixed and committed. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-02-12 03:09 | timbyr | New Issue | |
| 2004-02-12 14:50 | taybin | Status | new => assigned |
| 2004-02-12 14:50 | taybin | Assigned To | => taybin |
| 2004-04-22 02:24 | taybin | Note Added: 0000655 | |
| 2004-05-07 02:57 | timbyr | Note Added: 0000701 | |
| 2004-05-07 03:11 | taybin | Note Added: 0000702 | |
| 2004-05-19 01:56 | taybin | Status | assigned => resolved |
| 2004-05-19 01:56 | taybin | Resolution | open => fixed |
| 2004-05-19 01:56 | taybin | Note Added: 0000796 | |
| 2008-11-20 23:35 | seablade | Status | resolved => closed |