public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/15523] New: socket tapset broken
@ 2013-05-23 19:00 dsmith at redhat dot com
  2013-06-04 13:32 ` [Bug tapsets/15523] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-05-23 19:00 UTC (permalink / raw)
  To: systemtap

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

             Bug #: 15523
           Summary: socket tapset broken
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: dsmith@redhat.com
    Classification: Unclassified


On 3.7.0-0.36.el7.x86_64, the socket tapset has problems:

====
  $ cat test.stp
  probe socket.close {
        print(protocol)
        print(family)
        print(state)
        print(flags)
        print(type)
  }

  # stap -v test.stp
  <snip>
  Pass 5: starting run.
  ERROR: read fault [man error::fault] at 0x0000000000000128 (addr) near
identifier '$sock' at /usr/share/systemtap/tapset/linux/socket.stp:499:13
  1516183WARNING: Number of errors: 1, skipped probes: 1
  WARNING: /usr/bin/staprun exited with status: 1
====

The problem here is that the 'protocol' convenience variable is defined as the
following:

    protocol = $sock->sk->sk_protocol

In this case $sock->sk is NULL.

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

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

* [Bug tapsets/15523] socket tapset broken
  2013-05-23 19:00 [Bug tapsets/15523] New: socket tapset broken dsmith at redhat dot com
@ 2013-06-04 13:32 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-06-04 13:32 UTC (permalink / raw)
  To: systemtap

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

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Fixed in commit b53b293.

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

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

end of thread, other threads:[~2013-06-04 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-23 19:00 [Bug tapsets/15523] New: socket tapset broken dsmith at redhat dot com
2013-06-04 13:32 ` [Bug tapsets/15523] " dsmith at redhat dot com

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 read-only IMAP folder(s) and NNTP newsgroup(s).