[haiku-bugs] Re: [Haiku] #10924: Webpositive crashed WebCore::ResourceHandle::client()

  • From: "markh" <trac@xxxxxxxxxxxx>
  • Date: Sun, 28 Feb 2016 19:20:07 -0000

#10924: Webpositive crashed WebCore::ResourceHandle::client()
----------------------------------------+---------------------------------
   Reporter:  xray7224                  |      Owner:  pulkomandy
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:  11602                     |   Blocking:  12047, 12137, 12605
Has a Patch:  1                         |   Platform:  All
----------------------------------------+---------------------------------

Comment (by markh):

 I thought I had fixed it with the patch attached to #12605, but apparently
 the variable m_resourceHandle can become null in the function
 HeadersReceived. I now added a patch that moves retrieving the client to
 right after checking for a valid resourcehandle. This fixes the crash, but
 I'm not sure why the m_resourceHandle variable becomes null in the
 function itself.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10924#comment:9>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: