[Pkg-phototools-devel] Bug#919342: darktable: Segfault when moving drawn mask

Charlie Hagedorn charlie.hagedorn at gmail.com
Tue Jan 15 05:01:05 GMT 2019


Package: darktable
Version: 2.6.0-1
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Upgraded via apt-get dist-upgrade this morning. Darktable worked great prior to the upgrade, and has for years.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Opened up an image, did some edits to an image, and then created my first drawn mask with the upgraded version. It wasn't quite in the right place, so I clicked-and-dragged in the middle of the image. The mask outline disappeared, I may have clicked in a few spots/faffed a little bit, and darktable crashed.

The image was missing from the lighttable when I restarted darktable, so I reapplied the same edits, switched back to the lighttable in order to save my progress, drew/moved a mask and got approximately the same behavior, again with a segfault. 

In investigating, I have noted the following:

1. That mask is now saved, and if I call it up from the list of masks, darktable crashes. I don't know enough about library.db to call it up and submit it. If a developer with enough darktable-fu can tell me how, I'll add it to this bug.

2. Moving any drawn mask on any image I have tried so far yields an instantaneous jump of the mask down and right by ~500-1000 pixels. Dragging is then successful, and darktable does not crash.  In ~5 tries, I have not been able to generate another segfaulting mask.

3. When segfaulting, Darktable consistently stores

"
this is darktable 2.6.0 reporting a segfault:

warning: Currently logging to /tmp/darktable_bt_5AAEVZ.txt.  Turn the logging off and on to make the new setting effective.
/usr/share/darktable/gdb_commands:2: Error in sourced command file:
No stack.
"
to a logfile in /tmp. Internet search suggests that I'd get more debug output with darktable-dbg, but as it is not in Debian testing, I don't want to install it.


   * What was the outcome of this action?

Consistent segfaults with one drawn mask, unexpected behavior with other masks.

   * What outcome did you expect instead?

The ability to move a mask at will. This is a key feature, which may affect every module.


Thank you for maintaining Darktable!


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (200, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages darktable depends on:
ii  libc6                    2.28-5
ii  libcairo2                1.16.0-2
ii  libcolord-gtk1           0.1.26-2
ii  libcolord2               1.4.3-3+b1
ii  libcups2                 2.2.10-3
ii  libcurl3-gnutls          7.62.0-1
ii  libexiv2-14              0.25-4
ii  libflickcurl0            1.26-4
ii  libgcc1                  1:8.2.0-14
ii  libgdk-pixbuf2.0-0       2.38.0+dfsg-7
ii  libglib2.0-0             2.58.2-3
ii  libgomp1                 8.2.0-14
ii  libgphoto2-6             2.5.22-1
ii  libgphoto2-port12        2.5.22-1
ii  libgraphicsmagick-q16-3  1.4~hg15873-1+b1
ii  libgtk-3-0               3.24.2-3
ii  libilmbase23             2.2.1-2
ii  libjpeg62-turbo          1:1.5.2-2+b1
ii  libjs-prototype          1.7.1-3
ii  libjs-scriptaculous      1.9.0-2
ii  libjson-glib-1.0-0       1.4.4-2
ii  liblcms2-2               2.9-3
ii  liblensfun1              0.3.2-4
ii  liblua5.3-0              5.3.3-1.1
ii  libopenexr23             2.2.1-4
ii  libopenjp2-7             2.3.0-1.1
ii  libosmgpsmap-1.0-1       1.1.0-5
ii  libpango-1.0-0           1.42.4-6
ii  libpangocairo-1.0-0      1.42.4-6
ii  libpng16-16              1.6.36-2
ii  libpugixml1v5            1.9-2
ii  librsvg2-2               2.44.10-1
ii  libsecret-1-0            0.18.7-1
ii  libsoup2.4-1             2.64.2-2
ii  libsqlite3-0             3.26.0+fossilbc891ac6b-1
ii  libstdc++6               8.2.0-14
ii  libtiff5                 4.0.10-3
ii  libwebp6                 0.6.1-2
ii  libx11-6                 2:1.6.7-1
ii  libxml2                  2.9.4+dfsg1-7+b3
ii  libxrandr2               2:1.5.1-1
ii  zlib1g                   1:1.2.11.dfsg-1

darktable recommends no packages.

darktable suggests no packages.

-- no debconf information



More information about the Pkg-phototools-devel mailing list