On 26/10/10 23:15, haithem rahmani wrote:
Even expedite seems to run well:
I tested and I got a crash in the test 87 (polygon blend).
/usr/local/efl/expedite/bin/expedite -e directfb -t 87
[Thread debugging using libthread_db enabled]
commandline read: expedite
commandline read: -e
commandline read: directfb
commandline read: -t
commandline read: 87
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.5.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2010 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2010-10-26 20:55)
(*) Direct/Modules: suppress module 'devmem'
Missing separate debuginfo for /usr/lib/dri/vboxvideo_dri.so
Missing separate debuginfo for /usr/lib/VBoxOGLcrutil.so
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled
for this VM.
(*) GLX/Surfaces: Using visual 0xd2 (24bit) and 0xe1 (32bit)
[New Thread 0xb7fd9b70 (LWP 24850)]
(*) Direct/Thread: Started 'Joystick Input' (-1) [INPUT OTHER/OTHER 0/0]
<10485760>...
(*) DirectFB/Input: Joystick 0.9 (directfb.org <http://directfb.org>)
(!!!) *** ONCE [Joystick sends JS_EVENT_INIT events, make sure it has been
calibrated using 'jscal -c'
] *** [joystick.c:99 in joystick_handle_event()]
[New Thread 0xb75d8b70 (LWP 24851)]
(*) Direct/Thread: Started 'X11 Input' (-1) [INPUT OTHER/OTHER 0/0]
<10485760>...
(*) DirectFB/Input: X11 Input 0.1 (directfb.org <http://directfb.org>)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org
<http://directfb.org>)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org <http://directfb.org>)
(*) X11/Display: Using XShm.
Program received signal SIGSEGV, Segmentation fault.
0x00000001 in ?? ()
Missing separate debuginfos, use: debuginfo-install SDL-1.2.14-8.fc13.i686
expat-2.0.1-10.fc13.i686 freetype-2.3.11-3.fc13.i686 glibc-2.12-1.i686
gnutls-2.8.5-4.fc13.i686 libX11-1.3.1-3.fc13.i686 libXau-1.0.5-1.fc12.i686
libXcomposite-0.4.1-2.fc13.i686 libXdamage-1.1.2-2.fc13.i686
libXext-1.1-2.fc13.i686
libXfixes-4.0.4-2.fc13.i686 libXxf86vm-1.1.0-1.fc13.i686
libdrm-2.4.21-2.fc13.i686 libgcc-4.4.4-2.fc13.i686 libgcrypt-1.4.5-4.fc13.i686
libgpg-error-1.7-1.fc13.i686 libjpeg-6b-46.fc12.i686 libpng-1.2.43-1.fc13.i686
libselinux-2.0.90-5.fc13.i686 libstdc++-4.4.4-2.fc13.i686
libsysfs-2.1.0-8.fc13.i686 libtasn1-2.4-2.fc13.i686 libxcb-1.5-1.fc13.i686
mesa-dri-drivers-7.8.1-8.fc13.i686 mesa-libGL-7.8.1-8.fc13.i686
zlib-1.2.3-23.fc12.i686
(gdb) bt
#0 0x00000001 in ?? ()
#1 0x0091ad67 in _dfb_polygon_draw (surface=0x80e4230, dc=0x80e43e0,
points=0x80dac08, px=309, py=263) at polygon.c:133
#2 0x00919089 in evas_engine_dfb_polygon_draw (data=0x80e3fa8,
context=0x80e43e0, surface=0x80e4230, polygon=0x80dac08,
x=309, y=263) at evas_engine.c:1141
#3 0x00a0ba5e in evas_object_polygon_render (obj=0x8125120, output=0x80e3fa8,
context=0x80e43e0, surface=0x80e4230, x=0,
y=0) at evas_object_polygon.c:348
#4 0x00a2a53f in evas_render_mapped (e=0x80ac160, obj=0x8125120,
context=0x80e43e0, surface=0x80e4230, off_x=0, off_y=0,
mapped=0) at evas_render.c:939
#5 0x00a2d2ce in evas_render_updates_internal (e=<value optimized out>,
make_updates=0 '\000', do_draw=1 '\001')
at evas_render.c:1265
#6 0x0804c8e2 in _ui_num (argc=5, argv=0xbffff1a4) at ui.c:286
#7 _ui_setup (argc=5, argv=0xbffff1a4) at ui.c:560
#8 ui_args (argc=5, argv=0xbffff1a4) at ui.c:609
#9 0x0804a985 in main (argc=5, argv=0xbffff1a4) at main.c:1373
Got the same crash. It seems the surface pointer is invalid:
Program received signal SIGSEGV, Segmentation fault.
0x000000010000001d in ?? ()
(gdb) bt
#0 0x000000010000001d in ?? ()
#1 0x00007ffff43bd288 in _dfb_polygon_draw (surface=0x8d8240, dc=0x903a30,
points=0x939d90, px=309, py=263)
at polygon.c:133
#2 0x00007ffff6ad675c in evas_render_mapped (e=0x689dd0, obj=0x8e8c20,
context=0x903a30, surface=0x8d8240, off_x=0,
off_y=0, mapped=0) at evas_render.c:923
#3 0x00007ffff6ad9082 in evas_render_updates_internal (e=0x689dd0,
make_updates=0 '\000', do_draw=1 '\001')
at evas_render.c:1246
#4 0x0000000000405e19 in _ui_num (argc=<value optimised out>, argv=<value
optimised out>) at ui.c:286
#5 _ui_setup (argc=<value optimised out>, argv=<value optimised out>) at
ui.c:560
#6 ui_args (argc=<value optimised out>, argv=<value optimised out>) at ui.c:609
#7 0x000000000040420b in main (argc=5, argv=0x7fffffffde18) at main.c:1373
(gdb) up
#1 0x00007ffff43bd288 in _dfb_polygon_draw (surface=0x8d8240, dc=0x903a30,
points=0x939d90, px=309, py=263)
at polygon.c:133
133 surface->GetSize(surface, &ext_w, &ext_h);
(gdb) l
128 int ext_x, ext_y, ext_w, ext_h;
129 int *sorted_index;
130
131 ext_x = 0;
132 ext_y = 0;
133 surface->GetSize(surface, &ext_w, &ext_h);
134 if (dc->clip.use)
135 {
136 if (dc->clip.x > ext_x)
137 {
(gdb) p surface
$1 = (IDirectFBSurface *) 0x8d8240
(gdb) p *surface
$2 = {priv = 0x0, magic = 0, refs = 0, AddRef = 0x8d8240, Release = 0x8d80a0,
GetCapabilities = 0x8d7f40,
GetPosition = 0, GetSize = 0x10000001d, GetVisibleRectangle = 0x1a4000002d0,
GetPixelFormat = 0x8f0be0,
GetAccelerationMask = 0x1, GetPalette = 0, SetPalette = 0x41, SetAlphaRamp =
0, Lock = 0x8f0e70,
GetFramebufferOffset = 0, Unlock = 0x404bc0 <_ui_key>, Flip = 0, SetField =
0xa, Clear = 0, SetClip = 0x71,
GetClip = 0x7ffff34068d0, SetColor = 0x7ffff3406890, SetColorIndex =
0x915370, SetSrcBlendFunction = 0x1,
SetDstBlendFunction = 0x200, SetPorterDuff = 0, SetSrcColorKey = 0x500000006,
SetSrcColorKeyIndex = 0x13,
SetDstColorKey = 0, SetDstColorKeyIndex = 0xffffffff00000000,
SetBlittingFlags = 0x8d68a0, Blit = 0x8db3f0,
TileBlit = 0, BatchBlit = 0x2001, StretchBlit = 0x8edfa0, TextureTriangles =
0x8da340, SetDrawingFlags = 0x20,
FillRectangle = 0x8efee8, DrawRectangle = 0x8eff78, DrawLine = 0x2, DrawLines
= 0x8da3e0, FillTriangle = 0,
FillRectangles = 0x2, FillSpans = 0x8da420, FillTriangles = 0x1, SetFont =
0x2, GetFont = 0x8da450, DrawString = 0x1,
DrawGlyph = 0x2, SetEncoding = 0xa48680, GetSubSurface = 0, GetGL = 0x20,
Dump = 0x8d8390,
DisableAcceleration = 0x8d83a8, ReleaseSource = 0xffffffff00000020,
SetIndexTranslation = 0x8d8378,
SetRenderOptions = 0x8d83d8, SetMatrix = 0x2, SetSourceMask = 0xa4fcd0,
MakeSubSurface = 0x700000010, Write = 0x2,
Read = 0x8d75b0, SetColors = 0, BatchBlit2 = 0x2, GetPhysicalAddress =
0xa4fbf0}
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev