application dies with 'VMware: vmw_ioctl_command error Invalid argument.'

Bug #1577494 reported by Jack Stokes on 2016-05-02
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ROS
New
Undecided
Unassigned
Stellarium
Invalid
Undecided
Unassigned
blender (Ubuntu)
Undecided
Unassigned
mesa (Ubuntu)
Undecided
Unassigned

Bug Description

running stellarium in ubuntu 16.04 in a VMWare 12.1.1 virtual machine.
thanks.

--------------------------------------------------------------------------------------------------------

jstokes@ubuntu1604:~$ stellarium

** (stellarium:1768): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-6Rt5CAvHFy: Connection refused
 -------------------------------------------------------
[ This is Stellarium 0.14.3 - http://www.stellarium.org ]
[ Copyright (C) 2000-2016 Fabien Chereau et al. ]
 -------------------------------------------------------
Writing log file to: "/home/jstokes/.stellarium/log.txt"
File search paths:
  0 . "/home/jstokes/.stellarium"
  1 . "/usr/share/stellarium"
Config file is: "/home/jstokes/.stellarium/config.ini"
Detected: OpenGL "3.0"
Driver version string: "3.0 Mesa 11.2.0"
GL vendor is "VMware, Inc."
GL renderer is "Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;"
GL Shading Language version is "1.30"
MESA Version Number detected: 11.2
Mesa version is fine, we should not see a graphics problem.
GLSL Version Number detected: 1.3
GLSL version is fine, we should not see a graphics problem.
Cache directory is: "/home/jstokes/.cache/stellarium/stellarium"
Sky language is "en_US"
Application language is "en_US"
Loading Solar System data ...
Loading star data ...
"Loading \"/usr/share/stellarium/stars/default/stars_0_0v0_5.cat\": 0_0v0_2; 4963"
"Loading \"/usr/share/stellarium/stars/default/stars_1_0v0_5.cat\": 1_0v0_2; 21598"
"Loading \"/usr/share/stellarium/stars/default/stars_2_0v0_5.cat\": 2_0v0_2; 150090"
"Loading \"/usr/share/stellarium/stars/default/stars_3_1v0_3.cat\": 3_1v0_3; 428466"
Finished loading star catalogue data, max_geodesic_level: 3
navigation/preset_sky_time is a double - treating as jday: "2451514.25001"
Reloading DSO data...
Loaded 10756 DSO records
Loading DSO name data ...
Loaded 221 / 297 DSO name records successfully
Loading star names from "/usr/share/stellarium/skycultures/western/star_names.fab"
Loaded 339 / 339 common star names
Loading star names from "/usr/share/stellarium/stars/default/name.fab"
Loaded 4506 / 4506 scientific star names
Loading variable stars from "/usr/share/stellarium/stars/default/gcvs_hip_part.dat"
Loaded 6916 / 6916 variable stars
Loading cross-index data from "/usr/share/stellarium/stars/default/cross-index.dat"
Loaded 108279 / 108279 cross-index data records
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 88 / 88 constellation names
Loading constellation boundary data ...
Loaded 782 constellation boundary segments
Initializing basic GL shaders...
Creating GUI ...
Loaded plugin "Exoplanets"
Exoplanets: version of the format of the catalog: 1
Exoplanets: loading catalog file: "/home/jstokes/.stellarium/modules/Exoplanets/exoplanets.json"
Loaded plugin "FOV"
Loaded plugin "MeteorShowers"
MeteorShowersMgr: Loading catalog file: "/home/jstokes/.stellarium/modules/MeteorShowers/showers.json"
Loaded plugin "Novae"
Novae: version of the catalog: 1
Novae: loading catalog file: "/home/jstokes/.stellarium/modules/Novae/novae.json"
Loaded plugin "Oculars"
Ocular plugin - press Command-O to toggle eyepiece view mode. Press ALT-o for configuration.
Oculars::validateIniFile ocular.ini exists at: "/home/jstokes/.stellarium/modules/Oculars/ocular.ini" . Checking version...
Oculars::validateIniFile found existing ini file version 3
Loaded plugin "Satellites"
Satellites: loading catalog file: "/home/jstokes/.stellarium/modules/Satellites/satellites.json"
Satellite has invalid orbit: "FLOCK 1B-27" "40422"
Satellite has invalid orbit: "FLOCK 1B-22" "40428"
Satellite has invalid orbit: "FLOCK 1B-10" "40429"
Satellite has invalid orbit: "FLOCK 1B-5" "40453"
Satellite has invalid orbit: "FLOCK 1B-6" "40454"
Satellite has invalid orbit: "FLOCK 1B-12" "40460"
Loaded plugin "SolarSystemEditor"
Using the ssystem.ini file that already exists in the user directory...
Unable to find module called "TimeZoneConfiguration"
Loaded plugin "TimeZoneConfiguration"
VMware: vmw_ioctl_command error Invalid argument.
Aborted (core dumped)

Jack Stokes (jcstokes) wrote :

this is the console listing.

Alexander Wolf (alexwolf) wrote :

Line "VMware: vmw_ioctl_command error Invalid argument." say that you have problem in MESA. Just try run glxgears through CLI.

ran glxgears. seemed to run fine. console output was:

jstokes@ubuntu1604:~$ glxgears
3798 frames in 5.0 seconds = 759.550 FPS
4412 frames in 5.0 seconds = 882.319 FPS
3956 frames in 5.0 seconds = 791.117 FPS
4788 frames in 5.0 seconds = 957.499 FPS
4162 frames in 5.0 seconds = 832.201 FPS
4237 frames in 5.0 seconds = 847.175 FPS
3968 frames in 5.0 seconds = 793.466 FPS
4559 frames in 5.0 seconds = 911.780 FPS
3651 frames in 5.0 seconds = 730.083 FPS
4633 frames in 5.0 seconds = 926.422 FPS
4094 frames in 5.0 seconds = 818.712 FPS
4506 frames in 5.0 seconds = 901.122 FPS
^C
jstokes@ubuntu1604:~$

does this help at all?

On 5/2/2016 1:02 PM, Alexander Wolf wrote:
> Line "VMware: vmw_ioctl_command error Invalid argument." say that you
> have problem in MESA. Just try run glxgears through CLI.
>

Download full text (16.1 KiB)

here's some additional data -
ran stellarium to dump opengl data:

thanks.
------------------------------------------------------------

jstokes@ubuntu1604:~$ stellarium --dump-opengl-details

** (stellarium:2229): WARNING **: Couldn't connect to accessibility bus:
Failed to connect to socket /tmp/dbus-NnTQDAM129: Connection refused
  -------------------------------------------------------
[ This is Stellarium 0.14.3 - http://www.stellarium.org ]
[ Copyright (C) 2000-2016 Fabien Chereau et al. ]
  -------------------------------------------------------
Writing log file to: "/home/jstokes/.stellarium/log.txt"
File search paths:
   0 . "/home/jstokes/.stellarium"
   1 . "/usr/share/stellarium"
Config file is: "/home/jstokes/.stellarium/config.ini"
Detected: OpenGL "3.0"
Driver version string: "3.0 Mesa 11.2.0"
GL vendor is "VMware, Inc."
GL renderer is "Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;"
GL Shading Language version is "1.30"
initializeOpenGLFunctions()...
OpenGL Features:
  - glActiveTexture() function is available.
  - Shader functions are available.
  - Vertex and index buffer functions are available.
  - Framebuffer object functions are available.
  - glBlendColor() is available.
  - glBlendEquation() is available.
  - glBlendEquationSeparate() is available.
  - glBlendFuncSeparate() is available.
  - Blend subtract mode is available.
  - Compressed texture functions are available.
  - glSampleCoverage() function is available.
  - Separate stencil functions are available.
  - Non power of two textures are available.
  - Non power of two textures can use GL_REPEAT as wrap parameter.
  - The fixed function pipeline is available.
OpenGL shader capabilities and details:
  - Vertex Shader: YES
  - Fragment Shader: YES
  - Geometry Shader: NO
  - TessellationControl Shader: NO
  - TessellationEvaluation Shader: NO
  - Compute Shader: NO
We have 183 OpenGL extensions:
  - "GL_AMD_conservative_depth"
  - "GL_AMD_shader_trinary_minmax"
  - "GL_ANGLE_texture_compression_dxt3"
  - "GL_ANGLE_texture_compression_dxt5"
  - "GL_APPLE_packed_pixels"
  - "GL_APPLE_vertex_array_object"
  - "GL_ARB_ES2_compatibility"
  - "GL_ARB_ES3_compatibility"
  - "GL_ARB_arrays_of_arrays"
  - "GL_ARB_blend_func_extended"
  - "GL_ARB_clear_buffer_object"
  - "GL_ARB_color_buffer_float"
  - "GL_ARB_compressed_texture_pixel_storage"
  - "GL_ARB_conservative_depth"
  - "GL_ARB_copy_buffer"
  - "GL_ARB_debug_output"
  - "GL_ARB_depth_buffer_float"
  - "GL_ARB_depth_clamp"
  - "GL_ARB_depth_texture"
  - "GL_ARB_draw_buffers"
  - "GL_ARB_draw_elements_base_vertex"
  - "GL_ARB_draw_instanced"
  - "GL_ARB_explicit_attrib_location"
  - "GL_ARB_explicit_uniform_location"
  - "GL_ARB_fragment_coord_conventions"
  - "GL_ARB_fragment_program"
  - "GL_ARB_fragment_program_shadow"
  - "GL_ARB_fragment_shader"
  - "GL_ARB_framebuffer_object"
  - "GL_ARB_framebuffer_sRGB"
  - "GL_ARB_get_program_binary"
  - "GL_ARB_get_texture_sub_image"
  - "GL_ARB_half_float_pixel"
  - "GL_ARB_half_float_vertex"
  - "GL_ARB_instanced_arrays"
  - "GL_ARB_internalformat_query"
  - "GL_ARB_invalidate_subdata"
  - "GL_ARB_map_buffer_alignment"
  - "GL_ARB_map_buffer_range"
  - "GL_ARB...

gzotti (georg-zotti) on 2016-05-04
summary: - application dies with 'Unable to find module called
- "TimeZoneConfiguration"'
+ application dies with 'VMware: vmw_ioctl_command error Invalid
+ argument.'
Alexander Wolf (alexwolf) wrote :

Can you install debug edition of Stellarium from our nightly PPA and run it via gdb?

TimDupont (tim-dupont) wrote :

Gazebo crashes with the same error message. (Clean Ubuntu 16.04 and ROS Kinetic Kame install in VMware Fusion Professional Version 8.1.1 (3771013) )

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in blender (Ubuntu):
status: New → Confirmed
Peter Pan (f2008922) wrote :

Blender, Ubuntu 16.04 package (or the original from blender.org)
frequently crashes in the VMware 12.1.1 with the same error message:

VMware: vmw_ioctl_command error Invalid argument.

see also https://communities.vmware.com/thread/537924?start=0&tstart=0

Peter Pan (f2008922) wrote :

The kernel log error after the crash:
[ 7522.003251] [drm:vmw_execbuf_process [vmwgfx]] *ERROR* Invalid SVGA3D command: 1181

and an another similar issue:
http://forum.unity3d.com/threads/unity-editor-5-4-0b18-crashes-in-ubuntu-16-04-after-start.409570/

Peter Pan (f2008922) wrote :

apt-file search vmwgfx

libdrm-dev: /usr/include/libdrm/vmwgfx_drm.h
libgl1-mesa-dri: /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
...

Lindsay (fmouse) wrote :

I'm seeing the same error when trying to open a contact in the Evolution groupware suite. The full error is:

openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
VMware: vmw_ioctl_command error Invalid argument.
Aborted

Looks like a Java error from this perspective. I don't exactly know where to report this, here, VMware or OpenJDK.

Hugo Rodde (roddehugo) wrote :

I had the same issue trying to use Gazebo along with ROS.

My solution was to downgrade OpenGL from 3.3 to 2.1 as written here: http://www.mesa3d.org/vmware-guest.html

Info:
* Ubuntu 14.04
* VMware Fusion 8

[quote]
OpenGL 3.3 support can be disabled by setting the environment variable SVGA_VGPU10=0. You will then have OpenGL 2.1 support. This may be useful to work around application bugs (such as incorrect use of the OpenGL 3.x core profile).
[/quote]

So do the following:
$ echo "export SVGA_VGPU10=0" >> ~/.bashrc

gzotti (georg-zotti) wrote :

Can somebody with a VM confirm this is a solution for Stellarium?

Changed in stellarium:
status: New → Incomplete
Slava (pisarevsky-v) wrote :

Hugo Roddes solutions works for me.

Thanks!

Info:

Ubuntu 16.04
VMware Fusion 8.5.3

Slava (pisarevsky-v) wrote :

Sorry, I have just spotted that this thread is for Stellarium but I run Gazebo simulator and encountered the same issue. The solution fixed the issue for me with Gazebo.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu):
status: New → Confirmed
gzotti (georg-zotti) on 2017-05-13
Changed in stellarium:
status: Incomplete → Invalid
  • Fmp.doc Edit (164.0 KiB, application/msword; name="Fmp.doc")

Good Morning.

Please find the attached file!!!

Lindsay Haisley      | "The only unchanging certainty
FMP Computer Services |    is the certainty of change"
512-259-1190          |
http://www.fmp.com   | - Ancient wisdom, all cultures

From: <email address hidden>
Sent: Sat, 04 Mar 2017 00:38:39 +0000
To: <email address hidden>
Subject: [Bug 1577494] Re: application dies with 'VMware: vmw_ioctl_command error Invalid argument.'

Status changed to &apos;Confirmed&apos; because the bug affects multiple users.

** Changed in: mesa (Ubuntu)
       Status: New => Confirmed

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1577494

Title:
  application dies with &apos;VMware: vmw_ioctl_command error Invalid
  argument.&apos;

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments