All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Bill Irwin <wli@holomorphy.com>
Subject: [Bug 601] New: BUG when running ipcs after huge page shm
Date: Fri, 18 Apr 2003 13:48:29 -0700	[thread overview]
Message-ID: <1382570000.1050698909@flay> (raw)

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

           Summary: BUG when running ipcs after huge page shm
    Kernel Version: 2.5.67-bk current
            Status: NEW
          Severity: normal
             Owner: akpm@digeo.com
         Submitter: plars@austin.ibm.com


Distribution:
Hardware Environment: 2-way PIII-550, 2GB ram
Software Environment:
CONFIG_HUGETLB_PAGE=y

Problem Description:

kernel BUG at include/asm/spinlock.h:123!
invalid operand: 0000 [#1]
CPU:    0
EIP:    0060:[<c02055ad>]    Not tainted
EFLAGS: 00010286
EIP is at shm_get_stat+0x5d/0xbc
eax: 0000000e   ebx: f772e14c   ecx: c04a1be0   edx: c0411d88
esi: f772e1b0   edi: 00000000   ebp: f747df38   esp: f747dde4
ds: 007b   es: 007b   ss: 0068
Process ipcs (pid: 778, threadinfo=f747c000 task=f762e100)
Stack: c03a9ab7 c0205595 f747df2c bffff620 f747df44 c050bfb0 c0205801 f747df34
       f747df38 bffff5bc 0000000e 00000000 00000000 00000000 00000000 00000000
       00000001 00000001 00000019 00000000 00000000 c0512bc0 f7c181cc f7c181bc
Call Trace:
 [<c0205595>] shm_get_stat+0x45/0xbc
 [<c0205801>] sys_shmctl+0x1f5/0x820
 [<c013a1e0>] check_poison_obj+0x38/0x188
 [<c013baa6>] kmem_cache_alloc+0x126/0x134
 [<c01483b2>] page_add_rmap+0x12/0x158
 [<c0143e26>] do_no_page+0x47a/0x488
 [<c014401d>] handle_mm_fault+0x105/0x220
 [<c01168b0>] do_page_fault+0x120/0x45d
 [<c0116790>] do_page_fault+0x0/0x45d
 [<c0215ef1>] tty_write+0x33d/0x378
 [<c021b298>] write_chan+0x0/0x20c
 [<c010f918>] sys_ipc+0x1d4/0x1ec
 [<c0109a2d>] error_code+0x2d/0x38
 [<c0108fa3>] syscall_call+0x7/0xb

Code: 0f 0b 7b 00 a0 9a 3a c0 83 c4 08 f0 fe 0b 0f 88 04 0d 00 00

Steps to reproduce:
echo 10 > /proc/sys/vm/nr_hugepages
ran a quick test program that used shm to allocate 8MB with SHM_HUGETLB
run the 'ipcs' command


             reply	other threads:[~2003-04-18 20:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-18 20:48 Martin J. Bligh [this message]
2003-04-18 23:14 ` [Bug 601] New: BUG when running ipcs after huge page shm William Lee Irwin III

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=1382570000.1050698909@flay \
    --to=mbligh@aracnet.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.