Project

General

Profile

Bug #10900

darktable hang on tethering mode

Added by Pascal Obry over 4 years ago. Updated over 3 years ago.

Status:
Closed: invalid
Priority:
Medium
Assignee:
-
Category:
Tethering
Target version:
Start date:
01/30/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
git development version
System:
Debian
bitness:
64-bit
hardware architecture:
amd64/x86

Description

The tethering capture seems to hang one out of 5 capture. I have not really been able to see where the issue can be. I have attached a backtrace below.

What is happening from what I see is:

- I click capute
- the picture is downloaded from the camera
- the thumbnail is created on the filmstrip
- the thumbnail stays blank and darktable become irresponsible

Only solution out is to kill dt.

From the bt I see nothing wrong (to me). The thread 33 seems to wait for an event from the camera, don't think it is where it is locked. All others threads looks ok (to me again!).

Any idea?

(gdb) thread apply all bt

Thread 54 (Thread 0x7fff70de2700 (LWP 4927)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff70de2700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 53 (Thread 0x7fff715e3700 (LWP 4926)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff715e3700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 52 (Thread 0x7fff71de4700 (LWP 4925)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff71de4700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 51 (Thread 0x7fff725e5700 (LWP 4924)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff725e5700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 50 (Thread 0x7fff75177700 (LWP 4923)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff75177700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 49 (Thread 0x7fff7a4e4700 (LWP 4922)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff7a4e4700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 48 (Thread 0x7fff7ace5700 (LWP 4921)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff7ace5700)
    at pthread_create.c:333
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 47 (Thread 0x7fff7b4e6700 (LWP 4911)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff7b4e6700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 46 (Thread 0x7fff7bce7700 (LWP 4910)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff7bce7700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 45 (Thread 0x7fff7c4e8700 (LWP 4909)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff7c4e8700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 44 (Thread 0x7fff7cce9700 (LWP 4908)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff7cce9700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 43 (Thread 0x7fff7d4ea700 (LWP 4907)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff7d4ea700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 42 (Thread 0x7fff7dceb700 (LWP 4906)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff7dceb700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 41 (Thread 0x7fff84f09700 (LWP 4905)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
---Type <return> to continue, or q <return> to quit---
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff84f09700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 40 (Thread 0x7fff857cb700 (LWP 4904)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff857cb700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 39 (Thread 0x7fff85fcc700 (LWP 4903)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff85fcc700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 38 (Thread 0x7fff867cd700 (LWP 4902)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff867cd700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 37 (Thread 0x7fff86fce700 (LWP 4901)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff86fce700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 36 (Thread 0x7fff877cf700 (LWP 4900)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff877cf700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 35 (Thread 0x7fff87fd0700 (LWP 4899)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff87fd0700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 34 (Thread 0x7fffac16c700 (LWP 4898)):
---Type <return> to continue, or q <return> to quit---
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fffac16c700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 33 (Thread 0x7fff887d1700 (LWP 4891)):
#0  0x00007ffff05a3893 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fff99130807 in ?? () from /lib/x86_64-linux-gnu/libusb-0.1.so.4
#2  0x00007fff99339102 in gp_port_usb_read (port=<optimized out>,
    bytes=<optimized out>, size=<optimized out>) at usb/libusb.c:429
#3  0x00007ffff4fab6e2 in gp_port_read (port=0x7fffcc03c780,
    data=0x7fff887d0370 "", size=1024) at gphoto2-port.c:434
#4  0x00007fff98ac697c in ptp_usb_getpacket (params=0x7fffcc056db0,
    packet=0x7fff887d0370, rlen=0x7fff887d036c) at ptp2/usb.c:231
#5  0x00007fff98ac795f in ptp_usb_getresp (params=0x7fffcc056db0,
    resp=0x7fff887d0850) at ptp2/usb.c:422
#6  0x00007fff98aa5f14 in ptp_transaction_new (params=0x7fffcc056db0,
    ptp=0x7fff887d0850, flags=<optimized out>, sendlen=<optimized out>,
    handler=0x7fff887d07f0) at ptp2/ptp.c:204
#7  0x00007fff98aa60b8 in ptp_transaction (params=params@entry=0x7fffcc056db0,
    ptp=ptp@entry=0x7fff887d0850, flags=flags@entry=2,
    sendlen=sendlen@entry=0, data=data@entry=0x7fff887d0848,
    recvlen=recvlen@entry=0x7fff887d0844) at ptp2/ptp.c:425
#8  0x00007fff98ab0bfc in ptp_nikon_check_event (params=0x7fffcc056db0,
    event=0x7fff887d08c0, evtcnt=0x7fff887d08bc) at ptp2/ptp.c:3166
#9  0x00007fff98ab0fce in ptp_check_event (params=0x7fffcc056db0)
    at ptp2/ptp.c:2113
#10 0x00007fff98ab7b62 in camera_wait_for_event (camera=0x20, timeout=30,
    eventtype=0x7fff887d0230, eventdata=0x7ffff05a3893 <select+51>,
    context=0x2105a70) at ptp2/library.c:4031
#11 0x00007ffff51bd115 in gp_camera_wait_for_event (camera=0x7fffcc03c6d0,
    timeout=30, eventtype=0x7fff887d0b3c, eventdata=0x7fff887d0b40,
    context=0x2105a70) at gphoto2-camera.c:1137
#12 0x00007ffff7ad37b1 in _camera_poll_events (c=c@entry=0x206c990,
    cam=cam@entry=0x7fffcc04e4e0)
    at /home/obry/dev/builds/darktable/build/src/src/common/camera_control.c:1388
#13 0x00007ffff7ad39a4 in _camera_event_thread (data=0x206c990)
    at /home/obry/dev/builds/darktable/build/src/src/common/camera_control.c:809
#14 0x00007ffff3a23284 in start_thread (arg=0x7fff887d1700)
    at pthread_create.c:333
#15 0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 32 (Thread 0x7fff8c6f0700 (LWP 4882)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff8c6f0700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
---Type <return> to continue, or q <return> to quit---

Thread 31 (Thread 0x7fff8cef1700 (LWP 4881)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff8cef1700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 30 (Thread 0x7fff8d6f2700 (LWP 4880)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff8d6f2700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 29 (Thread 0x7fff8def3700 (LWP 4879)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff8def3700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 28 (Thread 0x7fff8e6f4700 (LWP 4878)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff8e6f4700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 27 (Thread 0x7fff8eef5700 (LWP 4877)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff8eef5700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 26 (Thread 0x7fff8f6f6700 (LWP 4876)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff8f6f6700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 25 (Thread 0x7fff91561700 (LWP 4870)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff91561700)
    at pthread_create.c:333
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 24 (Thread 0x7fff91d62700 (LWP 4869)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff91d62700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 23 (Thread 0x7fff92563700 (LWP 4868)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff92563700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 22 (Thread 0x7fff94920700 (LWP 4867)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff94920700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 21 (Thread 0x7fff95121700 (LWP 4866)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff95121700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7fff95922700 (LWP 4865)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff95922700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 19 (Thread 0x7fff96123700 (LWP 4864)):
#0  0x00007ffff08774df in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff0874f08 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff3a23284 in start_thread (arg=0x7fff96123700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 17 (Thread 0x7fffb53fa700 (LWP 4861)):
#0  0x00007ffff3a2ab09 in futex_abstimed_wait (cancel=true,
    private=<optimized out>, abstime=0x0, expected=0, futex=0xa7d128)
---Type <return> to continue, or q <return> to quit---
    at sem_waitcommon.c:42
#1  do_futex_wait (sem=sem@entry=0xa7d128, abstime=0x0) at sem_waitcommon.c:208
#2  0x00007ffff3a2aba4 in __new_sem_wait_slow (sem=0xa7d128, abstime=0x0)
    at sem_waitcommon.c:277
#3  0x00007fffca754da7 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#4  0x00007fffca0130c6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#5  0x00007fffca755138 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#6  0x00007ffff3a23284 in start_thread (arg=0x7fffb53fa700)
    at pthread_create.c:333
#7  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7fffb5bfb700 (LWP 4860)):
#0  0x00007ffff3a2ab09 in futex_abstimed_wait (cancel=true,
    private=<optimized out>, abstime=0x0, expected=0, futex=0xa58f68)
    at sem_waitcommon.c:42
#1  do_futex_wait (sem=sem@entry=0xa58f68, abstime=0x0) at sem_waitcommon.c:208
#2  0x00007ffff3a2aba4 in __new_sem_wait_slow (sem=0xa58f68, abstime=0x0)
    at sem_waitcommon.c:277
#3  0x00007fffca754da7 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#4  0x00007fffca0130c6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#5  0x00007fffca755138 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#6  0x00007ffff3a23284 in start_thread (arg=0x7fffb5bfb700)
    at pthread_create.c:333
#7  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7fffb63fc700 (LWP 4859)):
#0  0x00007ffff3a2ab09 in futex_abstimed_wait (cancel=true,
    private=<optimized out>, abstime=0x0, expected=0, futex=0xa58f68)
    at sem_waitcommon.c:42
#1  do_futex_wait (sem=sem@entry=0xa58f68, abstime=0x0) at sem_waitcommon.c:208
#2  0x00007ffff3a2aba4 in __new_sem_wait_slow (sem=0xa58f68, abstime=0x0)
    at sem_waitcommon.c:277
#3  0x00007fffca754da7 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#4  0x00007fffca0130c6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#5  0x00007fffca755138 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#6  0x00007ffff3a23284 in start_thread (arg=0x7fffb63fc700)
    at pthread_create.c:333
#7  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7fffb6bfd700 (LWP 4858)):
#0  0x00007ffff3a2ab09 in futex_abstimed_wait (cancel=true,
    private=<optimized out>, abstime=0x0, expected=0, futex=0xa58f68)
---Type <return> to continue, or q <return> to quit---
    at sem_waitcommon.c:42
#1  do_futex_wait (sem=sem@entry=0xa58f68, abstime=0x0) at sem_waitcommon.c:208
#2  0x00007ffff3a2aba4 in __new_sem_wait_slow (sem=0xa58f68, abstime=0x0)
    at sem_waitcommon.c:277
#3  0x00007fffca754da7 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#4  0x00007fffca0130c6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#5  0x00007fffca755138 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#6  0x00007ffff3a23284 in start_thread (arg=0x7fffb6bfd700)
    at pthread_create.c:333
#7  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7fffb73fe700 (LWP 4857)):
#0  0x00007ffff3a2ab09 in futex_abstimed_wait (cancel=true,
    private=<optimized out>, abstime=0x0, expected=0, futex=0xa58f68)
    at sem_waitcommon.c:42
#1  do_futex_wait (sem=sem@entry=0xa58f68, abstime=0x0) at sem_waitcommon.c:208
#2  0x00007ffff3a2aba4 in __new_sem_wait_slow (sem=0xa58f68, abstime=0x0)
    at sem_waitcommon.c:277
#3  0x00007fffca754da7 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#4  0x00007fffca0130c6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#5  0x00007fffca755138 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#6  0x00007ffff3a23284 in start_thread (arg=0x7fffb73fe700)
    at pthread_create.c:333
#7  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7fffb7bff700 (LWP 4856)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fffca7558a7 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#2  0x00007fffca06106d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#3  0x00007fffca755138 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#4  0x00007ffff3a23284 in start_thread (arg=0x7fffb7bff700)
    at pthread_create.c:333
#5  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7fffc8f08700 (LWP 4855)):
#0  0x00007ffff05a1a9d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffca7547eb in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#2  0x00007fffca11a5e1 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#3  0x00007fffca755138 in ?? ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
#4  0x00007ffff3a23284 in start_thread (arg=0x7fffc8f08700)
    at pthread_create.c:333
#5  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7fffcb7fe700 (LWP 4847)):
#0  0x00007ffff05a1a9d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff547f1cc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff547f552 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5a77396 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff54a59c5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff3a23284 in start_thread (arg=0x7fffcb7fe700)
    at pthread_create.c:333
#6  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fffcbfff700 (LWP 4846)):
#0  0x00007ffff05a1a9d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff547f1cc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff547f2dc in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff547f319 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff54a59c5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff3a23284 in start_thread (arg=0x7fffcbfff700)
    at pthread_create.c:333
#6  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fffe0d63700 (LWP 4845)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff7a23a9e in dt_control_work_res (ptr=<optimized out>)
    at /home/obry/dev/builds/darktable/build/src/src/control/jobs.c:492
#2  0x00007ffff3a23284 in start_thread (arg=0x7fffe0d63700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fffe1564700 (LWP 4844)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff7a23a9e in dt_control_work_res (ptr=<optimized out>)
    at /home/obry/dev/builds/darktable/build/src/src/control/jobs.c:492
#2  0x00007ffff3a23284 in start_thread (arg=0x7fffe1564700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fffe1d65700 (LWP 4843)):
#0  0x00007ffff057a3bd in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff057a254 in __sleep (seconds=0, seconds@entry=2)
    at ../sysdeps/unix/sysv/linux/sleep.c:138
---Type <return> to continue, or q <return> to quit---
#2  0x00007ffff7a236ea in dt_control_worker_kicker (ptr=0x6f4730)
    at /home/obry/dev/builds/darktable/build/src/src/control/jobs.c:505
#3  0x00007ffff3a23284 in start_thread (arg=0x7fffe1d65700)
    at pthread_create.c:333
#4  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fffe2566700 (LWP 4842)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff7a24936 in dt_control_work (ptr=<optimized out>)
    at /home/obry/dev/builds/darktable/build/src/src/control/jobs.c:530
#2  0x00007ffff3a23284 in start_thread (arg=0x7fffe2566700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fffe2d67700 (LWP 4841)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff7a24936 in dt_control_work (ptr=<optimized out>)
    at /home/obry/dev/builds/darktable/build/src/src/control/jobs.c:530
#2  0x00007ffff3a23284 in start_thread (arg=0x7fffe2d67700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffe3568700 (LWP 4840)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff7a24936 in dt_control_work (ptr=<optimized out>)
    at /home/obry/dev/builds/darktable/build/src/src/control/jobs.c:530
#2  0x00007ffff3a23284 in start_thread (arg=0x7fffe3568700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffe3d69700 (LWP 4839)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff7a24936 in dt_control_work (ptr=<optimized out>)
    at /home/obry/dev/builds/darktable/build/src/src/control/jobs.c:530
#2  0x00007ffff3a23284 in start_thread (arg=0x7fffe3d69700)
    at pthread_create.c:333
#3  0x00007ffff05aa97d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffff7eedac0 (LWP 4835)):
#0  0x00007ffff05a1a9d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff547f1cc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff547f552 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7233db5 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff7aa4adc in dt_gui_gtk_run (gui=<optimized out>)
    at /home/obry/dev/builds/darktable/build/src/src/gui/gtk.c:956
#5  0x0000000000400a6a in main (argc=<optimized out>, argv=<optimized out>)
    at /home/obry/dev/builds/darktable/build/src/src/main.c:25

History

#1 Updated by Pascal Obry over 4 years ago

Note that I don't think that it is a gphoto2 issue as I've been able to launch many time the following command without issue:

$ gphoto2 --capture-image-and-download

Each time the picture is taken and downloaded from the camera.

#2 Updated by Pascal Obry over 4 years ago

Also, after killing darktable restarting displays correctly the image. This seems to indicate that the image is indeed correctly downloaded and inserted into dt's database. Any hint to track this down appreciated!

#3 Updated by Tobias Ellinghaus over 4 years ago

  • % Done changed from 0 to 20
  • Priority changed from Critical to Low
  • Status changed from New to Incomplete

To me that looks as if the USB driver was blocking somewhere. Running gphoto2 from the command line isn't indicating anything as it's doing init/cleanup of USB every time. I could be completely wrong though.
Do you get any hints when running dt with "-d camctl"?

#4 Updated by Pascal Obry over 4 years ago

  • Priority changed from Low to Medium

No, no hint when running -d camctl! I have found a fix, almost sure it works see:
[[https://github.com/darktable-org/darktable/pull/1132]]

I'm not sure if it is the right solution.

I've raised this to Medium, Low seems a bit too low for an issue that lock darktable and the only way out is to kill the process.

#5 Updated by Pascal Obry over 4 years ago

  • % Done changed from 20 to 0
  • Status changed from Incomplete to Closed: invalid

After more testing it seems that one USB port is the cause for this. Maybe USB3 vs USB2? Not sure now, but it seems to work better for me using another port. Let's close this, I'll reopen if I have more data.

#6 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top