← Back to team overview

qutimdevelop team mailing list archive

[Bug 706438] Re: SegFault while opening main settings on jabber account

 

** Changed in: qutim
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of QutIM
Developers, which is subscribed to qutim.
https://bugs.launchpad.net/bugs/706438

Title:
  SegFault while opening main settings on jabber account

Status in Multiplatform instant messenger:
  Fix Released

Bug description:
  I have problems with connecting to jabber account, so i wanted to see the settings, but program crashes when i try to open Main Settings tab.
  I have just built a qutim from git repository. And use a native jabber plugin, not a libpurple one.
  gdb qutim
  GNU gdb (GDB) 7.2-ubuntu
  Copyright (C) 2010 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "x86_64-linux-gnu".
  For bug reporting instructions, please see:
  <http://www.gnu.org/software/gdb/bugs/>...
  Reading symbols from /usr/local/bin/qutim...(no debugging symbols found)...done.
  (gdb) run
  Starting program: /usr/local/bin/qutim 
  [Thread debugging using libthread_db enabled]
  [New Thread 0x7fffefd1e700 (LWP 6105)]
  ("/home/snacho/.icons", "/usr/share/gnome/icons", "/usr/local/share/icons", "/usr/share/icons", ":/icons") 
  [New Thread 0x7fffdf2d3700 (LWP 6116)]
  [02:11:23] virtual void Antispam::AntispamPlugin::init() 
  [02:11:23] virtual void ConnectionManager::ConnectionManager::init() 
  DPlugin::DPlugin()
  virtual void DPlugin::init()
  Jabber::JPlugin::JPlugin()
  virtual void Jabber::JPlugin::init()
  [02:11:24] virtual void Core::KineticPopups::KineticPopupsPlugin::init() 
  [02:11:24] virtual void Logger::LoggerPlugin::init() 
  [02:11:24] virtual void MassMessaging::MassMessaging::init() 
  MrimPlugin::MrimPlugin()
  [New Thread 0x7fffd5337700 (LWP 6132)]
  [02:11:26] new_list 
  [quetzal/prefs]: Reading /tmp/purple/476707713/prefs.xml
  [quetzal/prefs]: /plugins/gtk/libnotify/blocked_nicks changed, scheduling save.
  [quetzal/prefs]: /pidgin/plugins/loaded changed, scheduling save.
  [quetzal/prefs]: Finished reading /tmp/purple/476707713/prefs.xml
  [quetzal/prefs]: purple_prefs_get_path_list: Unknown pref /dev/null
  [quetzal/pounce]: Error reading pounces: Failed to open file '/tmp/purple/476707713/pounces.xml': No such file or directory
  Protocol: AIM
  Protocol: Bonjour
  Protocol: Facebook
  Protocol: Gadu-Gadu
  Protocol: GroupWise
  Protocol: ICQ
  Protocol: IRC
  Protocol: MSN
  Protocol: MXit
  Protocol: MySpaceIM
  Protocol: QQ
  Protocol: SILC
  Protocol: SIMPLE
  Protocol: Sametime
  Protocol: XMPP
  Protocol: Yahoo
  Protocol: Yahoo JAPAN
  Protocol: Zephyr
  [02:11:27] virtual void UnreadMessagesKeeper::UnreadMessagesKeeper::init() 
  [02:11:27] virtual void UrlPreview::UrlPreviewPlugin::init() 
  [02:11:27] virtual void VkontaktePlugin::init() 
  [02:11:27] virtual void Vkontakte::VWallManager::init() 
  [02:11:27] virtual void Vkontakte::VPhotoAlbumPlugin::init() 
  [02:11:27] virtual void YandexNarodPlugin::init() 
  !!!!!!! 'gnome' '0x7fffd6e1f6f7' 'Mint-X'
  [02:11:28] reload settings 
  QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
  [02:11:28] Error :  No word lists can be found for the language "". 
  Inited Services QSet("AddContact", "Popup", "SpellChecker", "ContactDelegate", "ActionBoxModule", "TrayIcon", "MetaContactManager", "ChatForm", "ChatLayer", "SearchForm", "FileTransferManager", "ContactModel", "JoinGroupChat", "SettingsLayer", "ContactList", "RosterStorage", "ChatViewFactory", "Idle", "AuthorizationService", "SearchLayer", "PopupWidget", "AutoAway", "DataFormsBackend", "IconLoader", "ContactInfo", "Sound") 
  Startup: Core::ChatSpellChecker
  Startup: Core::EmoticonsSettings
  Startup: Core::LocalizationModule
  Startup: Core::NotificationsSettings
  Startup: Core::ProxySettings
  Startup: Core::ServiceChooser
  Startup: Core::ShortcutSettings
  Startup: Core::SoundThemeSettings
  [02:11:28] "simple" () 
  [02:11:28] "zephyr" () 
  [02:11:28] "gadu-gadu" () 
  [02:11:28] "sametime" () 
  [02:11:28] "yahoo" () 
  [02:11:28] "yahoo japan" () 
  [02:11:28] "bonjour" () 
  [02:11:29] The group "" has been added 
  [02:11:29] The group "Friends" has been added 
  [02:11:29] The group "Buddies" has been added 
  [02:11:29] The group "BFriends" has been added 
  [02:11:29] The group "General" has been added 
  [02:11:29] The group "SPBSU" has been added 
  [02:11:29] The group "g" has been added 
  [02:11:29] The group "Lees-BBS" has been added 
  [02:11:29] The group "Internet" has been added 
  [02:11:29] The group "MIPT" has been added 
  [02:11:29] "191437926" has been added to visible list 
  [02:11:29] "308924422" has been added to visible list 
  [02:11:29] "422067817" has been added to visible list 
  [02:11:29] "352865751" has been added to visible list 
  [02:11:29] "92604" has been added to visible list 
  [02:11:29] "329643" has been added to visible list 
  [02:11:29] "144144" has been added to visible list 
  [02:11:29] "101001111" has been added to visible list 
  [02:11:29] "396393" has been added to visible list 
  [02:11:29] BuddyPicture: QVariant(QString, "^_^") does not have avatar 
  [02:11:29] BuddyPicture: QVariant(QString, "an1idot") does not have avatar 
  [02:11:29] BuddyPicture: QVariant(QString, "Snacho") does not have avatar 
  [02:11:29] BuddyPicture: QVariant(QString, "BVV") does not have avatar 
  [02:11:29] BuddyPicture: QVariant(QString, "Troosh") has avatar and it is already in cache: "ea086240abd5763c807347c7b25f25da" 
  [02:11:29] BuddyPicture: QVariant(QString, "=dima=") has avatar and it is already in cache: "98468d604e7a43cb0becae6a325755d6" 
  [02:11:29] BuddyPicture: QVariant(QString, "Lockywolf") does not have avatar 
  [02:11:29] BuddyPicture: QVariant(QString, "pampej") has avatar and it is already in cache: "e305dbd85215969405a1c95428ff49df" 
  [02:11:29] BuddyPicture: QVariant(QString, "[disak]") has avatar and it is already in cache: "b4325c25343d411372909dc0e73a7173" 
  [02:11:29] BuddyPicture: QVariant(QString, "GrinGoO") does not have avatar 
  [02:11:29] BuddyPicture: QVariant(QString, "Matrix") does not have avatar 
  [02:11:29] "mxit" () 
  [02:11:29] "myspaceim" () 
  [02:11:29] "aim" () 
  [02:11:29] "silc" () 
  virtual void MrimProtocol::loadAccounts() () 
  ("random", "md5", "sha1", "keystorelist", "sasl", "sha0", "ripemd160", "md2", "md4", "sha224", "sha256", "sha384", "sha512", "hmac(md5)", "hmac(sha1)", "hmac(sha224)", "hmac(sha256)", "hmac(sha384)", "hmac(sha512)", "hmac(ripemd160)", "aes128-ecb", "aes128-cfb", "aes128-cbc", "aes128-cbc-pkcs7", "aes128-ofb", "aes192-ecb", "aes192-cfb", "aes192-cbc", "aes192-cbc-pkcs7", "aes192-ofb", "aes256-ecb", "aes256-cbc", "aes256-cbc-pkcs7", "aes256-cfb", "aes256-ofb", "blowfish-ecb", "blowfish-cbc-pkcs7", "blowfish-cbc", "blowfish-cfb", "blowfish-ofb", "tripledes-ecb", "tripledes-cbc", "des-ecb", "des-ecb-pkcs7", "des-cbc", "des-cbc-pkcs7", "des-cfb", "des-ofb", "cast5-ecb", "cast5-cbc", "cast5-cbc-pkcs7", "cast5-cfb", "cast5-ofb", "pbkdf1(md2)", "pbkdf1(sha1)", "pkey", "dlgroup", "rsa", "dsa", "dh", "cert", "csr", "crl", "certcollection", "pkcs12", "tls", "cms") 
  void Jabber::JAccountPrivate::_q_on_module_loaded(int) 0 1 QSignalMapper(0xea5fd8) 
  Jabber::XmlConsole::XmlConsole(QWidget*)
  virtual void Jabber::XmlConsole::init(qutim_sdk_0_3::Account*, const Jabber::JabberParams&)
  void jreen::PubSub::Manager::addEntityType(int) 1 http://jabber.org/protocol/mood
  void jreen::PubSub::Manager::addEntityType(int) 2 http://jabber.org/protocol/tune
  [02:11:29] "msn" () 
  [02:11:29] "qq" () 
  [02:11:29] "facebook" () 
  [02:11:29] "groupwise" () 
  0 78 Core::AccountCreator
  1 78 addcontactdlgPlugin
  2 78 Core::AdiumChat::ChatLayerPlugin
  3 78 adiumsrviconsPlugin
  4 78 AesCrypto::AesCryptoModule
  5 78 AntiBossPlugin
  6 78 Antispam::AntispamPlugin
  7 78 ASpellPlugin
  8 78 Core::AuthDialogPlugin
  9 78 AWNPlugin
  10 78 chatspellcheckerPlugin
  11 78 ClConfPlugin
  QAbstractSocket::HostLookupState 
  12 78 ConnectionManager::ConnectionManager
  13 78 contactinfoPlugin
  14 78 dataformsbackendPlugin
  15 78 DBusPlugin
  16 78 DPlugin
  17 78 EmoEditPlugin
  18 78 emoticonssettingsPlugin
  19 78 filetransferPlugin
  20 78 FloatiesPlugin
  21 78 HistoryManagerPlugin
  22 78 idledetectorPlugin
  23 78 idlestatuschangerPlugin
  [Indicator] Plugin load 
  24 78 IndicatorPlugin
  25 78 qutim_sdk_0_3::irc::IrcPlugin
  26 78 Jabber::JPlugin
  27 78 joingroupchatdlgPlugin
  28 78 jsonconfigPlugin
  29 78 jsonhistoryPlugin
  30 78 Core::KineticPopups::KineticPopupsPlugin
  31 78 kopeteemoticonsbackendPlugin
  32 78 Core::LocalizationPlugin
  [New Thread 0x7fffc42b8700 (LWP 6180)]
  [New Thread 0x7fffc34a1700 (LWP 6185)]

  Program received signal SIGSEGV, Segmentation fault.
  0x00007ffff5417beb in memcpy () from /lib/libc.so.6
  (gdb) where
  #0  0x00007ffff5417beb in memcpy () from /lib/libc.so.6
  #1  0x00007ffff62ea3ac in QString::realloc(int) () from /usr/lib/libQtCore.so.4
  #2  0x00007ffff62ea965 in QString::resize(int) () from /usr/lib/libQtCore.so.4
  #3  0x00007ffff62eaa19 in QString::fill(QChar, int) () from /usr/lib/libQtCore.so.4
  #4  0x00007ffff722faa4 in QLineControl::updateDisplayText(bool) () from /usr/lib/libQtGui.so.4
  #5  0x00007ffff7231b0a in QLineControl::finishChange(int, bool, bool) () from /usr/lib/libQtGui.so.4
  #6  0x00007ffff7231e6a in QLineControl::internalSetText(QString const&, int, bool) () from /usr/lib/libQtGui.so.4
  #7  0x00007fffdb0a8a9b in Jabber::JMainSettings::loadImpl() () from /usr/local/lib/qutim/plugins/libjabber.so
  #8  0x00007ffff5f590e3 in qutim_sdk_0_3::SettingsWidget::load() () from /usr/local/lib/libqutim.so
  #9  0x00007fffc6ab123b in Core::XSettingsWindow::onCurrentItemChanged(QListWidgetItem*) ()
     from /usr/local/lib/qutim/plugins/libxsettingsdialog.so
  #10 0x00007fffc6ab861d in Core::XSettingsWindow::qt_metacall(QMetaObject::Call, int, void**) ()
     from /usr/local/lib/qutim/plugins/libxsettingsdialog.so
  #11 0x00007ffff63afb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
     from /usr/lib/libQtCore.so.4
  #12 0x00007ffff73b373b in QListWidget::currentItemChanged(QListWidgetItem*, QListWidgetItem*) ()
     from /usr/lib/libQtGui.so.4
  #13 0x00007ffff73b51f0 in ?? () from /usr/lib/libQtGui.so.4
  #14 0x00007ffff73b7e2d in QListWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
  #15 0x00007ffff63afb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
     from /usr/lib/libQtCore.so.4
  #16 0x00007ffff739f61a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) ()
     from /usr/lib/libQtGui.so.4
  #17 0x00007ffff739f762 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
  #18 0x00007ffff734f144 in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
  #19 0x00007ffff6e4f035 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
  #20 0x00007ffff721a5e6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
  #21 0x00007ffff7353a8b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
  #22 0x00007ffff6397507 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
     from /usr/lib/libQtCore.so.4
  #23 0x00007ffff6df8fac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
  #24 0x00007ffff6dff30e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
  #25 0x00007ffff6397cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
  #26 0x00007ffff6dfddbe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
  #27 0x00007ffff6e81345 in ?? () from /usr/lib/libQtGui.so.4
  #28 0x00007ffff6e7fc5c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
  #29 0x00007ffff6eac0e2 in ?? () from /usr/lib/libQtGui.so.4
  #30 0x00007ffff4809342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
  #31 0x00007ffff480d2a8 in ?? () from /lib/libglib-2.0.so.0
  ---Type <return> to continue, or q <return> to quit---
  #32 0x00007ffff480d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
  #33 0x00007ffff63c4193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
     from /usr/lib/libQtCore.so.4
  #34 0x00007ffff6eaba4e in ?? () from /usr/lib/libQtGui.so.4
  #35 0x00007ffff6396a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
     from /usr/lib/libQtCore.so.4
  #36 0x00007ffff6396dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
  #37 0x00007ffff639aebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
  #38 0x0000000000427f0e in main ()
  (gdb) bt full
  #0  0x00007ffff5417beb in memcpy () from /lib/libc.so.6
  No symbol table info available.
  #1  0x00007ffff62ea3ac in QString::realloc(int) () from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #2  0x00007ffff62ea965 in QString::resize(int) () from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #3  0x00007ffff62eaa19 in QString::fill(QChar, int) () from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #4  0x00007ffff722faa4 in QLineControl::updateDisplayText(bool) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #5  0x00007ffff7231b0a in QLineControl::finishChange(int, bool, bool) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #6  0x00007ffff7231e6a in QLineControl::internalSetText(QString const&, int, bool) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #7  0x00007fffdb0a8a9b in Jabber::JMainSettings::loadImpl() () from /usr/local/lib/qutim/plugins/libjabber.so
  No symbol table info available.
  #8  0x00007ffff5f590e3 in qutim_sdk_0_3::SettingsWidget::load() () from /usr/local/lib/libqutim.so
  No symbol table info available.
  #9  0x00007fffc6ab123b in Core::XSettingsWindow::onCurrentItemChanged(QListWidgetItem*) ()
     from /usr/local/lib/qutim/plugins/libxsettingsdialog.so
  No symbol table info available.
  #10 0x00007fffc6ab861d in Core::XSettingsWindow::qt_metacall(QMetaObject::Call, int, void**) ()
     from /usr/local/lib/qutim/plugins/libxsettingsdialog.so
  No symbol table info available.
  #11 0x00007ffff63afb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
     from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #12 0x00007ffff73b373b in QListWidget::currentItemChanged(QListWidgetItem*, QListWidgetItem*) ()
     from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #13 0x00007ffff73b51f0 in ?? () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #14 0x00007ffff73b7e2d in QListWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #15 0x00007ffff63afb27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
     from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #16 0x00007ffff739f61a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) ()
     from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #17 0x00007ffff739f762 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::Sel---Type <return> to continue, or q <return> to quit---
  ectionFlag>) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #18 0x00007ffff734f144 in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #19 0x00007ffff6e4f035 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #20 0x00007ffff721a5e6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #21 0x00007ffff7353a8b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #22 0x00007ffff6397507 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
     from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #23 0x00007ffff6df8fac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #24 0x00007ffff6dff30e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #25 0x00007ffff6397cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #26 0x00007ffff6dfddbe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #27 0x00007ffff6e81345 in ?? () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #28 0x00007ffff6e7fc5c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #29 0x00007ffff6eac0e2 in ?? () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #30 0x00007ffff4809342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
  No symbol table info available.
  #31 0x00007ffff480d2a8 in ?? () from /lib/libglib-2.0.so.0
  No symbol table info available.
  #32 0x00007ffff480d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
  No symbol table info available.
  #33 0x00007ffff63c4193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
     from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #34 0x00007ffff6eaba4e in ?? () from /usr/lib/libQtGui.so.4
  No symbol table info available.
  #35 0x00007ffff6396a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
     from /usr/lib/libQtCore.so.4
  ---Type <return> to continue, or q <return> to quit---
  No symbol table info available.
  #36 0x00007ffff6396dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #37 0x00007ffff639aebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
  No symbol table info available.
  #38 0x0000000000427f0e in main ()
  No symbol table info available.
  (gdb)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qutim/+bug/706438/+subscriptions