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

Embedded application crashes after start

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 4.7.0, 4.7.1
    • GUI: Font handling
    • None
    • Toolchain - crosstool-ng 1.7.2 with linux kernel 2.6.33.2, gcc 4.3.4, glibc 2.9 + busybox 1.17.3

    Description

      I have install Qt embedded 4.7 from the sources. Configure string was:
      ./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -prefix /usr -debug -no-largefile -no-qt3support -no-xmlpatterns -no-multimedia -no-phonon -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -nomake examples -nomake demos -nomake tools -nomake docs -nomake translations -no-rpath

      Report result was:
      Building on: qws/linux-x86_64-g++
      Building for: qws/linux-arm-gnueabi-g++
      Architecture: arm
      Host architecture: x86_64

      Build .................. libs
      Configuration .......... cross_compile debug shared dll embedded stl precompile_header def_files_disabled exceptions_off minimal-config small-config medium-config large-config full-config accessibility embedded reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify png freetype zlib nis audio-backend svg debug
      Debug .................. yes
      Qt 3 compatibility ..... no
      QtDBus module .......... no
      QtConcurrent code ...... yes
      QtGui module ........... yes
      QtScript module ........ no
      QtScriptTools module ... no
      QtXmlPatterns module ... no
      Phonon module .......... no
      Multimedia module ...... no
      SVG module ............. yes
      WebKit module .......... no
      Declarative module ..... no
      Support for S60 ........ no
      Symbian DEF files ...... no
      STL support ............ yes
      PCH support ............ yes
      MMX/3DNOW/SSE/SSE2...... no/no/no/no
      iWMMXt support ......... no
      NEON support ........... no
      IPv6 support ........... yes
      IPv6 ifname support .... yes
      getaddrinfo support .... yes
      getifaddrs support ..... yes
      Accessibility .......... yes
      NIS support ............ yes
      CUPS support ........... no
      Iconv support .......... no
      Glib support ........... no
      GStreamer support ...... no
      PulseAudio support ..... no
      Large File support ..... no
      GIF support ............ plugin
      TIFF support ........... plugin (qt)
      JPEG support ........... plugin (qt)
      PNG support ............ yes (qt)
      MNG support ............ plugin (qt)
      zlib support ........... yes
      Session management ..... no
      Embedded support ....... arm
      Freetype2 support ...... auto (yes)
      Graphics (qt) .......... linuxfb multiscreen
      Graphics (plugin) ......
      Decorations (qt) ....... styled windows default
      Decorations (plugin) ...
      Keyboard driver (qt) ... tty
      Keyboard driver (plugin) ..
      Mouse driver (qt) ...... pc linuxtp
      Mouse driver (plugin) ..
      OpenGL support ......... no
      OpenVG support ......... no
      SQLite support ......... plugin (qt)
      OpenSSL support ........ no
      Alsa support ........... no
      ICD support ............ no

      When I try to run any Qt application on my embedded system I have "Segmentation fault". So there is a backtrace:
      #0 0x4127eb64 in _HB_GDEF_LoadMarkAttachClassDef_From_LookupFlags (gdef=0x3f0, stream=0x3eeb0, lo=0x40720, num_lookups=28)
      at ../3rdparty/harfbuzz/src/harfbuzz-gdef.c:1141
      #1 0x4127f350 in HB_Load_GSUB_Table (stream=0x1fc20, retptr=0x3ee65, gdef=0x3f0, gdefStream=0x3eeb0) at ../3rdparty/harfbuzz/src/harfbuzz-gsub.c:116
      #2 0x412cffcc in HB_NewFace (font=0x3a0b0, tableFunc=0x4071d420 <hb_getSFntTable>) at ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:989
      #3 0x412d1054 in qHBNewFace (font=0x3a0b0, tableFunc=0x4071d420 <hb_getSFntTable>) at tools/qharfbuzz.cpp:125
      #4 0x4071ee34 in QFreetypeFace::getFace (face_id=@0x3982c) at text/qfontengine_ft.cpp:246
      #5 0x4071f460 in QFontEngineFT::init (this=0x39388, faceId=
      {filename = {static shared_null = {ref = {_q_value = 3}, alloc = 0, size = 0, data = 0x415a446c "", array = ""}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x415a4480 "", array = ""}, d = 0xbec49454}, index = 234376, encoding = 1073799096}, antialias=true, format=QFontEngineFT::Format_A8)
      at text/qfontengine_ft.cpp:670
      #6 0x405fd530 in loadSingleEngine (script=0, fp=0x1a510, request=@0xbec496e8, family=0x24458, foundry=0x2c948, style=0x2f5b8, size=0x2ad90)
      at text/qfontdatabase_qws.cpp:636
      #7 0x405fde80 in loadEngine (script=0, fp=0x1a510, request=@0xbec496e8, family=0x24458, foundry=0x2c948, style=0x2f5b8, size=0x2ad90)
      at text/qfontdatabase_qws.cpp:690
      #8 0x40606184 in QFontDatabase::findFont (script=0, fp=0x1a510, request=@0xbec496e8) at text/qfontdatabase_qws.cpp:830
      #9 0x40606e1c in QFontDatabase::load (d=0x1a510, script=0) at text/qfontdatabase_qws.cpp:955
      #10 0x405d2900 in QFontPrivate::engineForScript (this=0x1a510, script=0) at text/qfont.cpp:270
      #11 0x405f4fd0 in QFontMetrics::height (this=0xbec49864) at text/qfontmetrics.cpp:329
      #12 0x40867618 in QPlastiqueStyle::pixelMetric (this=0x27a80, metric=QStyle::PM_TitleBarHeight, option=0xbec49844, widget=0x0) at styles/qplastiquestyle.cpp:5612
      #13 0x402065a4 in QDecorationStyled::titleBarHeight (this=0x35548, widget=0x34da8) at embedded/qdecorationstyled_qws.cpp:84
      #14 0x40205870 in QDecorationStyled::region (this=0x35548, widget=0x34da8, rect=@0xbec49af4, decorationRegion=2147483647) at embedded/qdecorationstyled_qws.cpp:232
      #15 0x4032063c in QWidgetPrivate::create_sys (this=0x20df0, window=0, initializeWindow=true) at kernel/qwidget_qws.cpp:222
      #16 0x402c2b5c in QWidget::create (this=0x34da8, window=0, initializeWindow=true, destroyOldWindow=true) at kernel/qwidget.cpp:1425
      #17 0x402d2ce8 in QWidget::setVisible (this=0x34da8, visible=true) at kernel/qwidget.cpp:7524
      #18 0x0000a200 in QWidget::show (this=0x34da8)
      at /usr/local/toolchain/arm/lib/gcc/arm-none-linux-gnueabi/4.3.4/../../../../arm-none-linux-gnueabi/include/QtGui/qwidget.h:487
      #19 0x00009d28 in main (argc=1, argv=0xbec49ea4) at main.cc:15

      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
              mskmsk_1985 Mihail
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes