Comment 0 for bug 815715

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I realized a while ago that g_debug, g_warning etc had no effect if called from unity-panel-service. unity-panel-service has always contained such calls, but the output mysteriously never appears in ~/.xsession-errors

The problem seems obvious -- it's stdout (1) and stderr (2) descriptors are closed:

ls -l /proc/`pidof unity-panel-service`/fd
total 0
lrwx------ 1 dan dan 64 2011-07-25 15:10 0 -> /dev/null
lrwx------ 1 dan dan 64 2011-07-25 15:10 1 -> /dev/null
...
lrwx------ 1 dan dan 64 2011-07-25 15:10 2 -> /dev/null
...

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.16-0ubuntu1~natty1
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,vpswitch,place,imgpng,regex,unitymtgrabhandles,grid,session,snap,mousepoll,resize,move,animation,expo,ezoom,workarounds,resizeinfo,wall,staticswitcher,fade,scale,unityshell]
Date: Mon Jul 25 15:03:20 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=en_AU:en
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)