gcm-calibrate crashes ("double free or corruption") partway through calibration

Bug #1655536 reported by Asa Zernik
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-color-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Monitor: Acer V223W, connected through HDMI port

Calibration device: X-Rite i1 Display Pro

I re-ran gcm-calibrate manually from the command-line; full console output is attached, including stacktrace.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: gnome-color-manager 3.22.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-32.34-generic 4.8.11
Uname: Linux 4.8.0-32-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jan 10 21:34:18 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-02-03 (342 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: gnome-color-manager
UpgradeStatus: Upgraded to yakkety on 2016-11-13 (58 days ago)

Revision history for this message
Asa Zernik (asaz989) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-color-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Kakurady Drakenar (kakurady) wrote :

Tried to calibrate scanner with ColorChecker passport, this happened to me too.

Revision history for this message
Anton Keks (anton-azib) wrote :

Wow, looking at the stack trace it seems that it fails trying to play a short 'ding' when the calibration has been completed. Epic fail :-)

(gcm-calibrate:6632): Gcm-WARNING **: VTE: could not screenscrape: 'Profile check complete, peak err = 167.192701, avg err = 51.477333, RMS = 60.497998'
*** Error in `gcm-calibrate': double free or corruption (fasttop): 0x000055bb4f756310 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x790cb)[0x7fc300bfa0cb]
/lib/x86_64-linux-gnu/libc.so.6(+0x8275a)[0x7fc300c0375a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fc300c0718c]
gcm-calibrate(+0xb3e4)[0x55bb4e2693e4]
gcm-calibrate(+0xd525)[0x55bb4e26b525]
gcm-calibrate(+0xed7b)[0x55bb4e26cd7b]
gcm-calibrate(+0x11afc)[0x55bb4e26fafc]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x15a)[0x7fc3011b068a]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4aa40)[0x7fc3011b0a40]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fc3011b0aec]
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x20d)[0x7fc30176c70d]
gcm-calibrate(+0x8865)[0x55bb4e266865]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fc300ba13f1]
gcm-calibrate(+0x893a)[0x55bb4e26693a]
======= Memory map: ========
55bb4e25e000-55bb4e27c000 r-xp 00000000 103:02 2633874 /usr/bin/gcm-calibrate
55bb4e47c000-55bb4e47d000 r--p 0001e000 103:02 2633874 /usr/bin/gcm-calibrate
55bb4e47d000-55bb4e47e000 rw-p 0001f000 103:02 2633874 /usr/bin/gcm-calibrate
55bb4f5a5000-55bb4fb4f000 rw-p 00000000 00:00 0 [heap]
7fc2cffff000-7fc2d4000000 rw-s 00000000 00:16 17 /dev/shm/pulse-shm-550396211
7fc2d4000000-7fc2d8000000 rw-s 00000000 00:05 187206 /memfd:pulseaudio (deleted)
7fc2d8000000-7fc2d8051000 rw-p 00000000 00:00 0
7fc2d8051000-7fc2dc000000 ---p 00000000 00:00 0
7fc2dd9f6000-7fc2ddbf6000 rw-s 00000000 00:05 6782989 /SYSV00000000 (deleted)
7fc2ddbf6000-7fc2ddc83000 r-xp 00000000 103:02 2630946 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
7fc2ddc83000-7fc2dde82000 ---p 0008d000 103:02 2630946 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
7fc2dde82000-7fc2dde9e000 r--p 0008c000 103:02 2630946 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
7fc2dde9e000-7fc2dde9f000 rw-p 000a8000 103:02 2630946 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
7fc2dde9f000-7fc2ddf12000 r-xp 00000000 103:02 2629355 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0

Revision history for this message
Anton Keks (anton-azib) wrote :

The problem seem to be fixed upstream:
https://github.com/GNOME/gnome-color-manager/commit/edd8cf7598c009c8494396663401da80d12caf9d

A patch is needed?

Calibration seems to be totally broken in 16.10 without it.

Revision history for this message
dino99 (9d9) wrote :

This is an unsupported release now. Please think to install the next LTS 'Bionic 18.04'

http://cdimage.ubuntu.com/ubuntu-next/daily-live/current/
https://www.omgubuntu.co.uk/2018/02/ubuntu-18-04-minimal-install-option

Changed in gnome-color-manager (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.