Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-2718

DBUS timeout in QNetworkManagerEngine freezes QtCreator during start and some dialogs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.1.0
    • Qt Creator 2.1.0
    • All Other Issues
    • None
    • $ uname -a
      Linux 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux


      libdbus 1.3

    Description

      when I start Qt Creator 2.1 branch (v2.1.0-beta-99-g88ba37f) I get a freeze for a few seconds and also sometimes when I open a dialog in it.

      Backtrace:

      (gdb) bt
      #0 0x00007ffff5639f83 in *_GI__poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=25000) at ../sysdeps/unix/sysv/linux/poll.c:87
      #1 0x00007fffede26c60 in ?? () from /lib/libdbus-1.so.3
      #2 0x00007fffede2506d in ?? () from /lib/libdbus-1.so.3
      #3 0x00007fffede1159e in ?? () from /lib/libdbus-1.so.3
      #4 0x00007fffede138e0 in ?? () from /lib/libdbus-1.so.3
      #5 0x00007fffede12f56 in dbus_connection_send_with_reply_and_block () from /lib/libdbus-1.so.3
      #6 0x00007fffede0cb16 in ?? () from /lib/libdbus-1.so.3
      #7 0x00007fffede0ccd7 in dbus_bus_add_match () from /lib/libdbus-1.so.3
      #8 0x00007ffff510b34d in q_dbus_bus_add_match (this=0x7fffd40adc10, key=<value optimized out>, hook=...) at qdbus_symbols_p.h:90
      #9 QDBusConnectionPrivate::connectSignal (this=0x7fffd40adc10, key=<value optimized out>, hook=...) at qdbusintegrator.cpp:2056
      #10 0x00007ffff510c2fa in QDBusConnectionPrivate::connectSignal (this=<value optimized out>, service=<value optimized out>, path=<value optimized out>,
      interface=<value optimized out>, name=<value optimized out>, argumentMatch=empty QList<QString>, signature="", receiver=0x7fffd40a5f30,
      slot=0x7fffd8cb0ab0 "1slotPropertiesChanged( QMap<QString,QVariant>)") at qdbusintegrator.cpp:2034
      #11 0x00007ffff50f2b89 in QDBusConnection::connect (this=0x7fffd8ebb560, service=<value optimized out>, path=<value optimized out>,
      interface=<value optimized out>, name=<value optimized out>, argumentMatch=<value optimized out>, signature="", receiver=0x7fffd40a5f30,
      slot=0x7fffd8cb0ab0 "1slotPropertiesChanged( QMap<QString,QVariant>)") at qdbusconnection.cpp:642
      #12 0x00007ffff50f3781 in QDBusConnection::connect (this=0x7fffffffb210, service=Traceback (most recent call last):
      File "/home/milian/projects/compiled/kde4/share/apps/kdevgdb/printers/qt4.py", line 31, in to_string
      size = self.val['d']['size']
      RuntimeError: Cannot access memory at address 0x1
      , path=Traceback (most recent call last):
      File "/home/milian/projects/compiled/kde4/share/apps/kdevgdb/printers/qt4.py", line 31, in to_string
      size = self.val['d']['size']
      RuntimeError: Cannot access memory at address 0x61a8
      , interface=Traceback (most recent call last):
      File "/home/milian/projects/compiled/kde4/share/apps/kdevgdb/printers/qt4.py", line 31, in to_string
      size = self.val['d']['size']
      RuntimeError: Cannot access memory at address 0xffffffffffffffff
      , name=Traceback (most recent call last):
      File "/home/milian/projects/compiled/kde4/share/apps/kdevgdb/printers/qt4.py", line 31, in to_string
      size = self.val['d']['size']
      RuntimeError: Cannot access memory at address 0x0
      , receiver=<value optimized out>, slot=0x7fffd8cb0ab0 "1slotPropertiesChanged( QMap<QString,QVariant>)") at qdbusconnection.cpp:579
      #13 0x00007fffd8c9a2d9 in QNetworkManagerConnectionActive::setConnections (this=<value optimized out>) at qnetworkmanagerservice.cpp:908
      #14 0x00007fffd8caae18 in QNetworkManagerEngine::initialize (this=0x7fffd40abb10) at qnetworkmanagerengine.cpp:131
      #15 0x00007fffd8cafc0c in QNetworkManagerEngine::qt_metacall (this=0x7fffd40abb10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
      _a=0x7fffd4094bb0) at .moc/release-shared/moc_qnetworkmanagerengine.cpp:116
      #16 0x00007ffff642de7e in QObject::event (this=0x7fffd40abb10, e=0x7fffffffb210) at kernel/qobject.cpp:1219
      --Type <return> to continue, or q <return> to quit--
      #17 0x00007ffff6c486ec in QApplicationPrivate::notify_helper (this=0x615060, receiver=0x7fffd40abb10, e=0x7fffd40548d0) at kernel/qapplication.cpp:4396
      #18 0x00007ffff6c4e1dd in QApplication::notify (this=0x7fffffffd0a0, receiver=0x7fffd40abb10, e=0x7fffd40548d0) at kernel/qapplication.cpp:4277
      #19 0x00007ffff641c0ac in QCoreApplication::notifyInternal (this=0x7fffffffd0a0, receiver=0x7fffd40abb10, event=0x7fffd40548d0)
      at kernel/qcoreapplication.cpp:732
      #20 0x00007ffff641efd2 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x615220)
      at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
      #21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x615220) at kernel/qcoreapplication.cpp:1373
      #22 0x00007ffff6448643 in QCoreApplication::sendPostedEvents (s=0x6227f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
      #23 postEventSourceDispatch (s=0x6227f0) at kernel/qeventdispatcher_glib.cpp:277
      #24 0x00007ffff49f28c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
      #25 0x00007ffff49f6748 in ?? () from /lib/libglib-2.0.so.0
      #26 0x00007ffff49f68fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
      #27 0x00007ffff6448183 in QEventDispatcherGlib::processEvents (this=0x61edf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
      #28 0x00007ffff6cfa97e in QGuiEventDispatcherGlib::processEvents (this=0x7fffffffb210, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
      #29 0x00007ffff641f3df in QCoreApplication::processEvents (flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
      ) at kernel/qcoreapplication.cpp:924
      #30 0x00007fffe4154912 in ProjectExplorer::Internal::SessionFile::sessionLoadingProgress (this=0x7fffd40bfb10)
      at ../../../../src/plugins/projectexplorer/session.cpp:118
      #31 0x00007fffe415ee0c in ProjectExplorer::SessionManager::reportProjectLoadingProgress (this=0x959340)
      at ../../../../src/plugins/projectexplorer/session.cpp:1132
      #32 0x00007fffe40f5a89 in ProjectExplorer::ProjectExplorerPlugin::openProjects (this=0x818d70, fileNames=QList<QString> =

      {...}

      )
      at ../../../../src/plugins/projectexplorer/projectexplorer.cpp:1104
      #33 0x00007fffe4155689 in ProjectExplorer::Internal::SessionFile::load (this=0x7fffd40bfb10, fileName="/home/milian/.config/Nokia/qtcreator/default.qws")
      at ../../../../src/plugins/projectexplorer/session.cpp:179
      #34 0x00007fffe415a9d1 in ProjectExplorer::SessionManager::loadImpl (this=0x959340, fileName="/home/milian/.config/Nokia/qtcreator/default.qws")
      at ../../../../src/plugins/projectexplorer/session.cpp:641
      #35 0x00007fffe415eb47 in ProjectExplorer::SessionManager::loadSession (this=0x959340, session="default")
      at ../../../../src/plugins/projectexplorer/session.cpp:1104
      #36 0x00007fffe40f68d8 in ProjectExplorer::ProjectExplorerPlugin::restoreSession (this=0x818d70)
      at ../../../../src/plugins/projectexplorer/projectexplorer.cpp:1233
      #37 0x00007fffe421ad1e in ProjectExplorer::ProjectExplorerPlugin::qt_metacall (this=0x818d70, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0x7fffffffccc0)
      at .moc/debug-shared/moc_projectexplorer.cpp:245
      #38 0x00007ffff6433da7 in QMetaObject::activate (sender=0x72e700, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff)
      at kernel/qobject.cpp:3280
      #39 0x00007fffecdd6921 in Core::ICore::coreOpened (this=0x72e700) at .moc/debug-shared/moc_icore.cpp:109
      #40 0x00007fffecca9b91 in Core::Internal::MainWindow::extensionsInitialized (this=0x72b270) at ../../../../src/plugins/coreplugin/mainwindow.cpp:341
      #41 0x00007fffecd48402 in Core::Internal::CorePlugin::extensionsInitialized (this=0x6c94f0) at ../../../../src/plugins/coreplugin/coreplugin.cpp:98
      #42 0x00007ffff7bc3ac8 in ExtensionSystem::Internal::PluginSpecPrivate::initializeExtensions (this=0x6caf80)
      at ../../../../src/libs/extensionsystem/pluginspec.cpp:954
      --Type <return> to continue, or q <return> to quit--
      #43 0x00007ffff7bb8473 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin (this=0x683340, spec=0x683400,
      destState=ExtensionSystem::PluginSpec::Running) at ../../../../src/libs/extensionsystem/pluginmanager.cpp:892
      #44 0x00007ffff7bb74d0 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins (this=0x683340)
      at ../../../../src/libs/extensionsystem/pluginmanager.cpp:784
      #45 0x00007ffff7bb3a2a in ExtensionSystem::PluginManager::loadPlugins (this=0x7fffffffd080) at ../../../../src/libs/extensionsystem/pluginmanager.cpp:253
      #46 0x000000000040b6fb in main (argc=1, argv=0x7fffffffd878) at ../../../src/app/main.cpp:293
      (gdb) cont

      The guys in #qt-creator also asked for bearers:

      $ locate plugins/bearer
      /usr/lib/debug/usr/lib/qt4/plugins/bearer
      /usr/lib/debug/usr/lib/qt4/plugins/bearer/libqgenericbearer.so
      /usr/lib/debug/usr/lib/qt4/plugins/bearer/libqnmbearer.so
      /usr/lib/qt4/plugins/bearer
      /usr/lib/qt4/plugins/bearer/libqgenericbearer.so
      /usr/lib/qt4/plugins/bearer/libqnmbearer.so

      If I move the last two .so to a different dir, I doN#t get the freeze anymore

      Attachments

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

        Activity

          People

            dt Daniel Teske
            milianw Milian Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes