Crash when authenticating against a TLS-enabled jabber server with bad credentials

Bug #927268 reported by Leo Franchi on 2012-02-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jreen
Critical
Ruslan Nigmatullin

Bug Description

Entering invalid credentials to a jabber server that requires TLS leads to a crash.

virtual void XmppSipPlugin::connectPlugin()
Connecting to the Xmpp server... "<email address hidden>/tomahawk1871"
Object::connect: No such slot Tomahawk::Accounts::GoogleWrapperSip::onError(SocketError) in /home/leo/kde/src/tomahawk/src/accounts/xmpp/sip/xmppsip.cpp:174
-1
doLookup
QAbstractSocket::HostLookupState
"alt2.xmpp.l.google.com." 5222 20 0
"alt4.xmpp.l.google.com." 5222 20 0
"xmpp.l.google.com." 5222 5 0
"alt3.xmpp.l.google.com." 5222 20 0
"alt1.xmpp.l.google.com." 5222 20 0
use: "alt2.xmpp.l.google.com" 5222
QAbstractSocket::HostLookupState
QAbstractSocket::ConnectingState
QAbstractSocket::ConnectedState
virtual bool Jreen::TLSFeature::canParse(const QStringRef&, const QStringRef&, const QXmlStreamAttributes&) "starttls" "urn:ietf:params:xml:ns:xmpp-tls"
virtual bool Jreen::BindFeature::canParse(const QStringRef&, const QStringRef&, const QXmlStreamAttributes&)
virtual bool Jreen::SessionFeature::canParse(const QStringRef&, const QStringRef&, const QXmlStreamAttributes&)
virtual bool Jreen::TLSFeature::canParse(const QStringRef&, const QStringRef&, const QXmlStreamAttributes&) "mechanisms" "urn:ietf:params:xml:ns:xmpp-sasl"
virtual bool Jreen::TLSFeature::canParse(const QStringRef&, const QStringRef&, const QXmlStreamAttributes&) "mechanisms" "urn:ietf:params:xml:ns:xmpp-sasl"
virtual bool Jreen::BindFeature::canParse(const QStringRef&, const QStringRef&, const QXmlStreamAttributes&)
virtual bool Jreen::SessionFeature::canParse(const QStringRef&, const QStringRef&, const QXmlStreamAttributes&)
ASSERT: "!m_tls" in file /home/leo/kde/src/jreen/src/tlsfeature.cpp, line 52

Program received signal SIGABRT, Aborted.
0x00007fffef31c935 in raise () from /lib/libc.so.6
(gdb) cbt
Undefined command: "cbt". Try "help".
(gdb) bt
#0 0x00007fffef31c935 in raise () from /lib/libc.so.6
#1 0x00007fffef31ddab in abort () from /lib/libc.so.6
#2 0x00007ffff2720053 in qt_message_output (msgType=QtFatalMsg, buf=0x52d9138 "ASSERT: \"!m_tls\" in file /home/leo/kde/src/jreen/src/tlsfeature.cpp, line 52") at global/qglobal.cpp:2252
#3 0x00007ffff27201c6 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7ffff28e22e8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffffffa7f8) at global/qglobal.cpp:2298
#4 0x00007ffff2720956 in qFatal (msg=0x7ffff28e22e8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2481
#5 0x00007ffff271fc18 in qt_assert (assertion=0x7fffda63a9ac "!m_tls", file=0x7fffda63a978 "/home/leo/kde/src/jreen/src/tlsfeature.cpp", line=52) at global/qglobal.cpp:1999
#6 0x00007fffda5f182a in Jreen::TLSFeature::init() () from /home/leo/kde/lib/libjreen.so.1
#7 0x00007fffda5f1dc5 in Jreen::TLSFeature::activate() () from /home/leo/kde/lib/libjreen.so.1
#8 0x00007fffda5a1a20 in Jreen::Parser::activateFeature() () from /home/leo/kde/lib/libjreen.so.1
#9 0x00007fffda5a275c in Jreen::Parser::handleEndElement(QStringRef const&, QStringRef const&) () from /home/leo/kde/lib/libjreen.so.1
#10 0x00007fffda5a30e0 in Jreen::Parser::parseData() () from /home/leo/kde/lib/libjreen.so.1
#11 0x00007fffda5a2af7 in Jreen::Parser::appendData(QByteArray const&) () from /home/leo/kde/lib/libjreen.so.1
#12 0x00007fffda5f6d37 in Jreen::ClientPrivate::_q_new_data() () from /home/leo/kde/lib/libjreen.so.1
#13 0x00007fffda5f5f44 in Jreen::Client::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /home/leo/kde/lib/libjreen.so.1
#14 0x00007ffff287d19a in QMetaObject::activate (sender=0x16ecc70, m=0x7ffff2c0de80, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#15 0x00007ffff28db5cb in QIODevice::readyRead (this=0x16ecc70) at .moc/debug-shared/moc_qiodevice.cpp:105
#16 0x00007fffda5ffeb9 in Jreen::BufferedDataStream::incomingDataReady() () from /home/leo/kde/lib/libjreen.so.1
#17 0x00007fffda631256 in Jreen::DataStream::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /home/leo/kde/lib/libjreen.so.1
#18 0x00007ffff287d19a in QMetaObject::activate (sender=0x2ccc650, m=0x7ffff2c0de80, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00007ffff28db5cb in QIODevice::readyRead (this=0x2ccc650) at .moc/debug-shared/moc_qiodevice.cpp:105
#20 0x00007ffff28db469 in QIODevice::qt_static_metacall (_o=0x2ccc650, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffb090) at .moc/debug-shared/moc_qiodevice.cpp:54
#21 0x00007ffff287d19a in QMetaObject::activate (sender=0x46a7e00, m=0x7ffff2c0de80, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#22 0x00007ffff28db5cb in QIODevice::readyRead (this=0x46a7e00) at .moc/debug-shared/moc_qiodevice.cpp:105
#23 0x00007ffff2cfe893 in QAbstractSocketPrivate::canReadNotification (this=0x47d7f90) at socket/qabstractsocket.cpp:651
#24 0x00007ffff2d049aa in QAbstractSocketPrivate::readNotification (this=0x47d7f90) at socket/qabstractsocket_p.h:77
#25 0x00007ffff2cef55f in QAbstractSocketEngine::readNotification (this=0x570bbf0) at socket/qabstractsocketengine.cpp:168
#26 0x00007ffff2d0cd06 in QReadNotifier::event (this=0x5b77490, e=0x7fffffffb900) at socket/qnativesocketengine.cpp:1151
#27 0x00007ffff395181e in QApplicationPrivate::notify_helper (this=0x823120, receiver=0x5b77490, e=0x7fffffffb900) at kernel/qapplication.cpp:4550
#28 0x00007ffff394ee5a in QApplication::notify (this=0x7fffffffdaf0, receiver=0x5b77490, e=0x7fffffffb900) at kernel/qapplication.cpp:3932
#29 0x00007ffff285eeee in QCoreApplication::notifyInternal (this=0x7fffffffdaf0, receiver=0x5b77490, event=0x7fffffffb900) at kernel/qcoreapplication.cpp:876

Changed in jreen:
importance: Undecided → Critical
status: New → Confirmed
assignee: nobody → Ruslan Nigmatullin (euroelessar)
Changed in jreen:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers