[Bug 1063691] [NEW] libglib2.0-dev does not include GLib's systemtap probe definitions

saepia marcin at saepia.net
Mon Oct 8 10:55:47 UTC 2012


Public bug reported:

libglib2.0-dev does not include GLib's systemtap probe definitions, so
it is impossible to perform GLib debugging using systemtap.

Basically it means that /usr/share/systemtap/tapset/gobject.stp is
missing (there is no package that provides such file).

On Fedora, it comes as part of glib*-devel.

Test case:


$ stap --ldd debugging/alive.stp -c 'src/myapp -c config.xml'
semantic error: probe point mismatch at position 0  (alternatives:
__nfs __scheduler __signal __tcpmib __vm _linuxmib _signal _sunrpc
_syscall _vfs begin begin(number) end end(number) error error(number)
generic ioblock ioblock_trace ioscheduler ioscheduler_trace ipmib
irq_handler kernel kprobe kprocess linuxmib module(string) nd_syscall
netdev never nfs nfsd perf process process(number) process(string)
procfs procfs(string) scheduler scsi signal socket softirq stap
staprun sunrpc syscall tcp tcpmib timer tty udp vfs vm workqueue):
identifier 'gobject' at debugging/alive.stp:2:7 while resolving probe
point gobject.object_new
        source: probe gobject.object_new {
                      ^
semantic error: probe point mismatch at position 0  (alternatives:
__nfs __scheduler __signal __tcpmib __vm _linuxmib _signal _sunrpc
_syscall _vfs begin begin(number) end end(number) error error(number)
generic ioblock ioblock_trace ioscheduler ioscheduler_trace ipmib
irq_handler kernel kprobe kprocess linuxmib module(string) nd_syscall
netdev never nfs nfsd perf process process(number) process(string)
procfs procfs(string) scheduler scsi signal socket softirq stap
staprun sunrpc syscall tcp tcpmib timer tty udp vfs vm workqueue):
identifier 'gobject' at :5:7 while resolving probe point
gobject.object_finalize
        source: probe gobject.object_finalize {
                      ^
Pass 2: analysis failed.  Try again with another '--vp 01' option.


script was:

global alive
probe gobject.object_new {
 alive[type]++
}
probe gobject.object_finalize {
 alive[type]--
}
probe end {
  printf ("Alive objects: \n")
  foreach (a in alive) {
   if (alive[a] > 0)
     printf ("%d\t%s\n", alive[a], a)
  }
}

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libglib2.0-dev 2.32.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
Uname: Linux 3.2.0-31-generic i686
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Mon Oct  8 12:52:35 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: glib2.0
UpgradeStatus: Upgraded to precise on 2012-07-16 (83 days ago)

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1063691

Title:
  libglib2.0-dev does not include GLib's systemtap probe definitions

Status in “glib2.0” package in Ubuntu:
  New

Bug description:
  libglib2.0-dev does not include GLib's systemtap probe definitions, so
  it is impossible to perform GLib debugging using systemtap.

  Basically it means that /usr/share/systemtap/tapset/gobject.stp is
  missing (there is no package that provides such file).

  On Fedora, it comes as part of glib*-devel.

  Test case:

  
  $ stap --ldd debugging/alive.stp -c 'src/myapp -c config.xml'
  semantic error: probe point mismatch at position 0  (alternatives:
  __nfs __scheduler __signal __tcpmib __vm _linuxmib _signal _sunrpc
  _syscall _vfs begin begin(number) end end(number) error error(number)
  generic ioblock ioblock_trace ioscheduler ioscheduler_trace ipmib
  irq_handler kernel kprobe kprocess linuxmib module(string) nd_syscall
  netdev never nfs nfsd perf process process(number) process(string)
  procfs procfs(string) scheduler scsi signal socket softirq stap
  staprun sunrpc syscall tcp tcpmib timer tty udp vfs vm workqueue):
  identifier 'gobject' at debugging/alive.stp:2:7 while resolving probe
  point gobject.object_new
          source: probe gobject.object_new {
                        ^
  semantic error: probe point mismatch at position 0  (alternatives:
  __nfs __scheduler __signal __tcpmib __vm _linuxmib _signal _sunrpc
  _syscall _vfs begin begin(number) end end(number) error error(number)
  generic ioblock ioblock_trace ioscheduler ioscheduler_trace ipmib
  irq_handler kernel kprobe kprocess linuxmib module(string) nd_syscall
  netdev never nfs nfsd perf process process(number) process(string)
  procfs procfs(string) scheduler scsi signal socket softirq stap
  staprun sunrpc syscall tcp tcpmib timer tty udp vfs vm workqueue):
  identifier 'gobject' at :5:7 while resolving probe point
  gobject.object_finalize
          source: probe gobject.object_finalize {
                        ^
  Pass 2: analysis failed.  Try again with another '--vp 01' option.

  
  script was:

  global alive
  probe gobject.object_new {
   alive[type]++
  }
  probe gobject.object_finalize {
   alive[type]--
  }
  probe end {
    printf ("Alive objects: \n")
    foreach (a in alive) {
     if (alive[a] > 0)
       printf ("%d\t%s\n", alive[a], a)
    }
  }

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libglib2.0-dev 2.32.3-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
  Uname: Linux 3.2.0-31-generic i686
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: i386
  Date: Mon Oct  8 12:52:35 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  SourcePackage: glib2.0
  UpgradeStatus: Upgraded to precise on 2012-07-16 (83 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1063691/+subscriptions




More information about the foundations-bugs mailing list