Project

General

Profile

Bug #9793

import from camera crash (bt attached)

Added by Pascal Obry over 5 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Medium
Category:
-
Target version:
-
Start date:
01/26/2014
Due date:
% Done:

100%

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

Description

I cannot import from the camera anymore. I have gphoto2 2.5.3. I can import from camera using the command as explained in the troubleshooting section:

env LANG=C gphoto2 -v --port usb: --capture-image-and-download
gphoto2 2.5.3

Copyright (c) 2000-2014 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.3          gcc, popt(m), exif, no cdk, no aa, jpeg, readline
libgphoto2      2.5.3.2        all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.10.0         gcc, ltdl, USB, serial without locking
New file is in location /capt0000.nef on the camera                            
Saving file as capt0000.nef
Deleting file /capt0000.nef on the camera
Deleting 'capt0000.nef' from folder '/'...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffe7a7f8700 (LWP 19609)]
0x00007ffff2e7f5a3 in ?? () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
(gdb) bt
#0  0x00007ffff2e7f5a3 in ?? () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#1  0x00007ffff2e7f63e in ?? () from /usr/lib/x86_64-linux-gnu/libjpeg.so.8
#2  0x00007ffff7aa3322 in _dispatch_camera_property_value_changed (c=c@entry=0x696120, camera=camera@entry=0x714f60, name=0x7ffe88097144 "changeafarea", 
    value=value@entry=0x7ffe88088a50 "0x0") at /home/obry/dev/builds/darktable/src/src/common/camera_control.c:1535
#3  0x00007ffff7aa3486 in _camera_configuration_merge (c=c@entry=0x696120, camera=camera@entry=0x714f60, source=<optimized out>, destination=destination@entry=0x6d0150, 
    notify_all=notify_all@entry=0) at /home/obry/dev/builds/darktable/src/src/common/camera_control.c:1382
#4  0x00007ffff7aa33d1 in _camera_configuration_merge (c=c@entry=0x696120, camera=camera@entry=0x714f60, source=0x7ffe880958f0, destination=destination@entry=0x6d0150, 
    notify_all=notify_all@entry=0) at /home/obry/dev/builds/darktable/src/src/common/camera_control.c:1331
#5  0x00007ffff7aa33d1 in _camera_configuration_merge (c=c@entry=0x696120, camera=camera@entry=0x714f60, source=0x7ffe88095280, destination=0x6d0150, 
    notify_all=notify_all@entry=0) at /home/obry/dev/builds/darktable/src/src/common/camera_control.c:1331
#6  0x00007ffff7aa351c in _camera_configuration_update (c=c@entry=0x696120, camera=camera@entry=0x714f60) at /home/obry/dev/builds/darktable/src/src/common/camera_control.c:1409
#7  0x00007ffff7aa35af in _camera_poll_events (c=c@entry=0x696120, cam=cam@entry=0x714f60) at /home/obry/dev/builds/darktable/src/src/common/camera_control.c:1284
#8  0x00007ffff7aa3714 in _camera_event_thread (data=0x696120) at /home/obry/dev/builds/darktable/src/src/common/camera_control.c:711
#9  0x00007ffff4290e0e in start_thread (arg=0x7ffe7a7f8700) at pthread_create.c:311
#10 0x00007ffff0dab0fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Let me know if you need more information.


Related issues

Duplicated by darktable - Bug #9788: dt crashes on second import from camera Duplicate 01/21/2014

Associated revisions

Revision 1d0846dc
Added by Henrik Andersson over 5 years ago

Unregister listener in camera capture job.
This fixes a crash reported on issue #9793.

Revision 7c05be9b
Added by Roman Lebedev over 5 years ago

Merge remote-tracking branch 'upstream/master' into gtk3-upstream

  • upstream/master: (319 commits)
    [l10n] Update German translation a bit
    Pick an update of map sources from osmgpsmap upstream
    Fix double free in previous commit.
    Unregister listener in camera capture job. This fixes a crash reported on issue #9793.
    Updated Dutch translation
    Updated Dutch translation
    Update French translation.
    chmod -x da.po
    Updated Danish translation
    Italian translation updated
    lowpass: unbound processing
    Fix the use of jobcode that got removed by mistake. This fixes bug #9789
    Add support for audio notes playback ...
    Updated Dutch translation
    [l10n] update Greek translation
    lua : add a function to copy an image
    lua : add a function to move an image
    lua : add a function to remove an image from the database
    [l10n] Swedish update
    Revert "lua : add a field indicating if the autopresets have been applied"
    ...

