← Back to team overview

sikuli-driver team mailing list archive

[Bug 1687263] [NEW] [1.1.1] Linux: xdotool check: CommandLine.parse("xdotool -v")

 

Public bug reported:

*** based on: https://github.com/RaiMan/SikuliX-2014/issues/253
---------------------

I think CommandLine.parse("xdotool version") should be
CommandLine.parse("xdotool -v") in the checkFeatureAvailability method
of LinuxUtil.java.

On Ubuntu 14.04 and Ubuntu 16.04 xdotool version fails with a
segmentation fault.

It is a bug in xdotool that any unknown parameter that is passed causes
a segfault. See my tests below:

htplainf@ub-mguibot:~$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l
htplainf@ub-mguibot:~$ xdotool -v
xdotool version 3.20150503.1
htplainf@ub-mguibot:~$ xdotool version
Segmentation fault (core dumped)
htplainf@ub-mguibot:~$ xdotool any_unknown_param_causes_segfault
Segmentation fault (core dumped)
htplainf@ub-mguibot:~$

** Affects: sikuli
     Importance: Undecided
         Status: New

** Description changed:

+ *** based on: https://github.com/RaiMan/SikuliX-2014/issues/253
+ ---------------------
+ 
  I think CommandLine.parse("xdotool version") should be
  CommandLine.parse("xdotool -v") in the checkFeatureAvailability method
  of LinuxUtil.java.
  
  On Ubuntu 14.04 and Ubuntu 16.04 xdotool version fails with a
  segmentation fault.
  
  It is a bug in xdotool that any unknown parameter that is passed causes
  a segfault. See my tests below:
  
  htplainf@ub-mguibot:~$ cat /etc/issue
  Ubuntu 16.04.2 LTS \n \l
  htplainf@ub-mguibot:~$ xdotool -v
  xdotool version 3.20150503.1
  htplainf@ub-mguibot:~$ xdotool version
  Segmentation fault (core dumped)
  htplainf@ub-mguibot:~$ xdotool any_unknown_param_causes_segfault
  Segmentation fault (core dumped)
  htplainf@ub-mguibot:~$

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

Title:
  [1.1.1] Linux: xdotool check: CommandLine.parse("xdotool -v")

Status in Sikuli:
  New

Bug description:
  *** based on: https://github.com/RaiMan/SikuliX-2014/issues/253
  ---------------------

  I think CommandLine.parse("xdotool version") should be
  CommandLine.parse("xdotool -v") in the checkFeatureAvailability method
  of LinuxUtil.java.

  On Ubuntu 14.04 and Ubuntu 16.04 xdotool version fails with a
  segmentation fault.

  It is a bug in xdotool that any unknown parameter that is passed
  causes a segfault. See my tests below:

  htplainf@ub-mguibot:~$ cat /etc/issue
  Ubuntu 16.04.2 LTS \n \l
  htplainf@ub-mguibot:~$ xdotool -v
  xdotool version 3.20150503.1
  htplainf@ub-mguibot:~$ xdotool version
  Segmentation fault (core dumped)
  htplainf@ub-mguibot:~$ xdotool any_unknown_param_causes_segfault
  Segmentation fault (core dumped)
  htplainf@ub-mguibot:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1687263/+subscriptions


Follow ups