lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 00/10] Kernel memory leak detector 0.8
    On 11/07/06, Catalin Marinas <catalin.marinas@gmail.com> wrote:
    > On 11/07/06, Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
    > > System hangs when I try "cat /sys/kernel/debug/memleak". Here is what
    > > I found in a log file.
    >
    > Can you disable DEBUG_MEMLEAK_ORPHAN_FREEING? That's mainly used for
    > debugging but I don't think it is was causing the hang. I haven't
    > changed the locking mechanism since version 0.7 but maybe some other
    > bug made its way in.

    It is DEBUG_MEMLEAK_ORPHAN_FREEING issue. Disabling it solved the problem.

    orphan pointer 0xc6113bec (size 28):
    c017392a: <__kmalloc_track_caller>
    c01631b1: <__kzalloc>
    c010b7d7: <legacy_init_iomem_resources>
    c010b89c: <request_standard_resources>
    c0100b8b: <do_initcalls>
    c0100c3d: <do_basic_setup>
    c0100cdb: <init>

    This is most common
    orphan pointer 0xf5a6fd60 (size 39):
    c0173822: <__kmalloc>
    c01df500: <context_struct_to_string>
    c01df679: <security_sid_to_context>
    c01d7eee: <selinux_socket_getpeersec_dgram>
    f884f019: <unix_get_peersec_dgram>
    f8850698: <unix_dgram_sendmsg>
    c02a88c2: <sock_sendmsg>
    c02a9c7a: <sys_sendto>

    cat /tmp/ml.txt | grep -c selinux_socket_getpeersec_dgram
    8442
    >
    > --
    > Catalin
    >

    Regards,
    Michal

    --
    Michal K. K. Piotrowski
    LTG - Linux Testers Group
    (http://www.stardust.webpages.pl/ltg/wiki/)
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-11 17:05    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site