Conflicts:
src/control/control.c
src/dtgtk/gradientslider.c
src/gui/gtk.c
src/imageio/format/tiff.c
src/imageio/storage/disk.c
src/libs/session.c
src/libs/tagging.c

History

#1 Updated by Pascal Obry over 5 years ago

Forgot to say that the RAW is downloaded properly and found into the capture folder. So the crash appears just after the download. Maybe a race-condition while creating the thumbnail and the callback for modified data from the camera. All this is just wild guess as I've never worked on this part of darktable code.

#2 Updated by Pascal Obry over 5 years ago

  • Assignee set to Ulrich Pegelow

I have tried to debug this... No luck... Looks like there is some memory corruption somewhere!
Reassigning to Ulrich who worked on this part recently.

#3 Updated by Henrik Andersson over 5 years ago

Can you do the same thing but running through valgrind and post output here ?

#4 Updated by Henrik Andersson over 5 years ago

Pascal Obry wrote:

I have tried to debug this... No luck... Looks like there is some memory corruption somewhere!
Reassigning to Ulrich who worked on this part recently.

Is it reproduciable all the time ?

Did you start import job and moved into darkroom while jobs running ?

#5 Updated by Pascal Obry over 5 years ago

I tried running valgrind already but it exists even before starting darktable.

And yes it is reproducible all the time. I just:

- start dt
- click on tethering
- click on capture image

And it crashes all the time.

#6 Updated by Pascal Obry over 5 years ago

Here is the output for:

$ valgrind darktable

No action on the GUI. dt exists early even before all the GUI is realized. Not sure it will help.

