[haiku-bugs] Re: [Haiku] #18118: WebPositive - crash on quit (HaikuWebKit master)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 07 Dec 2022 14:37:36 -0000

#18118: WebPositive - crash on quit (HaikuWebKit master)
---------------------------+------------------------
  Reporter:  vidrep        |      Owner:  pulkomandy
      Type:  bug           |     Status:  new
  Priority:  normal        |  Milestone:  R1/beta4
 Component:  Kits/Web Kit  |    Version:  R1/beta4
Resolution:                |   Keywords:
Blocked By:                |   Blocking:
  Platform:  All           |
---------------------------+------------------------
Changes (by pulkomandy):

 * milestone:  Unscheduled => R1/beta4

Comment:

 The involved code:

 https://github.com/webkit/webkit/blob/main/Source/WebCore/platform/Timer.cpp

 timer destructor calls stop()
 stop() calls setNextFireTime
 setNextFireTime accesses threadGlobalData (which is being destroyed)

 It looks like this would not happen if the timer is already stopped. So
 maybe it's must missing code to stop the timer before destruction of the
 global data? Now we have to find which timer it is...
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18118#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: