This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug uprobes/10185] New: stap uprobe script on rawhide causes system crash


[root@... ~]# uname -a
Linux ... 2.6.29.3-140.fc11.i586 #1 SMP Tue May 12 10:30:21 EDT 2009 i686 i686
i386 GNU/Linux

SystemTap snapshot from last week (15May)

[root@... ~]# cat /home/ananth/scripts/user_bt.stp
probe process("/home/ananth/temp/new-hwrld").function("main")
{
	log("main");
	print_ubacktrace()
}

probe process("/lib/libc.so.6").function("raise")
{
	log("raise")
	print_ubacktrace()
}

...

main
 0x080484a5 : main+0x1/0x5c [/home/ananth/temp/new-hwrld]
raise
 0x433109d1 : raise+0x1/0x90 [/lib/libc-2.10.1.so]
^C

kernel BUG at /usr/local/share/systemtap/runtime/uprobes/../uprobes2/uprobes.c:534
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/module/video/sections/__param
Modules linked in: stap_b18709e7777f5130d8ad9fd893df16a6_1453 uprobes ...

Pid: 1817, comm: stapio Not Tainted (2.6.29.3-140.fc11.i586 #1) 6824IAA
EIP: 0060:[<e1c681cc>] EFLAGS: 00010246 CPU: 0
EIP is at uprobe_free_task+0x3b/0xdc [uprobes]
EAX: ffffff8d EBX: de858a80 ECX: 00000005 EDX: 00000006
ESI: de858a20 EDI: 00000000 EBP: de9c9e24 ESP: de9c9e14
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process stapio (pid: 1817, ti=de9c8000 task=dd3225e0 task.ti=de9c8000)
Stack:
 de9c9e30 de98e400 de858a20 00000000 de9c9e3c e1c682e1 d398e49c de98e400
 00000001 00000000 de9c9e50 e1c68c09 de997880 de98e400 e1d6bdc4 de9c9e88
 e1c69eb8 deba5a60 019c9e74 e1d4b39b 00000000 e1d60f34 dd326500 e1d60f34
Call Trace:
[<e1c682e1>] ? uprobe_free_process+0x74/0xa3 [uprobes]
[<e1c68c09>] ? uprobe_put_process+0x54/0x78 [uprobes]
[<e1c69eb8>] ? __unregister_uprobe+0x1cf/0x1d7 [uprobes]
[<e1d4b39b>] ? stap_utrace_detach+0x3a/0xdd
[stap_b18709e7777f5130d8ad9fd893df16a6_1453]
[<e1c69ef6>] ? unregister_uprobe+0x12/0x14 [uprobes]
[<e1d4cab9>] ? _stp_cleanup_and_exit+0x87/0x178
[stap_b18709e7777f5130d8ad9fd893df16a6_1453]
[<e1d4d1fd>] ? _stp_ctl_write_cmd+0x620/0x768
[stap_b18709e7777f5130d8ad9fd893df16a6_1453]
[<c045e500>] ? finish_resume_report+0x86/0x8b
[<c045e5cb>] ? utrace_resume+0xc6/0xce
[<c04038c6>] ? do_notify_resume+0x60c/0x62d
[<c043a2b2>] ? recalc_sigpending+0x1e/0x90
[<c043ad92>] ? sys_rt_sigtimedwait+0x1d7/0x235
[<c052e0bf>] ? security_file_permission+0x14/0x16
[<c04a08ab>] ? rw_verify_area+0x9a/0xbc
[<e1d4cbdd>] ? _stp_ctl_write_cmd+0x0/0x768
[stap_b18709e7777f5130d8ad9fd893df16a6_1453]
[<c04a0f7c>] ? vfs_write+0x95/0xf4
[<c04a1097>] ? sys_write+0x4c/0x70
[<c0403f72>] ? syscall_call+0x7/0xb
Code: 88 d0 8b 53 18 85 d2 74 26 64 8b 0d 00 f0 94 c0 39 4b 10 75 04 84 c0 75 16
8b 43 14 b9 06 00 00 00 e8 97 ff ff ff 83 f8 8d 75 04 <0f> 0b eb fe 8b 43 14 e8
d1 65 7d de b8 c4 ce c6 e1 e8 db f9 a9 
EIP: [<e1c681cc>] uprobe_free_task+0x3b/0xdc [uprobes] SS:ESP 0068:de9c9e14
Kernel panic - not syncing: Fatal exception

-- 
           Summary: stap uprobe script on rawhide causes system crash
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: uprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: ananth at in dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10185

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]