Bug 179370 - crashed while downloading a video file from camera
Summary: crashed while downloading a video file from camera
Status: RESOLVED UPSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 0.10.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-02 13:50 UTC by Gerry Gavigan
Modified: 2017-08-16 06:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments
ghoto debug file (80.02 KB, text/plain)
2009-01-04 20:34 UTC, Gerry Gavigan
Details
debug file (141.89 KB, text/plain)
2009-01-04 21:37 UTC, Gerry Gavigan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Gavigan 2009-01-02 13:50:23 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

using 0.10.0 Beta 7, several downloaded successfully beforehand, from Canon IXUS 75 

[KCrash handler]
#6  0xb6c4e28d in gp_filesystem_set_file_noop () from /usr/lib/libgphoto2.so.2
#7  0xb6c4f222 in ?? () from /usr/lib/libgphoto2.so.2
#8  0xb6c4f318 in gp_filesystem_get_file () from /usr/lib/libgphoto2.so.2
#9  0xb6c44b25 in gp_camera_file_get () from /usr/lib/libgphoto2.so.2
#10 0x08104907 in ?? ()
#11 0x0811e60f in ?? ()
#12 0x0812013c in ?? ()
#13 0xb7d4b85e in ?? () from /usr/lib/libQtCore.so.4
#14 0xb7ce91b5 in start_thread () from /lib/libpthread.so.0
#15 0xb51d038e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4855700 (LWP 4184)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7cecc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7d4c872 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3  0xb0048b77 in ?? () from /usr/lib/kde4/phonon_xine.so
#4  0xb0056693 in ?? () from /usr/lib/kde4/phonon_xine.so
#5  0xb748ac8c in Phonon::MediaNodePrivate::deleteBackendObject() ()
   from /usr/lib/libphonon.so.4
#6  0xb749730d in ?? () from /usr/lib/libphonon.so.4
#7  0xb74967c5 in ?? () from /usr/lib/libphonon.so.4
#8  0xb74851fb in ?? () from /usr/lib/libphonon.so.4
#9  0xb512c9b1 in exit () from /lib/libc.so.6
#10 0xb5f9be0b in ?? () from /usr/lib/libQtGui.so.4
#11 0xb78f7dca in KApplication::xioErrhandler(_XDisplay*) ()
   from /usr/lib/libkdeui.so.5
#12 0xb78f7e06 in ?? () from /usr/lib/libkdeui.so.5
#13 0xb720d3c2 in _XIOError () from /usr/lib/libX11.so.6
#14 0xb72153a5 in ?? () from /usr/lib/libX11.so.6
#15 0xb7215bc5 in _XEventsQueued () from /usr/lib/libX11.so.6
#16 0xb71fdb3f in XEventsQueued () from /usr/lib/libX11.so.6
#17 0xb5fd49ba in ?? () from /usr/lib/libQtGui.so.4
#18 0xb50658ba in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#19 0xb5065d4a in ?? () from /usr/lib/libglib-2.0.so.0
#20 0xb5066221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0xb7e65fd7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0xb5fd4785 in ?? () from /usr/lib/libQtGui.so.4
#23 0xb7e3a01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0xb7e3a1da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#25 0xb7e3c895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#26 0xb5f3b777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#27 0x0825c324 in ?? ()
#28 0xb5115705 in __libc_start_main () from /lib/libc.so.6
#29 0x0808c3d1 in _start ()
Comment 1 caulier.gilles 2009-01-02 13:57:24 UTC
Marcus, 

Look like the crash appears in libgphoto2. Camera is Canon, in PTP mode certainly.

Gerry,

Which libgphoto2 you use. Go to digiKam Help/Components Info dialog for details.

Gilles Caulier
Comment 2 Gerry Gavigan 2009-01-02 14:00:51 UTC
libGphoto2 2.4.3

FWIW biggest video I've tried to download
Comment 3 Marcus Meissner 2009-01-02 19:12:41 UTC
What camera/device is this?

gphoto2 --auto-detect

(I need to know the driver ;)
Comment 4 Gerry Gavigan 2009-01-04 12:58:58 UTC
The camera is a Canon IXUS 75

Turns that gphoto2 isn't installed, will report back
Comment 5 Gerry Gavigan 2009-01-04 20:34:15 UTC
Created attachment 29901 [details]
ghoto debug file
Comment 6 Gerry Gavigan 2009-01-04 20:34:53 UTC
Canon Digital IXUS 75 (PTP mode) usb:
Canon Digital IXUS 75 (PTP mode) usb:001,007

fully charged camera battery

while running gphoto2 -auto-detect (not --au...)

found a command described as one that should be should run before moaning to gphoto mob

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -auto-detect


it which generated a large wodge of output, reading the output indicates that it did something (no idea what) but camera now appears to be downloading OK

Comment 7 Marcus Meissner 2009-01-04 20:42:47 UTC
can you check if
   gphoto2 -P
works and downloads all images + movies?
Comment 8 Gerry Gavigan 2009-01-04 21:00:46 UTC
alas, hold that though, downloaded three avi files and then failure

re-ran command in previous comment (black magic incantation principle) downloaded a few more

failure )
re-run  ) x2
download) 

then stopped working

deleted a few of the success stories, (another black magic incantation) then got 

"failed to delete (continue?)"

then got

"failed to retrieve..."

