[Bug 232675] dtrace: "failed to compile script" when more than 2^15 distinct types are in CTF info

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 28 05:22:37 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232675

Kubilay Kocak <koobs at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtrace at FreeBSD.org
           Keywords|                            |needs-patch, needs-qa
            Summary|Regression of dtrace on     |dtrace: "failed to compile
                   |13-CURRENT                  |script" when more than 2^15
                   |                            |distinct types are in CTF
                   |                            |info
             Status|Closed                      |Open
                URL|                            |https://reviews.freebsd.org
                   |                            |/D17877
              Flags|                            |mfc-stable11?,
                   |                            |mfc-stable12?
         Resolution|FIXED                       |---

--- Comment #21 from Kubilay Kocak <koobs at FreeBSD.org> ---
Hitting this issue with: FreeBSD 13.0-CURRENT r348305 GENERIC-NODEBUG amd64

This causes the build (configure) failure of lang/perl5* (bug 227312)

What is the course of action to resolve the 2^15 limit permanently?

ctfdump -S /boot/kernel/kernel

- CTF Statistics -------------------------------------------------------------

  total number of data objects        = 29753

  total number of functions           = 32387
  total number of function arguments  = 78172
  maximum argument list length        = 22
  average argument list length        = 2.41

  total number of types               = 35498 <------
  total number of integers            = 76
  total number of floats              = 0
  total number of pointers            = 9481
  total number of arrays              = 3273
  total number of func types          = 3102
  total number of structs             = 11405
  total number of unions              = 633
  total number of enums               = 811
  total number of forward tags        = 49
  total number of typedefs            = 5893
  total number of volatile types      = 55
  total number of const types         = 588
  total number of restrict types      = 0
  total number of unknowns (holes)    = 132

  total number of struct members      = 87550
  maximum number of struct members    = 248
  total size of all structs           = 22415324
  maximum size of a struct            = 2971720
  average number of struct members    = 7.68
  average size of a struct            = 1965.39

  total number of union members       = 2091
  maximum number of union members     = 36
  total size of all unions            = 136952
  maximum size of a union             = 41576
  average number of union members     = 3.30
  average size of a union             = 216.35

  total number of enum members        = 8061
  maximum number of enum members      = 1023
  average number of enum members      = 9.94

  total number of unique strings      = 64074
  bytes of string data                = 926366
  maximum string length               = 81
  average string length               = 14.46

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-dtrace mailing list