[Bug 2219] New: kernel BUG at mm/rmap.c:306

From: Martin J. Bligh (mbligh_at_aracnet.com)
Date: 02/28/04

  • Next message: Alan Cox: "Re: Errors on 2th ide channel of promise ultra100 tx2"
    Date:	Sat, 28 Feb 2004 07:44:33 -0800
    To: linux-kernel <linux-kernel@vger.kernel.org>, linux-mm mailing list <linux-mm@kvack.org>
    
    

    http://bugme.osdl.org/show_bug.cgi?id=2219

               Summary: kernel BUG at mm/rmap.c:306
        Kernel Version: 2.6.3
                Status: NEW
              Severity: high
                 Owner: akpm@digeo.com
             Submitter: castetm@ensimag.imag.fr

    Distribution: gentoo
    Hardware Environment:pentium-3/512 Mo RAM

    I have try overcommit-accounting with strict overcommit, but when i launch a
    program like [1], there was a kernel bug [2]

    [1]
    int main()
    {
            while(fork() != -1) {}
            while(malloc(1024)) {}
            while(1) {}
    }
    ------------------------------------------------
    [2]
    Out of Memory: Killed process 8289 (a.out).
    Out of Memory: Killed process 8297 (a.out).
    swap_free: Bad swap offset entry 001c2790
    ------------[ cut here ]------------
    kernel BUG at mm/rmap.c:306!
    invalid operand: 0000 [#1]
    CPU: 0
    EIP: 0060:[<c014baf0>] Not tainted
    EFLAGS: 00010246
    EIP is at try_to_unmap_one+0x1e0/0x1f0
    eax: 00000000 ebx: 000c0000 ecx: 00000009 edx: c1000000
    esi: c14662e8 edi: df55e300 ebp: c14662e8 esp: dfa99d48
    ds: 007b es: 007b ss: 0068
    Process kswapd0 (pid: 8, threadinfo=dfa98000 task=dfa9eca0)
    Stack: df55e300 00000009 1c279005 00000000 00000000 00000004 c14662e8 da675ac0
           00000000 c014bbab d4a5d440 00000004 00000000 da675ac0 00000000 c14662e8
           00000001 dfa98000 c0142554 c1416c20 dfa99db8 c036a6f4 dfa98000 00000028
    Call Trace:
     [<c014bbab>] try_to_unmap+0xab/0x160
     [<c0142554>] shrink_list+0x224/0x560
     [<c0142a30>] shrink_cache+0x1a0/0x320
     [<c0143243>] shrink_zone+0x83/0xb0
     [<c014365a>] balance_pgdat+0x19a/0x220
     [<c01437f5>] kswapd+0x115/0x130
     [<c011d7e0>] autoremove_wake_function+0x0/0x50
     [<c0109302>] ret_from_fork+0x6/0x14
     [<c011d7e0>] autoremove_wake_function+0x0/0x50
     [<c01436e0>] kswapd+0x0/0x130
     [<c01072a5>] kernel_thread_helper+0x5/0x10

    Code: 0f 0b 32 01 13 c0 32 c0 e9 78 fe ff ff 8d 76 00 55 57 56 89
     <6>note: kswapd0[8] exited with preempt_count 2
    Out of Memory: Killed process 12353 (a.out).

    -
    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/


  • Next message: Alan Cox: "Re: Errors on 2th ide channel of promise ultra100 tx2"

    Relevant Pages

    • tmpfs bug? Out of memory when not
      ... the kernel prefer to swap everything than to free the 500+ megs of cached data!! ... I have 500 megs "free" that the kernel only need to release! ... Out of Memory: Killed process 8631. ...
      (Linux-Kernel)
    • Re: Problems with FC4 kernels 1658 and 1831
      ... Feb 9 09:39:42 homer kernel: Out of Memory: Killed process 1686. ... Feb 8 17:27:40 maggie kernel: Out of Memory: Killed process 2572. ...
      (Fedora)
    • [PROBLEM] Badness in out_of_memory
      ... The system is a dual AMD Athlon MP 2200+ with 1GB memory and 1GB swap. ... Jan 6 14:42:30 urutu kernel: x1d3/0x5ee ... Jan 6 14:42:31 urutu kernel: Out of Memory: Killed process 9730 ...
      (Linux-Kernel)
    • Re: kernel: Out of Memory: Killed process 1749 (named).
      ... it seemed to have been killed while yum was performing a dependency ... Subject: kernel: Out of Memory: Killed process 1749. ...
      (Fedora)
    • [UNIX] Linux Kernel do_brk() Vulnerablility (Explained)
      ... Get your security news from a reliable source. ... A critical security bug has been found in the Linux kernel 2.4.22 (and ... earlier) memory management subsystem. ... for the code working at the lowest privilege level. ...
      (Securiteam)