Bug 335679 - kontact crashed after migrating password to kwallet
Summary: kontact crashed after migrating password to kwallet
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.13
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-02 05:32 UTC by Stanislav Piecka
Modified: 2016-09-25 16: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 Stanislav Piecka 2014-06-02 05:32:38 UTC
Application: kontact (4.13)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-27-generic i686
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

After OS restart, kontact started automatically and asked to migrate password to kwallet. After migrating confirmation kontact has started in 2 instances. After closing one of it's isntances (2nd one), crash appeared.

- Unusual behavior I noticed:

In same time network conenction had a problem with ethernet driver like this:

[   73.803272] ------------[ cut here ]------------
[   73.803292] WARNING: CPU: 1 PID: 0 at /build/buildd/linux-3.13.0/net/sched/sch_generic.c:264 dev_watchdog+0x1f4/0x200()
[   73.803295] NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out
[   73.803296] Modules linked in: nvram binfmt_misc ctr ccm rpcsec_gss_krb5 nfsv4 nfsd auth_rpcgss nfs_acl nfs lockd rfcomm bnep sunrpc fscache uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev hid_multitouch btusb intel_rapl x86_pkg_temp_thermal intel_powerclamp bluetooth coretemp arc4 kvm_intel kvm snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_intel iwlmvm snd_hda_codec crc32_pclmul aesni_intel aes_i586 snd_hwdep mac80211 snd_pcm snd_page_alloc xts snd_seq_midi lrw snd_seq_midi_event gf128mul snd_rawmidi dell_wmi ablk_helper snd_seq sparse_keymap parport_pc cryptd snd_seq_device iwlwifi dell_laptop snd_timer joydev serio_raw dcdbas snd cfg80211 soundcore ppdev lp mei_me rtsx_pci_ms parport mei memstick mac_hid intel_smartconnect lpc_ich hid_generic usbhid hid nouveau i915 rtsx_pci_sdmmc mxm_wmi psmouse ttm i2c_algo_bit drm_kms_helper ahci drm libahci r8169 rtsx_pci mii wmi video
[   73.803387] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.13.0-27-generic #50-Ubuntu
[   73.803390] Hardware name: Dell Inc.          Inspiron 7737/0YHYKX, BIOS A07 01/21/2014
[   73.803391]  00000000 00000000 f7553ec0 c164edf3 f7553f00 f7553ef0 c10567ee c18c5f18
[   73.803399]  f7553f1c 00000000 c18c5f54 00000108 c158d4d4 c158d4d4 00000000 f75c6000
[   73.803407]  ffffffb2 f7553f08 c1056843 00000009 f7553f00 c18c5f18 f7553f1c f7553f40
[   73.803415] Call Trace:
[   73.803422]  [<c164edf3>] dump_stack+0x41/0x52
[   73.803429]  [<c10567ee>] warn_slowpath_common+0x7e/0xa0
[   73.803432]  [<c158d4d4>] ? dev_watchdog+0x1f4/0x200
[   73.803435]  [<c158d4d4>] ? dev_watchdog+0x1f4/0x200
[   73.803438]  [<c1056843>] warn_slowpath_fmt+0x33/0x40
[   73.803441]  [<c158d4d4>] dev_watchdog+0x1f4/0x200
[   73.803448]  [<c1061cd0>] call_timer_fn+0x30/0xf0
[   73.803452]  [<c1061f7f>] ? cascade+0x5f/0x80
[   73.803454]  [<c158d2e0>] ? dev_graft_qdisc+0x70/0x70
[   73.803458]  [<c1062cc4>] run_timer_softirq+0x174/0x250
[   73.803460]  [<c158d2e0>] ? dev_graft_qdisc+0x70/0x70
[   73.803463]  [<c105b478>] __do_softirq+0xc8/0x220
[   73.803466]  [<c105b3b0>] ? cpu_callback+0x160/0x160
[   73.803467]  <IRQ>  [<c105b885>] ? irq_exit+0x95/0xa0
[   73.803475]  [<c165d898>] ? smp_apic_timer_interrupt+0x38/0x50
[   73.803479]  [<c16562ec>] ? apic_timer_interrupt+0x34/0x3c
[   73.803482]  [<c152d33e>] ? cpuidle_enter_state+0x3e/0xd0
[   73.803485]  [<c152d465>] ? cpuidle_idle_call+0x95/0x1c0
[   73.803490]  [<c10174dd>] ? arch_cpu_idle+0xd/0x30
[   73.803496]  [<c10a5399>] ? cpu_startup_entry+0x1c9/0x210
[   73.803500]  [<c103a2a3>] ? setup_APIC_timer+0xe3/0x130
[   73.803503]  [<c10388a8>] ? start_secondary+0x208/0x2d0
[   73.803506] ---[ end trace 172fa5f5edf1ae5a ]---
[   73.853426] r8169 0000:03:00.1 eth0: link up

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb13b1740 (LWP 2172))]

Thread 5 (Thread 0xae8c8b40 (LWP 2181)):
#0  0xb76eb424 in __kernel_vsyscall ()
#1  0xb3165d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb60708ec in __pthread_cond_wait (cond=0xb57bfcb0, mutex=0xb57bfc98) at forward.c:149
#3  0xb4f479ac in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4f479ff in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb3161f70 in start_thread (arg=0xae8c8b40) at pthread_create.c:312
#6  0xb606370e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xadf9fb40 (LWP 2204)):
#0  0xb76eb424 in __kernel_vsyscall ()
#1  0xb3165d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb60708ec in __pthread_cond_wait (cond=0xae00d7dc, mutex=0xae00d7c4) at forward.c:149
#3  0xb4f769f3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4c52574 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb4f5d7c6 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb4f76369 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb3161f70 in start_thread (arg=0xadf9fb40) at pthread_create.c:312
#8  0xb606370e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xab610b40 (LWP 2235)):
#0  0xb76eb424 in __kernel_vsyscall ()
#1  0xb6071392 in __GI___clock_gettime (clock_id=1, tp=0xab610078) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb62d18cc in do_gettime (frac=0xab610070, sec=0xab610068) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb63b9f31 in QTimerInfoList::updateCurrentTime (this=this@entry=0xaad028e4) at kernel/qeventdispatcher_unix.cpp:354
#5  0xb63b8cbf in timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:157
#6  0xb307bdff in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb307c37a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb307c528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb63b895f in QEventDispatcherGlib::processEvents (this=0xaad00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#10 0xb6387823 in QEventLoop::processEvents (this=this@entry=0xab610288, flags=...) at kernel/qeventloop.cpp:149
#11 0xb6387b49 in QEventLoop::exec (this=this@entry=0xab610288, flags=...) at kernel/qeventloop.cpp:204
#12 0xb627423d in QThread::exec (this=this@entry=0x8fd63f8) at thread/qthread.cpp:537
#13 0xb627438b in QThread::run (this=0x8fd63f8) at thread/qthread.cpp:604
#14 0xb6276b6f in QThreadPrivate::start (arg=0x8fd63f8) at thread/qthread_unix.cpp:349
#15 0xb3161f70 in start_thread (arg=0xab610b40) at pthread_create.c:312
#16 0xb606370e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xa9daeb40 (LWP 2376)):
#0  0xb316418a in __GI___pthread_mutex_lock (mutex=0xa9400558) at ../nptl/pthread_mutex_lock.c:125
#1  0xb6070af4 in pthread_mutex_lock (mutex=0xa9400558) at forward.c:192
#2  0xb30c1100 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb307b9bd in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb307c2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb307c528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb63b895f in QEventDispatcherGlib::processEvents (this=0xa9400468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb6387823 in QEventLoop::processEvents (this=this@entry=0xa9dae258, flags=...) at kernel/qeventloop.cpp:149
#8  0xb6387b49 in QEventLoop::exec (this=this@entry=0xa9dae258, flags=...) at kernel/qeventloop.cpp:204
#9  0xb627423d in QThread::exec (this=this@entry=0x98f8e90) at thread/qthread.cpp:537
#10 0xb6367c44 in QInotifyFileSystemWatcherEngine::run (this=0x98f8e90) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb6276b6f in QThreadPrivate::start (arg=0x98f8e90) at thread/qthread_unix.cpp:349
#12 0xb3161f70 in start_thread (arg=0xa9daeb40) at pthread_create.c:312
#13 0xb606370e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb13b1740 (LWP 2172)):
[KCrash Handler]
#7  size (this=<error reading variable: Cannot access memory at address 0x14>) at /usr/include/qt4/QtCore/qlist.h:98
#8  count (this=<error reading variable: Cannot access memory at address 0x14>) at /usr/include/qt4/QtCore/qlist.h:280
#9  size (this=<error reading variable: Cannot access memory at address 0x14>) at ../../kmail/undostack.h:52
#10 KMMainWidget::updateMessageActionsDelayed (this=0xa6ba178) at ../../kmail/kmmainwidget.cpp:3979
#11 0xac0e3a39 in KMMainWidget::updateMessageActions (this=this@entry=0xa6ba178, fast=fast@entry=false) at ../../kmail/kmmainwidget.cpp:3809
#12 0xac0e47d9 in KMMainWidget::initializeFilterActions (this=0xa6ba178) at ../../kmail/kmmainwidget.cpp:4317
#13 0xac9f4519 in KMailPart::guiActivateEvent (this=0x9133358, e=0xbfa5e8fc) at ../../kmail/kmail_part.cpp:159
#14 0xb5f447fc in KParts::Part::customEvent (this=0x9133358, ev=0xbfa5e8fc) at ../../kparts/part.cpp:319
#15 0xb63a2762 in QObject::event (this=0x9133358, e=0xbfa5e8fc) at kernel/qobject.cpp:1225
#16 0xb68e47f4 in QApplicationPrivate::notify_helper (this=0x8e273d8, receiver=0x9133358, e=0xbfa5e8fc) at kernel/qapplication.cpp:4567
#17 0xb68eb2d3 in QApplication::notify (this=0xbfa5f158, receiver=receiver@entry=0x9133358, e=e@entry=0xbfa5e8fc) at kernel/qapplication.cpp:4353
#18 0xb74340a4 in KApplication::notify (this=0xbfa5f158, receiver=0x9133358, event=0xbfa5e8fc) at ../../kdeui/kernel/kapplication.cpp:311
#19 0xb6388e4a in QCoreApplication::notifyInternal (this=0xbfa5f158, receiver=0x9133358, event=event@entry=0xbfa5e8fc) at kernel/qcoreapplication.cpp:953
#20 0xb5f501e0 in sendEvent (event=0xbfa5e8fc, receiver=<optimized out>) at /usr/include/qt4/QtCore/qcoreapplication.h:231
#21 KParts::MainWindow::createGUI (this=this@entry=0x8f17090, part=part@entry=0x0) at ../../kparts/mainwindow.cpp:101
#22 0xb76880eb in Kontact::MainWindow::~MainWindow (this=this@entry=0x8f17090, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:278
#23 0xb76882bc in Kontact::MainWindow::~MainWindow (this=0x8f17090, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#24 0xb639c553 in qDeleteInEventHandler (o=o@entry=0x8f17090) at kernel/qobject.cpp:4280
#25 0xb63a2720 in QObject::event (this=0x8f17090, e=0x913cb40) at kernel/qobject.cpp:1175
#26 0xb693e452 in QWidget::event (this=0x8f17090, event=event@entry=0x913cb40) at kernel/qwidget.cpp:8846
#27 0xb6d6054f in QMainWindow::event (this=this@entry=0x8f17090, event=event@entry=0x913cb40) at widgets/qmainwindow.cpp:1478
#28 0xb7502795 in KMainWindow::event (this=this@entry=0x8f17090, ev=ev@entry=0x913cb40) at ../../kdeui/widgets/kmainwindow.cpp:1084
#29 0xb75444e6 in KXmlGuiWindow::event (this=0x8f17090, ev=0x913cb40) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#30 0xb68e47f4 in QApplicationPrivate::notify_helper (this=0x8e273d8, receiver=0x8f17090, e=0x913cb40) at kernel/qapplication.cpp:4567
#31 0xb68eb2d3 in QApplication::notify (this=0xbfa5f158, receiver=receiver@entry=0x8f17090, e=e@entry=0x913cb40) at kernel/qapplication.cpp:4353
#32 0xb74340a4 in KApplication::notify (this=0xbfa5f158, receiver=0x8f17090, event=0x913cb40) at ../../kdeui/kernel/kapplication.cpp:311
#33 0xb6388e4a in QCoreApplication::notifyInternal (this=0xbfa5f158, receiver=receiver@entry=0x8f17090, event=event@entry=0x913cb40) at kernel/qcoreapplication.cpp:953
#34 0xb638c70d in sendEvent (event=0x913cb40, receiver=0x8f17090) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8dfa010) at kernel/qcoreapplication.cpp:1577
#36 0xb638cc1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#37 0xb63b923e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#38 postEventSourceDispatch (s=0x8e28b90) at kernel/qeventdispatcher_glib.cpp:287
#39 0xb307c1e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb307c468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb307c528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb63b893b in QEventDispatcherGlib::processEvents (this=this@entry=0x8e22a80, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#43 0xb69995de in QGuiEventDispatcherGlib::processEvents (this=0x8e22a80, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb6387823 in QEventLoop::processEvents (this=this@entry=0xbfa5f0a8, flags=...) at kernel/qeventloop.cpp:149
#45 0xb6387b49 in QEventLoop::exec (this=this@entry=0xbfa5f0a8, flags=...) at kernel/qeventloop.cpp:204
#46 0xb638d8fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#47 0xb68e2a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#48 0x0804ab4c in main (argc=3, argv=0xbfa5f234) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 323565.

Reported using DrKonqi
Comment 1 Laurent Montel 2014-06-11 05:52:48 UTC
Reproductible ?
Comment 2 Stanislav Piecka 2014-06-11 14:00:26 UTC
Can not reproduce :-(. When trying to repeat, I've got crash when "kontact" has been running and "kmail" was started into it. Normally only one instance is running, when second is (do not know why) started I get crash. Have no logs - sorry.
Comment 3 Denis Kurz 2016-09-24 19:34:23 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.