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

Qt Crash in qInitResources_mimetypes()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.1.0
    • Core: Resource System
    • None
    • Linux solace 3.8.13-gentoo #1 SMP Mon May 27 15:34:44 MDT 2013 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux

    Description

      My Qt Program is crashing before main(). Here's the back trace:
      (gdb) bt
      #0 0x0000003bcaa35c35 in *__GI_raise (sig=<optimized out>)
      at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      #1 0x0000003bcaa36fda in *__GI_abort () at abort.c:91
      #2 0x0000003bcaa75a34 in __libc_message (do_abort=2,
      fmt=0x3bcab6cfb8 "*** glibc detected *** %s: %s: 0x%s ***\n")
      at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
      #3 0x0000003bcaa7b03d in malloc_printerr (action=3,
      str=0x3bcab6a2aa "realloc(): invalid pointer", ptr=<optimized out>) at malloc.c:5007
      #4 0x0000003bcaa80486 in *_GI__libc_realloc (
      oldmem=0x7ffff797e800 <QListData::shared_null>, bytes=32) at malloc.c:3019
      #5 0x00007ffff4bb1de6 in QListData::realloc (
      this=0x7ffff52358d0 <(anonymous namespace)::Q_QGS_resourceList::innerFunction()::holder>, alloc=2) at tools/qlist.cpp:148
      #6 0x00007ffff4bb1f90 in QListData::append (
      this=0x7ffff52358d0 <(anonymous namespace)::Q_QGS_resourceList::innerFunction()::holder>, n=1) at tools/qlist.cpp:176
      #7 0x00007ffff4bb1fd9 in QListData::append (
      this=0x7ffff52358d0 <(anonymous namespace)::Q_QGS_resourceList::innerFunction()::holder>) at tools/qlist.cpp:186
      #8 0x00007ffff4cba0a5 in QList<QResourceRoot*>::append (
      this=0x7ffff52358d0 <(anonymous namespace)::Q_QGS_resourceList::innerFunction()::holder>, t=@0x7fffffffd858: 0x726390) at ../../include/QtCore/../../src/corelib/tools/qlist.h:513
      #9 0x00007ffff4cb6ded in qRegisterResourceData (version=1,
      tree=0x7ffff4f355a0 <qt_resource_struct> "",
      name=0x7ffff4f35540 <qt_resource_name> "", data=0x7ffff4ef7ea0 <qt_resource_data> "")
      at io/qresource.cpp:846
      #10 0x00007ffff4e238f3 in qInitResources_mimetypes ()
      at .rcc/debug-shared/qrc_mimetypes.cpp:15784
      #11 0x00007ffff4e2390b in (anonymous namespace)::qInitResources_mimetypes_ctor_class_::qInitResources_mimetypes_ctor_class_ (
      this=0x7ffff52366a8 <(anonymous namespace)::qInitResources_mimetypes_ctor_instance_>)
      at .rcc/debug-shared/qrc_mimetypes.cpp:15788
      #12 0x00007ffff4e2397e in _static_initialization_and_destruction_0 (_initialize_p=1,
      __priority=65535) at .rcc/debug-shared/qrc_mimetypes.cpp:15788
      #13 0x00007ffff4e239bc in GLOBAL_sub_I_qrc_mimetypes.cpp(void) ()
      at .rcc/debug-shared/qrc_mimetypes.cpp:15797
      #14 0x0000003bc920e72f in call_init (l=<optimized out>, argc=1, argv=0x7fffffffd988,
      env=0x7fffffffd998) at dl-init.c:85
      #15 0x0000003bc920e81e in _dl_init (main_map=0x3bc94231a8, argc=1, argv=0x7fffffffd988,
      env=0x7fffffffd998) at dl-init.c:134
      #16 0x0000003bc9200bda in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
      #17 0x0000000000000001 in ?? ()
      #18 0x00007fffffffdd6c in ?? ()
      #19 0x0000000000000000 in ?? ()
      (gdb)
      #0 0x0000003bcaa35c35 in *__GI_raise (sig=<optimized out>)
      at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      #1 0x0000003bcaa36fda in *__GI_abort () at abort.c:91
      #2 0x0000003bcaa75a34 in __libc_message (do_abort=2,
      fmt=0x3bcab6cfb8 "*** glibc detected *** %s: %s: 0x%s ***\n")
      at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
      #3 0x0000003bcaa7b03d in malloc_printerr (action=3,
      str=0x3bcab6a2aa "realloc(): invalid pointer", ptr=<optimized out>) at malloc.c:5007
      #4 0x0000003bcaa80486 in *_GI__libc_realloc (
      oldmem=0x7ffff797e800 <QListData::shared_null>, bytes=32) at malloc.c:3019
      #5 0x00007ffff4bb1de6 in QListData::realloc (
      this=0x7ffff52358d0 <(anonymous namespace)::Q_QGS_resourceList::innerFunction()::holder>, alloc=2) at tools/qlist.cpp:148
      #6 0x00007ffff4bb1f90 in QListData::append (
      this=0x7ffff52358d0 <(anonymous namespace)::Q_QGS_resourceList::innerFunction()::holder>, n=1) at tools/qlist.cpp:176
      #7 0x00007ffff4bb1fd9 in QListData::append (
      this=0x7ffff52358d0 <(anonymous namespace)::Q_QGS_resourceList::innerFunction()::holder>) at tools/qlist.cpp:186
      #8 0x00007ffff4cba0a5 in QList<QResourceRoot*>::append (
      this=0x7ffff52358d0 <(anonymous namespace)::Q_QGS_resourceList::innerFunction()::holder>, t=@0x7fffffffd858: 0x726390) at ../../include/QtCore/../../src/corelib/tools/qlist.h:513
      #9 0x00007ffff4cb6ded in qRegisterResourceData (version=1,
      tree=0x7ffff4f355a0 <qt_resource_struct> "",
      name=0x7ffff4f35540 <qt_resource_name> "", data=0x7ffff4ef7ea0 <qt_resource_data> "")
      at io/qresource.cpp:846
      #10 0x00007ffff4e238f3 in qInitResources_mimetypes ()
      at .rcc/debug-shared/qrc_mimetypes.cpp:15784
      #11 0x00007ffff4e2390b in (anonymous namespace)::qInitResources_mimetypes_ctor_class_::qInitResources_mimetypes_ctor_class_ (
      this=0x7ffff52366a8 <(anonymous namespace)::qInitResources_mimetypes_ctor_instance_>)
      at .rcc/debug-shared/qrc_mimetypes.cpp:15788
      #12 0x00007ffff4e2397e in _static_initialization_and_destruction_0 (_initialize_p=1,
      __priority=65535) at .rcc/debug-shared/qrc_mimetypes.cpp:15788
      #13 0x00007ffff4e239bc in GLOBAL_sub_I_qrc_mimetypes.cpp(void) ()
      at .rcc/debug-shared/qrc_mimetypes.cpp:15797
      #14 0x0000003bc920e72f in call_init (l=<optimized out>, argc=1, argv=0x7fffffffd988,
      env=0x7fffffffd998) at dl-init.c:85
      #15 0x0000003bc920e81e in _dl_init (main_map=0x3bc94231a8, argc=1, argv=0x7fffffffd988,
      env=0x7fffffffd998) at dl-init.c:134
      #16 0x0000003bc9200bda in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
      #17 0x0000000000000001 in ?? ()
      #18 0x00007fffffffdd6c in ?? ()
      #19 0x0000000000000000 in ?? ()
      (gdb)

      Let me know if there's additional information needed.

      Attachments

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

        Activity

          People

            hjk hjk
            dragor Lorne Sturtevant
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes