Summary: | klauncher crashes with segfault | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Romário Rios <luizromario> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | andresbajotierra |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Romário Rios
2009-07-02 21:28:34 UTC
This looks like the old bug 165548 Can you reproduce the crash at will? Thanks SVN commit 1058169 by cfeck: Fix broken reading in inotifyEventReceived Multiple bugs: * MAX_PATH is 4096 on linux, but inotify_event needs some bytes as well * the "pending" variable was incorrectly abused to mean both pending bytes in buffer as well as pending bytes in stream * the offset was not reset to zero when the next chunk was reading * when an event was larger than what was available in buffer, it was reading beyond the buffer boundaries Many thanks to David for review and help with improving clarity of the code. David, please test for regressions, maybe add a test which changes some 1000 files in one go. CCMAIL:faure@kde.org CCBUG:165548 CCBUG:173696 CCBUG:175005 CCBUG:198692 CCBUG:204178 M +20 -9 kdirwatch.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1058169 *** This bug has been marked as a duplicate of bug 165548 *** |