[haiku-development] Re: ShowImage patch

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 04 Mar 2009 11:34:02 +0100 CET

Christian Packmann <Christian.Packmann@xxxxxx> wrote:
> However, the Filter class has problems which need to be fixed first. 
> It 
> leaks memory, badly. This seems to happen when zooming in and out of 
> an 
> image repeatedly, I guess that the temporary bitmaps aren't free 
> correctly. I took a quick look but didn't find the problem.
> This is very bad, as this will quickly KDL Haiku with:
> 
> vm_page_fault: unhandled page fault in kernel space at xxxx, ip xxxx
> Thread xxx 'filter' running on CPU 1
> 
> This happens in VMWare as well as natively. I first thought it would 
> run 
> out of memory in the VM (768 MiB configured), but Haiku has 3.25 GiB 
> when 
> run natively, so a plain out-of-mem error should not occur as fast as 
> it did.
> 
> But maybe this is also due to some bug/uncoded feature in the virt. 
> mem 
> manager, and not a ShowImage bug itself? Can't really judge, some 
> comments 
> on this would be welcome.

That sounds like a nice bug report. Care to either find an existing 
matching ticket to add how to reproduce this, or open a new one?

Bye,
   Axel.


Other related posts: