xserver-xorg-core-dbg does not provide proper debug symbols

Bug #1733697 reported by Bram Stolk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

NOTE: This is an issue with the package xserver-xorg-core-dbg but launchpad will not let me file against this.

If I collect call-stacks with linux perf utility, then the Xorg process will not show symbols.
Everything is listed as [Unknown]

Installing the xserver-xorg-core-dbg package is supposed to fix this.
But after installing this dbg package, the symbols are still missing.

bram@ubuntu64:~$ dpkg --list | grep xserver-xorg-core
ii xserver-xorg-core 2:1.18.4-0ubuntu0.7 amd64 Xorg X server - core server
ii xserver-xorg-core-dbg 2:1.18.4-0ubuntu0.7 amd64 Xorg - the X.Org X server (debugging symbols)

bram@ubuntu64:~$ lsb_release -rd
Description: Ubuntu 16.04.3 LTS
Release: 16.04

If I record samples with perf, and then view the report, I expect symbol information to show up in the report, provided the xserver-xorg-core-dbg package is installed.

Instead, I only see [Unknown] listed for the Xorg process.

My guess is the buildid got out of sync, perhaps?

bram@ubuntu64:~$ dpkg -L xserver-xorg-core-dbg
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/xserver-xorg-core-dbg
/usr/share/doc/xserver-xorg-core-dbg/copyright
/usr/lib
/usr/lib/debug
/usr/lib/debug/.build-id
/usr/lib/debug/.build-id/42
/usr/lib/debug/.build-id/42/c7783825afd79435e38d4a44c1f803af7e0ede.debug
/usr/lib/debug/.build-id/29
/usr/lib/debug/.build-id/29/7688d51b03d7113a5417f6de68fbe57aa095a7.debug
/usr/lib/debug/.build-id/95
/usr/lib/debug/.build-id/95/c6f885e4d38415e1c9c415faa49a4aaf94d3a6.debug
/usr/lib/debug/.build-id/0a
/usr/lib/debug/.build-id/0a/ec6f336b0afcecec52075749edd8606d0e2c0f.debug
/usr/lib/debug/.build-id/ed
/usr/lib/debug/.build-id/ed/58714e90f021e7bf8d3e4b9fea98afae3bf26a.debug
/usr/lib/debug/.build-id/85
/usr/lib/debug/.build-id/85/94b58beafa25b0afdfe2103da79a237bc80966.debug
/usr/lib/debug/.build-id/14
/usr/lib/debug/.build-id/14/d434922be2cce2eb808c66a20806ab5ca3eb68.debug
/usr/lib/debug/.build-id/7e
/usr/lib/debug/.build-id/7e/f04a35db84d7a294a77b6dcde195041f3bf08b.debug
/usr/lib/debug/.build-id/2f
/usr/lib/debug/.build-id/2f/e03d62a5fea1e02840854fd11fbcd69275bad9.debug
/usr/lib/debug/.build-id/0c
/usr/lib/debug/.build-id/0c/c569fa64444ffd714bf6198563a614dbcb9e48.debug
/usr/lib/debug/.build-id/ef
/usr/lib/debug/.build-id/ef/6b2e5f223b9b54b4f55396b15157f58272f07d.debug
/usr/lib/debug/.build-id/d7
/usr/lib/debug/.build-id/d7/87b1937d2c69184d5ccd2fcfef44d3b46872e7.debug
/usr/lib/debug/.build-id/62
/usr/lib/debug/.build-id/62/787451bec8c154742e8f8c0ce3350031d20596.debug
/usr/lib/debug/.build-id/15
/usr/lib/debug/.build-id/15/1fe43fa88efb1d0baaf0ca815baa6f8d079bfb.debug
/usr/lib/debug/.build-id/49
/usr/lib/debug/.build-id/49/166fe55c61663f303afb050b65052676f745a1.debug
/usr/share/doc/xserver-xorg-core-dbg/changelog.Debian.gz

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xserver-xorg-core-dbg 2:1.18.4-0ubuntu0.7
ProcVersionSignature: Ubuntu 4.4.0-98.121-generic 4.4.90
Uname: Linux 4.4.0-98-generic x86_64
NonfreeKernelModules: vtsspp sep4_1 socperf2_0 pax nvidia_uvm nvidia_drm nvidia_modeset nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 384.90 Tue Sep 19 19:17:35 PDT 2017
 GCC version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
.proc.driver.nvidia.warnings.fbdev:
 Your system is not currently configured to drive a VGA console
 on the primary VGA device. The NVIDIA Linux graphics driver
 requires the use of a text-mode VGA console. Use of other console
 drivers including, but not limited to, vesafb, may result in
 corruption and stability problems, and is not supported.
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2.13
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Tue Nov 21 13:00:18 2017
DistUpgraded: 2016-08-28 14:14:15,661 DEBUG icon theme changed, re-reading
DistroCodename: xenial
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: ZOTAC International (MCO) Ltd. GM107 [GeForce GTX 750 Ti] [19da:2291]
InstallationDate: Installed on 2015-06-06 (899 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: ASUS All Series
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-98-generic root=UUID=099ad5d7-7965-415b-ae1e-aaee33f7454a ro quiet splash vt.handoff=7
SourcePackage: xorg-server
UpgradeStatus: Upgraded to xenial on 2016-08-28 (449 days ago)
dmi.bios.date: 06/02/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2108
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H87M-PLUS
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2108:bd06/02/2015:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnH87M-PLUS:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: All Series
dmi.product.version: System Version
dmi.sys.vendor: ASUS
version.compiz: compiz 1:0.9.12.2+16.04.20160823-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-1~ubuntu16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.0.7-0ubuntu0.16.04.2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 17.0.7-0ubuntu0.16.04.2
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-0ubuntu0.7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Tue Nov 21 12:39:46 2017
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.18.4-0ubuntu0.7

Revision history for this message
Bram Stolk (b-stolk) wrote :
Revision history for this message
Bram Stolk (b-stolk) wrote :

per report showing [Unknown] for Xorg process, even though xserver-xorg-core-dbg is installed.

Revision history for this message
Bram Stolk (b-stolk) wrote :

Ok, after installing xserver-xorg-core-dbgsym and using "--callstack dwarf" it now works.
This bug can be closed.

Changed in xorg-server (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.