linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: Oops on core dumping
@ 2003-12-30 16:05 Whitney, John
  2003-12-31  3:22 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: Whitney, John @ 2003-12-30 16:05 UTC (permalink / raw)
  To: Vincent Bernat, linuxppc-dev


Vincent,

This looks like the same problem (application core dumps, caused in dump_fpu()) that I posted a patch for last week.  Look in the archives for my solution.  (basically, dump_fpu() is getting a NULL "regs" argument, and then referencing off of it.)

John Whitney


-----Original Message-----
From:	Vincent Bernat [mailto:bernat@free.fr]
Sent:	Tue 12/30/2003 4:17 AM
To:	linuxppc-dev@lists.linuxppc.org
Cc:
Subject:	Oops on core dumping


Hello !

I am trying to get a dump for an application (vlc) that got a sig kill
each time I try  to use it. When setting   to limit for the core  dump
size to something different of 0 (8 MB or 88 MB), I get an oops :

Oops: kernel access of bad area, sig: 11 [#1]
NIP: C0008FDC LR: C00803B4 SP: C1995CC0 REGS: c1995c10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c3273540[14134] 'vlc' Last syscall: 125
GPR00: C00803B4 C1995CC0 C3273540 00000000 D616C118 00000001 0000010C D616C008
GPR08: 00000000 0000010C 00000000 00000000 175C8940
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4
Oops: kernel access of bad area, sig: 11 [#2]
NIP: C0008FDC LR: C00803B4 SP: D4663CC0 REGS: d4663c10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c79179e0[14223] 'vlc' Last syscall: 119
GPR00: C00803B4 D4663CC0 C79179E0 00000000 D154B918 00000001 0000010C D154B808
GPR08: 00000000 0000010C 00000000 00000000 15651298
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4
Oops: kernel access of bad area, sig: 11 [#3]
NIP: C0008FDC LR: C00803B4 SP: CB4CDCC0 REGS: cb4cdc10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c92110a0[14251] 'vlc' Last syscall: 119
GPR00: C00803B4 CB4CDCC0 C92110A0 00000000 C6041D18 00000001 0000010C C6041C08
GPR08: 00000000 0000010C 00000000 00000000 158395E8
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4
Oops: kernel access of bad area, sig: 11 [#4]
NIP: C0008FDC LR: C00803B4 SP: C73EFCC0 REGS: c73efc10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c768e0e0[14282] 'vlc' Last syscall: 37
GPR00: C00803B4 C73EFCC0 C768E0E0 00000000 D154B118 00000001 0000010C D154B008
GPR08: 00000000 0000010C 00000000 00000000 138C1F40
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4
Oops: kernel access of bad area, sig: 11 [#5]
NIP: C0008FDC LR: C00803B4 SP: CB613CC0 REGS: cb613c10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c7941ae0[14338] 'vlc' Last syscall: 119
GPR00: C00803B4 CB613CC0 C7941AE0 00000000 C6041118 00000001 0000010C C6041008
GPR08: 00000000 0000010C 00000000 00000000 124BBC78
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4

(one for each attempt)

The kernel is a 2.6.0-ben2.
--
die_if_kernel("Whee... Hello Mr. Penguin", current->tss.kregs);
	2.2.16 /usr/src/linux/arch/sparc/kernel/traps.c


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Oops on core dumping
@ 2003-12-30  9:17 Vincent Bernat
  0 siblings, 0 replies; 7+ messages in thread
From: Vincent Bernat @ 2003-12-30  9:17 UTC (permalink / raw)
  To: linuxppc-dev


Hello !

I am trying to get a dump for an application (vlc) that got a sig kill
each time I try  to use it. When setting   to limit for the core  dump
size to something different of 0 (8 MB or 88 MB), I get an oops :

Oops: kernel access of bad area, sig: 11 [#1]
NIP: C0008FDC LR: C00803B4 SP: C1995CC0 REGS: c1995c10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c3273540[14134] 'vlc' Last syscall: 125
GPR00: C00803B4 C1995CC0 C3273540 00000000 D616C118 00000001 0000010C D616C008
GPR08: 00000000 0000010C 00000000 00000000 175C8940
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4
Oops: kernel access of bad area, sig: 11 [#2]
NIP: C0008FDC LR: C00803B4 SP: D4663CC0 REGS: d4663c10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c79179e0[14223] 'vlc' Last syscall: 119
GPR00: C00803B4 D4663CC0 C79179E0 00000000 D154B918 00000001 0000010C D154B808
GPR08: 00000000 0000010C 00000000 00000000 15651298
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4
Oops: kernel access of bad area, sig: 11 [#3]
NIP: C0008FDC LR: C00803B4 SP: CB4CDCC0 REGS: cb4cdc10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c92110a0[14251] 'vlc' Last syscall: 119
GPR00: C00803B4 CB4CDCC0 C92110A0 00000000 C6041D18 00000001 0000010C C6041C08
GPR08: 00000000 0000010C 00000000 00000000 158395E8
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4
Oops: kernel access of bad area, sig: 11 [#4]
NIP: C0008FDC LR: C00803B4 SP: C73EFCC0 REGS: c73efc10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c768e0e0[14282] 'vlc' Last syscall: 37
GPR00: C00803B4 C73EFCC0 C768E0E0 00000000 D154B118 00000001 0000010C D154B008
GPR08: 00000000 0000010C 00000000 00000000 138C1F40
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4
Oops: kernel access of bad area, sig: 11 [#5]
NIP: C0008FDC LR: C00803B4 SP: CB613CC0 REGS: cb613c10 TRAP: 0301    Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000084, DSISR: 40000000
TASK = c7941ae0[14338] 'vlc' Last syscall: 119
GPR00: C00803B4 CB613CC0 C7941AE0 00000000 C6041118 00000001 0000010C C6041008
GPR08: 00000000 0000010C 00000000 00000000 124BBC78
Call trace:
 [c00803b4] elf_dump_thread_status+0xbc/0x130
 [c0080568] elf_core_dump+0x140/0x75c
 [c006354c] do_coredump+0x1d8/0x1f4
 [c002b63c] get_signal_to_deliver+0x244/0x314
 [c000a4b0] do_signal+0x30/0x24c
 [c0006098] do_user_signal+0x74/0xc4

(one for each attempt)

The kernel is a 2.6.0-ben2.
--
die_if_kernel("Whee... Hello Mr. Penguin", current->tss.kregs);
	2.2.16 /usr/src/linux/arch/sparc/kernel/traps.c


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-03-12  7:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-30 16:05 Oops on core dumping Whitney, John
2003-12-31  3:22 ` Benjamin Herrenschmidt
2004-03-12  6:55   ` Vincent Bernat
2004-03-12  6:59     ` Benjamin Herrenschmidt
2004-03-12  7:10       ` Vincent Bernat
2004-03-12  7:15         ` Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
2003-12-30  9:17 Vincent Bernat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).