Bug 278174 - crash when accessing IMAP with improper userID
Summary: crash when accessing IMAP with improper userID
Status: RESOLVED DUPLICATE of bug 265076
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.1.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 01:03 UTC by David Pyke
Modified: 2011-08-02 20:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Pyke 2011-07-21 01:03:20 UTC
Application: kontact (4.6.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.39.3 x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
opening kontact after a crash  The form of the userid had changed from username to user@domain.  This caused a repeated rejection.  Once the correct info was entered kmail crashes on re-opening for the first few times and then works.
- Custom settings of the application:

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc14b4bd7a0 (LWP 31922))]

Thread 3 (Thread 0x7fc144f5e700 (LWP 31923)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000035aad17832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x000000376ac06d8c in start_thread (arg=0x7fc144f5e700) at pthread_create.c:304
#3  0x000000376a4e604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc13eee0700 (LWP 31938)):
#0  0x000000376a4d8f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000036b1a43104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000036b1a43639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00000035a1186446 in QEventDispatcherGlib::processEvents (this=0x1b5db20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00000035a115a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000035a115aabc in QEventLoop::exec (this=0x7fc13eedfdb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000035a1071924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00000035a113cc2f in QInotifyFileSystemWatcherEngine::run (this=0x1e8b390) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00000035a1074175 in QThreadPrivate::start (arg=0x1e8b390) at thread/qthread_unix.cpp:320
#9  0x000000376ac06d8c in start_thread (arg=0x7fc13eee0700) at pthread_create.c:304
#10 0x000000376a4e604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc14b4bd7a0 (LWP 31922)):
[KCrash Handler]
#6  operator!= (this=<value optimized out>, akey=@0x7fff786f96e8) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#7  detach (this=<value optimized out>, akey=@0x7fff786f96e8) at /usr/include/qt4/QtCore/qmap.h:202
#8  QMap<KPIM::ProgressItem*, bool>::remove (this=<value optimized out>, akey=@0x7fff786f96e8) at /usr/include/qt4/QtCore/qmap.h:660
#9  0x00000037f687b01b in KPIM::ProgressItem::removeChild (this=0x2054190, kiddo=0x1e62200) at ../../libkdepim/progressmanager.cpp:73
#10 0x00000037f687b081 in KPIM::ProgressItem::setComplete (this=0x1e62200) at ../../libkdepim/progressmanager.cpp:58
#11 0x00000037f687c4ad in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x1e7fc20, instance=...) at ../../libkdepim/agentprogressmonitor.cpp:86
#12 0x00000037f687c58a in KPIM::AgentProgressMonitor::qt_metacall (this=0x1e84cc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff786f9820) at ./agentprogressmonitor.moc:78
#13 0x00000035a11705f8 in QMetaObject::activate (sender=0x1695c50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff786f9820) at kernel/qobject.cpp:3287
#14 0x00000037f4e903e5 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at ./agentmanager.moc:177
#15 0x00000037f4e94b3f in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0x190a760, identifier=<value optimized out>, status=0, msg=...) at ../../akonadi/agentmanager.cpp:129
#16 0x00000037f4e9701e in Akonadi::AgentManager::qt_metacall (this=0x1695c50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff786f9990) at ./agentmanager.moc:131
#17 0x00000035a11705f8 in QMetaObject::activate (sender=0x184fdb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff786f9990) at kernel/qobject.cpp:3287
#18 0x00000037f4fb42fb in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=<value optimized out>) at agentmanagerinterface.moc:285
#19 0x00000037f4fb4791 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x184fdb0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff786fa260) at agentmanagerinterface.moc:167
#20 0x00000035a16209fa in QDBusConnectionPrivate::deliverCall (this=0x12aa260, object=0x184fdb0, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#21 0x00000035a162ae4f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#22 0x00000035a116f49a in QObject::event (this=0x184fdb0, e=<value optimized out>) at kernel/qobject.cpp:1226
#23 0x00000035a29b99f4 in QApplicationPrivate::notify_helper (this=0x12b6af0, receiver=0x184fdb0, e=0x252ced0) at kernel/qapplication.cpp:4462
#24 0x00000035a29be3ba in QApplication::notify (this=<value optimized out>, receiver=0x184fdb0, e=0x252ced0) at kernel/qapplication.cpp:4341
#25 0x00000035a383b866 in KApplication::notify (this=0x7fff786facb0, receiver=0x184fdb0, event=0x252ced0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00000035a115b49c in QCoreApplication::notifyInternal (this=0x7fff786facb0, receiver=0x184fdb0, event=0x252ced0) at kernel/qcoreapplication.cpp:731
#27 0x00000035a115ec25 in sendEvent (receiver=0x0, event_type=0, data=0x1262d40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1262d40) at kernel/qcoreapplication.cpp:1372
#29 0x00000035a1186253 in sendPostedEvents (s=0x12c6560) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=0x12c6560) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00000036b1a42bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00000036b1a433a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00000036b1a43639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00000035a11863ef in QEventDispatcherGlib::processEvents (this=0x1262520, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00000035a2a634de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00000035a115a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00000035a115aabc in QEventLoop::exec (this=0x7fff786fac40, flags=...) at kernel/qeventloop.cpp:201
#38 0x00000035a115eecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x0000000000403ff8 in main (argc=1, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 277751, bug 276587, bug 269123, bug 260792, bug 255190.

Reported using DrKonqi
Comment 1 Laurent Montel 2011-07-25 10:54:05 UTC
Update your kdepim to 4.7 or master.
I fixed bugs about it.
Reopen it if crash still here
thanks
Comment 2 Christophe Marin 2011-07-25 16:02:46 UTC
Laurent, should ffd41ec also be backported by distributions for their 4.7.0 or 2d9fa58 is enough ?
Comment 3 Laurent Montel 2011-07-25 16:06:56 UTC
2d9fa58 is enough for this crash
Comment 4 Christophe Marin 2011-08-02 20:31:27 UTC

*** This bug has been marked as a duplicate of bug 265076 ***