I'm using ROS Melodic on Ubuntu 18.04 and Gazebo 9. When I launch roslaunch gazebo_ros empty_world.launch everything looks fine. After that I try to spawn my robot model with rosrun gazebo_ros spawn_model -file path/to/urdf.urdf -urdf -model printer. Despite the Terminal is telling me that the entity has successfully spawned I can't see anything in Gazebo. When I press on the model name in the tree structure the terminal that had the gazebo environment open dies. The URDF File I use is the one generated by the MoveIt Setup Assistant. This is what the log file says:
[roslaunch][INFO] 2020-08-17 11:30:40,688: Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt [roslaunch][INFO] 2020-08-17 11:30:40,692: Done checking log file disk usage. Usage is <1GB. [roslaunch][INFO] 2020-08-17 11:30:40,693: roslaunch starting with args ['/opt/ros/melodic/bin/roslaunch', 'gazebo_ros', 'empty_world.launch', 'verbose:=true'] [roslaunch][INFO] 2020-08-17 11:30:40,693: roslaunch env is {'LC_NUMERIC': 'de_DE.UTF-8', 'ROS_DISTRO': 'melodic', 'TERMINATOR_DBUS_PATH': '/net/tenshu/Terminator2', 'QT4_IM_MODULE': 'xim', 'GJS_DEBUG_OUTPUT': 'stderr', 'PKG_CONFIG_PATH': '/home/carlos/ws_printer/devel/lib/pkgconfig:/home/carlos/ws_moveit/devel/lib/pkgconfig:/opt/ros/melodic/lib/pkgconfig', 'WINDOWPATH': '2', 'XDG_CURRENT_DESKTOP': 'ubuntu:GNOME', 'LC_PAPER': 'de_DE.UTF-8', 'ROSLISP_PACKAGE_DIRECTORIES': '/home/carlos/ws_printer/devel/share/common-lisp:/home/carlos/ws_moveit/devel/share/common-lisp', 'QT_IM_MODULE': 'ibus', 'LOGNAME': 'carlos', 'USER': 'carlos', 'PATH': '/opt/ros/melodic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_VTNR': '2', 'HOME': '/home/carlos', 'CMAKE_PREFIX_PATH': '/home/carlos/ws_printer/devel:/home/carlos/ws_moveit/devel:/opt/ros/melodic', 'DISPLAY': ':0', 'SSH_AGENT_PID': '1981', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'ROS_LOG_FILENAME': '/home/carlos/.ros/log/c3e6df2a-e05b-11ea-a9f8-f85971f581ec/roslaunch-carlos-Lenovo-ideapad-320-15ISK-12374.log', 'XAUTHORITY': '/run/user/1000/gdm/Xauthority', 'SESSION_MANAGER': 'local/carlos-Lenovo-ideapad-320-15ISK:@/tmp/.ICE-unix/1886,unix/carlos-Lenovo-ideapad-320-15ISK:/tmp/.ICE-unix/1886', 'LC_MEASUREMENT': 'de_DE.UTF-8', 'TERMINATOR_UUID': 'urn:uuid:f2a07899-4ccc-4bb2-bb28-68a55b3b5cf9', 'QT_ACCESSIBILITY': '1', 'LD_LIBRARY_PATH': '/home/carlos/ws_printer/devel/lib:/home/carlos/ws_moveit/devel/lib:/opt/ros/melodic/lib', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'CLUTTER_IM_MODULE': 'xim', 'TEXTDOMAIN': 'im-config', 'XMODIFIERS': '@im=ibus', 'GIO_LAUNCHED_DESKTOP_FILE_PID': '2389', 'XDG_RUNTIME_DIR': '/run/user/1000', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'ROS_PYTHON_VERSION': '2', 'USERNAME': 'carlos', 'XDG_SESSION_DESKTOP': 'ubuntu', 'SHLVL': '1', 'GIO_LAUNCHED_DESKTOP_FILE': '/usr/share/applications/terminator.desktop', 'ROS_VERSION': '1', 'GTK_IM_MODULE': 'ibus', 'LC_ADDRESS': 'de_DE.UTF-8', 'PYTHONPATH': '/opt/ros/melodic/lib/python2.7/dist-packages', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'VTE_VERSION': '5202', 'ROS_ROOT': '/opt/ros/melodic/share/ros', 'GDMSESSION': 'ubuntu', 'IM_CONFIG_PHASE': '2', 'TEXTDOMAINDIR': '/usr/share/locale/', 'GNOME_SHELL_SESSION_MODE': 'ubuntu', 'TERMINATOR_DBUS_NAME': 'net.tenshu.Terminator20x1a6021154d881c', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/etc/xdg', 'ROS_PACKAGE_PATH': '/home/carlos/ws_printer/src/printer_des:/home/carlos/ws_printer/src/printer_config:/home/carlos/ws_moveit/src/moveit_tutorials:/home/carlos/ws_moveit/src/panda_moveit_config:/opt/ros/melodic/share', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'XDG_SESSION_ID': '2', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', '_': '/opt/ros/melodic/bin/roslaunch', 'LC_IDENTIFICATION': 'de_DE.UTF-8', 'DESKTOP_SESSION': 'ubuntu', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'GTK_MODULES': 'gail:atk-bridge', 'XDG_SESSION_TYPE': 'x11', 'LC_TELEPHONE': 'de_DE.UTF-8', 'LC_MONETARY': 'de_DE.UTF-8', 'PWD': '/home/carlos', 'ROS_ETC_DIR': '/opt/ros/melodic/etc/ros', 'ROS_MASTER_URI': 'http://localhost:11311', 'COLORTERM': 'truecolor', 'LC_NAME': 'de_DE.UTF-8', 'XDG_MENU_PREFIX': 'gnome-', 'LC_TIME': 'de_DE.UTF-8', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'GJS_DEBUG_TOPICS': 'JS ERROR;JS LOG', 'XDG_SEAT': 'seat0'} [roslaunch][INFO] 2020-08-17 11:30:40,693: starting in server mode [roslaunch.parent][INFO] 2020-08-17 11:30:40,693: starting roslaunch parent run [roslaunch][INFO] 2020-08-17 11:30:40,694: loading roscore config file /opt/ros/melodic/etc/ros/roscore.xml [roslaunch][INFO] 2020-08-17 11:30:41,308: Added core node of type [rosout/rosout] in namespace [/] [roslaunch.config][INFO] 2020-08-17 11:30:41,309: loading config file /opt/ros/melodic/share/gazebo_ros/launch/empty_world.launch [roslaunch][INFO] 2020-08-17 11:30:41,312: Added node of type [gazebo_ros/gzserver] in namespace [/] [roslaunch][INFO] 2020-08-17 11:30:41,314: Added node of type [gazebo_ros/gzclient] in namespace [/] [roslaunch][INFO] 2020-08-17 11:30:41,314: ... selected machine [] for node of type [gazebo_ros/gzserver] [roslaunch][INFO] 2020-08-17 11:30:41,314: ... selected machine [] for node of type [gazebo_ros/gzclient] [roslaunch.pmon][INFO] 2020-08-17 11:30:41,315: start_process_monitor: creating ProcessMonitor [roslaunch.pmon][INFO] 2020-08-17 11:30:41,315: created process monitor <processmonitor(processmonitor-1, initial="" daemon)>="" [roslaunch.pmon][info]="" 2020-08-17="" 11:30:41,315:="" start_process_monitor:="" processmonitor="" started="" [roslaunch.parent][info]="" 2020-08-17="" 11:30:41,315:="" starting="" parent="" xml-rpc="" server="" [roslaunch.server][info]="" 2020-08-17="" 11:30:41,316:="" starting="" roslaunch="" xml-rpc="" server="" [roslaunch.server][info]="" 2020-08-17="" 11:30:41,316:="" waiting="" for="" roslaunch="" xml-rpc="" server="" to="" initialize="" [xmlrpc][info]="" 2020-08-17="" 11:30:41,316:="" xml-rpc="" server="" binding="" to="" 0.0.0.0:0="" [xmlrpc][info]="" 2020-08-17="" 11:30:41,316:="" started="" xml-rpc="" server="" [http:="" carlos-lenovo-ideapad-320-15isk:34365="" ]="" [xmlrpc][info]="" 2020-08-17="" 11:30:41,317:="" xml="" rpc="" node:="" starting="" xml-rpc="" server="" [roslaunch][info]="" 2020-08-17="" 11:30:41,328:="" started="" roslaunch="" server="" http:="" carlos-lenovo-ideapad-320-15isk:34365="" [roslaunch.parent][info]="" 2020-08-17="" 11:30:41,328:="" ...="" parent="" xml-rpc="" server="" started="" [roslaunch][info]="" 2020-08-17="" 11:30:41,328:="" master.is_running[http:="" localhost:11311]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,330:="" master.is_running[http:="" localhost:11311]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,331:="" ros_master_uri="http://localhost:11311" [roslaunch][info]="" 2020-08-17="" 11:30:41,333:="" setting="" roslaunch="" uris="" host_carlos_lenovo_ideapad_320_15isk__34365'="" to="" http:="" carlos-lenovo-ideapad-320-15isk:34365="" [roslaunch][info]="" 2020-08-17="" 11:30:41,334:="" load_parameters="" starting="" ...="" [roslaunch][info]="" 2020-08-17="" 11:30:41,337:="" ...="" load_parameters="" complete="" [roslaunch][info]="" 2020-08-17="" 11:30:41,337:="" launch_nodes:="" launching="" local="" nodes="" ...="" [roslaunch][info]="" 2020-08-17="" 11:30:41,337:="" ...="" preparing="" to="" launch="" node="" of="" type="" [gazebo_ros="" gzserver]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,338:="" create_node_process:="" package[gazebo_ros]="" type[gzserver]="" machine[machine(name[]="" env_loader[none]="" address[localhost]="" ssh_port[22]="" user[none]="" assignable[true]="" timeout[10.0])]="" master_uri[http:="" localhost:11311]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,395:="" ...="" created="" process="" [gazebo-1]="" [roslaunch.pmon][info]="" 2020-08-17="" 11:30:41,395:="" processmonitor.register[gazebo-1]="" [roslaunch.pmon][info]="" 2020-08-17="" 11:30:41,396:="" processmonitor.register[gazebo-1]="" complete="" [roslaunch][info]="" 2020-08-17="" 11:30:41,396:="" ...="" registered="" process="" [gazebo-1]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,401:="" ...="" successfully="" launched="" [gazebo-1]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,402:="" ...="" preparing="" to="" launch="" node="" of="" type="" [gazebo_ros="" gzclient]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,402:="" create_node_process:="" package[gazebo_ros]="" type[gzclient]="" machine[machine(name[]="" env_loader[none]="" address[localhost]="" ssh_port[22]="" user[none]="" assignable[true]="" timeout[10.0])]="" master_uri[http:="" localhost:11311]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,405:="" ...="" created="" process="" [gazebo_gui-2]="" [roslaunch.pmon][info]="" 2020-08-17="" 11:30:41,405:="" processmonitor.register[gazebo_gui-2]="" [roslaunch.pmon][info]="" 2020-08-17="" 11:30:41,405:="" processmonitor.register[gazebo_gui-2]="" complete="" [roslaunch][info]="" 2020-08-17="" 11:30:41,405:="" ...="" registered="" process="" [gazebo_gui-2]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,412:="" ...="" successfully="" launched="" [gazebo_gui-2]="" [roslaunch][info]="" 2020-08-17="" 11:30:41,412:="" ...="" launch_nodes="" complete="" [roslaunch.pmon][info]="" 2020-08-17="" 11:30:41,412:="" registrations="" completed="" <processmonitor(processmonitor-1,="" started="" daemon="" 140144639031040)>="" [roslaunch.parent][info]="" 2020-08-17="" 11:30:41,412:="" ...="" roslaunch="" parent="" running,="" waiting="" for="" process="" exit="" [roslaunch][info]="" 2020-08-17="" 11:30:41,412:="" spin="" [roslaunch][error]="" 2020-08-17="" 11:31:03,481:="" [gazebo_gui-2]="" process="" has="" died="" [pid="" 12394,="" exit="" code="" 134,="" cmd="" opt="" ros="" melodic="" lib="" gazebo_ros="" gzclient="" --verbose="" __name:="gazebo_gui" __log:="/home/carlos/.ros/log/c3e6df2a-e05b-11ea-a9f8-f85971f581ec/gazebo_gui-2.log]." log="" file:="" home="" carlos="" .ros="" log="" c3e6df2a-e05b-11ea-a9f8-f85971f581ec="" gazebo_gui-2*.log="" [roslaunch.pmon][info]="" 2020-08-17="" 11:31:03,481:="" processmonitor.unregister[gazebo_gui-2]="" starting="" [roslaunch.pmon][info]="" 2020-08-17="" 11:31:03,481:="" processmonitor.unregister[gazebo_gui-2]="" complete="" [roslaunch.pmon][info]="" 2020-08-17="" 11:46:33,491:="" processmonitor.shutdown="" <processmonitor(processmonitor-1,="" started="" daemon="" 140144639031040)>="" [roslaunch.pmon][info]="" 2020-08-17="" 11:46:33,560:="" processmonitor._post_run="" <processmonitor(processmonitor-1,="" started="" daemon="" 140144639031040)>="" [roslaunch.pmon][info]="" 2020-08-17="" 11:46:33,561:="" processmonitor._post_run="" <processmonitor(processmonitor-1,="" started="" daemon="" 140144639031040)>:="" remaining="" procs="" are="" [<roslaunch.nodeprocess.localprocess="" object="" at="" 0x7f75f78eb610="">] [roslaunch.pmon][INFO] 2020-08-17 11:46:33,562: ProcessMonitor exit: killing gazebo-1 [roslaunch][INFO] 2020-08-17 11:46:33,562: [gazebo-1] killing on exit [roslaunch][INFO] 2020-08-17 11:46:33,565: [gazebo-1] sending SIGINT to pgid [12389] [roslaunch][INFO] 2020-08-17 11:46:33,567: [gazebo-1] sent SIGINT to pgid [12389] [roslaunch.pmon][INFO] 2020-08-17 11:46:40,595: ProcessMonitor exit: cleaning up data structures and signals [roslaunch.pmon][INFO] 2020-08-17 11:46:40,596: ProcessMonitor exit: pmon has shutdown [roslaunch][INFO] 2020-08-17 11:46:40,603: process monitor is done spinning, initiating full shutdown [roslaunch][INFO] 2020-08-17 11:46:40,604: runner.stop() [roslaunch][INFO] 2020-08-17 11:46:40,604: shutting down processing monitor... [roslaunch][INFO] 2020-08-17 11:46:40,605: shutting down processing monitor <processmonitor(processmonitor-1, stopped="" daemon="" 140144639031040)>="" [roslaunch.pmon][info]="" 2020-08-17="" 11:46:40,605:="" processmonitor.shutdown="" <processmonitor(processmonitor-1,="" stopped="" daemon="" 140144639031040)>="" [roslaunch][info]="" 2020-08-17="" 11:46:40,605:="" ...="" shutting="" down="" processing="" monitor="" complete="" [roslaunch][info]="" 2020-08-17="" 11:46:40,606:="" done="" [roslaunch.pmon][info]="" 2020-08-17="" 11:46:40,606:="" processmonitor.shutdown="" <processmonitor(processmonitor-1,="" stopped="" daemon="" 140144639031040)>="" [rospy.core][info]="" 2020-08-17="" 11:46:40,607:="" signal_shutdown="" [atexit]<="" p="">