[haiku-bugs] Re: [Haiku] #1713: Problems with Whistle, good testcase app? (BeOS sample app)

  • From: "jonas.kirilla" <trac@xxxxxxxxxxxx>
  • Date: Sun, 05 Dec 2010 15:42:09 -0000

#1713: Problems with Whistle, good testcase app? (BeOS sample app)
---------------------------------+------------------------------
  Reporter:  tqh                 |        Owner:  axeld
      Type:  bug                 |       Status:  new
  Priority:  normal              |    Milestone:  R1
 Component:  Servers/app_server  |      Version:  R1/Development
Resolution:                      |     Keywords:
Blocked By:                      |  Has a Patch:  0
  Platform:  All                 |     Blocking:
---------------------------------+------------------------------

Comment (by jonas.kirilla):

 The article mentions an app_server memory leak that seems to also be there
 in Haiku's app_server. Interacting with the Whistle controls grows the
 app_server's heap.

 If one comments out the Invalidate() here in Whistle/PigTail.cpp
 {{{
 void PigTail::SetBubble(int32 coord)
 {
         bubble = coord;
         bubble = max_c(0, min_c(bubble, height));
         // Invalidate();
 }
 }}}

 the leak does not show itself. I hope this helps.

 This was on r39648. (Seems to work as intended, producing audio, given a
 working big_synth.sy. I used the one from Debian, IIRC.)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/1713#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #1713: Problems with Whistle, good testcase app? (BeOS sample app) - jonas.kirilla