[Konversation-devel] [Bug 259951] New: crash when asking to use untrusted SSL certificate

Thiago Jung Bauermann thiago.bauermann at gmail.com
Wed Dec 15 13:59:23 CET 2010


https://bugs.kde.org/show_bug.cgi?id=259951

           Summary: crash when asking to use untrusted SSL certificate
           Product: konversation
           Version: 1.3.1
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: konversation-devel at kde.org
        ReportedBy: thiago.bauermann at gmail.com


Application: konversation (1.3.1)
KDE Platform Version: 4.5.4 (KDE 4.5.4)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
I connect to OFTC using SSL. The certificate is untrusted, so Konversation asks
whether I want to use it. I click on "Current session only". I noticed that
everytime I take a while (a few minutes) to answer that question, Konversation
crashes immediately. If I answer the question a few seconds after it shows up,
Konversation works as usual.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7827760 (LWP 30092))]

Thread 2 (Thread 0xb574eb70 (LWP 30093)):
#0  0x00c4ae36 in clock_gettime (clock_id=12906484, tp=0xb574df40) at
../sysdeps/unix/clock_gettime.c:100
#1  0x007b382b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x0088aa05 in QTimerInfoList::updateCurrentTime (this=0xb4e00a74) at
kernel/qeventdispatcher_unix.cpp:339
#4  0x0088aa4a in QTimerInfoList::timerWait (this=0xb4e00a74, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5  0x00888ac8 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0xb574e06c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00888b5d in timerSourcePrepare (source=0x0, timeout=0xc4eff4) at
kernel/qeventdispatcher_glib.cpp:169
#7  0x00cc9e6a in g_main_context_prepare (context=0x944b0b0,
priority=0xb574e0ec) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2469
#8  0x00cca279 in g_main_context_iterate (context=0x944b0b0, block=<value
optimized out>, dispatch=1, self=0xb4e00cf8) at
/build/buildd/glib2.0-2.26.0/glib/gmain.c:2760
#9  0x00cca848 in g_main_context_iteration (context=0x944b0b0, may_block=1) at
/build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#10 0x008888bf in QEventDispatcherGlib::processEvents (this=0x9471468,
flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x00858929 in QEventLoop::processEvents (this=0xb574e240, flags=) at
kernel/qeventloop.cpp:149
#12 0x00858daa in QEventLoop::exec (this=0xb574e240, flags=...) at
kernel/qeventloop.cpp:201
#13 0x00754e9e in QThread::exec (this=0x94717c8) at thread/qthread.cpp:490
#14 0x0083767b in QInotifyFileSystemWatcherEngine::run (this=0x94717c8) at
io/qfilesystemwatcher_inotify.cpp:248
#15 0x00758119 in QThreadPrivate::start (arg=0x94717c8) at
thread/qthread_unix.cpp:266
#16 0x00c19cc9 in start_thread (arg=0xb574eb70) at pthread_create.c:304
#17 0x0049d6be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7827760 (LWP 30092)):
[KCrash Handler]
#7  QSslSocketBackendPrivate::startHandshake (this=0x985cd88) at
ssl/qsslsocket_openssl.cpp:1178
#8  0x063f982d in QSslSocketBackendPrivate::transmit (this=0x985cd88) at
ssl/qsslsocket_openssl.cpp:927
#9  0x063ec388 in QSslSocketPrivate::_q_readyReadSlot (this=0x0) at
ssl/qsslsocket.cpp:2135
#10 0x063f2a36 in QSslSocket::qt_metacall (this=0x95d1238,
_c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfa88cac) at
.moc/release-shared/moc_qsslsocket.cpp:121
#11 0x0085fbea in QMetaObject::metacall (object=0x95d1238, cl=10018008, idx=39,
argv=0xbfa88cac) at kernel/qmetaobject.cpp:237
#12 0x008729cd in QMetaObject::activate (sender=0xa0aa860, m=0x98bf68,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#13 0x008c21e7 in QIODevice::readyRead (this=0xa0aa860) at
.moc/release-shared/moc_qiodevice.cpp:91
#14 0x063d28d2 in QAbstractSocketPrivate::canReadNotification (this=0xa253fb8)
at socket/qabstractsocket.cpp:639
#15 0x063becfb in QAbstractSocketEngine::readNotification (this=0xa11eb80) at
socket/qabstractsocketengine.cpp:154
#16 0x063c01f3 in QReadNotifier::event (this=0x9433468, e=0xbfa89164) at
socket/qnativesocketengine.cpp:1103
#17 0x0214651c in QApplicationPrivate::notify_helper (this=0x9217038,
receiver=0x9c55380, e=0xbfa89164) at kernel/qapplication.cpp:4396
#18 0x0214c58e in QApplication::notify (this=0xbfa894a4, receiver=0x9c55380,
e=0xbfa89164) at kernel/qapplication.cpp:3798
#19 0x05bde3da in KApplication::notify (this=0xbfa894a4, receiver=0x9c55380,
event=0xbfa89164) at ../../kdeui/kernel/kapplication.cpp:310
#20 0x00859e5b in QCoreApplication::notifyInternal (this=0xbfa894a4,
receiver=0x9c55380, event=0xbfa89164) at kernel/qcoreapplication.cpp:732
#21 0x00888c5a in sendEvent (source=0x921a908) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 socketNotifierSourceDispatch (source=0x921a908) at
kernel/qeventdispatcher_glib.cpp:110
#23 0x00cc6855 in g_main_dispatch (context=0x921a090) at
/build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#24 g_main_context_dispatch (context=0x921a090) at
/build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#25 0x00cca668 in g_main_context_iterate (context=0x921a090, block=<value
optimized out>, dispatch=1, self=0x9211a00) at
/build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#26 0x00cca848 in g_main_context_iteration (context=0x921a090, may_block=1) at
/build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#27 0x00888885 in QEventDispatcherGlib::processEvents (this=0x91efb58,
flags=...) at kernel/qeventdispatcher_glib.cpp:415
#28 0x02208125 in QGuiEventDispatcherGlib::processEvents (this=0x91efb58,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00858929 in QEventLoop::processEvents (this=0xbfa89404, flags=) at
kernel/qeventloop.cpp:149
#30 0x00858daa in QEventLoop::exec (this=0xbfa89404, flags=...) at
kernel/qeventloop.cpp:201
#31 0x0085d32f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#32 0x02145347 in QApplication::exec () at kernel/qapplication.cpp:3672
#33 0x080a87ca in _start ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list