0.4.3 crashes when generating thumbnails for Pentax DNG files

Bug #987605 reported by Brian M Stempien
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Status tracked in Pyqt
Pyqt
Fix Released
Medium
Damon Lynch

Bug Description

In recent updates of Fedora 16 the 0.4.3 version of Rapid-photo-downloader crashes while trying to display the thumbnails from my Pentax K-7 DNG files and then refuses to download any files. Starting it in shell window show the following output.
rapid-photo-downloader
*** buffer overflow detected ***: /usr/bin/python terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x3f98f08af7]
/lib64/libc.so.6[0x3f98f06a70]
/usr/lib64/python2.7/site-packages/PIL/_imaging.so(ImagingNewPrologueSubtype+0x82)[0x7fa46b2e7232]
/usr/lib64/python2.7/site-packages/PIL/_imaging.so(ImagingNewArray+0x11)[0x7fa46b2e7691]
/usr/lib64/python2.7/site-packages/PIL/_imaging.so(+0x10c4b)[0x7fa46b2cac4b]
/usr/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x557b)[0x3fb70dffbb]
...

3fada6f000-3fadc6f000 ---p 0006f000 08:04 6252 /usr/lib64/libpixman-1.so.0.22.2

While the program still runs, any attempts to start the download process just hangs. I tried downgrading to 0.4.1, same issue. I then went into preferences and turned off Thumbnail generation, which didn't cause the above error and allowed the download to start.

This looks to be more of a bug with Python 2.7. Any plans to port to 3?

Revision history for this message
Damon Lynch (dlynch3) wrote :

Works for me in VirtualBox 4.14 using Fedora 16 with the latest updates.

Rapid Photo Downloader depends on python libraries that currently only work with python 2.x, including Python Imaging and Pyexiv2, among others.

Changed in rapid:
status: New → Invalid
Revision history for this message
Brian M Stempien (stempbm) wrote : Re: [Bug 987605] Re: 0.4.3 crashes on recent Fedora 16 updates

What I eventually found was the issue occurred when I had the option set to try and generate previews of the pictures. For some reason the Python libraries seem to dislike Adobe Digital Negative format, which is what my Pentax camera natively produces. Once I turned off that option I was able to use Rapid Photo Downloader again.

________________________________
 From: Damon Lynch <email address hidden>
To: <email address hidden>
Sent: Tuesday, May 8, 2012 11:18 PM
Subject: [Bug 987605] Re: 0.4.3 crashes on recent Fedora 16 updates

Works for me in VirtualBox 4.14 using Fedora 16 with the latest updates.

Rapid Photo Downloader depends on python libraries that currently only
work with python 2.x, including Python Imaging and Pyexiv2, among
others.

** Changed in: rapid
       Status: New => Invalid

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/987605

Title:
  0.4.3 crashes on recent Fedora 16 updates

Status in Rapid Photo Downloader:
  Invalid

Bug description:
  In recent updates of Fedora 16 the 0.4.3 version of Rapid-photo-downloader crashes while trying to display the thumbnails from my Pentax K-7 DNG files and then refuses to download any files. Starting it in shell window show the following output.
  rapid-photo-downloader
  *** buffer overflow detected ***: /usr/bin/python terminated
  ======= Backtrace: =========
  /lib64/libc.so.6(__fortify_fail+0x37)[0x3f98f08af7]
  /lib64/libc.so.6[0x3f98f06a70]
  /usr/lib64/python2.7/site-packages/PIL/_imaging.so(ImagingNewPrologueSubtype+0x82)[0x7fa46b2e7232]
  /usr/lib64/python2.7/site-packages/PIL/_imaging.so(ImagingNewArray+0x11)[0x7fa46b2e7691]
  /usr/lib64/python2.7/site-packages/PIL/_imaging.so(+0x10c4b)[0x7fa46b2cac4b]
  /usr/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x557b)[0x3fb70dffbb]
  ...

  3fada6f000-3fadc6f000 ---p 0006f000 08:04 6252
  /usr/lib64/libpixman-1.so.0.22.2

  While the program still runs, any attempts to start the download
  process just hangs. I tried downgrading to 0.4.1, same issue. I then
  went into preferences and turned off Thumbnail generation, which
  didn't cause the above error and allowed the download to start.

  This looks to be more of a bug with Python 2.7. Any plans to port to
  3?

To manage notifications about this bug go to:
https://bugs.launchpad.net/rapid/+bug/987605/+subscriptions

Revision history for this message
Damon Lynch (dlynch3) wrote :

Ok, can you please a sample DNG file available to me from your camera? It doesn't have to be one of your photos -- it just needs to be an example of a DNG file from your camera model that crashes.

summary: - 0.4.3 crashes on recent Fedora 16 updates
+ 0.4.3 crashes when generating thumbnails for Pentax DNG files
Changed in rapid:
status: Invalid → Triaged
importance: Undecided → Medium
assignee: nobody → Damon Lynch (dlynch3)
Revision history for this message
Brian M Stempien (stempbm) wrote :

Here is a sample photo

Revision history for this message
Damon Lynch (dlynch3) wrote :

Thanks. I've tested the sample photo under Ubuntu 12.04 and it works without any problems. It does however cause a problem in PIL under Fedora 16. I have not had time to investigate why, but my initial guess is that there is a bug in the PIL library being used by Fedora 16.

Damon Lynch (dlynch3)
Changed in rapid:
milestone: none → 0.9.0a1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.