From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiM4V-00028R-N0 for qemu-devel@nongnu.org; Wed, 15 Apr 2015 08:05:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiM4R-0000bR-KD for qemu-devel@nongnu.org; Wed, 15 Apr 2015 08:05:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiM4R-0000bI-8m for qemu-devel@nongnu.org; Wed, 15 Apr 2015 08:05:31 -0400 Message-ID: <1429099527.1257.1.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Wed, 15 Apr 2015 14:05:27 +0200 In-Reply-To: References: <1428995693-26275-1-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Spice-devel] [PATCH] spice: fix simple display on bigendian hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Denis Kirjanov Cc: spice-devel@lists.freedesktop.org, qemu-devel@nongnu.org On Di, 2015-04-14 at 17:47 +0300, Denis Kirjanov wrote: > On 4/14/15, Denis Kirjanov wrote: > > On 4/14/15, Denis Kirjanov wrote: > >> On 4/14/15, Gerd Hoffmann 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 > >>> Signed-off-by: Gerd Hoffmann > >>> --- > >> 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@entry=0x7ceb80, image=image@entry=0xae2720, > want_original=want_original@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? cheers, Gerd