← Back to team overview

phatch-dev team mailing list archive

[Bug 469701] Re: Crash\memory leak when renaming RAW (ARW) files

 

Hi Matthieu,
Could you profile this? Phatch uses a subprocess with dcraw behind the scenes to open RAW images. Let me know if you are not interested.

** Changed in: phatch
   Importance: Undecided => Medium

** Changed in: phatch
    Milestone: None => 0.2.7

** Changed in: phatch
     Assignee: stani (stani) => Matthieu Amiguet (matthieu-amiguet)

** Changed in: phatch
       Status: Incomplete => New

** Changed in: phatch (Ubuntu)
     Assignee: stani (stani) => Matthieu Amiguet (matthieu-amiguet)

** Changed in: phatch
       Status: New => Confirmed

-- 
Crash\memory leak when renaming RAW (ARW) files
https://bugs.launchpad.net/bugs/469701
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Confirmed
Status in “phatch” package in Ubuntu: Confirmed

Bug description:
Binary package hint: phatch

I have a rename action which is working fine on JPGs.  When applied to RAW image files (Sony ARW format) the rename works ok for a few files but then crashes with the following error:

Error: Unable to open file: /xxxx/xxxxx/xxxxx/xxxx/xxxxx/DSC00786.ARW:
(12, 'Cannot allocate memory')

Monitoring the phatch process in top shows the memory utilisation increase as it works through a batch

Restarting the phatch with the same action on the same (remaining photos) and it continues with the image that caused an issue

Images not attached as multiple large files are required (can be sent on request)

Ubuntu 9.10
Phatch 0.2.4-1