Bug 318431

Summary: Konqueror crashes when deleting a calendar from google calendar settings.
Product: [Unmaintained] kdelibs Reporter: Paulo Fidalgo <paulo.fidalgo.pt>
Component: kdewebkitAssignee: webkit-devel
Status: RESOLVED UPSTREAM    
Severity: crash CC: adawit
Priority: NOR    
Version: 4.10.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paulo Fidalgo 2013-04-16 08:52:20 UTC
Application: konqueror (4.10.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.6-203.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

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

I was logged at google calendar and in the settings I've deleted the main calendar.
After I confirm I was about to delete the main calendar Konqueror crashed. I've tried another time an it happened again.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fcb177ac880 (LWP 26500))]

Thread 6 (Thread 0x7fcb09076700 (LWP 26501)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000369c6169bd in WTF::TCMalloc_PageHeap::scavengerThread (this=0x369d001d00 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#2  0x000000369c616ac9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x0000003a3d607d15 in start_thread (arg=0x7fcb09076700) at pthread_create.c:308
#4  0x0000003a3cef248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 5 (Thread 0x7fcb08775700 (LWP 26502)):
#0  0x0000003a3fa4585a in g_source_iter_next (iter=iter@entry=0x7fcb08774b50, source=source@entry=0x7fcb08774b48) at gmain.c:859
#1  0x0000003a3fa47537 in g_main_context_prepare (context=context@entry=0x7fcb000009a0, priority=priority@entry=0x7fcb08774ba8) at gmain.c:2967
#2  0x0000003a3fa47c4b in g_main_context_iterate (context=context@entry=0x7fcb000009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3270
#3  0x0000003a3fa47e44 in g_main_context_iteration (context=0x7fcb000009a0, may_block=1) at gmain.c:3351
#4  0x0000003a483a6126 in QEventDispatcherGlib::processEvents (this=0x7fcb000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003a4837680f in QEventLoop::processEvents (this=this@entry=0x7fcb08774d00, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003a48376a98 in QEventLoop::exec (this=0x7fcb08774d00, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003a48278980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x0000003a4827b95c in QThreadPrivate::start (arg=0x281c720) at thread/qthread_unix.cpp:338
#9  0x0000003a3d607d15 in start_thread (arg=0x7fcb08775700) at pthread_create.c:308
#10 0x0000003a3cef248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7fcb05cf5700 (LWP 26558)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007fcb05d17163 in queue_processor(void*) () from /usr/lib64/IcedTeaPlugin.so
#2  0x0000003a3d607d15 in start_thread (arg=0x7fcb05cf5700) at pthread_create.c:308
#3  0x0000003a3cef248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7fcb054f4700 (LWP 26559)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007fcb05d17163 in queue_processor(void*) () from /usr/lib64/IcedTeaPlugin.so
#2  0x0000003a3d607d15 in start_thread (arg=0x7fcb054f4700) at pthread_create.c:308
#3  0x0000003a3cef248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7fcb04cf3700 (LWP 26560)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007fcb05d17163 in queue_processor(void*) () from /usr/lib64/IcedTeaPlugin.so
#2  0x0000003a3d607d15 in start_thread (arg=0x7fcb04cf3700) at pthread_create.c:308
#3  0x0000003a3cef248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7fcb177ac880 (LWP 26500)):
[KCrash Handler]
#6  deref (this=0x0) at wtf/text/StringImpl.h:241
#7  ~PropertyTable (this=0x7fcb067fb720, __in_chrg=<optimized out>) at runtime/PropertyMapHashTable.h:299
#8  deleteOwnedPtr<JSC::PropertyTable> (ptr=0x7fcb067fb720) at wtf/OwnPtrCommon.h:59
#9  ~OwnPtr (this=0x7fcb06cea638, __in_chrg=<optimized out>) at wtf/OwnPtr.h:54
#10 JSC::Structure::~Structure (this=0x7fcb06cea5e0, __in_chrg=<optimized out>) at runtime/Structure.cpp:251
#11 0x000000369c716d7c in JSC::MarkedBlock::sweep (this=0x7fcb06ce8000) at heap/MarkedBlock.cpp:83
#12 0x000000369c63df4b in JSC::MarkedSpace::sweep (this=<optimized out>) at heap/MarkedSpace.cpp:121
#13 0x000000369c639c1d in reset (sweepToggle=JSC::Heap::DoSweep, this=0x7fcb0879a868) at heap/Heap.cpp:410
#14 JSC::Heap::collectAllGarbage (this=0x7fcb0879a868) at heap/Heap.cpp:389
#15 0x000000369bdbd1d5 in (anonymous namespace)::collect () at bindings/js/GCController.cpp:42
#16 0x000000369c1e2ba2 in WebCore::ThreadTimers::sharedTimerFiredInternal (this=0x7fcb087af7a8) at platform/ThreadTimers.cpp:112
#17 0x0000003a4838c1fc in QObject::event (this=0x28caa70, e=<optimized out>) at kernel/qobject.cpp:1156
#18 0x0000003a4b3ca5cc in QApplicationPrivate::notify_helper (this=this@entry=0x22b29f0, receiver=receiver@entry=0x28caa70, e=e@entry=0x7fff95c36cc0) at kernel/qapplication.cpp:4562
#19 0x0000003a4b3cea4a in QApplication::notify (this=0x7fff95c37230, receiver=0x28caa70, e=0x7fff95c36cc0) at kernel/qapplication.cpp:4423
#20 0x0000003a4de473c6 in KApplication::notify (this=0x7fff95c37230, receiver=0x28caa70, event=0x7fff95c36cc0) at /usr/src/debug/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#21 0x0000003a48377abe in QCoreApplication::notifyInternal (this=0x7fff95c37230, receiver=0x28caa70, event=0x7fff95c36cc0) at kernel/qcoreapplication.cpp:946
#22 0x0000003a483a8972 in sendEvent (event=0x7fff95c36cc0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#23 QTimerInfoList::activateTimers (this=0x22a8ac0) at kernel/qeventdispatcher_unix.cpp:622
#24 0x0000003a483a5a94 in timerSourceDispatch (source=0x22a8a60) at kernel/qeventdispatcher_glib.cpp:186
#25 timerSourceDispatch (source=source@entry=0x22a8a60) at kernel/qeventdispatcher_glib.cpp:180
#26 0x0000003a3fa47a55 in g_main_dispatch (context=0x22aa4c0) at gmain.c:2715
#27 g_main_context_dispatch (context=context@entry=0x22aa4c0) at gmain.c:3219
#28 0x0000003a3fa47d88 in g_main_context_iterate (context=context@entry=0x22aa4c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#29 0x0000003a3fa47e44 in g_main_context_iteration (context=0x22aa4c0, may_block=1) at gmain.c:3351
#30 0x0000003a483a6106 in QEventDispatcherGlib::processEvents (this=0x2279ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x0000003a4b46a73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#32 0x0000003a4837680f in QEventLoop::processEvents (this=this@entry=0x7fff95c36f30, flags=...) at kernel/qeventloop.cpp:149
#33 0x0000003a48376a98 in QEventLoop::exec (this=0x7fff95c36f30, flags=...) at kernel/qeventloop.cpp:204
#34 0x0000003a4837b888 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x0000003a494b3e02 in kdemain () from /lib64/libkdeinit4_konqueror.so
#36 0x0000003a3ce21a05 in __libc_start_main (main=0x4008a0 <main>, argc=2, ubp_av=0x7fff95c374b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff95c374a8) at libc-start.c:225
#37 0x00000000004008d1 in _start ()

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2013-04-21 22:49:37 UTC
What version of QtWebKit is installed on your system ?
Comment 2 Paulo Fidalgo 2013-04-22 08:08:30 UTC
The version installed is 2.2.2-8.fc18.
Comment 3 Dawit Alemayehu 2013-05-16 23:14:50 UTC
I asked you for the version of qtwebkit, because I was unable to reproduce the problem myself. However, I am currently using qtwebkit 2.3 release. 

I suggest you give qtwebkit 2.3 release a try since I cannot reproduce the crash, but it seems that your distro only makes that version available for Fedora 19. Anyhow, this is an upstream issue that has already been resolved in qtwebkit 2.3.