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 runtime/2532] New: "-b" causes stpd warnings or crash on 2.6.17-rc1


I'm working with snapshot-20060408 on ppc64/2.6.17-rc1. 
It works well without "-b". But if "-b" is given, stpd will throw 
abnormal warnings(when merge=1), or cause system crash (when merge).

For example, when I run:
  stap -b -e "probe begin { log(\"here\"); exit(); }"
I always get the following warnings:
  remove_proc_entry: stap_3819/cpu0 busy, count=1
  ...
  remove_proc_entry: stap_3819/cpu7 busy, count=1
  remove_proc_entry: systemtap/stap_3819 busy, count=1

And if I disable the merge operation of stpd and re-run the 
above command, the system crashed. 
Here is xmon's output:
------------------------------------------------------------
Badness in remove_proc_entry at fs/proc/generic.c:732
Call Trace:
[C0000000306377B0] [C00000000000EC38] .show_stack+0x68/0x1b4 (unreliable)
[C000000030637860] [C00000000044A2AC] .program_check_exception+0x1cc/0x5dc
[C000000030637900] [C00000000000446C] program_check_common+0xec/0x100
--- Exception: 700 at .remove_proc_entry+0x1b8/0x244
    LR = .remove_proc_entry+0xe0/0x244
[C000000030637C90] [D00000000026188C] ._stp_unregister_procfs+0xbc/0x190 [stap_4158]
[C000000030637D20] [C00000000006FF98] .sys_delete_module+0x1ec/0x23c
[C000000030637E30] [C00000000000871C] syscall_exit+0x0/0x40
remove_proc_entry: systemtap/stap_4158 busy, count=1
Unable to handle kernel paging request for data at address 0xd000000000309a08
Faulting instruction address: 0xc0000000000801d0
cpu 0x2: Vector: 300 (Data Access) at [c000000032a0b750]
    pc: c0000000000801d0: .relay_file_mmap_close+0x20/0x50
    lr: c0000000000981c0: .remove_vma+0x64/0xc4
    sp: c000000032a0b9d0
   msr: 8000000000009032
   dar: d000000000309a08
 dsisr: 40000000
  current = 0xc000000033f357f0
  paca    = 0xc00000000054a400
    pid   = 4247, comm = stpd
enter ? for help
2:mon> t
[c000000032a0ba50] c0000000000981c0 .remove_vma+0x64/0xc4
[c000000032a0bae0] c00000000009a944 .exit_mmap+0x134/0x170
[c000000032a0bb90] c0000000000491ac .mmput+0x60/0x14c
[c000000032a0bc30] c00000000004f764 .exit_mm+0x214/0x238
[c000000032a0bcd0] c00000000004fec4 .do_exit+0x230/0x954
[c000000032a0bd90] c0000000000506dc .sys_exit_group+0x0/0x8
[c000000032a0be30] c00000000000871c syscall_exit+0x0/0x40
--- Exception: c01 (System Call) at 000000000ff15f74
SP (fff075a0) is in userspace
2:mon> r
R00 = c0000000000981c0   R16 = 0000000008028c78
R01 = c000000032a0b9d0   R17 = 0000000008028cb0
R02 = c0000000007111e0   R18 = 0000000000000000
R03 = c0000000363d3980   R19 = 0000000000000000
R04 = c000000037c0b180   R20 = 0000000008028c80
R05 = 0000000000000000   R21 = 0000000000000001
R06 = 0000000000000000   R22 = 0000000000000001
R07 = 0000000000000002   R23 = 0000000010010000
R08 = 0000000000037066   R24 = 000000000ffc79d0
R09 = d0000000003099f8   R25 = 0000000010000000
R10 = c000000000770c00   R26 = 0000000010010000
R11 = c000000032aca800   R27 = c000000032a84800
R12 = 0000000024004448   R28 = 0000000000000000
R13 = c00000000054a400   R29 = c0000000304d2140
R14 = 0000000000000001   R30 = c00000000057eac8
R15 = 0000000000000000   R31 = c0000000303dc700
pc  = c0000000000801d0 .relay_file_mmap_close+0x20/0x50
lr  = c0000000000981c0 .remove_vma+0x64/0xc4
msr = 8000000000009032   cr  = 84004448
ctr = c0000000000801b0   xer = 0000000000000006   trap =  300
dar = d000000000309a08   dsisr = 40000000

-- 
           Summary: "-b" causes stpd warnings or crash on 2.6.17-rc1
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: guij at cn dot ibm dot com


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

------- 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]