[haiku-bugs] Re: [Haiku] #17258: WebKit 613.1.1 - scrambled fonts on some pages

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

#17258: WebKit 613.1.1 - scrambled fonts on some pages
---------------------------------------+-------------------------
  Reporter:  vidrep                    |      Owner:  pulkomandy
      Type:  bug                       |     Status:  new
  Priority:  normal                    |  Milestone:  Unscheduled
 Component:  Applications/WebPositive  |    Version:  R1/beta3
Resolution:                            |   Keywords:
Blocked By:                            |   Blocking:
  Platform:  All                       |
---------------------------------------+-------------------------
Comment (by nephele):

 With a debug build I hit an assertion.

 {{{
 ~/proj/haikuwebkit-new/WebKitBuild/Debug ./HaikuLauncher
 Please note that you don't have secure memory on this system
 ASSERTION FAILED:
 
(*bitwise_cast<WTF::Config*>(&WebConfig::g_config[WTF::startSlotOfWTFConfig])).isThreadSuspendResumeSignalConfigured
 ../../Source/WTF/wtf/posix/ThreadingPOSIX.cpp(235) : static void
 WTF::Thread::initializeCurrentThreadEvenIfNonWTFCreated()
 Abort
 }}}

 For completeness, this is what i changed to get Debug to compile:
 {{{
 diff --git a/Source/WebCore/testing/Internals.cpp
 b/Source/WebCore/testing/Internals.cpp
 index ec2b92a8f5..f8091a2e16 100644
 --- a/Source/WebCore/testing/Internals.cpp
 +++ b/Source/WebCore/testing/Internals.cpp
 @@ -6447,7 +6447,7 @@ constexpr TreeType convertType(Internals::TreeType
 type)
      case Internals::ComposedTree:
          return ComposedTree;
      }
 -    ASSERT_NOT_REACHED();
 +    //ASSERT_NOT_REACHED();
      return Tree;
  }

 diff --git a/Source/WebKitLegacy/haiku/API/WebPage.cpp
 b/Source/WebKitLegacy/haiku/API/WebPage.cpp
 index 3c37295f9b..954a183921 100644
 --- a/Source/WebKitLegacy/haiku/API/WebPage.cpp
 +++ b/Source/WebKitLegacy/haiku/API/WebPage.cpp
 @@ -171,7 +171,7 @@ BMessenger BWebPage::sDownloadListener;
         // NOTE: This needs to be called when the BApplication is ready.
         // It won't work as static initialization.
  #if !LOG_DISABLED
 -    WebCore::initializeLogChannelsIfNecessary();
 +    //WebCore::initializeLogChannelsIfNecessary();
  #endif
      PlatformStrategiesHaiku::initialize();

 diff --git a/Source/WebKitLegacy/haiku/WebCoreSupport/IconDatabase.cpp
 b/Source/WebKitLegacy/haiku/WebCoreSupport/IconDatabase.cpp
 index 14eef5f5c6..196758c96e 100644
 --- a/Source/WebKitLegacy/haiku/WebCoreSupport/IconDatabase.cpp
 +++ b/Source/WebKitLegacy/haiku/WebCoreSupport/IconDatabase.cpp
 @@ -1693,7 +1693,7 @@ inline void
 readySQLiteStatement(std::unique_ptr<SQLiteStatement>& statement, SQ
      if (!statement) {
          auto temp = db.prepareHeapStatement(str);
          if (!statement)
 -            LOG_ERROR("Preparing statement %s failed",
 str.ascii().data());
 +            LOG_ERROR("Preparing statement %s failed", str.characters());
          else
              statement = temp.value().moveToUniquePtr();
      }
 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17258#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: