Bug 316922

Summary: crash if I create a new AudioCD project then drag+drop a .cue file WITHOUT its related .ape file
Product: [Applications] k3b Reporter: pirraste
Component: Audio ProjectAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: trueg
Priority: NOR    
Version: 2.0.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace file
testcase

Description pirraste 2013-03-17 17:21:16 UTC
I wrongly added a bad .cue file to a new Audio CD project. The bad .cue had an "FILE "CDImage.ape" WAVE" reference into it but the CDImage.ape file wasn't in this folder.

Reproducible: Always

Steps to Reproduce:
1. Click on "New Audio CD Project"
2. Browse a folder with a bad (without the related .ape | .flac | .... file) .cue file
3. Drag and Drop the .cue file into the new project
Actual Results:  
a "Segmentation fault"

Expected Results:  
An error message "The file you selected is badly formed" or similar
Comment 1 Jekyll Wu 2013-03-18 03:37:11 UTC
Please provide the backtrace after it crashes
Comment 2 pirraste 2013-03-18 20:29:22 UTC
Created attachment 78186 [details]
backtrace file
Comment 3 pirraste 2013-03-18 20:31:05 UTC
Created attachment 78187 [details]
testcase

Manually generated fake .cue file. When trying to open it (as described), k3b chrashes.
Comment 4 Christoph Feck 2013-04-14 20:18:56 UTC

*** This bug has been marked as a duplicate of bug 283287 ***