[gs-bugs] [Bug 692579] allocation of profile default_gray.icc handle failed, core dump
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Tue Oct 11 12:35:37 UTC 2011
http://bugs.ghostscript.com/show_bug.cgi?id=692579
--- Comment #4 from Greg Wooledge <wooledg at eeg.ccf.org> 2011-10-11 12:35:34 UTC ---
The machine is big endian. I'm not sure how the Ghostscript code is checking
it, but if I step through the code, it appears to be applying the little endian
transformation:
Breakpoint 1, ReadHeader (Icc=0x40a44518, lIsFromMemory=1)
at lcms/src/cmsio1.c:271
271 if (Icc -> Read(&Header, sizeof(icHeader), 1, Icc) != 1)
(gdb) n
276 AdjustEndianess32((LPBYTE) &Header.size);
(gdb) step
AdjustEndianess32 (pByte=0x7a0027dc "") at lcms/src/cmsio1.c:104
104 temp1 = *pByte++;
So yes, it appears to think the machine is the wrong endianness.
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list