Bug 894247 - Lockup on connect with 1.7.0
Summary: Lockup on connect with 1.7.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: licq
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: François Cami
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-11 07:48 UTC by Yanko Kaneti
Modified: 2013-08-16 23:03 UTC (History)
1 user (show)

Fixed In Version: licq-1.7.1-4.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-13 10:27:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Yanko Kaneti 2013-01-11 07:48:40 UTC
Description of problem:
1.7.0 in rawhide locks up on first connect.

Version-Release number of selected component (if applicable):
licq-1.7.0-1.fc19.x86_64

How reproducible: Always


Steps to Reproduce:
1. Start licq (with configuration not to connect immediately.
2. From the bottom combo in the qt4 interface change to "Online"
3. Interface freezes...
  
Program received signal SIGINT, Interrupt.
0x00007ffff61523ed in poll () at ../sysdeps/unix/syscall-template.S:81
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
(gdb) thread apply all bt
Thread 6 (Thread 0x7fffe1953700 (LWP 12547)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000050a033 in LicqIcq::OscarServiceSendQueue_tep(void*) ()
#2  0x00007ffff7bc8d15 in start_thread (arg=0x7fffe1953700) at pthread_create.c:308
#3  0x00007ffff615bc4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fffe2154700 (LWP 12546)):
#0  0x00007ffff61541d3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000000000526c2c in LicqIcq::UpdateUsers_tep(void*) ()
#2  0x00007ffff7bc8d15 in start_thread (arg=0x7fffe2154700) at pthread_create.c:308
#3  0x00007ffff615bc4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fffe2955700 (LWP 12545)):
#0  0x00007ffff61541d3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000000000525861 in LicqIcq::Ping_tep(void*) ()
#2  0x00007ffff7bc8d15 in start_thread (arg=0x7fffe2955700) at pthread_create.c:308
#3  0x00007ffff615bc4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fffebc5a700 (LWP 12536)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000005507c5 in Licq::Condition::wait(Licq::Mutex&, unsigned int) ()
#2  0x0000000000550990 in Licq::ReadWriteMutex::lockRead() ()
#3  0x00000000004c2645 in LicqDaemon::UserManager::fetchUser(Licq::UserId const&, bool, bool, bool*) ()
#4  0x00000000004c2a06 in Licq::UserReadGuard::UserReadGuard(Licq::UserId const&, bool, bool*) ()
#5  0x00007fffeb0fdb55 in LicqQtGui::ContactUserData::update(unsigned long, int) () from /usr/lib64/licq/licq_qt4-gui.so
#6  0x00007fffeb0f72fe in LicqQtGui::ContactListModel::userUpdated(Licq::UserId const&, unsigned long, int) () from /usr/lib64/licq/licq_qt4-gui.so
#7  0x00007fffe92c5c9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#8  0x00007fffeb1d9264 in LicqQtGui::SignalManager::updatedUser(Licq::UserId const&, unsigned long, int, unsigned long) () from /usr/lib64/licq/licq_qt4-gui.so
#9  0x00007fffeb117158 in LicqQtGui::SignalManager::ProcessSignal(Licq::PluginSignal*) () from /usr/lib64/licq/licq_qt4-gui.so
#10 0x00007fffeb117462 in LicqQtGui::SignalManager::process() () from /usr/lib64/licq/licq_qt4-gui.so
#11 0x00007fffe92c5c9f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#12 0x00007fffe9310a3e in QSocketNotifier::activated(int) () from /lib64/libQtCore.so.4
#13 0x00007fffe92cd67b in QSocketNotifier::event(QEvent*) () from /lib64/libQtCore.so.4
#14 0x00007fffe9a1a3ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#15 0x00007fffe9a1e86a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#16 0x00007fffe92b086e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#17 0x00007fffe92de6b8 in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#18 0x00007fffe88382a5 in g_main_dispatch (context=0x7fffdc017470) at gmain.c:2784
#19 g_main_context_dispatch (context=context@entry=0x7fffdc017470) at gmain.c:3288
#20 0x00007fffe88385e8 in g_main_context_iterate (context=context@entry=0x7fffdc017470, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3359
#21 0x00007fffe88386a4 in g_main_context_iteration (context=0x7fffdc017470, may_block=1) at gmain.c:3420
#22 0x00007fffe92deeb6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#23 0x00007fffe9aba55e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#24 0x00007fffe92af5bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#25 0x00007fffe92af848 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#26 0x00007fffe92b4638 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#27 0x00007fffeb1092d0 in LicqQtGui::LicqGui::Run() () from /usr/lib64/licq/licq_qt4-gui.so
#28 0x00007fffeb1163ae in LicqQtGui::QtGuiPlugin::run() () from /usr/lib64/licq/licq_qt4-gui.so
#29 0x0000000000543fcc in Licq::Plugin::Private::startThreadEntry(void*) ()
#30 0x0000000000545054 in pluginThreadEntry(void*) ()
#31 0x00007ffff7bc8d15 in start_thread (arg=0x7fffebc5a700) at pthread_create.c:308
#32 0x00007ffff615bc4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fffec45b700 (LWP 12535)):
#0  0x00007ffff7bcf13d in write () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000000000542817 in Licq::PluginLogSink::Private::log(boost::shared_ptr<Licq::LogSink::Message const>) ()
#2  0x00000000005423df in Licq::PluginLogSink::log(boost::shared_ptr<Licq::LogSink::Message const>) ()
#3  0x0000000000541026 in LicqDaemon::LogDistributor::log(boost::shared_ptr<Licq::LogSink::Message const>) ()
#4  0x0000000000540345 in LicqDaemon::Log::log(Licq::Log::Level, std::string const&) ()
#5  0x000000000053fedb in Licq::Log::log(Licq::Log::Level, char const*, __va_list_tag*) ()
#6  0x00000000004710bf in Licq::Log::warning(char const*, ...) ()
#7  0x00000000004dad98 in LicqIcq::IcqProtocol::processIconHash(LicqIcq::User*, LicqIcq::Buffer&) ()
---Type <return> to continue, or q <return> to quit---
#8  0x00000000004dd48d in LicqIcq::IcqProtocol::ProcessBuddyFam(LicqIcq::Buffer&, unsigned short) ()
#9  0x00000000004f01be in LicqIcq::IcqProtocol::ProcessDataChannel(LicqIcq::Buffer&) ()
#10 0x00000000004f0388 in LicqIcq::IcqProtocol::ProcessSrvPacket(LicqIcq::Buffer&) ()
#11 0x0000000000525f05 in LicqIcq::MonitorSockets_func() ()
#12 0x0000000000505ddb in LicqIcq::IcqProtocol::start() ()
#13 0x000000000050869e in LicqIcq::IcqProtocolPlugin::run() ()
#14 0x0000000000543fcc in Licq::Plugin::Private::startThreadEntry(void*) ()
#15 0x0000000000545054 in pluginThreadEntry(void*) ()
#16 0x00007ffff7bc8d15 in start_thread (arg=0x7fffec45b700) at pthread_create.c:308
#17 0x00007ffff615bc4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffff7fb5840 (LWP 12531)):
#0  0x00007ffff61523ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000000000482331 in CLicq::Main() ()
#2  0x000000000046f4f0 in main ()

Comment 1 François Cami 2013-01-12 17:56:59 UTC
licq-1.7.0-1.fc18.x86_64 seems to work OK here, so I suspect the problem could be either rawhide or leftover configuration in .licq...

Could you please try to reproduce the problem with a new shell account (i.e. no ".licq" directory)?

Comment 2 François Cami 2013-01-12 21:03:57 UTC
Reproduced locally and upstreamed via IRC.
Cancelling NEEDINFO.

Comment 3 Fedora Update System 2013-01-12 21:58:55 UTC
licq-1.7.0-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/licq-1.7.0-4.fc18

Comment 4 François Cami 2013-01-12 22:00:25 UTC
Upstream provided two patches that might fix your issue.
I've pushed them and built licq-1.7.0-4 for fc18 and fc19.
Please test and report.

Comment 5 Yanko Kaneti 2013-01-13 09:55:51 UTC
The -4 build in rawhide doesn't lock up in the same circumstances so I'll assume its fixed. Thanks.

Comment 6 François Cami 2013-01-13 10:27:19 UTC
Thank you for reporting. Closing.

Comment 7 Fedora Update System 2013-06-02 18:34:27 UTC
licq-1.7.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/licq-1.7.1-1.fc18

Comment 8 Fedora Update System 2013-08-09 02:20:57 UTC
licq-1.7.1-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/licq-1.7.1-4.fc18

Comment 9 Fedora Update System 2013-08-16 23:03:49 UTC
licq-1.7.1-4.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.