Public bug reported:

When using xdotool from a command line with no DISPLAY environment
variable it segfaults:

$ xdotool key alt+Tab
Error: Can't open display: (null)
Segmentation fault (core dumped)

After printing the first error message it should exit with EXIT_FAILURE,
and not segfault.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xdotool 1:2.20110530.1-3ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-48.74-generic 3.2.46
Uname: Linux 3.2.0-48-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: i386
Date: Fri Jun 21 13:20:40 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MarkForUpload: True
SourcePackage: xdotool
UpgradeStatus: Upgraded to precise on 2012-05-08 (408 days ago)

** Affects: xdotool (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1193318

Title:
  xdotool segfaults if DISPLAY is not set

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to