If this is all drivel, sorry 


  
Comment 9 Gerry Gavigan 2009-01-04 21:02:14 UTC
submitted same time as you, will try your suggestion with remaining files
Comment 10 Gerry Gavigan 2009-01-04 21:05:11 UTC
Gerry@linux-cyp7:~> gphoto2 -P
Downloading 'MVI_0091.AVI' from folder '/store_00010001/DCIM/101CANON'...
Saving file as MVI_0091.AVI
Downloading 'MVI_0092.AVI' from folder '/store_00010001/DCIM/101CANON'...

*** Error ***
PTP I/O error
*** Error (-1: 'Unspecified error') ***
Comment 11 Gerry Gavigan 2009-01-04 21:16:30 UTC
manually deleted "0091" from camera then this happened

gphoto2 -P
Downloading 'MVI_0092.AVI' from folder '/store_00010001/DCIM/101CANON'...
Saving file as MVI_0092.AVI
Downloading 'MVI_0094.AVI' from folder '/store_00010001/DCIM/101CANON'...

*** Error ***
PTP I/O error
*** Error (-1: 'Unspecified error') ***
Comment 12 Marcus Meissner 2009-01-04 21:18:25 UTC
this debugtrace would be interesting :/
Comment 13 Gerry Gavigan 2009-01-04 21:36:54 UTC
more stuff then I'll check debug file 

gphoto2 -P
Downloading 'MVI_0092.AVI' from folder '/store_00010001/DCIM/101CANON'...      
Saving file as MVI_0092.AVI                                                    
Downloading 'MVI_0094.AVI' from folder '/store_00010001/DCIM/101CANON'...      
                                                                               
*** Error ***                                                                  
PTP I/O error                                                                  
*** Error (-1: 'Unspecified error') ***                                        

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:                                                    

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P

Please make sure there is sufficient quoting around the arguments.

---------- manually deleted "0092" then tried to download "0094"---------------

Gerry@linux-cyp7:~> gphoto2 -P
Downloading 'MVI_0094.AVI' from folder '/store_00010001/DCIM/101CANON'...      
                                                                               
*** Error ***                                                                  
PTP I/O error                                                                  
*** Error (-1: 'Unspecified error') ***                                        

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:                                                    

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P

Please make sure there is sufficient quoting around the arguments.

---------- so repeated black magic ------------


Gerry@linux-cyp7:~> env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -auto-detect
Abilities for camera             : Canon Digital IXUS 75 (PTP mode)                       
Serial port support              : no                                                     
USB support                      : yes                                                    
Capture choices                  :                                                        
                                 : Capture not supported by the driver                    
Configuration support            : no                                                     
Delete selected files on camera  : yes                                                    
Delete all files on camera       : no                                                     
File preview (thumbnail) support : yes                                                    
File upload support              : yes                                                    
*** Error (-1: 'Unspecified error') ***                                                   

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:                                                    

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --debug --debug-logfile=my-logfile.txt -auto-detect

Please make sure there is sufficient quoting around the arguments.


--------- and tried again -----------


Gerry@linux-cyp7:~> gphoto2 -P
Downloading 'MVI_0094.AVI' from folder '/store_00010001/DCIM/101CANON'...

*** Error ***
PTP I/O error
*** Error (-1: 'Unspecified error') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P

Please make sure there is sufficient quoting around the arguments.

--- so then I unplugged camera from USB interface and tried again ----


Gerry@linux-cyp7:~> gphoto2 -P
Downloading 'MVI_0094.AVI' from folder '/store_00010001/DCIM/101CANON'...
Saving file as MVI_0094.AVI
Downloading 'MVI_0108.AVI' from folder '/store_00010001/DCIM/101CANON'...
Saving file as MVI_0108.AVI
Downloading 'MVI_0110.AVI' from folder '/store_00010001/DCIM/101CANON'...

*** Error ***
PTP I/O error
*** Error (-1: 'Unspecified error') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P

Please make sure there is sufficient quoting around the arguments.

----lastly re-ran black magic incantation  ---
Comment 14 Gerry Gavigan 2009-01-04 21:37:41 UTC
Created attachment 29905 [details]
debug file
Comment 15 Gerry Gavigan 2009-01-04 21:47:56 UTC
unpluged camera and finally

Gerry@linux-cyp7:~> gphoto2 -P
Downloading 'MVI_0108.AVI' from folder '/store_00010001/DCIM/101CANON'...
Saving file as MVI_0108.AVI
Downloading 'MVI_0110.AVI' from folder '/store_00010001/DCIM/101CANON'...
Saving file as MVI_0110.AVI
Gerry@linux-cyp7:~>

other info

0094 = 500 MB
0091 = 200 MB

0108 = 90 MB
0110 = 200MB 
Comment 16 caulier.gilles 2009-01-23 21:07:52 UTC
Marcus,

What's news here ?

Gilles
Comment 17 Marcus Meissner 2009-01-23 23:17:41 UTC
i am afraid I have no idea. :(
Comment 18 caulier.gilles 2009-05-12 11:22:09 UTC
Gerry,

What's news here ? can you reproduce the crash with 0.10.0 stable release ?

Gilles Caulier
Comment 19 Gerry Gavigan 2009-05-12 11:49:36 UTC
Gilles
> 
> What's news here ? can you reproduce the crash with 0.10.0 stable release ?

Unfortunately, I do not have any large files to download from my camera. I will have in a few months time (I don't do much video...).  Perhaps close it in the absence of others identifying it as a problem, and if it reappears, I'll report

Gerry
Comment 20 Andi Clemens 2009-10-01 16:07:01 UTC
Ok so I'll close it for now, feel free to re-open it (or create a new report).
Marking it as UPSTREAM, since it seems to be related to gphoto.

Andi