Gazebo | Ignition | Community
Ask Your Question
0

Gazebo 10.1 on Fedora 32 segfault using X2Go

asked 2020-08-19 15:12:11 -0600

RobbieTheK gravatar image

Using X2Go 4.1.0.3-6 and Fedora 32 instant segfault:

Aug 19 14:58:59 storm kernel: gzclient[897526]: segfault at 20 ip 00007f161670fcc6 sp 00007ffca9967be0 error 4 in libOgreMain.so.1.9.0[7f161650b000+2f0000]
Aug 19 14:58:59 storm kernel: Code: 00 5b 5d 41 5c 41 5d 41 5e c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 48 89 e5 41 56 49 89 fe 41 55 41 54 53 48 83 ec 60 <48> 8b 7f 20 64 48 8b 04 25 28 00 00 00 48 89 45 d8 31 c0 48 85 ff
Aug 19 14:58:59 storm systemd[1]: Started Process Core Dump (PID 897844/UID 0).
Aug 19 14:59:01 storm systemd-coredump[897845]: Core file was truncated to 2147483648 bytes.
Aug 19 14:59:01 storm abrt-dump-journal-core[3213283]: Failed to obtain all required information from journald
Aug 19 14:59:01 storm systemd-coredump[897845]: Process 897526 (gzclient) of user 16836 dumped core.#012#012Stack trace of thread 897526:#012#0  0x00007f161670fcc6 n/a (n/a + 0x0)
Aug 19 14:59:01 storm systemd[1]: systemd-coredump@46-897844-0.service: Succeeded.
Aug 19 14:59:03 storm abrtd[3213277]: Size of '/var/spool/abrt' >= 10000 MB (MaxCrashReportsSize), deleting old directory 'ccpp-2020-08-19-10:19:30.792224-827261'
Aug 19 14:59:03 storm abrt-server[897884]: Error: No segments found in coredump './coredump'
Aug 19 14:59:04 storm abrt-server[897884]: Can't open file 'core_backtrace' for reading: No such file

And from MobaXerm, which is like using ssh -X, no scene is drawn: C:\fakepath\gazebo.png

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-08-24 10:33:07 -0600

RobbieTheK gravatar image

I had to use the workaround for getting GLX 1.4 working. Here's a mini-tutorial provided by a X2Go developer:

  1. copy build/src/gallium/targets/libgl-xlib to some safe place
  2. write a small wrapper called ~/x2goglx with this content:
> #!/bin/sh LD_LIBRARY_PATH=<your directory>/libgl-xlib:${LD_LIBRARY_PATH}
> exec "$@"

Replace <your directory> with the path to where you copied the above directory to

Then

$ chmod u+rx ~/x2goglx

Then test with (should show OpenGL 1.4)

$ ~/x2goglx glxinfo

Then run gazebo:

$ ~/x2goglx gazebo

Still getting the following warnings but at least no more black screen:

[Wrn] [GuiIface.cc:119] X server does not support XInput 2
[Wrn] [GuiIface.cc:119] QXcbConnection: XCB error: 1 (BadRequest), sequence: 168, resource id: 78, major code: 130 (Unknown), minor code: 47
[Wrn] [Publisher.cc:136] Queue limit reached for topic /gazebo/default/physics/contacts, deleting message. This warning is printed only once.
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-08-19 15:12:11 -0600

Seen: 216 times

Last updated: Aug 24 '20