Hi Umesh,
there have been changes in this area but I can not clearly identify if you are being helped with them. Simple solution: try with the latest DirectFB (1.4.3) and fusion (8.1.1) and see if your problem is gone.

Greets
Niels

Umesh Suryawanshi wrote:

Hi,
I am using Directfb 1.2.7 with multiapp enabled and fusion 8.0.0.

My application is working fine with multi-app environment. But during release of directfb handle, I am getting following error
*** glibc detected *** Video: free(): invalid pointer: 0x0044e340 ***

(!) [  820:  760.007] --> Caught signal 6 (unknown origin) <--

When any other application using graphics layers is run during my video application, I am getting above issue during release of directfb handle in my video application.

When debugged directfb, I see issue with src/core/local_surface_pool.c

static DFBResult
localLeavePool( CoreSurfacePool *pool,
                void            *pool_data,
                void            *pool_local )
{
     CoreSurfaceAllocation *allocation;
     LocalPoolLocalData    *local = pool_local;
     LocalAllocationData   *data;

     DFBResult res;
     int       i;

     D_MAGIC_ASSERT( pool, CoreSurfacePool );
     D_ASSERT( pool_local != NULL );

     res = fusion_call_destroy( &local->call );

     /* remove the local allocations */
     fusion_vector_foreach (allocation, i, pool->allocs) {
          data = allocation->data;
          D_FREE( data->addr );
     }

return res; }

I think there is issue with the way this pointer is freed as when I run other application with just directfb initialization and creation, direcfb release is working fine in my video application.

Is this a issue with multiapp support of directfb?
Is there any patch for this?


Regards,
Umesh

============================================================================================================================Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html externally and 
http://tim.techmahindra.com/Disclaimer.html internally within Tech 
Mahindra.============================================================================================================================

------------------------------------------------------------------------

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev


--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to