← Back to team overview

rapid-users team mailing list archive

Re: problem with segfault on photo when creating thumbnail

 

I can add to this that once i have the photo detected in rapid and it
has crached, every time i restart rapid and click preferences it will
segfault at once i click prefs.
If i do --reset-settings i can open preferences and select the folder
with the photo again to get to "segfault mode".

/Andreas

On 2011-12-03 23:59, Andreas Nyback wrote:
> I updated to pyexiv 0.3.2
> 
> no message about segfault in the output on the console, but still looks
> like segfaulting...
> 
> When i do ps after it tried to create thumbnail i have a "defunct"
> rapid. The gui is still runinng and i can click "fetch" (or download or
> what the button is labeled in english)
> 
> I will get the blue progress bar that its starting to download the photo
> but then it sits there forever but it will trigger a little more text on
> debug and then dead for good...
> [DEBUG/MainProcess] Download activated
> [DEBUG/MainProcess] created semlock with handle 140431398559744
> [DEBUG/MainProcess] created semlock with handle 140431398555648
> [DEBUG/MainProcess] created semlock with handle 140431398551552
> [DEBUG/MainProcess] Queue._after_fork()
> [DEBUG/MainProcess] created semlock with handle 140431398547456
> [DEBUG/MainProcess] created semlock with handle 140431398543360
> [DEBUG/MainProcess] created semlock with handle 140431398539264
> [DEBUG/MainProcess] created semlock with handle 140431398535168
> [DEBUG/MainProcess] created semlock with handle 140431398531072
> [DEBUG/MainProcess] TaskManager PID: 11424
> [DEBUG/CopyFiles-5] Queue._after_fork()
> [DEBUG/CopyFiles-5] Queue._after_fork()
> [DEBUG/CopyFiles-5] Queue._after_fork()
> [INFO/CopyFiles-5] child process calling self.run()
> [DEBUG/CopyFiles-5] Getting thumbnail for
> /home/andreas/rpd-tmp-lJL4L7/DSC_0037.JPG...
> [DEBUG/CopyFiles-5] file type is photo
> [DEBUG/CopyFiles-5] Read photo metadata...
> 
> 
> You say you don't get the same when you try? You can download the photo
> in your rapid? You get a thumbnail?
> 
> best regards
> Andreas
> 
> 
> 
> Complete debug output;
>  [INFO/MainProcess] Rapid Photo Downloader 0.4.2
> [INFO/MainProcess] Using pyexiv2 0.3.2
> [INFO/MainProcess] Using exiv2 0.21.1
> [INFO/MainProcess] Using hachoir 1.3.3
> [INFO/MainProcess] No downloads have occurred so far today
> [INFO/MainProcess] allocating a new mmap of length 4096
> [DEBUG/MainProcess] created semlock with handle 140431400189952
> [DEBUG/MainProcess] created semlock with handle 140431399788544
> [DEBUG/MainProcess] created semlock with handle 140431399305216
> [DEBUG/MainProcess] created semlock with handle 140431399301120
> [DEBUG/MainProcess] created semlock with handle 140431399297024
> [DEBUG/MainProcess] created semlock with handle 140431399292928
> [DEBUG/MainProcess] created semlock with handle 140431399288832
> [DEBUG/MainProcess] created semlock with handle 140431399284736
> /usr/lib64/python2.7/site-packages/rapid/rapid.py:2946: GtkWarning:
> Unknown property: GtkMenuBar.ubuntu-local
>   builder.add_from_file(paths.share_dir("glade3/rapid.ui"))
> /usr/lib64/python2.7/site-packages/rapid/rapid.py:2946: GtkWarning:
> Unknown property: GtkMenu.ubuntu-local
>   builder.add_from_file(paths.share_dir("glade3/rapid.ui"))
> [INFO/GetPreviewImage-1] child process calling self.run()
> [DEBUG/MainProcess] Start of day is set to 03:00
> [DEBUG/MainProcess] SubfolderFile PID: 11380
> [INFO/SubfolderFile-2] child process calling self.run()
> [DEBUG/SubfolderFile-2] Finished 0. Getting next task.
> [INFO/MainProcess] # photo backup devices: 0; # video backup devices: 0
> [DEBUG/MainProcess] Preference change detected: download_folder
> [DEBUG/MainProcess] Preference change detected: video_download_folder
> [DEBUG/MainProcess] Preference change detected: device_autodetection
> [DEBUG/MainProcess] Resetting sample file photo and video files
> [DEBUG/MainProcess] Preference change detected: device_location
> [DEBUG/MainProcess] Preference window closing
> [INFO/MainProcess] Download device settings preferences were changed.
> [INFO/MainProcess] Using manually specified path /home/andreas/DCIM/Namnlös
> [INFO/MainProcess] # photo backup devices: 0; # video backup devices: 0
> [DEBUG/MainProcess] created semlock with handle 140431398625280
> [DEBUG/MainProcess] created semlock with handle 140431398621184
> [DEBUG/MainProcess] created semlock with handle 140431398617088
> [DEBUG/MainProcess] Queue._after_fork()
> [DEBUG/MainProcess] created semlock with handle 140431398612992
> [DEBUG/MainProcess] created semlock with handle 140431398608896
> [DEBUG/MainProcess] created semlock with handle 140431398604800
> [DEBUG/MainProcess] created semlock with handle 140431398600704
> [DEBUG/MainProcess] created semlock with handle 140431398596608
> [DEBUG/Scan-3] Queue._after_fork()
> [INFO/Scan-3] child process calling self.run()
> [DEBUG/MainProcess] TaskManager PID: 11397
> [DEBUG/MainProcess] Preference change detected: downloads_today
> [INFO/Scan-3] process shutting down
> [DEBUG/MainProcess] Preference change detected: day_start
> [DEBUG/Scan-3] running all "atexit" finalizers with priority >= 0
> [DEBUG/Scan-3] running the remaining "atexit" finalizers
> [INFO/Scan-3] process exiting with exitcode 0
> [INFO/MainProcess] Found 1 bild
> [INFO/MainProcess] Files total 3.2MB
> [DEBUG/MainProcess] created semlock with handle 140431398592512
> [DEBUG/MainProcess] created semlock with handle 140431398588416
> [DEBUG/MainProcess] created semlock with handle 140431398584320
> [DEBUG/MainProcess] Queue._after_fork()
> [DEBUG/MainProcess] created semlock with handle 140431398580224
> [DEBUG/MainProcess] created semlock with handle 140431398576128
> [DEBUG/MainProcess] created semlock with handle 140431398572032
> [DEBUG/MainProcess] created semlock with handle 140431398567936
> [DEBUG/MainProcess] created semlock with handle 140431398563840
> [DEBUG/MainProcess] TaskManager PID: 11398
> [DEBUG/GenerateThumbnails-4] Queue._after_fork()
> [DEBUG/GenerateThumbnails-4] Queue._after_fork()
> [INFO/GenerateThumbnails-4] child process calling self.run()
> [DEBUG/GenerateThumbnails-4] Getting thumbnail for
> /home/andreas/DCIM/Namnlös/DSC_0037.JPG...
> [DEBUG/GenerateThumbnails-4] file type is photo
> [DEBUG/GenerateThumbnails-4] Read photo metadata...
> 
> 
> # ps -ef | grep rapid
> andreas  11373  7252  8 23:49 pts/5    00:00:01 /usr/bin/python2.7
> /usr/bin/rapid-photo-downloader -d
> andreas  11379 11373  0 23:49 pts/5    00:00:00 /usr/bin/python2.7
> /usr/bin/rapid-photo-downloader -d
> andreas  11380 11373  0 23:49 pts/5    00:00:00 /usr/bin/python2.7
> /usr/bin/rapid-photo-downloader -d
> andreas  11398 11373  0 23:49 pts/5    00:00:00 [rapid-photo-dow] <defunct>
> 
> 
> On 2011-12-03 22:55, Damon Lynch wrote:
>> On Sat, Dec 3, 2011 at 3:46 PM, Andreas Nyback <andreas@xxxxxxxxxx> wrote:
>>
>>>
>>> (edited some words that where in Swedish in my output)
>>>
>>> [INFO/MainProcess] Rapid Photo Downloader 0.4.2
>>> [INFO/MainProcess] Using pyexiv2 0.3.0
>>>
>>
>> It looks like pyexiv2 crashed. Using pyexiv2 0.3.2 I was unable to
>> replicate the bug. I recommend upgrading pyexiv2.
>>
>> Best,
>> Damon
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~rapid-users
>> Post to     : rapid-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~rapid-users
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~rapid-users
> Post to     : rapid-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~rapid-users
> More help   : https://help.launchpad.net/ListHelp



References