[argyllcms] Re: dispwin sets the wrong X.org _ICC_PROFILE atom

  • From: Niccolò Belli <darkbasic@xxxxxxxxxxxxxxx>
  • To: Richard Hughes <hughsient@xxxxxxxxx>
  • Date: Tue, 22 Nov 2016 01:21:56 +0100

Backtrace:

$ gdb --args dispwin -d 2 -I "/home/niko/.local/share/DisplayCAL/storage/U2515H #1 2016-09-25 18-25 D6500 2.2 M-S XYZLUT+MTX/U2515H #1 2016-09-25 18-25 D6500 2.2 M-S XYZLUT+MTX.icc"
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from dispwin...done.
(gdb) run
Starting program: /usr/bin/dispwin -d 2 -I /home/niko/.local/share/DisplayCAL/storage/U2515H\ \#1\ 2016-09-25\ 18-25\ D6500\ 2.2\ M-S\ XYZLUT+MTX/U2515H\ \#1\ 2016-09-25\ 18-25\ D6500\ 2.2\ M-S\ XYZLUT+MTX.icc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Checking XRandR 1.2 VideoLUT access
Adding Screen 0 CRTC 0 Output 0
Display 0 name = ':0.0'
Unable to intern atom 'EDID_DATA'
Got EDID for display
CRTC of Screen 0 CRTC 1 has no mode or no output
Checking XRandR 1.2 VideoLUT access
Adding Screen 0 CRTC 2 Output 0
Display 1 name = ':0.0'
Unable to intern atom 'EDID_DATA'
Got EDID for display
CRTC of Screen 0 CRTC 3 has no mode or no output
new_dispwin called
new_dispwin: Unable to open display ':0.1'
dispwin_del called

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff76ccfbb in XSync () from /usr/lib/libX11.so.6
(gdb) thread apply all bt full

Thread 1 (Thread 0x7ffff7f9b700 (LWP 16924)):
#0  0x00007ffff76ccfbb in XSync () at /usr/lib/libX11.so.6
#1  0x000000000040e9a3 in dispwin_del ()
#2  0x0000000000413499 in new_dispwin ()
#3  0x000000000040afab in main ()

Niccolò Belli

Other related posts: