[Bug 35793] New: never-ending loop in text-channel:pendingproc_store_pending_messages

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 30 12:32:10 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35793

           Summary: never-ending loop in
                    text-channel:pendingproc_store_pending_messages
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: logger
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: sjoerd at luon.net
         QAContact: telepathy-bugs at lists.freedesktop.org


Hey,

I noticed that my logger sometimes goes and uses 100% cpu, which is not great.
A bit more research showed that the loop in store_pending_messages does..

if (cached->id == pending_id)
else if (cached->id < pending_id)
else if (cached->id < pending_id)

One of the two final ones should probably have a >, but i didn't dive deep
enough into the logic to determine which one ;)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list