Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40051

Default configuration disables harfbuzz support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.3.1
    • GUI: Font handling, WebKit
    • None
    • Gentoo ~amd64, Qt 5.3 branch and stable branch tested

    Description

      Qt defaults to building with -no-harfbuzz.
      It should default to building -qt-harfbuzz.
      The goal of the defaults is to provide a sensible build, a build that crashes under some circumstances (e.g. http://lenta.ru , see QTBUG-36099 and below) is not sensible.
      Thus the build system should default to something sensible, such as a bundled version of harfbuzz-ng.


      Program segfaults during loading, similar to QTBUG-36099, but setting QT_HARFBUZZ to old no longer has an effect (expected since all three patches have been merged in 5.2).

      To reproduce (in a minimal example), extract and compile contents of quick-browser-test.tgz ; for a register trace, run through with catchsegv, comment out the signal line in main and recompile, running with catchsegv)

      Stack Trace
      Error: signal 11:
      ./quick-browser-test[0x400fb9]
      /lib64/libc.so.6(+0x35320)[0x7feccd068320]
      Error: signal 11:
      ./quick-browser-test[0x400fb9]
      /lib64/libc.so.6(+0x35320)[0x7feccd068320]
      /home/shingetsu/.sysroot/lib/libQt5Core.so.5(_ZN16QCoreApplication9postEventEP7QObjectP6QEventi+0x17d)[0x7fecce2b604d]
      /home/shingetsu/.sysroot/lib/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x7d9)[0x7fecce2e6c79]
      /home/shingetsu/.sysroot/lib/libQt5Network.so.5(+0xf958f)[0x7feccf30458f]
      /home/shingetsu/.sysroot/lib/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x2da)[0x7fecce2e677a]
      /home/shingetsu/.sysroot/lib/libQt5Network.so.5(+0xf5c9f)[0x7feccf300c9f]
      /home/shingetsu/.sysroot/lib/libQt5Network.so.5(+0x50806)[0x7feccf25b806]
      
      Register dump by catchsegv
      *** Segmentation fault
      Register dump:
      
       RAX: 0000000002599880   RBX: 0000000000000000   RCX: 00007fffee4a1e88
       RDX: 0000000000000000   RSI: 0000000047444546   RDI: 000000000000003c
       RBP: 00007f888a930f80   R8 : 0000000002585160   R9 : 00007fffee4a2268
       R10: 0000000000000020   R11: 0000000002575718   R12: 0000000000000002
       R13: 0000000000000000   R14: 0000000002599880   R15: 00000000027a4fb0
       RSP: 00007fffee4a1e68
      
       RIP: 0000000100000002   EFLAGS: 00010246
      
       CS: 0033   FS: 0000   GS: 0000
      
       Trap: 0000000e   Error: 00000014   OldMask: 00000000   CR2: 00000002
      
       FPUCW: 0000037f   FPUSW: 00000000   TAG: 00000000
       RIP: 00000000   RDP: 00000000
      
       ST(0) 0000 0000000000000000   ST(1) 0000 0000000000000000
       ST(2) 0000 0000000000000000   ST(3) 0000 0000000000000000
       ST(4) 0000 0000000000000000   ST(5) 0000 0000000000000000
       ST(6) 0000 0000000000000000   ST(7) 0000 0000000000000000
       mxcsr: 1fa5
       XMM0:  00000000000000000000000000000000 XMM1:  00000000000000000000000000000000
       XMM2:  00000000000000000000000000000000 XMM3:  00000000000000000000000000000000
       XMM4:  00000000000000000000000000000000 XMM5:  00000000000000000000000000000000
       XMM6:  00000000000000000000000000000000 XMM7:  00000000000000000000000000000000
       XMM8:  00000000000000000000000000000000 XMM9:  00000000000000000000000000000000
       XMM10: 00000000000000000000000000000000 XMM11: 00000000000000000000000000000000
       XMM12: 00000000000000000000000000000000 XMM13: 00000000000000000000000000000000
       XMM14: 00000000000000000000000000000000 XMM15: 00000000000000000000000000000000
      
      Backtrace:
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              toast Chloe Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes