Bug 316922 - crash if I create a new AudioCD project then drag+drop a .cue file WITHOUT its related .ape file
Summary: crash if I create a new AudioCD project then drag+drop a .cue file WITHOUT it...
Status: RESOLVED DUPLICATE of bug 283287
Alias: None
Product: k3b
Classification: Applications
Component: Audio Project (show other bugs)
Version: 2.0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Michał Małek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-17 17:21 UTC by pirraste
Modified: 2013-04-14 20:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
backtrace file (4.00 KB, text/plain)
2013-03-18 20:29 UTC, pirraste
Details
testcase (197 bytes, application/x-cue)
2013-03-18 20:31 UTC, pirraste
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***