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 <a 
href="http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html</a>
 externally and <a 
href="http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html</a>
 internally within Tech 
Mahindra.============================================================================================================================
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to