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

Linux: Exit crash in statically linked applications (qdbus_unloadLibDBus)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.2.1
    • 5.3.0
    • D-Bus
    • None
    • Ubuntu 12.04.4 LTS, gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3, 64bit, KDE

    Description

      ./configure -confirm-license -opensource -debug -xcb -nomake tests -nomake examples -static
      

      Using some example (examples/widgets/mainwindows/mdi, tests/manual/dialogs)

      ASSERT: "lib == that" in file plugin/qlibrary.cpp, line 468
      Aborted (core dumped)
      
      
      Thread 1 (Thread 0x7ffff7fcc780 (LWP 15435)):
      #0  0x00007ffff37c9425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
              resultvar = 0
              pid = <optimized out>
              selftid = 15435
      #1  0x00007ffff37ccb8b in __GI_abort () at abort.c:91
              save_stage = 2
              act = {__sigaction_handler = {sa_handler = 0x7fffffffd950, sa_sigaction = 0x7fffffffd950}, sa_mask = {__val = {4271778, 140737278221384, 140737353961472, 140737488345456, 4271375, 140737282101632, 140737488345504, 4294967295, 13208071, 140737488345504, 0, 23828968, 0, 0, 0, 0}}, sa_flags = -136411276, sa_restorer = 0x7fff00000005}
              sigs = {__val = {32, 0 <repeats 15 times>}}
      #2  0x0000000000c98c22 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1298
      No locals.
      #3  0x0000000000c9677a in QMessageLogger::fatal (this=0x7fffffffdbc0, msg=0x10c3998 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:660
              message = {static null = {<No data fields>}, d = 0x1a19de0}
              ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffdba0, reg_save_area = 0x7fffffffdad0}}
      #4  0x0000000000c91a58 in qt_assert (assertion=0x1164e24 "lib == that", file=0x1164d49 "plugin/qlibrary.cpp", line=468) at global/qglobal.cpp:2124
              __PRETTY_FUNCTION__ = "void qt_assert(const char*, const char*, int)"
      #5  0x0000000000e3df6d in QLibraryStore::releaseLibrary (lib=0x174c5d0) at plugin/qlibrary.cpp:468
              locker = {val = 24098481}
              data = 0x18b2260
              that = 0x0
      #6  0x0000000000e3c18a in QLibraryPrivate::release (this=0x174c5d0) at plugin/qlibrary.cpp:542
      No locals.
      #7  0x0000000000e3d29a in QLibrary::~QLibrary (this=0x174b430, __in_chrg=<optimized out>) at plugin/qlibrary.cpp:862
      No locals.
      #8  0x0000000000e3d2fa in QLibrary::~QLibrary (this=0x174b430, __in_chrg=<optimized out>) at plugin/qlibrary.cpp:863
      No locals.
      #9  0x0000000000512b5c in qdbus_unloadLibDBus () at qdbus_symbols.cpp:69
      No locals.
      #10 0x0000000000512e6d in (anonymous namespace)::qdbus_unloadLibDBus_dtor_class_::~qdbus_unloadLibDBus_dtor_class_ (this=0x16f9110, __in_chrg=<optimized out>) at qdbus_symbols.cpp:149
      No locals.
      #11 0x00007ffff37ce901 in __run_exit_handlers (status=0, listp=0x7ffff3b4c688, run_list_atexit=true) at exit.c:78
              atfct = <optimized out>
              onfct = <optimized out>
              cxafct = <optimized out>
              f = <optimized out>
      #12 0x00007ffff37ce985 in __GI_exit (status=<optimized out>) at exit.c:100
      No locals.
      #13 0x00007ffff37b4774 in __libc_start_main (main=0x412a23 <main(int, char**)>, argc=1, ubp_av=0x7fffffffddf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdde8) at libc-start.c:258
              result = <optimized out>
              unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 2567583262688113953, 4269152, 140737488346608, 0, 0, -2567583263673322207, -2567608513583680223}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0xf99b70, 0x7fffffffddf8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 16358256}}}
              not_first_call = <optimized out>
      #14 0x0000000000412489 in _start ()
      No symbol table info available.
      

      Attachments

        Issue Links

          Activity

            People

              thiago Thiago Macieira
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: