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

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 05 Dec 2022 07:30:31 -0000

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

 I have already seen this stacktrace where the destructor for
 ThreadGlobalData ends up trying to create a new ThreadGlobalData:

 {{{
 54              0x7f5f03a35390  0x1cb9edf0ffb   abort + 0x4a
 55              0x7f5f03a35390  0x1b7ae07b79b
 /boot/home/haikuwebkit/WebKitBuild/Release/lib/libWebKitLegacy.so.1.9.1 +
 0x118979b
 56              0x7f5f03a353e0  0x1b7aeb98775
 WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*) + 0x85
 57              0x7f5f03a35400  0x1b7aeb90e95
 WebCore::ThreadGlobalData::ThreadGlobalData() + 0x35
 58              0x7f5f03a35430  0x1b7aeb90f42
 WebCore::threadGlobalData() + 0x62
 59              0x7f5f03a35480  0x1b7aeb98cb9
 WebCore::TimerBase::setNextFireTime(WTF::MonotonicTime) + 0x89
 60              0x7f5f03a354a0  0x1b7aeb98ebc
 WebCore::TimerBase::~TimerBase() + 0x2c
 61              0x7f5f03a354e0  0x1b7aeb96c4e
 WebCore::ThreadGlobalData::~ThreadGlobalData() + 0x2e
 62              0x7f5f03a35500  0x1b7aeb96ecd
 WebCore::ThreadGlobalData::~ThreadGlobalData() + 0xd
 63              0x7f5f03a35530  0x1cb9ee09858
 __pthread_key_call_destructors + 0x48
 64              0x7f5f03a35550  0x1cb9ee089cc   __pthread_destroy_thread +
 0x2c
 65              0x7f5f03a35570  0x1cb9edf7dd9   _thread_do_exit_work +
 0x49
 66              0x7f5f03a35590  0x1cb9ee728bd   exit + 0xd
 }}}

 Not sure what to do about it however, we don't have much Haiku-specific
 code involved in that area... and I had not reproduced this problem in a
 while after doing some other (unrelated) changes.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18118#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: