[haiku-bugs] Re: [Haiku] #17960: Webpositive (master) - crash on quit after viewing Google image

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 24 Nov 2022 20:50:53 -0000

#17960: Webpositive (master) - crash on quit after viewing Google image
---------------------------------------+-------------------------
  Reporter:  vidrep                    |      Owner:  pulkomandy
      Type:  bug                       |     Status:  new
  Priority:  normal                    |  Milestone:  Unscheduled
 Component:  Applications/WebPositive  |    Version:  R1/beta3
Resolution:                            |   Keywords:
Blocked By:                            |   Blocking:
  Platform:  All                       |
---------------------------------------+-------------------------
Comment (by madmax):

How did you identify which allocation was problematic? I could not find
 it.

 No analysis, so I don't even know where the references are aquired and
 never released. I get easily confused with simple pointers and references,
 so if you add BReferences to the mix...

 So brute force. I got obsessive, added a field to BReferenceable (and
 BReference, for good measure), filled it in every constructor and added it
 to the log. That showed it to be a BUrlContext, and then I did something
 similar to find out which instantiation it was.

Also isn't there already a default URL context in the services kit?

 There seems to be one in UrlRequest.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17960#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: