Project

General

Profile

Bug #11996

Segfault when attempting to import from camera

Added by pet darrow 14 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Darkroom
Target version:
-
Start date:
02/04/2018
Due date:
% Done:

0%

Affected Version:
2.4.1
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

This is how I can reproduce this issue (v2.4.1 - archliux):

1. Open darktable
2. Click on the lighttable tab
3. Click "Import from Camera"
4. Select any picture from an SSD card
5. The picture will open fine, now close it clicking on the X below the picture (next to the stars) from the lighttable tab.
6. Click again "Import from Camera" and try to quickly scroll down.
7. Segfaults.

Here's the backtrace

[import_session] File /home/user/Pictures/Darktable/20180204_noname/20180204_0001.JPG exists.
[import_session] Testing /home/user/Pictures/Darktable/20180204_noname/20180204_0002.JPG.
[import_session] Testing /home/user/Pictures/Darktable/20180204_noname/20180204_0003.JPG.
[import_session] Using filename 20180204_0003.JPG.
[New Thread 0x7fffae79d700 (LWP 18477)]
[New Thread 0x7fffad11c700 (LWP 18478)]
[New Thread 0x7fffac91b700 (LWP 18479)]
[New Thread 0x7fffa7ba4700 (LWP 18480)]
[New Thread 0x7fffa73a3700 (LWP 18481)]
[New Thread 0x7fffa6ba2700 (LWP 18482)]
[New Thread 0x7fffa63a1700 (LWP 18485)]
[Thread 0x7fffe38a6700 (LWP 18072) exited]

(darktable:18067): Gtk-WARNING **: Allocating size to GtkDialog 0x555556a716d0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(darktable:18067): Gtk-WARNING **: Allocating size to GtkDialog 0x555556a716d0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(darktable:18067): Gtk-WARNING **: Allocating size to GtkDialog 0x555556a716d0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Thread 6 "worker 1" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe1191700 (LWP 18075)]
0x00007ffff7441651 in __memmove_avx_unaligned_erms () from /usr/lib/libc.so.6

(gdb) bt
#0  0x00007ffff7441651 in __memmove_avx_unaligned_erms () at /usr/lib/libc.so.6
#1  0x00007ffff480a39e in gp_file_copy () at /usr/lib/libgphoto2.so.6
#2  0x00007ffff480d071 in  () at /usr/lib/libgphoto2.so.6
#3  0x00007ffff480f419 in gp_filesystem_get_file () at /usr/lib/libgphoto2.so.6
#4  0x00007ffff4806c44 in gp_camera_file_get () at /usr/lib/libgphoto2.so.6
#5  0x00007ffff7a7bbea in _camctl_recursive_get_previews () at /usr/lib/libdarktable.so
#6  0x00007ffff7a7bd5f in _camctl_recursive_get_previews () at /usr/lib/libdarktable.so
#7  0x00007ffff7a7bd5f in _camctl_recursive_get_previews () at /usr/lib/libdarktable.so
#8  0x00007ffff7a7bfe6 in dt_camctl_get_previews () at /usr/lib/libdarktable.so
#9  0x00007ffff7a7d0ca in  () at /usr/lib/libdarktable.so
#10 0x00007ffff79b35c4 in  () at /usr/lib/libdarktable.so
#11 0x00007ffff79b40e8 in  () at /usr/lib/libdarktable.so
#12 0x00007ffff76a808c in start_thread () at /usr/lib/libpthread.so.0
#13 0x00007ffff73dfe7f in clone () at /usr/lib/libc.so.6

Also available in: Atom PDF