Project

General

Profile

Bug #11079

Crash on export

Added by Ryan Gillette over 3 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Medium
Assignee:
Category:
Darkroom
Target version:
Start date:
07/14/2016
Due date:
% Done:

100%

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

Description

  • Error in `darktable': double free or corruption (fasttop): 0x00007f628c0058a0 *** ======= Backtrace: =========
    /lib64/libc.so.6(+0x755fb)[0x7f62b1d225fb]
    /lib64/libc.so.6(+0x7dd4a)[0x7f62b1d2ad4a]
    /lib64/libc.so.6(cfree+0x4c)[0x7f62b1d2e2ac]
    /lib64/libglib-2.0.so.0(g_free+0xe)[0x7f62b6e3cf6e]
    /opt/darktable/bin/../lib64/darktable/libdarktable.so(dt_control_progress_destroy+0x67)[0x7f62b9130087]
    /opt/darktable/bin/../lib64/darktable/libdarktable.so(+0xce70a)[0x7f62b912970a]
    /opt/darktable/bin/../lib64/darktable/libdarktable.so(dt_control_job_dispose+0x32)[0x7f62b9129982]
    /opt/darktable/bin/../lib64/darktable/libdarktable.so(+0xcf4b1)[0x7f62b912a4b1]
    /lib64/libpthread.so.0(+0x75ca)[0x7f62b4d7c5ca]
    /lib64/libc.so.6(clone+0x6d)[0x7f62b1dafead] ======= Memory map: ========
    00400000-00401000 r-xp 00000000 08:03 2625416 /opt/darktable/bin/darktable
    00601000-00602000 r--p 00001000 08:03 2625416 /opt/darktable/bin/darktable
    00602000-00603000 rw-p 00002000 08:03 2625416 /opt/darktable/bin/darktable
    01e41000-0438f000 rw-p 00000000 00:00 0 [heap]
    7f623f07c000-7f6242ecd000 rw-p 00000000 00:00 0
    7f6246ae6000-7f6247a59000 rw-p 00000000 00:00 0
    7f6247a59000-7f6247a5a000 ---p 00000000 00:00 0
    7f6247a5a000-7f624825a000 rw-p 00000000 00:00 0
    7f624825a000-7f624825b000 ---p 00000000 00:00 0
    7f624825b000-7f624c8ac000 rw-p 00000000 00:00 0
    7f624c9de000-7f624cd27000 rw-p 00000000 00:00 0
    7f624cd27000-7f624cd28000 ---p 00000000 00:00 0
    7f624cd28000-7f62554e0000 rw-p 00000000 00:00 0
    7f62557be000-7f6257dd6000 rw-p 00000000 00:00 0
    7f6257dd6000-7f6257dd7000 ---p 00000000 00:00 0
    7f6257dd7000-7f62585d7000 rw-p 00000000 00:00 0
    7f62585d7000-7f62585d8000 ---p 00000000 00:00 0
    7f62585d8000-7f6258dd8000 rw-p 00000000 00:00 0
    7f6258dd8000-7f6258dd9000 ---p 00000000 00:00 0
    7f6258dd9000-7f6259a25000 rw-p 00000000 00:00 0
    7f6259a69000-7f6259e93000 rw-p 00000000 00:00 0
    7f6259e93000-7f6259e94000 ---p 00000000 00:00 0
    7f6259e94000-7f625a694000 rw-p 00000000 00:00 0
    7f625a694000-7f625a695000 ---p 00000000 00:00 0
    7f625a695000-7f625ae95000 rw-p 00000000 00:00 0
    7f625ae95000-7f625ae96000 ---p 00000000 00:00 0
    7f625ae96000-7f625b696000 rw-p 00000000 00:00 0
    7f625b6b3000-7f625bb42000 rw-p 00000000 00:00 0
    7f625bb42000-7f625fb42000 rw-s 00000000 00:05 28737596 /SYSV00000000 (deleted)
    7f625fb42000-7f625ff52000 rw-p 00000000 00:00 0
    7f625ff6a000-7f6260373000 rw-p 00000000 00:00 0
    7f6260373000-7f6260374000 ---p 00000000 00:00 0
    7f6260374000-7f6260b74000 rw-p 00000000 00:00 0
    7f6260b74000-7f6260b75000 ---p 00000000 00:00 0
    7f6260b75000-7f6261375000 rw-p 00000000 00:00 0
    7f6261375000-7f6261376000 ---p 00000000 00:00 0
    7f6261376000-7f6261b76000 rw-p 00000000 00:00 0
    7f6261b7e000-7f6262aa4000 rw-p 00000000 00:00 0
    7f6262aa4000-7f6262aa5000 ---p 00000000 00:00 0
    7f6262aa5000-7f62632a5000 rw-p 00000000 00:00 0
    7f62632a5000-7f62632a6000 ---p 00000000 00:00 0
    7f62632a6000-7f6263aa6000 rw-p 00000000 00:00 0
    7f6263ac6000-7f6263cac000 rw-p 00000000 00:00 0
    7f6263cac000-7f6263cb1000 r-xp 00000000 08:03 1444324 /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
    7f6263cb1000-7f6263eb0000 ---p 00005000 08:03 1444324 /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
    7f6263eb0000-7f6263eb1000 r--p 00004000 08:03 1444324 /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
    7f6263eb1000-7f6263eb2000 rw-p 00005000 08:03 1444324 /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
    7f6263eb2000-7f6264812000 rw-p 00000000 00:00 0
    7f626481c000-7f6264cbe000 rw-p 00000000 00:00 0
    7f6264cde000-7f6264d82000 rw-p 00000000 00:00 0
    7f6264d87000-7f626513e000 rw-p 00000000 00:00 0
    7f6265149000-7f626516a000 rw-p 00000000 00:00 0
    7f626516a000-7f6265171000 r-xp 00000000 08:03 2625461 /opt/darktable/lib64/darktable/plugins/lighttable/libcamera.so
    7f6265171000-7f6265370000 ---p 00007000 08:03 2625461 /opt/darktable/lib64/darktable/plugins/lighttable/libcamera.so
    7f6265370000-7f6265371000 r--p 00006000 08:03 2625461 /opt/darktable/lib64/darktable/plugins/lighttable/libcamera.so
    7f6265371000-7f6265372000 rw-p 00007000 08:03 2625461 /opt/darktable/lib64/darktable/plugins/lighttable/libcamera.so
    7f6265372000-7f6265377000 r-xp 00000000 08:03 2625437 /opt/darktable/lib64/darktable/plugins/lighttable/librecentcollect.so
    7f6265377000-7f6265576000 ---p 00005000 08:03 2625437 /opt/darktable/lib64/darktable/plugins/lighttable/librecentcollect.so
    7f6265576000-7f6265577000 r--p 00004000 08:03 2625437 /opt/darktable/lib64/darktable/plugins/lighttable/librecentcollect.so
    7f6265577000-7f6265578000 rw-p 00005000 08:03 2625437 /opt/darktable/lib64/darktable/plugins/lighttable/librecentcollect.so
    7f6265578000-7f6265582000 r-xp 00000000 08:03 2625448 /opt/darktable/lib64/darktable/plugins/lighttable/libmasks.so
    7f6265582000-7f6265781000 ---p 0000a000 08:03 2625448 /opt/darktable/lib64/darktable/plugins/lighttable/libmasks.so
    7f6265781000-7f6265782000 r--p 00009000 08:03 2625448 /opt/darktable/lib64/darktable/plugins/lighttable/libmasks.so
    7f6265782000-7f6265783000 rw-p 0000a000 08:03 2625448 /opt/darktable/lib64/darktable/plugins/lighttable/libmasks.so
    7f6265783000-7f6268829000 rw-p 00000000 00:00 0
    7f6268829000-7f626882d000 r-xp 00000000 08:03 2625444 /opt/darktable/lib64/darktable/plugins/lighttable/libmodulelist.so
    7f626882d000-7f6268a2c000 ---p 00004000 08:03 2625444 /opt/darktable/lib64/darktable/plugins/lighttable/libmodulelist.so
    7f6268a2c000-7f6268a2d000 r--p 00003000 08:03 2625444 /opt/darktable/lib64/darktable/plugins/lighttable/libmodulelist.so
    7f6268a2d000-7f6268a2e000 rw-p 00004000 08:03 2625444 /opt/darktable/lib64/darktable/plugins/lighttable/libmodulelist.so
    7f6268a2e000-7f6268a35000 r-xp 00000000 08:03 2625476 /opt/darktable/lib64/darktable/plugins/libexposure.so
    7f6268a35000-7f6268c34000 ---p 00007000 08:03 2625476 /opt/darktable/lib64/darktable/plugins/libexposure.so
    7f6268c34000-7f6268c35000 r--p 00006000 08:03 2625476 /opt/darktable/lib64/darktable/plugins/libexposure.so
    7f6268c35000-7f6268c36000 rw-p 00007000 08:03 2625476 /opt/darktable/lib64/darktable/plugins/libexposure.so
    7f6268c36000-7f6268c3b000 r-xp 00000000 08:03 2625484 /opt/darktable/lib64/darktable/plugins/libdither.so
    7f6268c3b000-7f6268e3b000 ---p 00005000 08:03 2625484 /opt/darktable/lib64/darktable/plugins/libdither.so
    7f6268e3b000-7f6268e3c000 r--p 00005000 08:03 2625484 /opt/darktable/lib64/darktable/plugins/libdither.so
    7f6268e3c000-7f6268e3d000 rw-p 00006000 08:03 2625484 /opt/darktable/lib64/darktable/plugins/libdither.so
    7f6268e3d000-7f6268e54000 r-xp 00000000 08:03 2625526 /opt/darktable/lib64/darktable/plugins/libashift.so
    7f6268e54000-7f6269053000 ---p 00017000 08:03 2625526 /opt/darktable/lib64/darktable/plugins/libashift.so
    7f6269053000-7f6269054000 r--p 00016000 08:03 2625526 /opt/darktable/lib64/darktable/plugins/libashift.so
    7f6269054000-7f6269055000 rw-p 00017000 08:03 2625526 /opt/darktable/lib64/darktable/plugins/libashift.so
    7f6269055000-7f6269119000 rw-p 00000000 00:00 0
    7f6269119000-7f626911d000 r-xp 00000000 08:03 2625520 /opt/darktable/lib64/darktable/plugins/libflip.so
    7f626911d000-7f626931c000 ---p 00004000 08:03 2625520 /opt/darktable/lib64/darktable/plugins/libflip.so
    7f626931c000-7f626931d000 r--p 00003000 08:03 2625520 /opt/darktable/lib64/darktable/plugins/libflip.so
    7f626931d000-7f626931e000 rw-p 00004000 08:03 2625520 /opt/darktable/lib64/darktable/plugins/libflip.so
    7f626931e000-7f6269321000 r-xp 00000000 08:03 2625523 /opt/darktable/lib64/darktable/plugins/libbilat.so
    7f6269321000-7f6269520000 ---p 00003000 08:03 2625523 /opt/darktable/lib64/darktable/plugins/libbilat.so
    7f6269520000-7f6269521000 r--p 00002000 08:03 2625523 /opt/darktable/lib64/darktable/plugins/libbilat.so
    7f6269521000-7f6269522000 rw-p 00003000 08:03 2625523 /opt/darktable/lib64/darktable/plugins/libbilat.so
    7f6269522000-7f626952a000 r-xp 00000000 08:03 2625486 /opt/darktable/lib64/darktable/plugins/libbasecurve.so
    7f626952a000-7f6269729000 ---p 00008000 08:03 2625486 /opt/darktable/lib64/darktable/plugins/libbasecurve.so
    7f6269729000-7f626972e000 r--p 00007000 08:03 2625486 /opt/darktable/lib64/darktable/plugins/libbasecurve.so
    7f626972e000-7f626972f000 rw-p 0000c000 08:03 2625486 /opt/darktable/lib64/darktable/plugins/libbasecurve.so
    7f626972f000-7f626973b000 r-xp 00000000 08:03 2625524 /opt/darktable/lib64/darktable/plugins/libdenoiseprofile.so
    7f626973b000-7f626993a000 ---p 0000c000 08:03 2625524 /opt/darktable/lib64/darktable/plugins/libdenoiseprofile.so
    7f626993a000-7f626993b000 r--p 0000b000 08:03 2625524 /opt/darktable/lib64/darktable/plugins/libdenoiseprofile.so
    7f626993b000-7f626993c000 rw-p 0000c000 08:03 2625524 /opt/darktable/lib64/darktable/plugins/libdenoiseprofile.so
    7f626993c000-7f6269943000 r-xp 00000000 08:03 2625468 /opt/darktable/lib64/darktable/plugins/libshadhi.so
    7f6269943000-7f6269b42000 ---p 00007000 08:03 2625468 /opt/darktable/lib64/darktable/plugins/libshadhi.so
    7f6269b42000-7f6269b43000 r--p 00006000 08:03 2625468 /opt/darktable/lib64/darktable/plugins/libshadhi.so
    7f6269b43000-7f6269b44000 rw-p 00007000 08:03 2625468 /opt/darktable/lib64/darktable/plugins/libshadhi.so
    7f6269b44000-7f6269b48000 r-xp 00000000 08:03 2625466 /opt/darktable/lib64/darktable/plugins/libhighpass.so
    7f6269b48000-7f6269d47000 ---p 00004000 08:03 2625466 /opt/darktable/lib64/darktable/plugins/libhighpass.so
    7f6269d47000-7f6269d48000 r--p 00003000 08:03 2625466 /opt/darktable/lib64/darktable/plugins/libhighpass.so
    7f6269d48000-7f6269d49000 rw-p 00004000 08:03 2625466 /opt/darktable/lib64/darktable/plugins/libhighpass.so
    7f6269d49000-7f6269d4e000 r-xp 00000000 08:03 2625498 /opt/darktable/lib64/darktable/plugins/libchannelmixer.so
    7f6269d4e000-7f6269f4d000 ---p 00005000 08:03 2625498 /opt/darktable/lib64/darktable/plugins/libchannelmixer.so
    7f6269f4d000-7f6269f4e000 r--p 00004000 08:03 2625498 /opt/darktable/lib64/darktable/plugins/libchannelmixer.so
    7f6269f4e000-7f6269f4f000 rw-p 00005000 08:03 2625498 /opt/darktable/lib64/darktable/plugins/libchannelmixer.so
    7f6269f4f000-7f6269f55000 r-xp 00000000 08:03 2625518 /opt/darktable/lib64/darktable/plugins/libinvert.so
    7f6269f55000-7f626a154000 ---p 00006000 08:03 2625518 /opt/darktable/lib64/darktable/plugins/libinvert.so
    7f626a154000-7f626a155000 r--p 00005000 08:03 2625518 /opt/darktable/lib64/darktable/plugins/libinvert.so
    7f626a155000-7f626a156000 rw-p 00006000 08:03 2625518 /opt/darktable/lib64/darktable/plugins/libinvert.so
    7f626a156000-7f626a15e000 r-xp 00000000 08:03 2625469 /opt/darktable/lib64/darktable/plugins/libcolorreconstruct.so
    7f626a15e000-7f626a35e000 ---p 00008000 08:03 2625469 /opt/darktable/lib64/darktable/plugins/libcolorreconstruct.so
    7f626a35e000-7f626a35f000 r--p 00008000 08:03 2625469 /opt/darktable/lib64/darktable/plugins/libcolorreconstruct.so
    7f626a35f000-7f626a360000 rw-p 00009000 08:03 2625469 /opt/darktable/lib64/darktable/plugins/libcolorreconstruct.so
    7f626a360000-7f626a364000 r-xp 00000000 08:03 2625492 /opt/darktable/lib64/darktable/plugins/libgrain.so
    7f626a364000-7f626a563000 ---p 00004000 08:03 2625492 /opt/darktable/lib64/darktable/plugins/libgrain.so
    7f626a563000-7f626a564000 r--p 00003000 08:03 2625492 /opt/darktable/lib64/darktable/plugins/libgrain.so
    7f626a564000-7f626a565000 rw-p 00004000 08:03 2625492 /opt/darktable/lib64/darktable/plugins/libgrain.so
    7f626a565000-7f626a56d000 r-xp 00000000 08:03 2625513 /opt/darktable/lib64/darktable/plugins/libborders.so
    7f626a56d000-7f626a76c000 ---p 00008000 08:03 2625513 /opt/darktable/lib64/darktable/plugins/libborders.so
    7f626a76c000-7f626a76d000 r--p 00007000 08:03 2625513 /opt/darktable/lib64/darktable/plugins/libborders.so
    7f626a76d000-7f626a76e000 rw-p 00008000 08:03 2625513 /opt/darktable/lib64/darktable/plugins/libborders.so
    7f626a76e000-7f626a772000 r-xp 00000000 08:03 2625496 /opt/darktable/lib64/darktable/plugins/libcolortransfer.so
    7f626a772000-7f626a971000 ---p 00004000 08:03 2625496 /opt/darktable/lib64/darktable/plugins/libcolortransfer.so
    7f626a971000-7f626a972000 r--p 00003000 08:03 2625496 /opt/darktable/lib64/darktable/plugins/libcolortransfer.so
    7f626a972000-7f626a973000 rw-p 00004000 08:03 2625496 /opt/darktable/lib64/darktable/plugins/libcolortransfer.so
    7f626a973000-7f626a97b000 r-xp 00000000 08:03 2625490 /opt/darktable/lib64/darktable/plugins/libvignette.so
    7f626a97b000-7f626ab7a000 ---p 00008000 08:03 2625490 /opt/darktable/lib64/darktable/plugins/libvignette.so
    7f626ab7a000-7f626ab7b000 r--p 00007000 08:03 2625490 /opt/darktable/lib64/darktable/plugins/libvignette.so
    7f626ab7b000-7f626ab7c000 rw-p 00008000 08:03 2625490 /opt/darktable/lib64/darktable/plugins/libvignette.so
    7f626ab7c000-7f626ab8d000 r-xp 00000000 08:03 2625482 /opt/darktable/lib64/darktable/plugins/libclipping.so
    7f626ab8d000-7f626ad8d000 ---p 00011000 08:03 2625482 /opt/darktable/lib64/darktable/plugins/libclipping.so
    7f626ad8d000-7f626ad8e000 r--p 00011000 08:03 2625482 /opt/darktable/lib64/darktable/plugins/libclipping.so
    7f626ad8e000-7f626ad8f000 rw-p 00012000 08:03 2625482 /opt/darktable/lib64/darktable/plugins/libclipping.so
    7f626ad8f000-7f626ad92000 r-xp 00000000 08:03 2625489 /opt/darktable/lib64/darktable/plugins/libvelvia.so
    7f626ad92000-7f626af92000 ---p 00003000 08:03 2625489 /opt/darktable/lib64/darktable/plugins/libvelvia.so
    7f626af92000-7f626af93000 r--p 00003000 08:03 2625489 /opt/darktable/lib64/darktable/plugins/libvelvia.so
    7f626af93000-7f626af94000 rw-p 00004000 08:03 2625489 /opt/darktable/lib64/darktable/plugins/libvelvia.so
    7f626af94000-7f626af98000 r-xp 00000000 08:03 2625500 /opt/darktable/lib64/darktable/plugins/librelight.so
    7f626af98000-7f626b198000 ---p 00004000 08:03 2625500 /opt/darktable/lib64/darktable/plugins/librelight.so
    7f626b198000-7f626b199000 r--p 00004000 08:03 2625500 /opt/darktable/lib64/darktable/plugins/librelight.so
    7f626b199000-7f626b19a000 rw-p 00005000 08:03 2625500 /opt/darktable/lib64/darktable/plugins/librelight.so
    7f626b19a000-7f626b1aa000 r-xp 00000000 08:03 2625511 /opt/darktable/lib64/darktable/plugins/libliquify.so
    7f626b1aa000-7f626b3aa000 ---p 00010000 08:03 2625511 /opt/darktable/lib64/darktable/plugins/libliquify.so
    7f626b3aa000-7f626b3ab000 r--p 00010000 08:03 2625511 /opt/darktable/lib64/darktable/plugins/libliquify.so
    7f626b3ab000-7f626b3ad000 rw-p 00011000 08:03 2625511 /opt/darktable/lib64/darktable/plugins/libliquify.so
    7f626b3ad000-7f626b3ba000 r-xp 00000000 08:03 2625505 /opt/darktable/lib64/darktable/plugins/libatrous.so
    7f626b3ba000-7f626b5b9000 ---p 0000d000 08:03 2625505 /opt/darktable/lib64/darktable/plugins/libatrous.so
    7f626b5b9000-7f626b5ba000 r--p 0000c000 08:03 2625505 /opt/darktable/lib64/darktable/plugins/libatrous.so
    7f626b5ba000-7f626b5bb000 rw-p 0000d000 08:03 2625505 /opt/darktable/lib64/darktable/plugins/libatrous.so
    7f626b5bb000-7f626b5c0000 r-xp 00000000 08:03 2625478 /opt/darktable/lib64/darktable/plugins/libcolorbalance.so
    7f626b5c0000-7f626b7bf000 ---p 00005000 08:03 2625478 /opt/darktable/lib64/darktable/plugins/libcolorbalance.so
    7f626b7bf000-7f626b7c0000 r--p 00004000 08:03 2625478 /opt/darktable/lib64/darktable/plugins/libcolorbalance.so
    7f626b7c0000-7f626b7c1000 rw-p 00005000 08:03 2625478 /opt/darktable/lib64/darktable/plugins/libcolorbalance.so
    7f626b7c1000-7f626b7c7000 r-xp 00000000 08:03 2625483 /opt/darktable/lib64/darktable/plugins/libsharpen.so
    7f626b7c7000-7f626b9c6000 ---p 00006000 08:03 2625483 /opt/darktable/lib64/darktable/plugins/libsharpen.so
    7f626b9c6000-7f626b9c7000 r--p 00005000 08:03 2625483 /opt/darktable/lib64/darktable/plugins/libsharpen.so
    7f626b9c7000-7f626b9c8000 rw-p 00006000 08:03 2625483 /opt/darktable/lib64/darktable/plugins/libsharpen.so
    7f626b9c8000-7f626b9cd000 r-xp 00000000 08:03 2625510 /opt/darktable/lib64/darktable/plugins/libspots.so
    7f626b9cd000-7f626bbcd000 ---p 00005000 08:03 2625510 /opt/darktable/lib64/darktable/plugins/libspots.so
    7f626bbcd000-7f626bbce000 r--p 00005000 08:03 2625510 /opt/darktable/lib64/darktable/plugins/libspots.so
    7f626bbce000-7f626bbcf000 rw-p 00006000 08:03 2625510 /opt/darktable/lib64/darktable/plugins/libspots.so
    7f626bbcf000-7f626bbd1000 r-xp 00000000 08:03 2625521 /opt/darktable/lib64/darktable/plugins/libfinalscale.so
    7f626bbd1000-7f626bdd0000 ---p 00002000 08:03 2625521 /opt/darktable/lib64/darktable/plugins/libfinalscale.so
    7f626bdd0000-7f626bdd1000 r--p 00001000 08:03 2625521 /opt/darktable/lib64/darktable/plugins/libfinalscale.so
    7f626bdd1000-7f626bdd2000 rw-p 00002000 08:03 2625521 /opt/darktable/lib64/darktable/plugins/libfinalscale.so
    7f626bdd2000-7f626bddc000 r-xp 00000000 08:03 2625497 /opt/darktable/lib64/darktable/plugins/libcolormapping.so
    7f626bddc000-7f626bfdb000 ---p 0000a000 08:03 2625497 /opt/darktable/lib64/darktable/plugins/libcolormapping.so
    7f626bfdb000-7f626bfdc000 r--p 00009000 08:03 2625497 /opt/darktable/lib64/darktable/plugins/libcolormapping.so
    7f626bfdc000-7f626bfdd000 rw-p 0000a000 08:03 2625497 /opt/darktable/lib64/darktable/plugins/libcolormapping.so
    7f626bfdd000-7f626bfe1000 r-xp 00000000 08:03 2625477 /opt/darktable/lib64/darktable/plugins/libequalizer.so
    7f626bfe1000-7f626c1e0000 ---p 00004000 08:03 2625477 /opt/darktable/lib64/darktable/plugins/libequalizer.so
    7f626c1e0000-7f626c1e1000 r--p 00003000 08:03 2625477 /opt/darktable/lib64/darktable/plugins/libequalizer.so
    7f626c1e1000-7f626c1e2000 rw-p 00004000 08:03 2625477 /opt/darktable/lib64/darktable/plugins/libequalizer.so
    7f626c1e2000-7f626c1e9000 r-xp 00000000 08:03 2625506 /opt/darktable/lib64/darktable/plugins/libcacorrect.so
    7f626c1e9000-7f626c3e9000 ---p 00007000 08:03 2625506 /opt/darktable/lib64/darktable/plugins/libcacorrect.so
    7f626c3e9000-7f626c3ea000 r--p 00007000 08:03 2625506 /opt/darktable/lib64/darktable/plugins/libcacorrect.so
    7f626c3ea000-7f626c3eb000 rw-p 00008000 08:03 2625506 /opt/darktable/lib64/darktable/plugins/libcacorrect.so
    7f626c3eb000-7f626c469000 r-xp 00000000 08:03 2625474 /opt/darktable/lib64/darktable/plugins/libtemperature.so
    7f626c469000-7f626c668000 ---p 0007e000 08:03 2625474 /opt/darktable/lib64/darktable/plugins/libtemperature.so
    7f626c668000-7f626c6cf000 r--p 0007d000 08:03 2625474 /opt/darktable/lib64/darktable/plugins/libtemperature.so
    7f626c6cf000-7f626c6d0000 rw-p 000e4000 08:03 2625474 /opt/darktable/lib64/darktable/plugins/libtemperature.so
    7f626c6d0000-7f626c6d5000 r-xp 00000000 08:03 2625522 /opt/darktable/lib64/darktable/plugins/libglobaltonemap.so
    7f626c6d5000-7f626c8d5000 ---p 00005000 08:03 2625522 /opt/darktable/lib64/darktable/plugins/libglobaltonemap.so
    7f626c8d5000-7f626c8d6000 r--p 00005000 08:03 2625522 /opt/darktable/lib64/darktable/plugins/libglobaltonemap.so
    7f626c8d6000-7f626c8d7000 rw-p 00006000 08:03 2625522 /opt/darktable/lib64/darktable/plugins/libglobaltonemap.so
    7f626c8d7000-7f626c8da000 r-xp 00000000 08:03 2625515 /opt/darktable/lib64/darktable/plugins/libcolorcontrast.so
    7f626c8da000-7f626cada000 ---p 00003000 08:03 2625515 /opt/darktable/lib64/darktable/plugins/libcolorcontrast.so
    7f626cada000-7f626cadb000 r--p 00003000 08:03 2625515 /opt/darktable/lib64/darktable/plugins/libcolorcontrast.so
    7f626cadb000-7f626cadc000 rw-p 00004000 08:03 2625515 /opt/darktable/lib64/darktable/plugins/libcolorcontrast.so
    7f626cadc000-7f626cae0000 r-xp 00000000 08:03 2625525 /opt/darktable/lib64/darktable/plugins/libdefringe.so
    7f626cae0000-7f626ccdf000 ---p 00004000 08:03 2625525 /opt/darktable/lib64/darktable/plugins/libdefringe.so
    7f626ccdf000-7f626cce0000 r--p 00003000 08:03 2625525 /opt/darktable/lib64/darktable/plugins/libdefringe.so
    7f626cce0000-7f626cce1000 rw-p 00004000 08:03 2625525 /opt/darktable/lib64/darktable/plugins/libdefringe.so
    7f626cce1000-7f626cce8000 r-xp 00000000 08:03 2625480 /opt/darktable/lib64/darktable/plugins/libcolorout.so
    7f626cce8000-7f626cee7000 ---p 00007000 08:03 2625480 /opt/darktable/lib64/darktable/plugins/libcolorout.so
    7f626cee7000-7f626cee8000 r--p 00006000 08:03 2625480 /opt/darktable/lib64/darktable/plugins/libcolorout.so
    7f626cee8000-7f626cee9000 rw-p 00007000 08:03 2625480 /opt/darktable/lib64/darktable/plugins/libcolorout.so
    7f626cee9000-7f626cef2000 r-xp 00000000 08:03 2625481 /opt/darktable/lib64/darktable/plugins/libcolorchecker.so
    7f626cef2000-7f626d0f2000 ---p 00009000 08:03 2625481 /opt/darktable/lib64/darktable/plugins/libcolorchecker.so
    7f626d0f2000-7f626d0f3000 r--p 00009000 08:03 2625481 /opt/darktable/lib64/darktable/plugins/libcolorchecker.so
    7f626d0f3000-7f626d0f4000 rw-p 0000a000 08:03 2625481 /opt/darktable/lib64/darktable/plugins/libcolorchecker.so
    7f626d0f4000-7f626d0fa000 r-xp 00000000 08:03 2625491 /opt/darktable/lib64/darktable/plugins/libsplittoning.so
    7f626d0fa000-7f626d2f9000 ---p 00006000 08:03 2625491 /opt/darktable/lib64/darktable/plugins/libsplittoning.so
    7f626d2f9000-7f626d2fa000 r--p 00005000 08:03 2625491 /opt/darktable/lib64/darktable/plugins/libsplittoning.so
    7f626d2fa000-7f626d2fb000 rw-p 00006000 08:03 2625491 /opt/darktable/lib64/darktable/plugins/libsplittoning.so
    7f626d2fb000-7f626d300000 r-xp 00000000 08:03 2625512 /opt/darktable/lib64/darktable/plugins/librawdenoise.so
    7f626d300000-7f626d4ff000 ---p 00005000 08:03 2625512 /opt/darktable/lib64/darktable/plugins/librawdenoise.so
    7f626d4ff000-7f626d500000 r--p 00004000 08:03 2625512 /opt/darktable/lib64/darktable/plugins/librawdenoise.so
    7f626d500000-7f626d501000 rw-p 00005000 08:03 2625512 /opt/darktable/lib64/darktable/plugins/librawdenoise.so
    7f626d501000-7f626d50b000 r-xp 00000000 08:03 2625527 /opt/darktable/lib64/darktable/plugins/libwatermark.so
    7f626d50b000-7f626d70b000 ---p 0000a000 08:03 2625527 /opt/darktable/lib64/darktable/plugins/libwatermark.so
    7f626d70b000-7f626d70c000 r--p 0000a000 08:03 2625527 /opt/darktable/lib64/darktable/plugins/libwatermark.so
    7f626d70c000-7f626d70d000 rw-p 0000b000 08:03 2625527 /opt/darktable/lib64/darktable/plugins/libwatermark.so
    7f626d70d000-7f626d711000 r-xp 00000000 08:03 2625465 /opt/darktable/lib64/darktable/plugins/libbloom.so
    7f626d711000-7f626d911000 ---p 00004000 08:03 2625465 /opt/darktable/lib64/darktable/plugins/libbloom.so
    7f626d911000-7f626d912000 r--p 00004000 08:03 2625465 /opt/darktable/lib64/darktable/plugins/libbloom.so
    7f626d912000-7f626d913000 rw-p 00005000 08:03 2625465 /opt/darktable/lib64/darktable/plugins/libbloom.so
    7f626d913000-7f626d922000 r-xp 00000000 08:03 2625479 /opt/darktable/lib64/darktable/plugins/libcolorin.so
    7f626d922000-7f626db22000 ---p 0000f000 08:03 2625479 /opt/darktable/lib64/darktable/plugins/libcolorin.so
    7f626db22000-7f626db28000 r--p 0000f000 08:03 2625479 /opt/darktable/lib64/darktable/plugins/libcolorin.so
    7f626db28000-7f626db29000 rw-p 00015000 08:03 2625479 /opt/darktable/lib64/darktable/plugins/libcolorin.so
    7f626db29000-7f626db36000 r-xp 00000000 08:03 2625528 /opt/darktable/lib64/darktable/plugins/liblens.so
    7f626db36000-7f626dd36000 ---p 0000d000 08:03 2625528 /opt/darktable/lib64/darktable/plugins/liblens.so
    7f626dd36000-7f626dd37000 r--p 0000d000 08:03 2625528 /opt/darktable/lib64/darktable/plugins/liblens.so
    7f626dd37000-7f626dd38000 rw-p 0000e000 08:03 2625528 /opt/darktable/lib64/darktable/plugins/liblens.so
    7f626dd38000-7f626dd52000 r-xp 00000000 08:03 2625502 /opt/darktable/lib64/darktable/plugins/libdemosaic.so
    7f626dd52000-7f626df51000 ---p 0001a000 08:03 2625502 /opt/darktable/lib64/darktable/plugins/libdemosaic.so
    7f626df51000-7f626df52000 r--p 00019000 08:03 2625502 /opt/darktable/lib64/darktable/plugins/libdemosaic.so
    7f626df52000-7f626df53000 rw-p 0001a000 08:03 2625502 /opt/darktable/lib64/darktable/plugins/libdemosaic.so
    7f626df53000-7f626df59000 r-xp 00000000 08:03 2625485 /opt/darktable/lib64/darktable/plugins/libmonochrome.so
    7f626df59000-7f626e158000 ---p 00006000 08:03 2625485 /opt/darktable/lib64/darktable/plugins/libmonochrome.so
    7f626e158000-7f626e159000 r--p 00005000 08:03 2625485 /opt/darktable/lib64/darktable/plugins/libmonochrome.so
    7f626e159000-7f626e15a000 rw-p 00006000 08:03 2625485 /opt/darktable/lib64/darktable/plugins/libmonochrome.so
    7f626e15a000-7f626e161000 r-xp 00000000 08:03 2625501 /opt/darktable/lib64/darktable/plugins/libzonesystem.so
    7f626e161000-7f626e360000 ---p 00007000 08:03 2625501 /opt/darktable/lib64/darktable/plugins/libzonesystem.so
    7f626e360000-7f626e361000 r--p 00006000 08:03 2625501 /opt/darktable/lib64/darktable/plugins/libzonesystem.so
    7f626e361000-7f626e362000 rw-p 00007000 08:03 2625501 /opt/darktable/lib64/darktable/plugins/libzonesystem.so
    7f626e362000-7f626e36c000 r-xp 00000000 08:03 2625471 /opt/darktable/lib64/darktable/plugins/libtonecurve.so
    7f626e36c000-7f626e56c000 ---p 0000a000 08:03 2625471 /opt/darktable/lib64/darktable/plugins/libtonecurve.so
    7f626e56c000-7f626e56d000 r--p 0000a000 08:03 2625471 /opt/darktable/lib64/darktable/plugins/libtonecurve.so
    7f626e56d000-7f626e56e000 rw-p 0000b000 08:03 2625471 /opt/darktable/lib64/darktable/plugins/libtonecurve.so
    7f626e56e000-7f626e572000 r-xp 00000000 08:03 2625475 /opt/darktable/lib64/darktable/plugins/libcolorcorrection.so
    7f626e572000-7f626e772000 ---p 00004000 08:03 2625475 /opt/darktable/lib64/darktable/plugins/libcolorcorrection.so
    7f626e772000-7f626e773000 r--p 00004000 08:03 2625475 /opt/darktable/lib64/darktable/plugins/libcolorcorrection.so
    7f626e773000-7f626e774000 rw-p 00005000 08:03 2625475 /opt/darktable/lib64/darktable/plugins/libcolorcorrection.so
    7f626e774000-7f626e77a000 r-xp 00000000 08:03 2625463 /opt/darktable/lib64/darktable/plugins/librawprepare.so
    7f626e77a000-7f626e979000 ---p 00006000 08:03 2625463 /opt/darktable/lib64/darktable/plugins/librawprepare.so
    7f626e979000-7f626e97a000 r--p 00005000 08:03 2625463 /opt/darktable/lib64/darktable/plugins/librawprepare.so
    7f626e97a000-7f626e97b000 rw-p 00006000 08:03 2625463 /opt/darktable/lib64/darktable/plugins/librawprepare.so
    7f626e97b000-7f626e97f000 r-xp 00000000 08:03 2625472 /opt/darktable/lib64/darktable/plugins/libcolisa.so
    7f626e97f000-7f626eb7e000 ---p 00004000 08:03 2625472 /opt/darktable/lib64/darktable/plugins/libcolisa.so
    7f626eb7e000-7f626eb7f000 r--p 00003000 08:03 2625472 /opt/darktable/lib64/darktable/plugins/libcolisa.so
    7f626eb7f000-7f626eb80000 rw-p 00004000 08:03 2625472 /opt/darktable/lib64/darktable/plugins/libcolisa.so
    7f626eb80000-7f626eb86000 r-xp 00000000 08:03 2625494 /opt/darktable/lib64/darktable/plugins/libbilateral.so
    7f626eb86000-7f626ed85000 ---p 00006000 08:03 2625494 /opt/darktable/lib64/darktable/plugins/libbilateral.so
    7f626ed85000-7f626ed86000 r--p 00005000 08:03 2625494 /opt/darktable/lib64/darktable/plugins/libbilateral.so
    Magick: abort due to signal 6 (SIGABRT) "Abort"...
    [1] 9384 abort (core dumped) darktable
    Unable to attach: program terminated with signal SIGABRT, Aborted.

Related issues

Has duplicate darktable - Bug #11078: Crash in processing thumbnailsDuplicate07/14/2016

Associated revisions

Revision a2c2d9ce (diff)
Added by Roman Lebedev over 3 years ago

dt_control_job_create(): set progress to NULL after destroying it. Fixes #11079

Was broken in 6f2087f2a0f22649147b608b0368f3f0fefed93b.

Avoids heap-use-after-free after exporting image:

=================================================================
15123ERROR: AddressSanitizer: heap-use-after-free on address 0x61d000210a08 at pc 0x7eff46cdba15 bp 0x7eff2d9579f0 sp 0x7eff2d9579e8
READ of size 8 at 0x61d000210a08 thread T4
0 0x7eff46cdba14 in dt_control_progress_destroy /home/lebedevri/darktable/src/control/progress.c:91
1 0x7eff46cc9f3d in dt_control_job_set_state /home/lebedevri/darktable/src/control/jobs.c:83
2 0x7eff46cca5f4 in dt_control_job_dispose /home/lebedevri/darktable/src/control/jobs.c:146
3 0x7eff46ccb3d0 in dt_control_run_job /home/lebedevri/darktable/src/control/jobs.c:324
4 0x7eff46ccc3d4 in dt_control_work /home/lebedevri/darktable/src/control/jobs.c:539
5 0x7eff4264a463 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7463)
6 0x7eff3eb8a30c in clone (/lib/x86_64-linux-gnu/libc.so.6+0xe730c)

0x61d000210a08 is located 1928 bytes inside of 1952-byte region [0x61d000210280,0x61d000210a20)
freed by thread T4 here:
0 0x7eff472aca00 in free (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1a00)
1 0x7eff46cdbb5f in dt_control_progress_destroy /home/lebedevri/darktable/src/control/progress.c:118
2 0x7eff46cca5e3 in dt_control_job_dispose /home/lebedevri/darktable/src/control/jobs.c:145
3 0x7eff46ccb3d0 in dt_control_run_job /home/lebedevri/darktable/src/control/jobs.c:324
4 0x7eff46ccc3d4 in dt_control_work /home/lebedevri/darktable/src/control/jobs.c:539
5 0x7eff4264a463 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7463)

previously allocated by thread T0 here:
0 0x7eff472acec0 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1ec0)
1 0x7eff46cdb6ed in dt_control_progress_create /home/lebedevri/darktable/src/control/progress.c:52
2 0x7eff46ccc4c2 in dt_control_job_add_progress /home/lebedevri/darktable/src/control/jobs.c:555
3 0x7eff46cd757d in dt_control_export /home/lebedevri/darktable/src/control/jobs/control_jobs.c:1620
4 0x7eff29721ddf in export_button_clicked /home/lebedevri/darktable/src/libs/export.c:123
5 0x7eff44a731d3 (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x101d3)

Thread T4 created by T0 here:
0 0x7eff4721bf49 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x30f49)
1 0x7eff46ccca1f in dt_control_jobs_init /home/lebedevri/darktable/src/control/jobs.c:595
2 0x7eff46cbf314 in dt_control_init /home/lebedevri/darktable/src/control/control.c:119
3 0x7eff46bd9ed9 in dt_init /home/lebedevri/darktable/src/common/darktable.c:932
4 0x400d4c in main /home/lebedevri/darktable/src/main.c:24
5 0x7eff3eac372f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2072f)

SUMMARY: AddressSanitizer: heap-use-after-free /home/lebedevri/darktable/src/control/progress.c:91 in dt_control_progress_destroy

History

#1 Updated by Roman Lebedev over 3 years ago

  • System changed from Fedora/RHEL to all
  • % Done changed from 0 to 10
  • Priority changed from Low to Medium
  • Assignee set to Roman Lebedev
  • Status changed from New to Confirmed

#2 Updated by Roman Lebedev over 3 years ago

  • % Done changed from 10 to 100
  • Status changed from Confirmed to Fixed

#3 Updated by Roman Lebedev over 3 years ago

  • Has duplicate Bug #11078: Crash in processing thumbnails added

#4 Updated by Roman Lebedev over 3 years ago

  • Target version changed from Future to 2.2.0

Also available in: Atom PDF

Go to top