[haiku-bugs] Re: [Haiku] #17274: WebKit (master) crashes when clicking HaikuLauncher

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 24 Sep 2021 18:52:50 -0000

#17274: WebKit (master) crashes when clicking HaikuLauncher
---------------------------+-------------------------
  Reporter:  vidrep        |      Owner:  pulkomandy
      Type:  bug           |     Status:  new
  Priority:  normal        |  Milestone:  Unscheduled
 Component:  Kits/Web Kit  |    Version:  R1/beta3
Resolution:                |   Keywords:
Blocked By:                |   Blocking:
  Platform:  All           |
---------------------------+-------------------------
Comment (by madmax):

 Replying to [comment:8 nephele]:

I get an assertion with the debug build:
{{{
ASSERTION FAILED:
 
(*bitwise_cast<WTF::Config*>(&WebConfig::g_config[WTF::startSlotOfWTFConfig])).isThreadSuspendResumeSignalConfigured
../../Source/WTF/wtf/posix/ThreadingPOSIX.cpp(235) : static void
 WTF::Thread::initializeCurrentThreadEvenIfNonWTFCreated()
}}}


 The ones I get (in a release build) are from
 
[https://github.com/haiku/haikuwebkit/blob/ee0847d6c27e862532a0f0fb04291b2bf3f10c51/Source/WTF/wtf/threads/Signals.cpp#L345
 addSignalHandler]. The signal value passed to sigdelset is wild and
 different each time, when it should be SIGUSR1. In both yours and mine
 there's something fishy with g_wtfConfig.

 There's some memory magic there. You seem to have fast compilations, can
 you force ENABLE_UNIFIED_AND_FREEZABLE_CONFIG_RECORD to 0 in
 
[https://github.com/haiku/haikuwebkit/blob/ee0847d6c27e862532a0f0fb04291b2bf3f10c51/Source/WTF/wtf/PlatformEnable.h#L803
 PlatformEnable] and see if that changes anything?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17274#comment:9>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: