[Spice-devel] [PATCH] spice: fix simple display on bigendian hosts

Denis Kirjanov kirjanov at gmail.com
Wed Apr 15 05:55:44 PDT 2015


On 4/15/15, Gerd Hoffmann <kraxel at redhat.com> wrote:
> On Di, 2015-04-14 at 17:47 +0300, Denis Kirjanov wrote:
>> On 4/14/15, Denis Kirjanov <kirjanov at gmail.com> wrote:
>> > On 4/14/15, Denis Kirjanov <kirjanov at gmail.com> wrote:
>> >> On 4/14/15, Gerd Hoffmann <kraxel at redhat.com> wrote:
>> >>> Denis Kirjanov is busy getting spice run on ppc64 and trapped into
>> >>> this
>> >>> one.  Spice wire format is little endian, so we have to explicitly
>> >>> say
>> >>> we want little endian when letting pixman convert the data for us.
>> >>>
>> >>> Reported-by: Denis Kirjanov <kirjanov at gmail.com>
>> >>> Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
>> >>> ---
>> >> Yeah, that fixes the issue. Thanks Gerd!
>> >
>> > Looks like that the patch fixes the half of the problem: the inverted
>> > colors appear on client reconnect to vm
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00007ffff4e10258 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
>> (gdb) bt
>> #0  0x00007ffff4e10258 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
>> #1  0x00007ffff4e10239 in pixman_image_unref () from
>> /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
>> #2  0x00007ffff78e4117 in canvas_get_quic
>> (canvas=canvas at entry=0x7ceb80, image=image at entry=0xae2720,
>>     want_original=want_original at entry=0) at
>> ../spice-common/common/canvas_base.c:390
>
> spice client crash?
> is this spice client running on big endian or little endian machine?

it's running on x86_64 as shown in the stack trace.

> cheers,
>   Gerd
>
>
>


-- 
Regards,
Denis


More information about the Spice-devel mailing list