[haiku-bugs] Re: [Haiku] #18111: haikuwebkit 1.9.0 crashes on DocumentLoader

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 29 Nov 2022 21:59:10 -0000

#18111: haikuwebkit 1.9.0 crashes on DocumentLoader
---------------------------+------------------------
  Reporter:  madmax        |      Owner:  pulkomandy
      Type:  bug           |     Status:  new
  Priority:  normal        |  Milestone:  R1/beta4
 Component:  Kits/Web Kit  |    Version:  R1/beta4
Resolution:                |   Keywords:
Blocked By:                |   Blocking:
  Platform:  x86           |
---------------------------+------------------------
Comment (by waddlesplash):

 Some of those have macros hanging off them e.g.
 {{{WTF_MAKE_FAST_ALLOCATED}}}. I glanced at the source for some of them
 but I didn't see any attributes.

 It seems very strange that the DocumentLoader is only aligned on 8 but
 somehow GCC expects it to be aligned on 16. I suspect the recent disabling
 of SSE for libwebp is related here, it seems somehow that GCC is making
 incorrect assumptions about default alignment. Considering max_align_t
 comes from GCC's own headers, I don't really have any guesses as to how
 that might have happened.

 It should be possible to write some small test applications to prove this
 is the problem. GCC's compiler specs may be yet again misconfigured.

 It would be interesting to see what clang does here. I think GTK WebKit is
 now built with Clang because it is faster and uses much less memory...
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18111#comment:8>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: