Bug 296464 - Kmail crashes at startup
Summary: Kmail crashes at startup
Status: RESOLVED DUPLICATE of bug 295474
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-20 23:10 UTC by Alberto Mattea
Modified: 2012-03-31 22:58 UTC (History)
0 users

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 Alberto Mattea 2012-03-20 23:10:09 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.2.1-ck x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Just opened kmail. This happens about 50% of the times. It ***never*** happens if I open kmail through kontact, though.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f4ffbd747c0 (LWP 22147))]

Thread 6 (Thread 0x7f4fda4b7700 (LWP 22151)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4fee153c2c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f4feeb0a220) at wtf/FastMalloc.cpp:2495
#2  0x00007f4fee153d59 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f4ff6c4defc in start_thread (arg=0x7f4fda4b7700) at pthread_create.c:304
#4  0x00007f4ff90e859d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4fd9bb6700 (LWP 22152)):
#0  0x00007f4ff90dc473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ff1a3bf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff1a3c429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ff9a6cb9f in QEventDispatcherGlib::processEvents (this=0x19b80d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ff9a3c3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ff9a3c637 in QEventLoop::exec (this=0x7f4fd9bb5dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4ff993c067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4ff993f08b in QThreadPrivate::start (arg=0x19547c0) at thread/qthread_unix.cpp:298
#8  0x00007f4ff6c4defc in start_thread (arg=0x7f4fd9bb6700) at pthread_create.c:304
#9  0x00007f4ff90e859d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4f93fff700 (LWP 22153)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f4ff993f4ff in wait (time=30000, this=0x1b39740) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b396b8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4ff993267f in QThreadPoolThread::run (this=0x19dc7b0) at concurrent/qthreadpool.cpp:141
#4  0x00007f4ff993f08b in QThreadPrivate::start (arg=0x19dc7b0) at thread/qthread_unix.cpp:298
#5  0x00007f4ff6c4defc in start_thread (arg=0x7f4f93fff700) at pthread_create.c:304
#6  0x00007f4ff90e859d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4f9273f700 (LWP 22159)):
#0  0x00007f4ff90dc473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ff1a3bf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff1a3c429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ff9a6cb9f in QEventDispatcherGlib::processEvents (this=0x1db2800, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ff9a3c3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ff9a3c637 in QEventLoop::exec (this=0x7f4f9273ed90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4ff993c067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4ff9a1c17f in QInotifyFileSystemWatcherEngine::run (this=0x1db1f80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4ff993f08b in QThreadPrivate::start (arg=0x1db1f80) at thread/qthread_unix.cpp:298
#9  0x00007f4ff6c4defc in start_thread (arg=0x7f4f9273f700) at pthread_create.c:304
#10 0x00007f4ff90e859d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4f91d2f700 (LWP 22160)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f4ff9085665 in _L_lock_10656 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f4ff9083b1d in __GI___libc_realloc (oldmem=0x7f4ff93a11c0, bytes=48) at malloc.c:3813
#3  0x00007f4ff994111a in QByteArray::realloc (this=0x7f4f91d2e520, alloc=16) at tools/qbytearray.cpp:1464
#4  0x00007f4ff994200f in QByteArray::append (this=0x7f4f91d2e520, ch=58 ':') at tools/qbytearray.cpp:1684
#5  0x00007f4ff99f45c6 in operator+= (c=58 ':', this=0x7f4f91d2e520) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:506
#6  QUrlPrivate::toEncoded (this=0x22906c0, options=...) at io/qurl.cpp:3973
#7  0x00007f4ff99f4bcd in QUrl::toEncoded (this=<optimized out>, options=<optimized out>) at io/qurl.cpp:5771
#8  0x00007f4ffb1b2b00 in KUrl::url (this=0x7f4f91d2e7b0, trailing=<optimized out>) at ../../kdecore/io/kurl.cpp:1059
#9  0x00007f4ff2488c50 in (anonymous namespace)::convertUri (uri=<optimized out>) at ../../nepomuk/core/resourcewatcher.cpp:35
#10 0x00007f4ff248badc in Nepomuk::ResourceWatcher::addResource (this=0x1afa460, res=...) at ../../nepomuk/core/resourcewatcher.cpp:143
#11 0x00007f4ff246d73b in Nepomuk::ResourceData::load (this=0x18ffdf0) at ../../nepomuk/core/resourcedata.cpp:405
#12 0x00007f4ff246e12c in Nepomuk::ResourceData::property (this=0x18ffdf0, uri=...) at ../../nepomuk/core/resourcedata.cpp:265
#13 0x00007f4ff2484513 in Nepomuk::Resource::property (this=0x7f4f91d2ecc0, uri=...) at ../../nepomuk/core/resource.cpp:301
#14 0x00007f4ff57e87da in ?? () from /usr/lib/libmessagecore.so.4
#15 0x00007f4ff99325b2 in QThreadPoolThread::run (this=0x22930f0) at concurrent/qthreadpool.cpp:107
#16 0x00007f4ff993f08b in QThreadPrivate::start (arg=0x22930f0) at thread/qthread_unix.cpp:298
#17 0x00007f4ff6c4defc in start_thread (arg=0x7f4f91d2f700) at pthread_create.c:304
#18 0x00007f4ff90e859d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4ffbd747c0 (LWP 22147)):
[KCrash Handler]
#6  0x00007f4ff903b3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f4ff903eb0b in __GI_abort () at abort.c:92
#8  0x00007f4ff9074d63 in __libc_message (do_abort=2, fmt=0x7f4ff9165e58 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f4ff907f6e6 in malloc_printerr (action=3, str=0x7f4ff9165ff8 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f4ff908222b in _int_realloc (av=0x7f4ff93a11c0, oldp=0x23b0ba0, oldsize=528, nb=<optimized out>) at malloc.c:5341
#11 0x00007f4ff9083b39 in __GI___libc_realloc (oldmem=0x23b0bb0, bytes=1024) at malloc.c:3821
#12 0x00007f4ff995cac6 in QListData::realloc (this=0x1a469b8, alloc=125) at tools/qlist.cpp:221
#13 0x00007f4ff995cb75 in QListData::append (this=<optimized out>, n=1) at tools/qlist.cpp:243
#14 0x00007f4ff248bc4c in append (t=..., this=0x1a469b8) at /usr/include/qt4/QtCore/qlist.h:530
#15 operator<< (t=..., this=0x1a469b8) at /usr/include/qt4/QtCore/qlist.h:334
#16 operator<< (t=..., this=0x1a469b8) at ../../nepomuk/core/resourcewatcher.cpp:139
#17 Nepomuk::ResourceWatcher::addResource (this=0x1afa460, res=...) at ../../nepomuk/core/resourcewatcher.cpp:141
#18 0x00007f4ff246d73b in Nepomuk::ResourceData::load (this=0x7f4f8c0485d0) at ../../nepomuk/core/resourcedata.cpp:405
#19 0x00007f4ff246e12c in Nepomuk::ResourceData::property (this=0x7f4f8c0485d0, uri=...) at ../../nepomuk/core/resourcedata.cpp:265
#20 0x00007f4ff2484513 in Nepomuk::Resource::property (this=0x7f4f8c045f10, uri=...) at ../../nepomuk/core/resource.cpp:301
#21 0x00007f4ff24865f4 in Nepomuk::Resource::tags (this=0x7f4f8c045f10) at ../../nepomuk/core/resource.cpp:656
#22 0x00007f4ff525adb7 in ?? () from /usr/lib/libmessagelist.so.4
#23 0x00007f4ff525b72d in ?? () from /usr/lib/libmessagelist.so.4
#24 0x00007f4ff57e774b in MessageCore::AsyncNepomukResourceRetriever::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libmessagecore.so.4
#25 0x00007f4ff9a56ba6 in QObject::event (this=0x22913b0, e=<optimized out>) at kernel/qobject.cpp:1195
#26 0x00007f4ff9f60104 in notify_helper (e=0x7f4f8c04d130, receiver=0x22913b0, this=0x14fa1d0) at kernel/qapplication.cpp:4555
#27 QApplicationPrivate::notify_helper (this=0x14fa1d0, receiver=0x22913b0, e=0x7f4f8c04d130) at kernel/qapplication.cpp:4527
#28 0x00007f4ff9f64f83 in QApplication::notify (this=0x7fff792907d0, receiver=0x22913b0, e=0x7f4f8c04d130) at kernel/qapplication.cpp:4416
#29 0x00007f4ffb7938e6 in KApplication::notify (this=0x7fff792907d0, receiver=0x22913b0, event=0x7f4f8c04d130) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f4ff9a3d5fc in QCoreApplication::notifyInternal (this=0x7fff792907d0, receiver=0x22913b0, event=0x7f4f8c04d130) at kernel/qcoreapplication.cpp:876
#31 0x00007f4ff9a413ca in sendEvent (event=0x7f4f8c04d130, receiver=0x22913b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x148b220) at kernel/qcoreapplication.cpp:1500
#33 0x00007f4ff9a6c773 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#35 0x00007f4ff1a3ba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f4ff1a3c258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f4ff1a3c429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f4ff9a6cb9f in QEventDispatcherGlib::processEvents (this=0x148cb00, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#39 0x00007f4ffa00521e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f4ff9a3c3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f4ff9a3c637 in QEventLoop::exec (this=0x7fff792906b0, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f4ff9a416c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#43 0x0000000000402bd3 in ?? ()
#44 0x00007f4ff902630d in __libc_start_main (main=0x4021a0, argc=1, ubp_av=0x7fff79290c28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff79290c18) at libc-start.c:226
#45 0x00000000004030b5 in _start ()

Possible duplicates by query: bug 296435, bug 296133, bug 296015, bug 295989, bug 295901.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-03-31 22:58:41 UTC

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