Bug 454245

Summary: gphoto2 -L doesn't handle more than 1024 entries
Product: [Fedora] Fedora Reporter: Radek Vokál <rvokal>
Component: gphoto2Assignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-07 08:16:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radek Vokál 2008-07-07 07:26:15 UTC
Description of problem:
gphoto2 -L crashes when camera has more than 1024 pictures in the folder. 

Log:
..
7.631940 gphoto2-filesystem(2): Querying folder /store_00010001/DCIM/100CANON...
7.631955 ptp2(2): file_list_func(/store_00010001/DCIM/100CANON)
7.642866 gphoto2-list(0): gp_list_append: Tried to add more than 1024 entries to
the list, reporting error.
7.642925 gphoto2-camera(2): Operation failed!
7.643479 gp-camera(2): Freeing camera...
7.643499 gphoto2-camera(2): Exiting camera ('Canon Powershot SX100 IS (PTP
mode)')...
..


Version-Release number of selected component (if applicable):
gphoto2-2.4.1-1

Comment 1 Jindrich Novy 2008-07-07 08:16:37 UTC
The limit is now increased to 4096. Hope it will suffice for a while :)