Bug 172164

Summary: crash when downloading photos from Canon PowerShot A95
Product: [Applications] digikam Reporter: Marta Rybczyńska <kde-i18n>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0
Sentry Crash Report:

Description Marta Rybczyńska 2008-10-04 21:50:11 UTC
Version:           0.10.0-beta2 (using KDE 4.1.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I'm trying to download photos from Canon PowerShot A95. It shows progressbar and camera window. Camera seems to get some commands (LED flashing, like it should when communicating with a computer). Then something red shows at the bottom of the camera window (very fast and I'm not able to read anything) and crash occurs.
There are two types of behaviour:
1. If digikam is run normally (non-console):

Program: digiKam (digikam), sygnaĹ SIGABRT
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x2ae4d6109600 (LWP 4391)]
[New Thread 0x4580a950 (LWP 4417)]
[New Thread 0x45009950 (LWP 4405)]
[New Thread 0x44808950 (LWP 4404)]
[New Thread 0x44007950 (LWP 4403)]
[New Thread 0x43806950 (LWP 4402)]
[New Thread 0x43005950 (LWP 4401)]
[New Thread 0x42804950 (LWP 4400)]
[New Thread 0x42003950 (LWP 4397)]
[New Thread 0x41001950 (LWP 4396)]
[New Thread 0x41802950 (LWP 4395)]
[New Thread 0x40800950 (LWP 4392)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00002ae4cfe7b025 in raise () from /lib/libc.so.6
#6  0x00002ae4cfe7ca80 in abort () from /lib/libc.so.6
#7  0x00002ae4cce815a5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00002ae4cce816e7 in qFatal () from /usr/lib/libQtCore.so.4
#9  0x000000000049028c in Digikam::CameraItemPropertiesTab::setCurrentItem ()
#10 0x0000000000480139 in Digikam::ImagePropertiesSideBarCamGui::slotChangedTab ()
#11 0x0000000000480716 in Digikam::ImagePropertiesSideBarCamGui::itemChanged
    ()
#12 0x0000000000513bcf in ?? ()
#13 0x0000000000521ec3 in ?? ()
#14 0x00002ae4ccf856d4 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#15 0x00000000004ff4db in ?? ()
#16 0x00000000004ff54f in ?? ()
#17 0x0000000000503a35 in ?? ()
#18 0x00002ae4ccf856d4 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#19 0x00000000006337f1 in Digikam::IconView::selectItem ()
#20 0x0000000000638253 in Digikam::IconItem::setSelected ()
#21 0x00000000006355de in Digikam::IconView::slotRearrange ()
#22 0x0000000000635708 in Digikam::IconView::qt_metacall ()
#23 0x0000000000503945 in ?? ()
#24 0x00002ae4ccf856d4 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#25 0x00002ae4ccf7ffe3 in QObject::event () from /usr/lib/libQtCore.so.4
#26 0x00002ae4cb6eca5d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#27 0x00002ae4cb6f47da in QApplication::notify () from /usr/lib/libQtGui.so.4
#28 0x00002ae4ca53841b in KApplication::notify () from /usr/lib/libkdeui.so.5
#29 0x00002ae4ccf71381 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#30 0x00002ae4ccf9d256 in ?? () from /usr/lib/libQtCore.so.4
#31 0x00002ae4ccf997ad in ?? () from /usr/lib/libQtCore.so.4
#32 0x00002ae4d2919892 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#33 0x00002ae4d291d01d in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00002ae4d291d1db in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#35 0x00002ae4ccf9970f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#36 0x00002ae4cb77e44f in ?? () from /usr/lib/libQtGui.so.4
#37 0x00002ae4ccf6fca2 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#38 0x00002ae4ccf6fe2d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#39 0x00002ae4ccf722dd in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#40 0x000000000064c51c in ?? ()
#41 0x00002ae4cfe671c4 in __libc_start_main () from /lib/libc.so.6
#42 0x0000000000471f19 in _start ()
#0  0x00002ae4cfee6b41 in nanosleep () from /lib/libc.so.6

2. If digikam is run from konsole the program just quits showing the following (no crash):

Succesfully parsed file!
DGML2 Name       :  "Atlas"
Style reset requested.
THEME CHANGED: *** "earth/srtm/srtm.dgml"
digikam(4520): Storage label:  "D"
digikam(4520): Storage base-dir:  "/store_00010001"
digikam(4520): Storage access: R/W
digikam(4520): Storage type: removable RAM
digikam(4520): Storage capacity:  513248
digikam(4520): Storage free-space:  1264
digikam(4520): Failed to get camera item!
digikam(4520): Libgphoto2 error:  NieobsĂugiwana operacja  ( -6 )
File 'AUTXFER.MRK' is not readable.
ASSERT: "d" in file /usr/include/ksharedptr.h, line 116

NieobsĂugiwana operacja means Unsupported operation.
Comment 1 caulier.gilles 2008-10-05 10:04:00 UTC
Sound like an internal problem with libgphoto2/ look this message :

digikam(4520): Failed to get camera item! 
digikam(4520): Libgphoto2 error: NieobsĂugiwana operacja ( -6 ) File 'AUTXFER.MRK' is not readable. 
ASSERT: "d" in file /usr/include/ksharedptr.h, line 116 
NieobsĂugiwana operacja means Unsupported operation.

Gilles Caulier
Comment 2 Arnd Baecker 2008-10-05 11:04:16 UTC
To isolate the problem, you could try the following commands:
a) connect camera, what is the output of dmesg
   (only the camera related part)
b) gphoto2 -v
c) gphoto2 --list-ports
d) gphoto2 --auto-detect -L
e) gphoto2 --abilities
f) gphoto2 --list-folders
Comment 3 Marta Rybczyńska 2008-10-05 22:05:17 UTC
Here's the output of the commands (as a sidenote, gphoto2 is from Debian-unstable packages):

dmesg (all that seems to be related):
usb 3-1: new full speed USB device using ohci_hcd and address 4
usb 3-1: configuration #1 chosen from 1 choice

:~$ gphoto2 -v
gphoto2 2.4.0

Copyright (c) 2000-2006 Lutz Mueller i inni

gphoto2 jest udostÄpniony BEZ ĹťADNEJ GWARANCJI do granic dopuszczalnych
przez prawo. MoĹźna rozprowadzaÄ kopie gphoto2 na warunkach Powszechnej
Licencji Publicznej GNU (GNU General Public License). WiÄcej informacji
na ten temat moĹźna znaleĹşÄ w plikach COPYING.

Ta wersja gphoto2 uĹźywa nastÄpujÄcych wersji oprogramowania i opcji:
gphoto2         2.4.0          gcc, popt(m), exif, cdk, no aa, jpeg, readline
libgphoto2      2.4.0          gcc, ltdl, EXIF
libgphoto2_port 0.8.0          gcc, ltdl, USB, serial without locking

:~$gphoto2 --list-ports
Devices found: 13
Path                             Description
--------------------------------------------------------------
disk:/home                       Media 'Volume (xfs)'
disk:/opt                        Media 'opt'
disk:/tmp                        Media 'tmp'
disk:/                           Media 'Volume (xfs)'
ptpip:                           PTP/IP Connection
serial:/dev/ttyS0                Serial Port 0
serial:/dev/ttyS1                Serial Port 1
serial:/dev/ttyS2                Serial Port 2
serial:/dev/ttyS3                Serial Port 3
usb:                             Universal Serial Bus
usb:004,002                      Universal Serial Bus
usb:003,004                      Universal Serial Bus
usb:003,002                      Universal Serial Bus

:~$ gphoto2 --auto-detect -L                       
Model                          Port                                            
----------------------------------------------------------                     
Canon PowerShot A95 (PTP mode) usb:                                            
Canon PowerShot A95 (PTP mode) usb:003,004                                     
There is no file in folder '/'.                                                
There is no file in folder '/store_00010001'.                                  
There is no file in folder '/store_00010001/DCIM'.                             
There are 67 files in folder '/store_00010001/DCIM/119CANON'.                  
#1     IMG_1930.JPG                  892 KB 2592x1944 image/jpeg               
#2     IMG_1931.JPG                  735 KB 2592x1944 image/jpeg               
#3     IMG_1932.JPG                 1108 KB 2592x1944 image/jpeg               
#4     IMG_1933.JPG                  911 KB 2592x1944 image/jpeg               
#5     IMG_1934.JPG                 1021 KB 2592x1944 image/jpeg               
#6     IMG_1935.JPG                  957 KB 2592x1944 image/jpeg               
#7     IMG_1936.JPG                 1008 KB 2592x1944 image/jpeg               
#8     IMG_1937.JPG                 1026 KB 2592x1944 image/jpeg               
#9     IMG_1938.JPG                  884 KB 2592x1944 image/jpeg               
#10    IMG_1939.JPG                 1212 KB 2592x1944 image/jpeg               
#11    IMG_1940.JPG                 1284 KB 2592x1944 image/jpeg               
#12    IMG_1941.JPG                 1079 KB 2592x1944 image/jpeg               
#13    IMG_1942.JPG                 1010 KB 2592x1944 image/jpeg               
#14    IMG_1943.JPG                 1251 KB 2592x1944 image/jpeg               
#15    IMG_1944.JPG                 1609 KB 2592x1944 image/jpeg               
#16    IMG_1945.JPG                 2293 KB 2592x1944 image/jpeg               
#17    IMG_1946.JPG                 1313 KB 2592x1944 image/jpeg               
#18    IMG_1947.JPG                 1157 KB 2592x1944 image/jpeg               
#19    IMG_1948.JPG                 1376 KB 2592x1944 image/jpeg               
#20    IMG_1951.JPG                 1658 KB 2592x1944 image/jpeg               
#21    IMG_1952.JPG                 1641 KB 2592x1944 image/jpeg               
#22    IMG_1953.JPG                 1583 KB 2592x1944 image/jpeg               
#23    IMG_1954.JPG                 1271 KB 2592x1944 image/jpeg               
#24    IMG_1955.JPG                 1224 KB 2592x1944 image/jpeg               
#25    IMG_1956.JPG                 1193 KB 2592x1944 image/jpeg               
#26    IMG_1957.JPG                 1338 KB 2592x1944 image/jpeg               
#27    IMG_1958.JPG                  957 KB 2592x1944 image/jpeg               
#28    IMG_1959.JPG                 1473 KB 2592x1944 image/jpeg               
#29    IMG_1960.JPG                 1511 KB 2592x1944 image/jpeg               
#30    IMG_1961.JPG                 1476 KB 2592x1944 image/jpeg               
#31    IMG_1962.JPG                 1539 KB 2592x1944 image/jpeg               
#32    IMG_1963.JPG                 1556 KB 2592x1944 image/jpeg               
#33    IMG_1965.JPG                 1237 KB 2592x1944 image/jpeg               
#34    IMG_1966.JPG                 1198 KB 2592x1944 image/jpeg               
#35    IMG_1967.JPG                 1007 KB 2592x1944 image/jpeg               
#36    IMG_1968.JPG                 1142 KB 2592x1944 image/jpeg               
#37    IMG_1969.JPG                 1217 KB 2592x1944 image/jpeg               
#38    IMG_1970.JPG                 1024 KB 2592x1944 image/jpeg               
#39    IMG_1971.JPG                 1368 KB 2592x1944 image/jpeg               
#40    IMG_1972.JPG                 1631 KB 2592x1944 image/jpeg               
#41    IMG_1973.JPG                 1518 KB 2592x1944 image/jpeg               
#42    IMG_1974.JPG                 1173 KB 2592x1944 image/jpeg               
#43    IMG_1975.JPG                 1404 KB 2592x1944 image/jpeg               
#44    IMG_1976.JPG                 1135 KB 2592x1944 image/jpeg               
#45    IMG_1977.JPG                 1169 KB 2592x1944 image/jpeg               
#46    IMG_1978.JPG                 1804 KB 2592x1944 image/jpeg               
#47    IMG_1979.JPG                 1324 KB 2592x1944 image/jpeg               
#48    IMG_1980.JPG                 1246 KB 2592x1944 image/jpeg               
#49    IMG_1981.JPG                 1156 KB 2592x1944 image/jpeg               
#50    IMG_1982.JPG                 1357 KB 2592x1944 image/jpeg               
#51    IMG_1983.JPG                 1065 KB 2592x1944 image/jpeg               
#52    IMG_1984.JPG                 1347 KB 2592x1944 image/jpeg               
#53    IMG_1985.JPG                 1091 KB 2592x1944 image/jpeg               
#54    IMG_1986.JPG                 1225 KB 2592x1944 image/jpeg               
#55    IMG_1987.JPG                 1545 KB 2592x1944 image/jpeg               
#56    IMG_1988.JPG                 1130 KB 2592x1944 image/jpeg               
#57    IMG_1989.JPG                 1239 KB 2592x1944 image/jpeg               
#58    IMG_1991.JPG                  886 KB 2592x1944 image/jpeg               
#59    IMG_1992.JPG                 1529 KB 2592x1944 image/jpeg               
#60    IMG_1993.JPG                 1434 KB 2592x1944 image/jpeg               
#61    IMG_1994.JPG                 1423 KB 2592x1944 image/jpeg               
#62    IMG_1995.JPG                 1332 KB 2592x1944 image/jpeg               
#63    IMG_1996.JPG                 1440 KB 2592x1944 image/jpeg               
#64    IMG_1997.JPG                 1615 KB 2592x1944 image/jpeg               
#65    IMG_1998.JPG                 1329 KB 2592x1944 image/jpeg               
#66    IMG_1999.JPG                 1425 KB 2592x1944 image/jpeg               
#67    IMG_2000.JPG                 1545 KB 2592x1944 image/jpeg               
There are 100 files in folder '/store_00010001/DCIM/120CANON'.                 
#68    IMG_2001.JPG                 1031 KB 2592x1944 image/jpeg               
#69    IMG_2002.JPG                 1355 KB 2592x1944 image/jpeg               
#70    IMG_2003.JPG                 1712 KB 2592x1944 image/jpeg               
#71    IMG_2004.JPG                 1035 KB 2592x1944 image/jpeg               
#72    IMG_2005.JPG                 1173 KB 2592x1944 image/jpeg               
#73    IMG_2006.JPG                 1225 KB 2592x1944 image/jpeg               
#74    IMG_2007.JPG                 1455 KB 2592x1944 image/jpeg               
#75    IMG_2008.JPG                 1886 KB 2592x1944 image/jpeg               
#76    IMG_2009.JPG                 1788 KB 2592x1944 image/jpeg               
#77    IMG_2010.JPG                 1738 KB 2592x1944 image/jpeg               
#78    IMG_2011.JPG                 1915 KB 2592x1944 image/jpeg               
#79    IMG_2012.JPG                 1917 KB 2592x1944 image/jpeg               
#80    IMG_2013.JPG                 1955 KB 2592x1944 image/jpeg               
#81    IMG_2014.JPG                 1299 KB 2592x1944 image/jpeg               
#82    IMG_2015.JPG                 1571 KB 2592x1944 image/jpeg               
#83    IMG_2016.JPG                 1494 KB 2592x1944 image/jpeg               
#84    IMG_2017.JPG                 1782 KB 2592x1944 image/jpeg               
#85    IMG_2018.JPG                 1533 KB 2592x1944 image/jpeg               
#86    IMG_2019.JPG                 1700 KB 2592x1944 image/jpeg               
#87    IMG_2020.JPG                 1201 KB 2592x1944 image/jpeg               
#88    IMG_2021.JPG                 1358 KB 2592x1944 image/jpeg               
#89    IMG_2022.JPG                 1249 KB 2592x1944 image/jpeg               
#90    IMG_2023.JPG                 1449 KB 2592x1944 image/jpeg               
#91    IMG_2024.JPG                 1045 KB 2592x1944 image/jpeg               
#92    IMG_2025.JPG                 1762 KB 2592x1944 image/jpeg               
#93    IMG_2026.JPG                 1677 KB 2592x1944 image/jpeg               
#94    IMG_2027.JPG                 1914 KB 2592x1944 image/jpeg               
#95    IMG_2028.JPG                 1434 KB 2592x1944 image/jpeg               
#96    IMG_2029.JPG                 1425 KB 2592x1944 image/jpeg               
#97    IMG_2030.JPG                 1143 KB 2592x1944 image/jpeg               
#98    IMG_2031.JPG                 1109 KB 2592x1944 image/jpeg               
#99    IMG_2032.JPG                  964 KB 2592x1944 image/jpeg               
#100   IMG_2033.JPG                 1282 KB 2592x1944 image/jpeg               
#101   IMG_2034.JPG                 1461 KB 2592x1944 image/jpeg               
#102   IMG_2035.JPG                 1413 KB 2592x1944 image/jpeg               
#103   IMG_2036.JPG                 1414 KB 2592x1944 image/jpeg               
#104   IMG_2037.JPG                 1250 KB 2592x1944 image/jpeg               
#105   IMG_2038.JPG                 1262 KB 2592x1944 image/jpeg               
#106   IMG_2039.JPG                 1372 KB 2592x1944 image/jpeg               
#107   IMG_2040.JPG                 1596 KB 2592x1944 image/jpeg               
#108   IMG_2041.JPG                 1692 KB 2592x1944 image/jpeg               
#109   IMG_2042.JPG                 1986 KB 2592x1944 image/jpeg               
#110   IMG_2043.JPG                 1723 KB 2592x1944 image/jpeg               
#111   IMG_2044.JPG                 1502 KB 2592x1944 image/jpeg               
#112   IMG_2045.JPG                 1538 KB 2592x1944 image/jpeg               
#113   IMG_2046.JPG                 1622 KB 2592x1944 image/jpeg               
#114   IMG_2047.JPG                 1546 KB 2592x1944 image/jpeg               
#115   IMG_2048.JPG                 1657 KB 2592x1944 image/jpeg               
#116   IMG_2049.JPG                 1779 KB 2592x1944 image/jpeg               
#117   IMG_2050.JPG                 1897 KB 2592x1944 image/jpeg               
#118   IMG_2051.JPG                 1740 KB 2592x1944 image/jpeg               
#119   IMG_2052.JPG                 1460 KB 2592x1944 image/jpeg               
#120   IMG_2053.JPG                 1366 KB 2592x1944 image/jpeg               
#121   IMG_2054.JPG                 1275 KB 2592x1944 image/jpeg               
#122   IMG_2055.JPG                 1459 KB 2592x1944 image/jpeg               
#123   IMG_2056.JPG                 1684 KB 2592x1944 image/jpeg               
#124   IMG_2057.JPG                 1771 KB 2592x1944 image/jpeg               
#125   IMG_2058.JPG                 1782 KB 2592x1944 image/jpeg               
#126   IMG_2059.JPG                 1911 KB 2592x1944 image/jpeg               
#127   IMG_2060.JPG                 1800 KB 2592x1944 image/jpeg               
#128   IMG_2061.JPG                 2073 KB 2592x1944 image/jpeg               
#129   IMG_2062.JPG                 1554 KB 2592x1944 image/jpeg               
#130   IMG_2063.JPG                 1537 KB 2592x1944 image/jpeg               
#131   IMG_2064.JPG                 1658 KB 2592x1944 image/jpeg               
#132   IMG_2065.JPG                 1151 KB 2592x1944 image/jpeg               
#133   IMG_2066.JPG                 1460 KB 2592x1944 image/jpeg               
#134   IMG_2067.JPG                 2423 KB 2592x1944 image/jpeg               
#135   IMG_2068.JPG                 1995 KB 2592x1944 image/jpeg               
#136   IMG_2069.JPG                 1486 KB 2592x1944 image/jpeg               
#137   IMG_2070.JPG                 1632 KB 2592x1944 image/jpeg               
#138   IMG_2071.JPG                 1072 KB 2592x1944 image/jpeg               
#139   IMG_2072.JPG                 1442 KB 2592x1944 image/jpeg               
#140   IMG_2073.JPG                 1110 KB 2592x1944 image/jpeg               
#141   IMG_2074.JPG                 1074 KB 2592x1944 image/jpeg               
#142   IMG_2075.JPG                  963 KB 2592x1944 image/jpeg               
#143   IMG_2076.JPG                 1926 KB 2592x1944 image/jpeg               
#144   IMG_2077.JPG                 1168 KB 2592x1944 image/jpeg               
#145   IMG_2078.JPG                 1783 KB 2592x1944 image/jpeg               
#146   IMG_2079.JPG                 1975 KB 2592x1944 image/jpeg               
#147   IMG_2080.JPG                 1910 KB 2592x1944 image/jpeg               
#148   IMG_2081.JPG                 2058 KB 2592x1944 image/jpeg               
#149   IMG_2082.JPG                 1909 KB 2592x1944 image/jpeg               
#150   IMG_2083.JPG                 1294 KB 2592x1944 image/jpeg               
#151   IMG_2084.JPG                 1003 KB 2592x1944 image/jpeg               
#152   IMG_2085.JPG                  995 KB 2592x1944 image/jpeg               
#153   IMG_2086.JPG                 1657 KB 2592x1944 image/jpeg               
#154   IMG_2087.JPG                 1629 KB 2592x1944 image/jpeg               
#155   IMG_2088.JPG                 1044 KB 2592x1944 image/jpeg               
#156   IMG_2089.JPG                 1528 KB 2592x1944 image/jpeg               
#157   IMG_2090.JPG                 1447 KB 2592x1944 image/jpeg               
#158   IMG_2091.JPG                 1224 KB 2592x1944 image/jpeg               
#159   IMG_2092.JPG                  886 KB 2592x1944 image/jpeg               
#160   IMG_2093.JPG                 1022 KB 2592x1944 image/jpeg               
#161   IMG_2094.JPG                 1146 KB 2592x1944 image/jpeg               
#162   IMG_2095.JPG                 1616 KB 2592x1944 image/jpeg               
#163   IMG_2096.JPG                 1249 KB 2592x1944 image/jpeg               
#164   IMG_2097.JPG                 1423 KB 2592x1944 image/jpeg               
#165   IMG_2098.JPG                 1130 KB 2592x1944 image/jpeg               
#166   IMG_2099.JPG                 1007 KB 2592x1944 image/jpeg               
#167   IMG_2100.JPG                 1305 KB 2592x1944 image/jpeg               
There are 100 files in folder '/store_00010001/DCIM/121CANON'.                 
#168   IMG_2101.JPG                 1970 KB 2592x1944 image/jpeg               
#169   IMG_2102.JPG                 1958 KB 2592x1944 image/jpeg               
#170   IMG_2103.JPG                 1550 KB 2592x1944 image/jpeg               
#171   IMG_2104.JPG                 1370 KB 2592x1944 image/jpeg               
#172   IMG_2105.JPG                 1377 KB 2592x1944 image/jpeg               
#173   IMG_2106.JPG                 1199 KB 2592x1944 image/jpeg               
#174   IMG_2107.JPG                 1468 KB 2592x1944 image/jpeg               
#175   IMG_2108.JPG                 1032 KB 2592x1944 image/jpeg               
#176   IMG_2109.JPG                 1929 KB 2592x1944 image/jpeg               
#177   IMG_2110.JPG                 1457 KB 2592x1944 image/jpeg               
#178   IMG_2111.JPG                 1794 KB 2592x1944 image/jpeg               
#179   IMG_2112.JPG                 2102 KB 2592x1944 image/jpeg               
#180   IMG_2113.JPG                 2021 KB 2592x1944 image/jpeg               
#181   IMG_2114.JPG                 1669 KB 2592x1944 image/jpeg               
#182   IMG_2115.JPG                 1046 KB 2592x1944 image/jpeg               
#183   IMG_2116.JPG                 1250 KB 2592x1944 image/jpeg               
#184   IMG_2117.JPG                 1064 KB 2592x1944 image/jpeg               
#185   IMG_2118.JPG                 1258 KB 2592x1944 image/jpeg               
#186   IMG_2119.JPG                 1497 KB 2592x1944 image/jpeg               
#187   IMG_2120.JPG                 1378 KB 2592x1944 image/jpeg               
#188   IMG_2121.JPG                 1335 KB 2592x1944 image/jpeg               
#189   IMG_2122.JPG                 1992 KB 2592x1944 image/jpeg               
#190   IMG_2123.JPG                 1595 KB 2592x1944 image/jpeg               
#191   IMG_2124.JPG                 1284 KB 2592x1944 image/jpeg               
#192   IMG_2125.JPG                 1116 KB 2592x1944 image/jpeg               
#193   IMG_2126.JPG                 1517 KB 2592x1944 image/jpeg               
#194   IMG_2127.JPG                 1381 KB 2592x1944 image/jpeg               
#195   IMG_2128.JPG                 1364 KB 2592x1944 image/jpeg               
#196   IMG_2129.JPG                 1271 KB 2592x1944 image/jpeg               
#197   IMG_2130.JPG                 1219 KB 2592x1944 image/jpeg               
#198   IMG_2131.JPG                 2111 KB 2592x1944 image/jpeg               
#199   IMG_2132.JPG                 1889 KB 2592x1944 image/jpeg               
#200   IMG_2133.JPG                 1266 KB 2592x1944 image/jpeg               
#201   IMG_2134.JPG                 2333 KB 2592x1944 image/jpeg               
#202   IMG_2135.JPG                 2083 KB 2592x1944 image/jpeg               
#203   IMG_2136.JPG                 1734 KB 2592x1944 image/jpeg               
#204   IMG_2137.JPG                 2116 KB 2592x1944 image/jpeg               
#205   IMG_2138.JPG                 2006 KB 2592x1944 image/jpeg               
#206   IMG_2139.JPG                 1585 KB 2592x1944 image/jpeg               
#207   IMG_2140.JPG                 1166 KB 2592x1944 image/jpeg               
#208   IMG_2141.JPG                 1490 KB 2592x1944 image/jpeg               
#209   IMG_2142.JPG                 1634 KB 2592x1944 image/jpeg               
#210   IMG_2143.JPG                 1191 KB 2592x1944 image/jpeg               
#211   IMG_2144.JPG                 1495 KB 2592x1944 image/jpeg               
#212   IMG_2145.JPG                 1948 KB 2592x1944 image/jpeg               
#213   IMG_2146.JPG                 2085 KB 2592x1944 image/jpeg               
#214   IMG_2147.JPG                 2095 KB 2592x1944 image/jpeg               
#215   IMG_2148.JPG                 2072 KB 2592x1944 image/jpeg               
#216   IMG_2149.JPG                 1615 KB 2592x1944 image/jpeg               
#217   IMG_2150.JPG                 1834 KB 2592x1944 image/jpeg               
#218   IMG_2151.JPG                 1557 KB 2592x1944 image/jpeg               
#219   IMG_2152.JPG                 2101 KB 2592x1944 image/jpeg               
#220   IMG_2153.JPG                 1931 KB 2592x1944 image/jpeg               
#221   IMG_2154.JPG                 2588 KB 2592x1944 image/jpeg               
#222   IMG_2155.JPG                 2143 KB 2592x1944 image/jpeg               
#223   IMG_2156.JPG                 1871 KB 2592x1944 image/jpeg               
#224   IMG_2157.JPG                 2142 KB 2592x1944 image/jpeg               
#225   IMG_2158.JPG                 1063 KB 2592x1944 image/jpeg               
#226   IMG_2159.JPG                  752 KB 2592x1944 image/jpeg               
#227   IMG_2160.JPG                  772 KB 2592x1944 image/jpeg               
#228   IMG_2161.JPG                 1252 KB 2592x1944 image/jpeg               
#229   IMG_2162.JPG                 1170 KB 2592x1944 image/jpeg               
#230   IMG_2163.JPG                 1529 KB 2592x1944 image/jpeg               
#231   IMG_2164.JPG                 1509 KB 2592x1944 image/jpeg               
#232   IMG_2165.JPG                 2062 KB 2592x1944 image/jpeg               
#233   IMG_2166.JPG                 1839 KB 2592x1944 image/jpeg               
#234   IMG_2167.JPG                  992 KB 2592x1944 image/jpeg               
#235   IMG_2168.JPG                 1692 KB 2592x1944 image/jpeg               
#236   IMG_2169.JPG                 1623 KB 2592x1944 image/jpeg               
#237   IMG_2170.JPG                 1640 KB 2592x1944 image/jpeg               
#238   IMG_2171.JPG                 1260 KB 2592x1944 image/jpeg               
#239   IMG_2172.JPG                 1661 KB 2592x1944 image/jpeg               
#240   IMG_2173.JPG                 1121 KB 2592x1944 image/jpeg               
#241   IMG_2174.JPG                 1500 KB 2592x1944 image/jpeg               
#242   IMG_2175.JPG                 1315 KB 2592x1944 image/jpeg               
#243   IMG_2176.JPG                 1334 KB 2592x1944 image/jpeg               
#244   IMG_2177.JPG                 1450 KB 2592x1944 image/jpeg               
#245   IMG_2178.JPG                 1367 KB 2592x1944 image/jpeg               
#246   IMG_2179.JPG                 1071 KB 2592x1944 image/jpeg               
#247   IMG_2180.JPG                 1127 KB 2592x1944 image/jpeg               
#248   IMG_2181.JPG                 1116 KB 2592x1944 image/jpeg               
#249   IMG_2182.JPG                 1071 KB 2592x1944 image/jpeg               
#250   IMG_2183.JPG                  975 KB 2592x1944 image/jpeg               
#251   IMG_2184.JPG                 1137 KB 2592x1944 image/jpeg               
#252   IMG_2185.JPG                 1195 KB 2592x1944 image/jpeg               
#253   IMG_2186.JPG                 1104 KB 2592x1944 image/jpeg               
#254   IMG_2187.JPG                 1075 KB 2592x1944 image/jpeg               
#255   IMG_2188.JPG                 1238 KB 2592x1944 image/jpeg               
#256   IMG_2189.JPG                 1461 KB 2592x1944 image/jpeg               
#257   IMG_2190.JPG                 1085 KB 2592x1944 image/jpeg               
#258   IMG_2191.JPG                 1085 KB 2592x1944 image/jpeg               
#259   IMG_2192.JPG                  790 KB 2592x1944 image/jpeg               
#260   IMG_2193.JPG                 1056 KB 2592x1944 image/jpeg               
#261   IMG_2194.JPG                 1350 KB 2592x1944 image/jpeg               
#262   IMG_2195.JPG                 1388 KB 2592x1944 image/jpeg               
#263   IMG_2196.JPG                 1052 KB 2592x1944 image/jpeg               
#264   IMG_2197.JPG                 1884 KB 2592x1944 image/jpeg               
#265   IMG_2198.JPG                 1520 KB 2592x1944 image/jpeg               
#266   IMG_2199.JPG                 1488 KB 2592x1944 image/jpeg               
#267   IMG_2200.JPG                 1167 KB 2592x1944 image/jpeg               
There are 91 files in folder '/store_00010001/DCIM/122CANON'.                  
#268   IMG_2201.JPG                  975 KB 2592x1944 image/jpeg               
#269   IMG_2202.JPG                 1029 KB 2592x1944 image/jpeg               
#270   IMG_2203.JPG                 1148 KB 2592x1944 image/jpeg               
#271   IMG_2204.JPG                 1290 KB 2592x1944 image/jpeg               
#272   IMG_2205.JPG                 1350 KB 2592x1944 image/jpeg               
#273   IMG_2206.JPG                 1414 KB 2592x1944 image/jpeg               
#274   IMG_2207.JPG                 1616 KB 2592x1944 image/jpeg               
#275   IMG_2208.JPG                  926 KB 2592x1944 image/jpeg               
#276   IMG_2209.JPG                 1125 KB 2592x1944 image/jpeg               
#277   IMG_2210.JPG                 1137 KB 2592x1944 image/jpeg               
#278   IMG_2211.JPG                 1416 KB 2592x1944 image/jpeg               
#279   IMG_2212.JPG                 1390 KB 2592x1944 image/jpeg               
#280   IMG_2213.JPG                 1552 KB 2592x1944 image/jpeg               
#281   IMG_2214.JPG                  916 KB 2592x1944 image/jpeg               
#282   IMG_2215.JPG                  999 KB 2592x1944 image/jpeg               
#283   IMG_2216.JPG                 1020 KB 2592x1944 image/jpeg               
#284   IMG_2217.JPG                 1434 KB 2592x1944 image/jpeg               
#285   IMG_2218.JPG                  949 KB 2592x1944 image/jpeg               
#286   IMG_2219.JPG                 1473 KB 2592x1944 image/jpeg               
#287   IMG_2220.JPG                 1466 KB 2592x1944 image/jpeg               
#288   IMG_2222.JPG                 1121 KB 2592x1944 image/jpeg               
#289   IMG_2223.JPG                 1097 KB 2592x1944 image/jpeg               
#290   IMG_2224.JPG                 1489 KB 2592x1944 image/jpeg               
#291   IMG_2225.JPG                 1465 KB 2592x1944 image/jpeg               
#292   IMG_2226.JPG                 1368 KB 2592x1944 image/jpeg               
#293   IMG_2227.JPG                 1308 KB 2592x1944 image/jpeg               
#294   IMG_2228.JPG                 1574 KB 2592x1944 image/jpeg               
#295   IMG_2229.JPG                 1616 KB 2592x1944 image/jpeg               
#296   IMG_2230.JPG                 1460 KB 2592x1944 image/jpeg               
#297   IMG_2231.JPG                 1582 KB 2592x1944 image/jpeg               
#298   IMG_2232.JPG                 1406 KB 2592x1944 image/jpeg               
#299   IMG_2233.JPG                 1811 KB 2592x1944 image/jpeg               
#300   IMG_2234.JPG                 1774 KB 2592x1944 image/jpeg               
#301   IMG_2235.JPG                 1343 KB 2592x1944 image/jpeg               
#302   IMG_2236.JPG                 1225 KB 2592x1944 image/jpeg               
#303   IMG_2237.JPG                 1377 KB 2592x1944 image/jpeg               
#304   IMG_2238.JPG                 1272 KB 2592x1944 image/jpeg               
#305   IMG_2239.JPG                 1309 KB 2592x1944 image/jpeg               
#306   IMG_2240.JPG                 1236 KB 2592x1944 image/jpeg               
#307   IMG_2241.JPG                 1367 KB 2592x1944 image/jpeg               
#308   IMG_2242.JPG                  934 KB 2592x1944 image/jpeg               
#309   IMG_2243.JPG                 1043 KB 2592x1944 image/jpeg               
#310   IMG_2244.JPG                 1158 KB 2592x1944 image/jpeg               
#311   IMG_2245.JPG                 1398 KB 2592x1944 image/jpeg               
#312   IMG_2246.JPG                 1322 KB 2592x1944 image/jpeg               
#313   IMG_2247.JPG                  810 KB 2592x1944 image/jpeg               
#314   IMG_2248.JPG                 1320 KB 2592x1944 image/jpeg               
#315   IMG_2249.JPG                 1405 KB 2592x1944 image/jpeg               
#316   IMG_2250.JPG                 1544 KB 2592x1944 image/jpeg               
#317   IMG_2251.JPG                 1551 KB 2592x1944 image/jpeg               
#318   IMG_2252.JPG                 1502 KB 2592x1944 image/jpeg               
#319   IMG_2253.JPG                 1466 KB 2592x1944 image/jpeg               
#320   IMG_2254.JPG                 1345 KB 2592x1944 image/jpeg               
#321   IMG_2255.JPG                 1023 KB 2592x1944 image/jpeg
#322   IMG_2256.JPG                 1252 KB 2592x1944 image/jpeg
#323   IMG_2257.JPG                 1274 KB 2592x1944 image/jpeg
#324   IMG_2258.JPG                 1740 KB 2592x1944 image/jpeg
#325   IMG_2259.JPG                 1800 KB 2592x1944 image/jpeg
#326   IMG_2260.JPG                 1568 KB 2592x1944 image/jpeg
#327   IMG_2261.JPG                 1436 KB 2592x1944 image/jpeg
#328   IMG_2262.JPG                 1437 KB 2592x1944 image/jpeg
#329   IMG_2263.JPG                 1881 KB 2592x1944 image/jpeg
#330   IMG_2264.JPG                 1706 KB 2592x1944 image/jpeg
#331   IMG_2265.JPG                 1672 KB 2592x1944 image/jpeg
#332   IMG_2266.JPG                 1266 KB 2592x1944 image/jpeg
#333   IMG_2267.JPG                 1098 KB 2592x1944 image/jpeg
#334   IMG_2268.JPG                 1106 KB 2592x1944 image/jpeg
#335   IMG_2269.JPG                 1540 KB 2592x1944 image/jpeg
#336   IMG_2270.JPG                 1507 KB 2592x1944 image/jpeg
#337   IMG_2271.JPG                 1297 KB 2592x1944 image/jpeg
#338   IMG_2272.JPG                 1391 KB 2592x1944 image/jpeg
#339   IMG_2273.JPG                 1426 KB 2592x1944 image/jpeg
#340   IMG_2274.JPG                 1592 KB 2592x1944 image/jpeg
#341   IMG_2275.JPG                 1832 KB 2592x1944 image/jpeg
#342   IMG_2276.JPG                 1439 KB 2592x1944 image/jpeg
#343   IMG_2277.JPG                 1169 KB 2592x1944 image/jpeg
#344   IMG_2278.JPG                 1128 KB 2592x1944 image/jpeg
#345   IMG_2279.JPG                 1300 KB 2592x1944 image/jpeg
#346   IMG_2280.JPG                 1144 KB 2592x1944 image/jpeg
#347   IMG_2281.JPG                 2067 KB 2592x1944 image/jpeg
#348   IMG_2282.JPG                 2014 KB 2592x1944 image/jpeg
#349   IMG_2283.JPG                  989 KB 2592x1944 image/jpeg
#350   IMG_2284.JPG                 1779 KB 2592x1944 image/jpeg
#351   IMG_2285.JPG                 1976 KB 2592x1944 image/jpeg
#352   IMG_2286.JPG                 1055 KB 2592x1944 image/jpeg
#353   IMG_2287.JPG                 1577 KB 2592x1944 image/jpeg
#354   IMG_2288.JPG                 2024 KB 2592x1944 image/jpeg
#355   IMG_2289.JPG                 1686 KB 2592x1944 image/jpeg
#356   IMG_2290.JPG                  980 KB 2592x1944 image/jpeg
#357   IMG_2291.JPG                 1220 KB 2592x1944 image/jpeg
#358   IMG_2292.JPG                  980 KB 2592x1944 image/jpeg
There is 1 file in folder '/store_00010001/MISC'.
#359   AUTXFER.MRK                    16 KB text/plain
There is no file in folder '/store_80000001'.

:~$ gphoto2 --abilities
Abilities for camera             : Canon PowerShot A95 (PTP mode)
Serial port support              : no
USB support                      : yes
Capture choices                  :
                                 : Image
                                 : Preview
Configuration support            : yes
Delete selected files on camera  : yes
Delete all files on camera       : no
File preview (thumbnail) support : yes
File upload support              : yes

:~$ gphoto2 --list-folders
There are 2 folders in folder '/'.
 - store_00010001
 - store_80000001
There are 2 folders in folder '/store_00010001'.
 - DCIM
 - MISC
There are 4 folders in folder '/store_00010001/DCIM'.
 - 119CANON
 - 120CANON
 - 121CANON
 - 122CANON
There are 0 folders in folder '/store_00010001/DCIM/119CANON'.
There are 0 folders in folder '/store_00010001/DCIM/120CANON'.
There are 0 folders in folder '/store_00010001/DCIM/121CANON'.
There are 0 folders in folder '/store_00010001/DCIM/122CANON'.
There are 0 folders in folder '/store_00010001/MISC'.
There are 0 folders in folder '/store_80000001'.
Comment 4 Marcel Wiesweg 2008-12-02 17:11:55 UTC
This sounds very much like a duplicate of 169641.
The problem is fixed in beta6 / trunk.

*** This bug has been marked as a duplicate of bug 169641 ***