Sreeram Akella wrote:
> Hi,
> 
>  
> 
> I have built Firefox DFB with all the patches listed under
> https://bugzilla.mozilla.org/show_bug.cgi?id=357946. I am running it on
> a FC6 system kernel version 2.6.20-1.2948.fc6 with a RAM of 512MB. I am
> using DirectFB 1.0.0 with -enable-multi option and am using linux fusion
> driver 3.2.3.  The only application running is the browser and a couple
> of telnet sessions.
> 
>  
> 
> When I browse any website and keep moving the mouse several times on the
> browser screen, it gives errors as shown below:
> 
>  
> 
>             (!!!)  *** WARNING [maximum shared memory size exceeded!]
> *** [heap.c:794 in __shmalloc_brk()]
> 
>  (!!!)  *** WARNING [out of shared memory] *** [surfaces.c:1843 in
> system_access_by_software()]

system_access_by_software() allocates the surface buffer if not already
done. Looks like there are a lot of surfaces not freed up. Please check
by running dfbdump.

> After repeating this error for a few times, the program aborts with a
> segmentation violation.

You can increase the maximum amount of shared memory used for surface
data, currently just in the code though:

./core.c -#878       ret = fusion_shm_pool_create( core->world, 
"DirectFB Surface Pool", 0x8000000,
./core.c -#879 
fusion_config->debugshm, &shared->shmpool_data );


But if there's a leak, increasing this would not help, of course.

-- 
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

Reply via email to