linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: linux-mm@kvack.org
Subject: Fw: [Bug 2219] New: kernel BUG at mm/rmap.c:306
Date: Sat, 28 Feb 2004 02:30:38 -0800	[thread overview]
Message-ID: <20040228023038.4d6c780f.akpm@osdl.org> (raw)

My todo list just wrapped around.  If anyone has the time to fix this up,
please let me know.

Thanks.


Begin forwarded message:

Date: Sat, 28 Feb 2004 02:12:20 -0800
From: bugme-daemon@osdl.org
To: akpm@digeo.com
Subject: [Bug 2219] New: kernel BUG at mm/rmap.c:306


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).

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

                 reply	other threads:[~2004-02-28 10:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040228023038.4d6c780f.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox