# arbotix_gui crashes

The program arbotix_gui, from package arbotix_python, is a handy tool to directly control the base and joints of a robot.

But it crashes very often. It is a python program that uses the wx gui library.

This is on ubuntu 14.04, indigo, and usually with the xfce window manager.

Anybody with similar experience? Or maybe an idea on how to solve it? It doesn't seem to be ros related, I think it is gui related.

UPDATE: when crashing there are a number of errors that are mentioned:

p100213@fwn-nb4-35-134:~$pera_gui The program 'python' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 2987 error_code 11 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) p100213@fwn-nb4-35-134:~$ pera_gui
* Error in `python': double free or corruption (fasttop): 0x00007fefec0038c0 *
Aborted (core dumped)
p100213@fwn-nb4-35-134:~\$ pera_gui

Gdk:ERROR:/build/gtk+2.0-KsZSEA/gtk+2.0-2.24.23/gdk/gdkregion-generic.c:1310:miSubtractNonO1: assertion failed: (r->x1<r->x2) Aborted (core dumped)

enter code here

All three errors suggest something with X of the gui. It usually gets better for a while after removing the ~/.ros en ~/.cache directories.

SECOND UPDATE:

Maybe this is related: I also often have crashes when I start the moveit! setup_assistent. It then ends with:

REQUIRED process [moveit_setup_assistant-2] has died!
process has died [pid 10694, exit code -11,
......