I opened an issue with gphoto2 to get this clarified:
https://github.com/gphoto/gphoto2/issues/114
Am 28.01.2018 um 21:36 schrieb Tobias Ellinghaus:
> Am Sonntag, 28. Januar 2018, 18:47:00 CET schrieb Matthias Bodenbinder:
>> Hello Tobias,
>>
>> I tried to follow your instructions. Not sure if I did it right. When I hit
>> ctrl-c after <make it hang> nothing happens until the dd command is
>> finished with the file transfer. I guess that is what you expected!
>
> I wasn't expecting gdb to be blocked, too, no. The backtrace you have still
> shows that gphoto2 was in the process of detecting connected cameras, so my
> initial assumption is still likely to be true.
>
>> The gdb.txt is attached.
>>
>> Matthias
>
> Tobias
>
>> Am 28.01.2018 um 16:35 schrieb Tobias Ellinghaus:
>>> Am Sonntag, 28. Januar 2018, 13:13:20 CET schrieb Matthias Bodenbinder:
>>>> I did an strace and found that DT is trying to stat a DCIM folder in the
>>>> cloud:
>>>>
>>>> 4969 stat("/mnt/magentacloud/DCIM", <unfinished ...>
>>>> 4969 stat("/mnt/magentacloud/dcim", 0x7ff6b7ff0330) = -1 ENOENT (No such
>>>> file or directory)
>>>>
>>>> Why is that? What has DT to do with this directory?
>>>
>>> As "DCIM" is part of the file layout of cameras I would guess that it's
>>> gphoto2. Let's find out.
>>> Please start darktable in gdb, make it hang and then get a backtrace:
>>>
>>> gdb darktable
>>> r
>>> <make it hang>
>>> ctrl-c
>>> set pagination off
>>> set logging file gdb.txt
>>> set logging on
>>> thread apply all bt full
>>> c
>>> <wait for dt to recover and close dt>
>>> q
>>>
>>> Then show us the generated file "gdb.txt".
>>>
>>>> As long as dd is writing to /mnt/magentacloud the drive is not
>>>> responding.
>>>> Even simple "ls" commands are waitng until the dd command is finished. So
>>>> the "stat" from DT must wait also.
>>>
>>>> DT is actually doing a "stat" on every mounted directory in /mnt:
>>> That sounds like gphoto2 looking for removable media.
>>>
>>>> 4969 stat("/mnt/magentacloud/DCIM", <unfinished ...>
>>>> 4969 stat("/mnt/magentacloud/dcim", 0x7ff6b7ff0330) = -1 ENOENT (No such
>>>> file or directory) 4969 stat("/mnt/zstore/DCIM", 0x7ff6b7ff0330) = -1
>>>> ENOENT (No such file or directory) 4969 stat("/mnt/zstore/dcim",
>>>> 0x7ff6b7ff0330) = -1 ENOENT (No such file or directory) 4969
>>>> stat("/mnt/zstore/BENCHMARK/DCIM", 0x7ff6b7ff0330) = -1 ENOENT (No such
>>>> file or directory) 4969 stat("/mnt/zstore/BENCHMARK/dcim",
>>>> 0x7ff6b7ff0330)
>>>> = -1 ENOENT (No such file or directory)
>>>>
>>>> Why is it doing that?
>>>>
>>>>
>>>> Kind Regards
>>>> Matthias
>>>>
>>>> Matthias
>>>
>>> Tobias
>>>
>>> [...]
>>
>> ____________________________________________________________________________
>> darktable user mailing list
>> to unsubscribe send a mail to [email protected]
>
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]