Bug 265893

Summary: Seg. Fault. when importing PNG files with .JPG extension
Product: [Applications] digikam Reporter: Alphazo <kde-1091>
Component: Plugin-DImg-PNGAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, cfeck
Priority: NOR    
Version: 1.8.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 2.2.0
Sentry Crash Report:
Attachments: Digikam crash report

Description Alphazo 2011-02-09 17:05:16 UTC
Created attachment 57027 [details]
Digikam crash report

Version:           1.8.0 (using KDE 4.6.0) 
OS:                Linux

I did rename a bunch of PNG file but I made a mistake and they ended up with .JPG extension. When I imported them in Digikam the thumbnails would not show up then I got a segmentation fault.

Reproducible: Didn't try
Comment 1 caulier.gilles 2011-02-09 17:39:19 UTC
Crash appear in KDELibs, but trace is uncomplete. Please run digiKam through GDB to have a better bactrace

http://www.digikam.org/drupal/contrib

Gilles Caulier
Comment 2 Christoph Feck 2011-02-09 20:44:27 UTC
The crash is in malloc -> Memory corruption, could have happened anytime anywhere. If this is reproducible, please add a valgrind log.
Comment 3 Marcel Wiesweg 2011-09-25 13:41:11 UTC
Feel free to reopen if still applicable with a recent 2.x version.