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 testsuite/13641] New: pfiles.stp does something nasty


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

             Bug #: 13641
           Summary: pfiles.stp does something nasty
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: systemtap@sourceware.org
        ReportedBy: mjw@redhat.com
    Classification: Unclassified


The pfiles.stp example does something nasty from its begin probe.
When run as /usr/local/install/systemtap/bin/stap -g
~/src/systemtap/testsuite/systemtap.examples/propfiles.stp -x $$

[ 2714.125183] BUG: sleeping function called from invalid context at
mm/page_alloc.c:2388
[ 2714.126350] in_atomic(): 1, irqs_disabled(): 0, pid: 22863, name: stapio
[ 2714.127299] 1 lock held by stapio/22863:
[ 2714.127829]  #0:  (rcu_read_lock){.+.+.+}, at: [<ffffffffa024f9a6>]
probe_1987+0x1586/0x31b0 [stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.129729] Pid: 22863, comm: stapio Tainted: G           O
3.3.0-0.rc1.git6.1.fc17.x86_64 #1
[ 2714.130963] Call Trace:
[ 2714.131336]  [<ffffffff81095d1c>] __might_sleep+0x13c/0x200
[ 2714.132194]  [<ffffffff8115823b>] __alloc_pages_nodemask+0x26b/0xad0
[ 2714.133045]  [<ffffffff81043ba2>] ? kvm_clock_read+0x32/0x40
[ 2714.133771]  [<ffffffff81020f99>] ? sched_clock+0x9/0x10
[ 2714.134480]  [<ffffffff810a2485>] ? sched_clock_local+0x25/0xa0
[ 2714.135358]  [<ffffffff810a2638>] ? sched_clock_cpu+0xa8/0x120
[ 2714.136250]  [<ffffffff810c6c8d>] ? trace_hardirqs_off+0xd/0x10
[ 2714.137063]  [<ffffffff810a271f>] ? local_clock+0x6f/0x80
[ 2714.137792]  [<ffffffff81194334>] alloc_pages_current+0xa4/0x110
[ 2714.138601]  [<ffffffff81153874>] __get_free_pages+0x14/0x50
[ 2714.139365]  [<ffffffffa024ff44>] probe_1987+0x1b24/0x31b0
[stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.140736]  [<ffffffffa024f9a6>] ? probe_1987+0x1586/0x31b0
[stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.142031]  [<ffffffffa02519fc>] enter_be_probe+0x11c/0x230
[stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.143305]  [<ffffffffa02523f7>] _stp_ctl_write_cmd+0x477/0x710
[stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.144765]  [<ffffffff811baacf>] vfs_write+0xaf/0x190
[ 2714.145474]  [<ffffffff811bae0d>] sys_write+0x4d/0x90
[ 2714.146168]  [<ffffffff816aa369>] system_call_fastpath+0x16/0x1b
[ 2714.146950] BUG: scheduling while atomic: stapio/22863/0x10000003
[ 2714.148457] 1 lock held by stapio/22863:
[ 2714.148978]  #0:  (rcu_read_lock){.+.+.+}, at: [<ffffffffa024f9a6>]
probe_1987+0x1586/0x31b0 [stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.150710] Modules linked in:
stap_a77c4d009ef9368aeee6479f53f05545_22863(O) nfs lockd fscache auth_rpcgss
nfs_acl sunrpc nf_conntrack_ipv4 ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv4
nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables snd_intel8x0
snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc 8139too
i2c_piix4 microcode i2c_core 8139cp mii virtio_balloon uinput [last unloaded:
stap_bb8bdd5545a4e03cd65c278e9cad1e76__22329]
[ 2714.156946] Pid: 22863, comm: stapio Tainted: G           O
3.3.0-0.rc1.git6.1.fc17.x86_64 #1
[ 2714.158127] Call Trace:
[ 2714.158472]  [<ffffffff816957f4>] __schedule_bug+0x80/0x85
[ 2714.159275]  [<ffffffff8169f7eb>] __schedule+0x8db/0x9a0
[ 2714.159977]  [<ffffffff8109b32a>] __cond_resched+0x2a/0x40
[ 2714.160784]  [<ffffffff8169f930>] _cond_resched+0x30/0x40
[ 2714.161629]  [<ffffffff81158240>] __alloc_pages_nodemask+0x270/0xad0
[ 2714.162545]  [<ffffffff81043ba2>] ? kvm_clock_read+0x32/0x40
[ 2714.163360]  [<ffffffff81020f99>] ? sched_clock+0x9/0x10
[ 2714.164136]  [<ffffffff810a2485>] ? sched_clock_local+0x25/0xa0
[ 2714.164999]  [<ffffffff810a2638>] ? sched_clock_cpu+0xa8/0x120
[ 2714.165833]  [<ffffffff810c6c8d>] ? trace_hardirqs_off+0xd/0x10
[ 2714.166750]  [<ffffffff810a271f>] ? local_clock+0x6f/0x80
[ 2714.167539]  [<ffffffff81194334>] alloc_pages_current+0xa4/0x110
[ 2714.168412]  [<ffffffff81153874>] __get_free_pages+0x14/0x50
[ 2714.169246]  [<ffffffffa024ff44>] probe_1987+0x1b24/0x31b0
[stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.170567]  [<ffffffffa024f9a6>] ? probe_1987+0x1586/0x31b0
[stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.171885]  [<ffffffffa02519fc>] enter_be_probe+0x11c/0x230
[stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.173192]  [<ffffffffa02523f7>] _stp_ctl_write_cmd+0x477/0x710
[stap_a77c4d009ef9368aeee6479f53f05545_22863]
[ 2714.174605]  [<ffffffff811baacf>] vfs_write+0xaf/0x190
[ 2714.175407]  [<ffffffff811bae0d>] sys_write+0x4d/0x90
[ 2714.176112]  [<ffffffff816aa369>] system_call_fastpath+0x16/0x1b

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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