No its a trashed surface if you walk up the tree you see it not null. till you get there.
Can you get anyone else to give this a try ? Try with the X11 driver and see if that works. I work on both vesa and X11. Also Next there are defines at the top to turn off the optimizations. DFB_RECTANGLES etc. Try it with nothing on so its just acquire and release that should work. But I think its trashed ram somewhere. Just a check you should have in cairo-directfb-surface a call to GetVisibleRectangle in _directfb_acquire_surface. I had the exact same crash from not having that and overwriting mem. Somewhere we have the same problem this time it may be down in directfb. I'm sending this to the list. I can't replicate and I've done several clean compiles. Can someone on the list see if there crashing with the lastest gtk/directfb code. Mike > > Pulled again from git after deleting old sources, recompiled, tested > with efence and both 16 and 32 bits vesa depth and i still get the crash > (accessing null mehtod). > > Maybe the null method is the problem ? > > (gdb) bt > #0 0x3ff00003 in ?? () > #1 0xa79bc666 in _cairo_directfb_surface_fill_rectangles > (abstract_surface=0xa3556f2c, op=CAIRO_OPERATOR_OVER, > color=0xafe3f660, rects=0xa3360ff8, n_rects=1) at > cairo-directfb-surface.c:927 > #2 0xa79a2627 in _cairo_surface_fill_rectangles (surface=0xa3556f2c, > op=CAIRO_OPERATOR_OVER, color=0xafe3f660, > rects=0xa3360ff8, num_rects=1) at cairo-surface.c:1161 > > (gdb) f 1 > #1 0xa79bc666 in _cairo_directfb_surface_fill_rectangles > (abstract_surface=0xa3556f2c, op=CAIRO_OPERATOR_OVER, > color=0xafe3f660, rects=0xa3360ff8, n_rects=1) at > cairo-directfb-surface.c:927 > 927 dst->dfbsurface->SetDrawingFlags (dst->dfbsurface, flags); > > (gdb) p *((IDirectFBSurface *)abstract_surface)->SetDrawingFlags > Cannot access memory at address 0x0 > > (gdb) p *((cairo_directfb_surface_t > *)abstract_surface)->dfb->SetDrawingFlags > There is no member named SetDrawingFlags. > > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
