[Bug 285074] New: Memleak and infinity loop

BRULE Herman alpha_one_x86 at first-world.info
Thu Oct 27 10:50:12 BST 2011


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

           Summary: Memleak and infinity loop
           Product: Akonadi
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: alpha_one_x86 at first-world.info


Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

Hello, on my laptop (no my desktop with near configuration), 3 process of
akonadi use 100% of cpu and eat 1GB of memory by minutes. After all crash.
I have attached it and do a backtrace:

#0  0x00007f3bf989555d in read () from /lib64/libpthread.so.0
#1  0x00007f3bf9be2d3f in read (this=0x152aee0, data=0x152f8a0 "\t\t/* S f",
len=16384) at /usr/include/bits/unistd.h:45
#2  qt_safe_read (this=0x152aee0, data=0x152f8a0 "\t\t/* S f", len=16384) at
../../include/QtCore/private/../../../src/corelib/kernel/qcore_unix_p.h:253
#3  QFSFileEnginePrivate::readFdFh (this=0x152aee0, data=0x152f8a0 "\t\t/* S
f", len=16384) at io/qfsfileengine.cpp:703
#4  0x00007f3bf9bea02e in QFSFileEnginePrivate::nativeRead (this=0x152aee0,
data=0x152f8a0 "\t\t/* S f", len=16384) at io/qfsfileengine_unix.cpp:382
#5  0x00007f3bf9ba2cbb in QFile::readData (this=<value optimized out>,
data=0x152f8a0 "\t\t/* S f", len=16384) at io/qfile.cpp:1542
#6  0x00007f3bf9ba9300 in QIODevice::read (this=<value optimized out>,
data=0x7fff85e782ac "", maxSize=4) at io/qiodevice.cpp:829
#7  0x00007f3bf9b940dd in QDataStream::operator>> (this=0x7fff85e78200,
i=@0x152f8a0) at io/qdatastream.cpp:713
#8  0x00007f3bedf979d0 in Akonadi::ChangeRecorderPrivate::loadFrom (this=<value
optimized out>, device=<value optimized out>)
    at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/changerecorder_p.h:140
#9  0x00007f3bedf996fe in Akonadi::ChangeRecorderPrivate::loadNotifications
(this=0x151f080)
    at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/changerecorder_p.h:118
#10 0x00007f3bedf7b9f7 in Akonadi::AgentBasePrivate::init (this=0x143e7c0) at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentbase.cpp:214
#11 0x00007f3bedf7c542 in Akonadi::AgentBase::AgentBase (this=0x14aef50,
d=0x143e7c0, id=...) at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentbase.cpp:508
#12 0x00007f3bee040578 in Akonadi::ResourceBase::ResourceBase (this=0x14aef50,
id=<value optimized out>)
    at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/resourcebase.cpp:282
#13 0x00007f3bee329c18 in MaildirResource::MaildirResource (this=0xd, id=...)
    at
/var/portage/portage/kde-base/kdepim-runtime-4.7.2-r1/work/kdepim-runtime-4.7.2/resources/maildir/maildirresource.cpp:90
#14 0x00007f3bee33464e in
Akonadi::AgentFactory<MaildirResource>::createInstance (this=<value optimized
out>, identifier=...) at /usr/include/akonadi/agentfactory.h:90
#15 0x00007f3bedf7d2d2 in Akonadi::AgentFactoryBase::qt_metacall
(this=0x1453d70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff85e78c70)
    at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/agentfactory.moc:73
#16 0x00007f3bf9c1adcc in QMetaMethod::invoke (this=0x7fff85e79140,
object=0x1453d70, connectionType=<value optimized out>, returnValue=...,
val0=..., val1=..., val2=..., val3=..., val4=..., 
    val5=..., val6=..., val7=..., val8=..., val9=...) at
kernel/qmetaobject.cpp:1597
#17 0x00007f3bf9c1c45d in QMetaObject::invokeMethod (obj=0x1453d70,
member=<value optimized out>, type=<value optimized out>, ret=..., val0=...,
val1=..., val2=..., val3=..., val4=..., 
    val5=..., val6=..., val7=..., val8=..., val9=...) at
kernel/qmetaobject.cpp:1151
#18 0x000000000040e2e5 in main (argc=3, argv=<value optimized out>) at
/var/portage/portage/app-office/akonadi-server-1.6.2/work/akonadi-1.6.2/agentserver/agentlauncher.cpp:49

#0  0x00007f57d4dbb0a0 in read () from /lib64/libc.so.6
#1  0x00007f57d7aaad3f in read (this=0x1dbd0c0, data=0x7fff10f2eee8 "", len=4)
at /usr/include/bits/unistd.h:45
#2  qt_safe_read (this=0x1dbd0c0, data=0x7fff10f2eee8 "", len=4) at
../../include/QtCore/private/../../../src/corelib/kernel/qcore_unix_p.h:253
#3  QFSFileEnginePrivate::readFdFh (this=0x1dbd0c0, data=0x7fff10f2eee8 "",
len=4) at io/qfsfileengine.cpp:703
#4  0x00007f57d7ab202e in QFSFileEnginePrivate::nativeRead (this=0x1dbd0c0,
data=0x7fff10f2eee8 "", len=4) at io/qfsfileengine_unix.cpp:382
#5  0x00007f57d7a6acbb in QFile::readData (this=<value optimized out>,
data=0x7fff10f2eee8 "", len=4) at io/qfile.cpp:1542
#6  0x00007f57d7a71094 in QIODevice::read (this=<value optimized out>,
data=0x7fff10f2eee8 "", maxSize=4) at io/qiodevice.cpp:858
#7  0x00007f57d7a5c0dd in QDataStream::operator>> (this=0x7fff10f2ee40,
i=@0x7fff10f2eee8) at io/qdatastream.cpp:713
#8  0x00007f57d80f79dd in Akonadi::ChangeRecorderPrivate::loadFrom (this=<value
optimized out>, device=<value optimized out>)
    at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/changerecorder_p.h:141
#9  0x00007f57d80f96fe in Akonadi::ChangeRecorderPrivate::loadNotifications
(this=0x1dd1960)
    at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/changerecorder_p.h:118
#10 0x00007f57d80db9f7 in Akonadi::AgentBasePrivate::init (this=0x1dde900) at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentbase.cpp:214
#11 0x00007f57d80dc6b7 in Akonadi::AgentBase::AgentBase (this=0x1da1d20,
id=...) at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentbase.cpp:500
#12 0x000000000040a3a7 in MailDispatcherAgent::MailDispatcherAgent (this=0xc,
id=...)
    at
/var/portage/portage/kde-base/kdepim-runtime-4.7.2-r1/work/kdepim-runtime-4.7.2/agents/maildispatcher/maildispatcheragent.cpp:188
#13 0x000000000040a85f in init<MailDispatcherAgent> (argc=<value optimized
out>, argv=<value optimized out>) at
/usr/include/KDE/Akonadi/../../akonadi/agentbase.h:335
#14 main (argc=<value optimized out>, argv=<value optimized out>)
    at
/var/portage/portage/kde-base/kdepim-runtime-4.7.2-r1/work/kdepim-runtime-4.7.2/agents/maildispatcher/maildispatcheragent.cpp:376

#0  0x00007fee7ca52540 in __read_nocancel () from /lib64/libpthread.so.0
#1  0x00007fee7cd9fd3f in read (this=0x1a412a0, data=0x1a6c030
"#include\357\357\360\377\356\356\357\377\356\356\356\377\355\355\357\377\353\353\356\377\377\377\377\377",
len=16384)
    at /usr/include/bits/unistd.h:45
#2  qt_safe_read (this=0x1a412a0, data=0x1a6c030
"#include\357\357\360\377\356\356\357\377\356\356\356\377\355\355\357\377\353\353\356\377\377\377\377\377",
len=16384)
    at
../../include/QtCore/private/../../../src/corelib/kernel/qcore_unix_p.h:253
#3  QFSFileEnginePrivate::readFdFh (this=0x1a412a0, data=0x1a6c030
"#include\357\357\360\377\356\356\357\377\356\356\356\377\355\355\357\377\353\353\356\377\377\377\377\377",
len=16384)
    at io/qfsfileengine.cpp:703
#4  0x00007fee7cda702e in QFSFileEnginePrivate::nativeRead (this=0x1a412a0, 
    data=0x1a6c030
"#include\357\357\360\377\356\356\357\377\356\356\356\377\355\355\357\377\353\353\356\377\377\377\377\377",
len=16384) at io/qfsfileengine_unix.cpp:382
#5  0x00007fee7cd5fcbb in QFile::readData (this=<value optimized out>, 
    data=0x1a6c030
"#include\357\357\360\377\356\356\357\377\356\356\356\377\355\355\357\377\353\353\356\377\377\377\377\377",
len=16384) at io/qfile.cpp:1542
#6  0x00007fee7cd66300 in QIODevice::read (this=<value optimized out>,
data=0x7fffe273ce4c "", maxSize=4) at io/qiodevice.cpp:829
#7  0x00007fee7cd510dd in QDataStream::operator>> (this=0x7fffe273cda0,
i=@0x1a6c030) at io/qdatastream.cpp:713
#8  0x00007fee7d1a39d0 in Akonadi::ChangeRecorderPrivate::loadFrom (this=<value
optimized out>, device=<value optimized out>)
    at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/changerecorder_p.h:140
#9  0x00007fee7d1a56fe in Akonadi::ChangeRecorderPrivate::loadNotifications
(this=0x1a3f5d0)
    at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/changerecorder_p.h:118
#10 0x00007fee7d1879f7 in Akonadi::AgentBasePrivate::init (this=0x1a58e50) at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentbase.cpp:214
#11 0x00007fee7d1886b7 in Akonadi::AgentBase::AgentBase (this=0x1a57b30,
id=...) at
/var/portage/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/agentbase.cpp:500
#12 0x0000000000413346 in NepomukFeederAgentBase::NepomukFeederAgentBase
(this=0xc, id=...)
    at
/var/portage/portage/kde-base/kdepim-runtime-4.7.2-r1/work/kdepim-runtime-4.7.2/agents/nepomukfeeder/nepomukfeederagentbase.cpp:99
#13 0x000000000040a9a0 in NepomukFeederAgent (this=0xc, id=...) at
/var/portage/portage/kde-base/kdepim-runtime-4.7.2-r1/work/kdepim-runtime-4.7.2/agents/nepomukfeeder/nepomukfeederagent.h:37
#14 Akonadi::NepomukContactFeeder::NepomukContactFeeder (this=0xc, id=...)
    at
/var/portage/portage/kde-base/kdepim-runtime-4.7.2-r1/work/kdepim-runtime-4.7.2/agents/nepomuk_contact_feeder/nepomukcontactfeeder.cpp:57
#15 0x000000000040ab3f in init<Akonadi::NepomukContactFeeder> (argc=<value
optimized out>, argv=<value optimized out>) at
/usr/include/akonadi/agentbase.h:335
#16 main (argc=<value optimized out>, argv=<value optimized out>)
    at
/var/portage/portage/kde-base/kdepim-runtime-4.7.2-r1/work/kdepim-runtime-4.7.2/agents/nepomuk_contact_feeder/nepomukcontactfeeder.cpp:265





Reproducible: Always

Steps to Reproduce:
na


Expected Results:  
No crash.

-- 
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 Kdepim-bugs mailing list