==10126== Memcheck, a memory error detector
==10126== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==10126== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==10126== Command: /opt/darktable/bin/darktable
==10126== 
==10126== Warning: set address range perms: large range [0x200000000, 0x700000000) (noaccess)
==10126== Warning: set address range perms: large range [0x39fe0080, 0x574a2080) (undefined)
==10126== Warning: set address range perms: large range [0x574a3080, 0x7496b080) (undefined)
==10126== Warning: set address range perms: large range [0x7496c080, 0x91e4c080) (undefined)
==10126== Warning: set address range perms: large range [0x91e4d080, 0x108c4d080) (undefined)
==10126== Conditional jump or move depends on uninitialised value(s)
==10126==    at 0xE89AABC: ??? (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.4)
==10126==    by 0xE8808EA: ??? (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.4)
==10126==    by 0xE835600: pixman_image_composite32 (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.4)
==10126==    by 0x6158F76: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x61999C3: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x618C7CB: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x618D1AA: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x618E038: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x614CEE6: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x615CE3E: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x6190F13: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x61548AB: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126== 
==10126== Conditional jump or move depends on uninitialised value(s)
==10126==    at 0xE89ADC4: ??? (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.4)
==10126==    by 0xE8808EA: ??? (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.4)
==10126==    by 0xE835600: pixman_image_composite32 (in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.32.4)
==10126==    by 0x6158F76: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x61999C3: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x618C7CB: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x618D1AA: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x618E038: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x614CEE6: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x615CE3E: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x6190F13: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126==    by 0x61548AB: ??? (in /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16)
==10126== 
==10126== Conditional jump or move depends on uninitialised value(s)
==10126==    at 0x89AF387: ??? (in /usr/lib/x86_64-linux-gnu/librsvg-2.so.2.40.0)
==10126==    by 0x89AFF57: rsvg_handle_get_pixbuf_sub (in /usr/lib/x86_64-linux-gnu/librsvg-2.so.2.40.0)
==10126==    by 0x37709E45: ??? (in /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so)
==10126==    by 0x8BC780A: gdk_pixbuf_loader_close (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.2800.2)
==10126==    by 0x8BC39E4: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.2800.2)
==10126==    by 0x8BC56BC: gdk_pixbuf_new_from_stream_at_scale (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.2800.2)
==10126==    by 0x5BE9774: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x5BEC7A9: gtk_icon_info_load_icon (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x5BEC94E: gtk_icon_theme_load_icon (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D3459A: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D3535F: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D39C7E: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126== 
==10126== Conditional jump or move depends on uninitialised value(s)
==10126==    at 0x5867FEE: gdk_pixbuf_render_threshold_alpha (in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.22)
==10126==    by 0x5868378: gdk_pixbuf_render_pixmap_and_mask_for_colormap (in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D354DE: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D39C7E: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x55FA156: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612247: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612F31: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5D2D8DF: gtk_widget_realize (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D380EC: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x55F9F27: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x560A6F6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612CE8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126== 
==10126== Conditional jump or move depends on uninitialised value(s)
==10126==    at 0x586803B: gdk_pixbuf_render_threshold_alpha (in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.22)
==10126==    by 0x5868378: gdk_pixbuf_render_pixmap_and_mask_for_colormap (in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D354DE: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D39C7E: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x55FA156: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612247: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612F31: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5D2D8DF: gtk_widget_realize (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D380EC: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x55F9F27: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x560A6F6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612CE8: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126== 
==10126== Conditional jump or move depends on uninitialised value(s)
==10126==    at 0x5867FEE: gdk_pixbuf_render_threshold_alpha (in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.22)
==10126==    by 0x5868378: gdk_pixbuf_render_pixmap_and_mask_for_colormap (in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D354DE: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x55FA156: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612247: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612F31: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5BE8D36: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x4F7BE20: dt_gui_gtk_init (gtk.c:830)
==10126==    by 0x4EAC4E6: dt_init (darktable.c:730)
==10126==    by 0x400A5D: main (main.c:24)
==10126== 
==10126== Conditional jump or move depends on uninitialised value(s)
==10126==    at 0x586803B: gdk_pixbuf_render_threshold_alpha (in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.22)
==10126==    by 0x5868378: gdk_pixbuf_render_pixmap_and_mask_for_colormap (in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.22)
==10126==    by 0x5D354DE: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x55FA156: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612247: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5612F31: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3600.4)
==10126==    by 0x5BE8D36: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22)
==10126==    by 0x4F7BE20: dt_gui_gtk_init (gtk.c:830)
==10126==    by 0x4EAC4E6: dt_init (darktable.c:730)
==10126==    by 0x400A5D: main (main.c:24)
==10126== 
==10126== Thread 3:
==10126== Invalid read of size 1
==10126==    at 0x500F2A3: RawSpeed::NikonDecompressor::DecompressNikon(RawSpeed::ByteStream*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (NikonDecompressor.cpp:99)
==10126==    by 0x500DCFE: RawSpeed::NefDecoder::decodeRawInternal() (NefDecoder.cpp:123)
==10126==    by 0x4FEC9BB: RawSpeed::RawDecoder::decodeRaw() (RawDecoder.cpp:337)
==10126==    by 0x4EDE683: dt_imageio_open_rawspeed (imageio_rawspeed.cc:128)
==10126==    by 0x4ED9C95: dt_imageio_open (imageio.c:949)
==10126==    by 0x4EE8F70: dt_mipmap_cache_read_get (mipmap_cache.c:926)
==10126==    by 0x4ED8E7B: dt_imageio_export_with_flags (imageio.c:655)
==10126==    by 0x4EE64AF: _init_8.isra.9 (mipmap_cache.c:1321)
==10126==    by 0x4EE8C30: dt_mipmap_cache_read_get (mipmap_cache.c:970)
==10126==    by 0x4F06D2A: dt_image_load_job_run (image_jobs.c:38)
==10126==    by 0x4EFE937: dt_control_run_job (control.c:616)
==10126==    by 0x4EFEA27: dt_control_work (control.c:816)
==10126==  Address 0x3ff is not stack'd, malloc'd or (recently) free'd
==10126== 
[New LWP 10176]
[New LWP 10175]
[New LWP 10174]
[New LWP 10173]
[New LWP 10172]
[New LWP 10171]
[New LWP 10170]
[New LWP 10145]
[New LWP 10144]
[New LWP 10143]
[New LWP 10142]
[New LWP 10141]
[New LWP 10140]
[New LWP 10139]
[New LWP 10138]
[New LWP 10137]
[New LWP 10136]
[New LWP 10135]
[New LWP 10134]
[New LWP 10133]
[New LWP 10132]
[New LWP 10131]
[New LWP 10130]
[New LWP 10129]
[New LWP 10128]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Failed to read a valid object file image from memory.
0x0000000038065409 in ?? ()
backtrace written to /tmp/darktable_bt_07B99W.txt
==10126== Jump to the invalid address stated on the next line
==10126==    at 0x0: ???
==10126==    by 0xBBD624F: ??? (in /lib/x86_64-linux-gnu/libc-2.17.so)
==10126==    by 0x500F2A2: RawSpeed::NikonDecompressor::DecompressNikon(RawSpeed::ByteStream*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (NikonDecompressor.cpp:99)
==10126==    by 0x500DCFE: RawSpeed::NefDecoder::decodeRawInternal() (NefDecoder.cpp:123)
==10126==    by 0x4FEC9BB: RawSpeed::RawDecoder::decodeRaw() (RawDecoder.cpp:337)
==10126==    by 0x4EDE683: dt_imageio_open_rawspeed (imageio_rawspeed.cc:128)
==10126==    by 0x4ED9C95: dt_imageio_open (imageio.c:949)
==10126==    by 0x4EE8F70: dt_mipmap_cache_read_get (mipmap_cache.c:926)
==10126==    by 0x4ED8E7B: dt_imageio_export_with_flags (imageio.c:655)
==10126==    by 0x4EE64AF: _init_8.isra.9 (mipmap_cache.c:1321)
==10126==    by 0x4EE8C30: dt_mipmap_cache_read_get (mipmap_cache.c:970)
==10126==    by 0x4F06D2A: dt_image_load_job_run (image_jobs.c:38)
==10126==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==10126== 
==10126== 
==10126== Process terminating with default action of signal 11 (SIGSEGV)
==10126==  Bad permissions for mapped region at address 0x0
==10126==    at 0x0: ???
==10126==    by 0xBBD624F: ??? (in /lib/x86_64-linux-gnu/libc-2.17.so)
==10126==    by 0x500F2A2: RawSpeed::NikonDecompressor::DecompressNikon(RawSpeed::ByteStream*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (NikonDecompressor.cpp:99)
==10126==    by 0x500DCFE: RawSpeed::NefDecoder::decodeRawInternal() (NefDecoder.cpp:123)
==10126==    by 0x4FEC9BB: RawSpeed::RawDecoder::decodeRaw() (RawDecoder.cpp:337)
==10126==    by 0x4EDE683: dt_imageio_open_rawspeed (imageio_rawspeed.cc:128)
==10126==    by 0x4ED9C95: dt_imageio_open (imageio.c:949)
==10126==    by 0x4EE8F70: dt_mipmap_cache_read_get (mipmap_cache.c:926)
==10126==    by 0x4ED8E7B: dt_imageio_export_with_flags (imageio.c:655)
==10126==    by 0x4EE64AF: _init_8.isra.9 (mipmap_cache.c:1321)
==10126==    by 0x4EE8C30: dt_mipmap_cache_read_get (mipmap_cache.c:970)
==10126==    by 0x4F06D2A: dt_image_load_job_run (image_jobs.c:38)
==10126== 
==10126== HEAP SUMMARY:
==10126==     in use at exit: 4,059,329,505 bytes in 84,919 blocks
==10126==   total heap usage: 580,431 allocs, 495,512 frees, 8,293,535,067 bytes allocated
==10126== 
==10126== LEAK SUMMARY:
==10126==    definitely lost: 189,593 bytes in 8,529 blocks
==10126==    indirectly lost: 126,771 bytes in 6,683 blocks
==10126==      possibly lost: 6,473,278 bytes in 28,404 blocks
==10126==    still reachable: 4,052,539,863 bytes in 41,303 blocks
==10126==         suppressed: 0 bytes in 0 blocks
==10126== Rerun with --leak-check=full to see details of leaked memory
==10126== 
==10126== For counts of detected and suppressed errors, rerun with: -v
==10126== Use --track-origins=yes to see where uninitialised values come from
==10126== ERROR SUMMARY: 377 errors from 9 contexts (suppressed: 24 from 3)
Killed

#7 Updated by Henrik Andersson over 5 years ago

  • Status changed from Confirmed to Fixed
  • Assignee changed from Ulrich Pegelow to Henrik Andersson
  • % Done changed from 10 to 100

Fixed in commit 1d0846dce7faf4693c2cfe7dc34d0cbed9e2163c pushed to master.

#8 Updated by Pascal Obry over 5 years ago

I have just fixed a double deallocation introduced by the fix. After that I can import multiple images without problem. Thanks a lot!

#9 Updated by Roman Lebedev about 3 years ago

  • Duplicated by Bug #9788: dt crashes on second import from camera added

Also available in: Atom PDF