Hi Colin,

As you indicated it seems that an actual allocation problem occurred on:

syscall table list zmalloc: Cannot allocate memory (in syscall_table_list() at 
syscall.c:291)
>From the code:

                                                                        
/*                                                                      
 * Allocate at least the number of total syscall we have even if some of
 * them might not be valid. The count below will make sure to return the
 * right size of the events array.                                      
 */                                                                     
events = zmalloc(syscall_table_nb_entry * sizeof(*events));             
if (!events) {                                                          
        PERROR("syscall table list zmalloc");                           
        ret = -LTTNG_ERR_NOMEM;                                         
        goto error;                                                     
}                                                                       
syscall_table_nb_entry is assigned in syscall_init_table.

Could you link the full sessiond log and strace log? Also if possible
determine the value of syscall_table_nb_entry?

Cheers

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1671063

Title:
  ubuntu_lttng_smoke_test failed on Yakkety s390x (zVM)

Status in linux package in Ubuntu:
  In Progress

Bug description:
  Two test cases failed on this arch:
  == lttng smoke test list kernel events ==
  PASSED (lttng list --kernel)
  Error: Unable to list system calls: Not enough memory
  Error: Command error
  FAILED (lttng list --kernel --syscall)
  FAILED (lttng list --kernel --syscall more output expected)
   
  == lttng smoke test trace open/close system calls ==
  ...
  FAILED (did not trace any open system calls)

  Please find attachment for complete log.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: linux-image-4.8.0-40-generic 4.8.0-40.43
  ProcVersionSignature: Ubuntu 4.8.0-40.43-generic 4.8.17
  Uname: Linux 4.8.0-40-generic s390x
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 
2: ls: cannot access '/dev/snd/': No such file or directory
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.20.3-0ubuntu8.2
  Architecture: s390x
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 
not found.
  Date: Wed Mar  8 06:39:24 2017
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lspci:
   
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  PciMultimedia:
   
  ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
  ProcKernelCmdLine: root=/dev/mapper/kl02vg01-root crashkernel=196M debug 
udev.log-priority=debug rd.udev.log_priority=debug BOOT_IMAGE=0
  RelatedPackageVersions:
   linux-restricted-modules-4.8.0-40-generic N/A
   linux-backports-modules-4.8.0-40-generic  N/A
   linux-firmware                            1.161.1
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1671063/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to