This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/7082] uretprobes probes causing kernel problems
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 10 Dec 2008 18:55:56 -0000
- Subject: [Bug runtime/7082] uretprobes probes causing kernel problems
- References: <20081208200821.7082.dsmith@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From dsmith at redhat dot com 2008-12-10 18:55 -------
(In reply to comment #2)
> Created an attachment (id=3099)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3099&action=view)
> Adds some instrumentation to uprobes2/uprobes.c (AKA uprobes_core.c)
>
> I'm not seeing any hangs, but I see the Trace/breakpoint trap on [2].
Which arch/kernel is this on?
> And when I add the attached instrumentation to uprobes[_core].c, I see lots of
> printks ("Child %d failed to inherit parent %d's SSOL vma..." and "Parent %d's
> SSOL vma is no longer valid...") on [4] -- but not [2]. I haven't yet figured
> out why that happens.
I just retested with a different i386 system (a 16-way system) running kernel
2.6.18-125.el5PAE, here are the results.
[1] - works
[2] - panic
uretprobes disabled for pid 12202: cannot set uretprobe trampoline at bfde7000
------------[ cut here ]------------
kernel BUG at /usr/local/share/systemtap/runtime/uprobes/uprobes.c:2082!
invalid opcode: 0000 [#1]
SMP
last sysfs file: /module/xfrm_nalgo/sections/__versions
Modules linked in: stap_e2c1d057395308e39b1968abbc13a554_308991(U) uprobes(U)
autofs4 hidp rfcomm l2cap bluetooth sunrpc ipv6 xfrm_nalgo crypto_api dm_mirror
dm_log dm_multipath scsi_dh dm_mod video hwmon backlight sbs i2c_ec button
battery asus_acpi ac lp ide_cd i2c_i801 cdrom floppy e1000 i2c_core parport_pc
sg e1000e parport serio_raw pcspkr ata_piix libata megaraid_sas sd_mod scsi_mod
ext3 jbd uhci_hcd ohci_hcd ehci_hcd
CPU: 4
EIP: 0060:[<f8aa1ac9>] Tainted: G VLI
EFLAGS: 00010202 (2.6.18-125.el5PAE #1)
EIP is at uprobe_report_clone+0x1ad/0x2fd [uprobes]
eax: f7543400 ebx: fffffff4 ecx: 00000202 edx: f7543000
esi: f7543000 edi: effd29c0 ebp: effa1740 esp: ef7abf30
ds: 007b es: 007b ss: 0068
Process bash (pid: 11996, ti=ef7ab000 task=f266e000 task.ti=ef7ab000)
Stack: f7543400 f7543000 f266e000 fffffff4 f8aa2620 ec6376e0 eff61a60 00000000
c0450cce f740c550 f740c550 01200011 f266e000 ec637b40 00000001 f740c550
01200011 00000000 c04239a4 00002faa 00000073 bf861c38 49400496 15c36020
Call Trace:
[<c0450cce>] utrace_report_clone+0x4e/0x148
[<c04239a4>] do_fork+0xd7/0x166
[<c040318b>] sys_clone+0x28/0x2d
[<c0404f17>] syscall_call+0x7/0xb
=======================
Code: ff 85 c0 89 c5 75 08 0f 0b 6a 08 7b 27 aa f8 8b 55 18 8b 47 18 89 54 24 04
8b 9a c8 00 00 00 89 5c 24 0c 3b 98 c8 00 00 00 74 08 <0f> 0b 22 08 7b 27 aa f8
8b 7f 34 c7 44 24 08 00 00 00 00 e9 87
EIP: [<f8aa1ac9>] uprobe_report_clone+0x1ad/0x2fd [uprobes] SS:ESP 0068:ef7abf30
<0>Kernel panic - not syncing: Fatal exception
[3] works
[4] panic
uretprobes disabled for pid 4694: cannot set uretprobe trampoline at bfd27000
------------[ cut here ]------------
kernel BUG at /usr/local/share/systemtap/runtime/uprobes/uprobes.c:2082!
invalid opcode: 0000 [#1]
SMP
last sysfs file: /module/xfrm_nalgo/sections/__versions
Modules linked in: stap_aea6eb2edb5620d59d89f2532dc354a4_330(U) uprobes(U)
autofs4 hidp rfcomm l2cap bluetooth sunrpc ipv6 xfrm_nalgo crypto_api dm_mirror
dm_log dm_multipath scsi_dh dm_mod video hwmon backlight sbs i2c_ec button
battery asus_acpi ac lp e1000e e1000 parport_pc floppy ide_cd i2c_i801 parport
serio_raw sg cdrom i2c_core pcspkr ata_piix libata megaraid_sas sd_mod scsi_mod
ext3 jbd uhci_hcd ohci_hcd ehci_hcd
CPU: 15
EIP: 0060:[<f8a33ac9>] Tainted: G VLI
EFLAGS: 00010202 (2.6.18-125.el5PAE #1)
EIP is at uprobe_report_clone+0x1ad/0x2fd [uprobes]
eax: c9781a00 ebx: fffffff4 ecx: 00000202 edx: f307f800
esi: f307f800 edi: f2ed7240 ebp: f31f5340 esp: f09ddf30
ds: 007b es: 007b ss: 0068
Process bash (pid: 4693, ti=f09dd000 task=f7b72000 task.ti=f09dd000)
Stack: c9781a00 f307f800 f7b72000 fffffff4 f8a34620 f7c4a4a0 f31f7580 00000000
c0450cce f2a52000 f2a52000 01200011 f7b72000 f0fdd8a0 00000001 f2a52000
01200011 00000000 c04239a4 00001256 00000073 f7d07000 494007af 1378ec03
Call Trace:
[<c0450cce>] utrace_report_clone+0x4e/0x148
[<c04239a4>] do_fork+0xd7/0x166
[<c040318b>] sys_clone+0x28/0x2d
[<c0404f17>] syscall_call+0x7/0xb
=======================
Code: ff 85 c0 89 c5 75 08 0f 0b 6a 08 7b 47 a3 f8 8b 55 18 8b 47 18 89 54 24 04
8b 9a c8 00 00 00 89 5c 24 0c 3b 98 c8 00 00 00 74 08 <0f> 0b 22 08 7b 47 a3 f8
8b 7f 34 c7 44 24 08 00 00 00 00 e9 87
EIP: [<f8a33ac9>] uprobe_report_clone+0x1ad/0x2fd [uprobes] SS:ESP 0068:f09ddf30
<0>Kernel panic - not syncing: Fatal exception
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7082
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.