Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-468

Crash due opening bam file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ubuntu Linux x86_64

      Description

      Steps to reproduce:

      1. Open _common_data/scenarios/assembly/example-alignment.bam
      Expected state importer dialog opens

      2. Click "Import"
      !! UGENE crashes

      Notes:

      src/plugins/dbi_bam/src/BAMDbiPlugin.cpp
      QList<Task*> BAMImporterTask::onSubTaskFinished(Task* subTask) {
          // ...
          } else if (convertTask == subTask) {
              loadDocTask = LoadDocumentTask::getDefaultLoadDocTask(convertTask->getDestinationUrl());
              res << loadDocTask;
          } 
          // ...
          return res;
      }
      

      For some reason ugenedb format not recognized and LoadDocumentTask::getDefaultLoadDocTask(convertTask->getDestinationUrl()) will return NULL task, that triggers assert in TaskScheduler.

        Attachments

          Activity

            People

            Assignee:
            akuznecov Alexey Kuznecov
            Reporter:
            akuznecov Alexey Kuznecov
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: