Project

General

Profile

Bug #11473

dt-import-folder asan info

Added by David Schaefer over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
01/22/2017
Due date:
% Done:

0%

Estimated time:
Affected Version:
git master branch
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I was in the lighttable view, zoomed to 1 image and waiting for folder import to complete (im not sure but I think I have had this folder in the database before).

david@Tower ~> env LC_ALL=C ~/unstable/darktable/bin/darktable -d opencl
[opencl_init] opencl related configuration options:
[opencl_init]
[opencl_init] opencl: 1
[opencl_init] opencl_library: ''
[opencl_init] opencl_memory_requirement: 768
[opencl_init] opencl_memory_headroom: 300
[opencl_init] opencl_device_priority: '*/!0,*/*/*'
[opencl_init] opencl_size_roundup: 16
[opencl_init] opencl_async_pixelpipe: 0
[opencl_init] opencl_synch_cache: 0
[opencl_init] opencl_number_event_handles: 25
[opencl_init] opencl_micro_nap: 1000
[opencl_init] opencl_use_pinned_memory: 0
[opencl_init] opencl_use_cpu_devices: 0
[opencl_init] opencl_avoid_atomics: 0
[opencl_init] opencl_enable_markesteijn: 1
[opencl_init]
[opencl_init] found opencl runtime library 'libOpenCL'
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
[opencl_init] could not get platforms: -1001
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.
wait time 0.203413s

(darktable:3305): IBUS-WARNING **: Unable to connect to ibus: Could not connect: Connection refused
[pixelpipe_process] [thumbnail] using device 1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.116685s
wait time 0.124367s
wait time 0.134160s
wait time 0.123554s
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
try
wait time 0.175828s
wait time 0.266070s
[pixelpipe_process] [thumbnail] using device 1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.180265s
try
wait time 0.106553s
[pixelpipe_process] [thumbnail] using device 1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.137774s
wait time 0.148109s
try
wait time 0.151339s
wait time 0.298944s
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.100062s
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.168169s
try+ wait time 0.143351s mode r
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.108230s
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.122980s
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1

(darktable:3305): Gtk-WARNING **: Allocating size to main_window 0x6290000603f0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1

(darktable:3305): Gtk-WARNING **: Allocating size to main_window 0x6290000603f0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.183518s
try+ wait time 0.135184s mode r
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.106837s
wait time 0.107447s
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [preview] using device -1
[pixelpipe_process] [full] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
[pixelpipe_process] [thumbnail] using device -1
wait time 0.104647s
[pixelpipe_process] [thumbnail] using device -1 =================================================================
3305ERROR: AddressSanitizer: heap-use-after-free on address 0x61100174bb00 at pc 0x7f063d47ed5f bp 0x7ffee04bf6c0 sp 0x7ffee04bee68
READ of size 232 at 0x61100174bb00 thread T0
#0 0x7f063d47ed5e (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x5ed5e)
#1 0x7f0638a61f71 (/usr/lib/x86_64-linux-gnu/libsqlite3.so.0+0x1bf71)
#2 0x7f0638aeffa2 (/usr/lib/x86_64-linux-gnu/libsqlite3.so.0+0xa9fa2)
#3 0x7f0638af02a9 (/usr/lib/x86_64-linux-gnu/libsqlite3.so.0+0xaa2a9)
#4 0x7f0638af0585 in sqlite3_prepare_v2 (/usr/lib/x86_64-linux-gnu/libsqlite3.so.0+0xaa585)
#5 0x7f063cd94553 in dt_collection_image_offset_with_collection /home/david/workspace/darktable.git/src/common/collection.c:1257
#6 0x7f063cd92871 in dt_collection_hint_message /home/david/workspace/darktable.git/src/common/collection.c:1223
#7 0x7f061d511429 in expose_filemanager /home/david/workspace/darktable.git/src/views/lighttable.c:740
#8 0x7f061d511429 in expose /home/david/workspace/darktable.git/src/views/lighttable.c:1423
#9 0x7f063cfd8492 in dt_view_manager_expose /home/david/workspace/darktable.git/src/views/view.c:521
#10 0x7f063ce72a53 in dt_control_expose /home/david/workspace/darktable.git/src/control/control.c:250
#11 0x7f063cf8ea26 in draw /home/david/workspace/darktable.git/src/gui/gtk.c:447
#12 0x7f063b3b1b10 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x222b10)
#13 0x7f063b4f1fae (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x362fae)
#14 0x7f0639f421a3 (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x101a3)
#15 0x7f0639f5c390 in g_signal_emit_valist (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2a390)
#16 0x7f0639f5cfae in g_signal_emit (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2afae)
#17 0x7f063b4feb69 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x36fb69)
#18 0x7f063b2f14af in gtk_container_propagate_draw (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x1624af)
#19 0x7f063b2f1591 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x162591)
#20 0x7f063b2a6173 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x117173)
#21 0x7f063b2f655c (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x16755c)
#22 0x7f063b2fb1bf (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x16c1bf)
#23 0x7f063b2a8b10 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x119b10)
#24 0x7f063b4fe98a (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x36f98a)
#25 0x7f063b2f14af in gtk_container_propagate_draw (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x1624af)
#26 0x7f063b2f1591 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x162591)
#27 0x7f063b36e633 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x1df633)
#28 0x7f063b2f655c (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x16755c)
#29 0x7f063b2fb1bf (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x16c1bf)
#30 0x7f063b36f640 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x1e0640)
#31 0x7f063b4fe98a (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x36f98a)
#32 0x7f063b2f14af in gtk_container_propagate_draw (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x1624af)
#33 0x7f063b2f1591 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x162591)
#34 0x7f063b2a6173 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x117173)
#35 0x7f063b2f655c (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x16755c)
#36 0x7f063b2fb1bf (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x16c1bf)
#37 0x7f063b2a8b10 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x119b10)
#38 0x7f063b4fe98a (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x36f98a)
#39 0x7f063b2f14af in gtk_container_propagate_draw (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x1624af)
#40 0x7f063b2f1591 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x162591)
#41 0x7f063b50c710 (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x37d710)
#42 0x7f063b4fe98a (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x36f98a)
#43 0x7f063b4fee68 in gtk_widget_send_expose (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x36fe68)
#44 0x7f063b3b0b84 in gtk_main_do_event (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x221b84)
#45 0x7f063aedab04 (/usr/lib/x86_64-linux-gnu/libgdk-3.so.0+0x32b04)
#46 0x7f063aee97f7 (/usr/lib/x86_64-linux-gnu/libgdk-3.so.0+0x417f7)
#47 0x7f063aeea94b (/usr/lib/x86_64-linux-gnu/libgdk-3.so.0+0x4294b)
#48 0x7f063aeeab02 (/usr/lib/x86_64-linux-gnu/libgdk-3.so.0+0x42b02)
#49 0x7f0639f41f74 in g_closure_invoke (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0xff74)
#50 0x7f0639f53f81 (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x21f81)
#51 0x7f0639f5cbcb in g_signal_emit_valist (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2abcb)
#52 0x7f0639f5cfae in g_signal_emit (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2afae)
#53 0x7f063aee2a90 (/usr/lib/x86_64-linux-gnu/libgdk-3.so.0+0x3aa90)
#54 0x7f063aed0e67 (/usr/lib/x86_64-linux-gnu/libgdk-3.so.0+0x28e67)
#55 0x7f063bac1102 (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4b102)
#56 0x7f063bac0689 in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a689)
#57 0x7f063bac0a3f (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4aa3f)
#58 0x7f063bac0d61 in g_main_loop_run (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4ad61)
#59 0x7f063b3afcf4 in gtk_main (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x220cf4)
#60 0x7f063cf94384 in dt_gui_gtk_run /home/david/workspace/darktable.git/src/gui/gtk.c:1028
#61 0x55860d2b3a0b in main /home/david/workspace/darktable.git/src/main.c:25
#62 0x7f063c6d63f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0)
#63 0x55860d2b3a59 in _start (/home/david/unstable/darktable/bin/darktable+0xa59)

