Hi!
Does ggiGetBox provide clipping?
The X-target always creates a 640x480x32 window as default-mode on my
machine. Running bsetest, libefence creates a SIGSEGV in
ggiGetHLine() called by ggiGetBox().
Here is, what the gdb says:
--------------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
0x4009b007 in memcpy () at ../sysdeps/generic/memcpy.c:64
64 ../sysdeps/generic/memcpy.c: No such file or directory.
(gdb) bt
#0 0x4009b007 in memcpy () at ../sysdeps/generic/memcpy.c:64
#1 0x40744012 in GGI_lin32_gethline (vis=0x4042fee4, x=451, y=497, w=50,
buffer=0x41e12ce0) at hline.c:90
#2 0x40035d21 in ggiGetHLine (vis=0x4042fee4, x=451, y=497, w=50, buf=0x41e12ce0) at
stubs.c:219
#3 0x4073e0d9 in GGI_stubs_getbox (vis=0x4042fee4, x=451, y=497, w=50, h=50,
buffer=0x41e108f0) at box.c:113
#4 0x40035ee5 in ggiGetBox (vis=0x4042fee4, x=451, y=451, w=50, h=50, buf=0x41e108f0)
at stubs.c:242
#5 0x40016f6c in ggiBseMove () at stubs.c:113
#6 0x8049528 in do_demo (vis=0x4042fee4) at bsetest.c:134
#7 0x8049add in main () at bsetest.c:285
(gdb) up
#1 0x40744012 in GGI_lin32_gethline (vis=0x4042fee4, x=451, y=497, w=50,
buffer=0x41e12ce0) at hline.c:90
90 memcpy(buffer, mem, w*4);
(gdb) list
85
86 PREPARE_FB(vis);
87
88 mem = (uint8 *)LIBGGI_CURREAD(vis) + y*LIBGGI_FB_R_STRIDE(vis) + x*4;
89
90 memcpy(buffer, mem, w*4);
91
92 return 0;
93 }
(gdb)
--------------------------------------------------------------------------
CU,
Christoph Egger
E-Mail: [EMAIL PROTECTED]