A small bug



I'm stumbled over this when I interrupted a profile creation. My
target profile name was the same as set before with gcm-prefs. I ended
up with the entire  gcm-prefs gui blocked. Se attached screenshoot.

I have reproduced it and attached a log file.
If I do a "head -c 100 /dev/random   > i1.icc"  where i1.icc is my
gcm-prefs chosen profile I got this messages in log:

 - loading '/home/ltg/.color/icc/i1.icc'
*** WARNING ***
TI:20:18:01	FI:gcm-prefs.c	FN:gcm_prefs_add_profiles,885
 - failed to add profile: profile was not valid (file size too small)
TI:20:18:01	FI:gcm-edid.c	FN:gcm_edid_parse,131
 - PNPID: SAM
TI:20:18:01	FI:gcm-edid.c	FN:gcm_edid_parse,149
 - gamma is reported as 2,200000
TI:20:18:01	FI:gcm-edid.c	FN:gcm_edid_parse,131
 - PNPID: SAM
TI:20:18:01	FI:gcm-edid.c	FN:gcm_edid_parse,149
 - gamma is reported as 2,200000
TI:20:18:01	FI:gcm-profile.c	FN:gcm_profile_parse,678
 - loading '/home/ltg/.color/icc/i1.icc'
*** WARNING ***
TI:20:18:01	FI:gcm-client.c	FN:gcm_client_xrandr_add,532
 - failed to load: failed to load from config: failed to set from
profile: profile was not valid (file size too small)
TI:20:18:01	FI:gcm-client.c	FN:gcm_client_xrandr_add,506
 - xrandr_dvi_0 is not connected
TI:20:18:01	FI:gcm-client.c	FN:gcm_client_xrandr_add,506
 - xrandr_s_video is not connected

****************************************************


With  a large file like this:
 "head -c 500 /dev/random   > i1.icc"
I got:

 - loading '/home/ltg/.color/icc/i1.icc'
*** WARNING ***
TI:20:25:40	FI:gcm-prefs.c	FN:gcm_prefs_add_profiles,885
 - failed to add profile: not an ICC profile, signature is ' �� ',
expecting 'acsp'
TI:20:25:40	FI:gcm-edid.c	FN:gcm_edid_parse,131
 - PNPID: SAM
TI:20:25:40	FI:gcm-edid.c	FN:gcm_edid_parse,149
 - gamma is reported as 2,200000
TI:20:25:40	FI:gcm-edid.c	FN:gcm_edid_parse,131
 - PNPID: SAM
TI:20:25:40	FI:gcm-edid.c	FN:gcm_edid_parse,149
 - gamma is reported as 2,200000
TI:20:25:40	FI:gcm-profile.c	FN:gcm_profile_parse,678
 - loading '/home/ltg/.color/icc/i1.icc'
*** WARNING ***
TI:20:25:40	FI:gcm-client.c	FN:gcm_client_xrandr_add,532
 - failed to load: failed to load from config: failed to set from
profile: not an ICC profile, signature is ' �� ', expecting 'acsp'
TI:20:25:40	FI:gcm-client.c	FN:gcm_client_xrandr_add,506
 - xrandr_dvi_0 is not connected
TI:20:25:40	FI:gcm-client.c	FN:gcm_client_xrandr_add,506
 - xrandr_s_video is not connected


Regards
Lars Tore Gustavsen

Attachment: gcm-prefs-log.txt.zip
Description: Zip archive

Attachment: corrupt.png
Description: PNG image



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]