If you want to try to reconstruct the sudo error you have to run sudo twice, though:
sudo test [here you will get no error message] sudo test [here you will get the error message] Seems like the error is related to the mechanism that allows you to use sudo without having to enter the password again every time if the time span that has passed since the last use of sudo isn't too big. ** Bug watch added: Debian Bug tracker #648698 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648698 ** Also affects: libpam-mount (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648698 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/837285 Title: lightdm assert failure: lightdm: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' failed. Status in “lightdm” package in Ubuntu: Confirmed Status in “libpam-mount” package in Debian: Unknown Bug description: Logged in with GNOME as session. ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: lightdm 0.9.3-0ubuntu8 ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3 Uname: Linux 3.0.0-9-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 AssertionMessage: lightdm: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' failed. CrashCounter: 1 Date: Tue Aug 30 12:18:08 2011 ExecutablePath: /usr/sbin/lightdm InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429) ProcCmdline: lightdm ProcEnviron: PATH=(custom, no user) Signal: 6 SourcePackage: lightdm StacktraceTop: __GI___assert_fail (assertion=0x7f0c2294a63c "user != ((void *)0)", file=<optimized out>, line=417, function=<optimized out>) at assert.c:81 ?? () from /lib/security/pam_mount.so pam_sm_close_session () from /lib/security/pam_mount.so ?? () from /lib/x86_64-linux-gnu/libpam.so.0 ?? () Title: lightdm assert failure: lightdm: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' failed. UpgradeStatus: Upgraded to oneiric on 2011-08-19 (10 days ago) UserGroups: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/837285/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