0x61100174bb00 is located 0 bytes inside of 233-byte region [0x61100174bb00,0x61100174bbe9)
freed by thread T5 here:
#0 0x7f063d4e6b50 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6b50)
#1 0x7f063cd92c27 in _dt_collection_store /home/david/workspace/darktable.git/src/common/collection.c:417
#2 0x7f063cd92c27 in dt_collection_update /home/david/workspace/darktable.git/src/common/collection.c:195
#3 0x7f063cd95219 in dt_collection_update_query /home/david/workspace/darktable.git/src/common/collection.c:1179
#4 0x7f063ce51dc4 in dt_tag_attach /home/david/workspace/darktable.git/src/common/tags.c:221
#5 0x7f063ce00b59 in dt_image_import /home/david/workspace/darktable.git/src/common/image.c:955
#6 0x7f063ce86eb2 in dt_film_import1 /home/david/workspace/darktable.git/src/control/jobs/film_jobs.c:256
#7 0x7f063ce875d8 in dt_film_import1_run /home/david/workspace/darktable.git/src/control/jobs/film_jobs.c:33
#8 0x7f063ce7a458 in dt_control_job_execute /home/david/workspace/darktable.git/src/control/jobs.c:298
#9 0x7f063ce7b7cf in dt_control_run_job /home/david/workspace/darktable.git/src/control/jobs.c:317
#10 0x7f063ce7b7cf in dt_control_work /home/david/workspace/darktable.git/src/control/jobs.c:555
#11 0x7f063ca846c9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76c9)

previously allocated by thread T5 here:
#0 0x7f063d4e6eb0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6eb0)
#1 0x7f063bac5de8 in g_malloc (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4fde8)

Thread T5 created by T0 here:
#0 0x7f063d4514e8 in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x314e8)
#1 0x7f063cdbf92d in dt_pthread_create /home/david/workspace/darktable.git/src/common/dtpthread.c:63
#2 0x7f063ce7be03 in dt_control_jobs_init /home/david/workspace/darktable.git/src/control/jobs.c:611
#3 0x7f063ce71aed in dt_control_init /home/david/workspace/darktable.git/src/control/control.c:72
#4 0x7f063cdb2bcd in dt_init /home/david/workspace/darktable.git/src/common/darktable.c:831
#5 0x55860d2b39d5 in main /home/david/workspace/darktable.git/src/main.c:24
#6 0x7f063c6d63f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0)

SUMMARY: AddressSanitizer: heap-use-after-free (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x5ed5e)
Shadow bytes around the buggy address:
0x0c22802e1710: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c22802e1720: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c22802e1730: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c22802e1740: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c22802e1750: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c22802e1760:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c22802e1770: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa
0x0c22802e1780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c22802e1790: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c22802e17a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c22802e17b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
3305ABORTING

History

#1 Updated by Roman Lebedev over 2 years ago

whole src/common/collection.* is racy and better be purged and reimplemented from scratch.
i don't dare touching that

Also available in: Atom PDF

Go to top