ros-industrial / ros_qtc_plugin

ROS Qt Creator Plug-in (https://ros-qtc-plugin.readthedocs.io)
401 stars 215 forks source link

Error during installation process, Ubuntu 16.04 #272

Closed BruceGeLi closed 5 years ago

BruceGeLi commented 6 years ago

Dear Levi,

Hello, thank you for your tireless effort for updating this plugin. However it seems like problem still exists. I am now using a Ubuntu 16.04 with Qt 5.10 installed already. Due to its lack of support of the ROS project, I decide to install your plugin following your latest tutorial. But I met some errors. During the installation process, a error dialog will show and says

"Error during installation process (org.rosindustrial.qtros.latest): Cannot create link from "/home/aw17632/.local/bin/qtcreator-ros" to "/home/aw17632/QtCreator/latest/bin/qtcreator"." ,where aw17632 is my username in my system.

Only three options can be selected in the dialog: Ignore, Cancel and Retry. If I press Ignore, the installation will finish immediately. Then I can open this qt creator with ROS plugin normally, but it will collapse when I import a ROS project. If I press Cancel, the installation will be canceled. And Retry doesn't do anything.

I have tried both the online and offline version of your Qt, but made no sense. To make a comparison, yesterday, I did a test to remove and re-install my original Qt 5.10 and everything was fine. No similar problem existed.

I have used your plugin in the Qt 5.7 version last year in another computer, everything was perfect. But this time with a new computer, I am not sure why such error happened, so i may need your suggestions.

Thank you in advance!

Regards, Fitz

Levi-Armstrong commented 6 years ago

With the installer you do not need to install Qt separately, it comes package with all of the Qt libraries necessary to run Qt Creator internal to the package. Regarding the error I would see if the directory /home/aw17632/.local/bin exists and does not require sudo to create files.

Levi-Armstrong commented 6 years ago

Due to its lack of support of the ROS project

Just curious what ROS project are you referring to?

BruceGeLi commented 6 years ago

Hello,

  1. Yes, the directory /home/aw17632/.local/bin does exists, I can use command cd to visit it. So the problem is still unsolved. And what do you mean exactly "does not require sudo to create files." ?
  2. Yes, I know that I didn't have to install Qt separately. But I still did it because I wanted to see whether the same error(create link...from...to...) which happened during the installation of your installer(with ROS plugin) will also happen to a "normal" installer(without ROS plugin) downloaded from the official Qt website. The result is that the same error did not show in the "normal" installation (without ROS plugin).
  3. I must express with mistake yesterday. I meant that the normal Qt creator cannot import a ROS work space. Therefore every time I use catkin_make to compile it, which is very inconvenient. Besides, I am just a beginner in Ubuntu and ROS. :D
Levi-Armstrong commented 6 years ago

And what do you mean exactly "does not require sudo to create files." ?

In Ubuntu the sudo provides root (Administrative) level access and requires you to enter a password. Example when installing a new libraries you must enter sudo apt-get install library_name then it will prompt you to enter a password because it needs to write to a directory that requires root level access.

If your /home/aw17632/.local/bin directory requires root level access then this is most likely the cause of the error. I would look at the properties for the directory and see if it requires root level access.

BruceGeLi commented 6 years ago

Hello, yes I did check the access of the diretory /home/aw17632/.local/bin . And I did see a lock symbol on the folder icon 'bin'. I think it should be root access directory by default, because the directory '.local' is also invisible. But anyway, I used command 'gksu nautilus' in a terminal and get the root control of the ubuntu and then I opened your installer. This time, the error dialog didn't show up (Previously, the error dialog would show up when the progress bar was at about 40% for the offline installer). However this time, progress bar just 'jumped' from 40% to 100% and then the installation finished. I cannot see the installation progress after 40%. Also, the qt creator will still collapse when it import a ROS workspace. I think maybe my problem is a specific problem, therefore I will find a another computer to have a try.

Levi-Armstrong commented 6 years ago

I think it should be root access directory by default, because the directory '.local' is also invisible.

Are you using Ubuntu or another variant of linux? I know that on Ubuntu that everything in the home directory does not require root access.

I would try launching Qt Creator from a terminal and post the error information output from the terminal.

Levi-Armstrong commented 6 years ago

Were you able to solve the issue?

BruceGeLi commented 6 years ago

Hey, sorry for not reply. No, I also tried to install it in my personal computer, also faced the similar error.

My computer is Ubuntu 14.04, which is downloaded from the official website. And about half a year ago, I have installed once your ROS plugin with Qt creator 5.7 on it successfully, following your old version tutorial. Also, this plugin still works today.

But this time, I installed your Qt installer (14.04 version). It seems like same problem happened, the installation will "jump" from about 40% to 100%. And the Qt creator will collapse when I import a ROS workspace.

Should I delete my old Qt creator 5.7 and plugin and then try again? I am afraid I would loss it since the old way to install it is no longer available.

Levi-Armstrong commented 6 years ago

Could you try running the installer from a terminal and pass the -v option and post the output? It may provide better insight into why it is failing.

BruceGeLi commented 6 years ago

Hello, I run the installer again within a Terminal and a -v option, then the output is below. "lige" is user name. lige@lige-System-Product-Name:~/Downloads$ ./qtcreator-ros-trusty-latest-offline-installer.run -v IFW Version: 3.0.2, built with Qt 5.9.0. Build date: Nov 23 2017 Installer Framework SHA1: a97afeb [0] Language: en [0] Arguments: ./qtcreator-ros-trusty-latest-offline-installer.run, -v [4] Operations sanity check succeeded. [4] Resource tree: [4] :/translations [13] :/translations/da.qm [13] :/translations/de.qm [13] :/translations/en.qm [13] :/translations/es.qm [13] :/translations/fr.qm [13] :/translations/ja.qm [14] :/translations/it.qm [14] :/translations/pl.qm [14] :/translations/ru.qm [14] :/translations/qt_da.qm [15] :/translations/qt_de.qm [15] :/translations/qt_en.qm [15] :/translations/qt_es.qm [15] :/translations/qt_fr.qm [15] :/translations/qt_ja.qm [15] :/translations/qt_it.qm [15] :/translations/qt_pl.qm [15] :/translations/qt_ru.qm [15] :/translations/zh_CN.qm [16] :/translations/qt_zh_CN.qm [16] :/uninstall.png [16] :/installer.png [16] :/installer.ico [16] :/keepinstalled.png [16] :/installer.icns [16] :/install.png [16] :/keepuninstalled.png [21] :/metadata [21] :/metadata/org.rosindustrial.qtros [21] :/metadata/org.rosindustrial.qtros/LICENSE.GPL3-EXCEPT [21] :/metadata/org.rosindustrial.qtros/page.ui [21] :/metadata/org.rosindustrial.qtros/LICENSE.APACHE [21] :/metadata/org.rosindustrial.qtros.latest [21] :/metadata/org.rosindustrial.qtros.latest/installscript.qs [21] :/metadata/rccprojectw24412.qrc [21] :/metadata/config [22] :/metadata/config/config-internal.ini [22] :/metadata/installer-config [22] :/metadata/installer-config/watermark_png.png [22] :/metadata/installer-config/logo_png.png [22] :/metadata/installer-config/config.xml [22] :/metadata/Updates.xml [50444] Url is: "://metadata/" [50458] Warning: Component org.rosindustrial.qtros.latest contains data to be installed while having child components. This may not work properly. [50458] Warning: Component org.rosindustrial.qtros.latest depends on other components while having child components. This will not work properly. [50458] Warning: Other components depend on component org.rosindustrial.qtros.latest which has child components. This will not work properly. [50458] Warning: Other components depend on component org.rosindustrial.qtros which has child components. This will not work properly. [58132] Tmp and install directories are on the same volume. Volume mount point: "/" Free space available: "430.82 GiB" [58132] Installation space required: "705.32 MiB" Temporary space required: "256.00 MiB" Local repository size: "0.00 bytes" [60154] backup operation: Mkdir [60154] - arguments: /home/lige/QtCreator [60154] Done [60154] perform operation: Mkdir [60154] - arguments: /home/lige/QtCreator [60155] Done [60155] Install size: 3 components [60218] backup org.rosindustrial.qtros operation: License [60218] - arguments: [60218] Done [60219] perform org.rosindustrial.qtros operation: License [60219] - arguments: [60219] Done [60220] backup org.rosindustrial.qtros.latest operation: Extract [60220] - arguments: installer://org.rosindustrial.qtros.latest/4.5.1.3qtcreator.7z, /home/lige/QtCreator [60220] Done [60220] perform org.rosindustrial.qtros.latest operation: Extract [60220] - arguments: installer://org.rosindustrial.qtros.latest/4.5.1.3qtcreator.7z, /home/lige/QtCreator [67632] Done [67639] backup org.rosindustrial.qtros.latest operation: CreateLink [67639] - arguments: /home/lige/.local/bin/qtcreator-ros, /home/lige/QtCreator/latest/bin/qtcreator [67639] Done [67639] perform org.rosindustrial.qtros.latest operation: CreateLink [67639] - arguments: /home/lige/.local/bin/qtcreator-ros, /home/lige/QtCreator/latest/bin/qtcreator [67649] Done [67649] backup org.rosindustrial.qtros.latest operation: CreateLink [67649] - arguments: /home/lige/QtCreator/latest/bin/qtcreator-ros, /home/lige/QtCreator/latest/bin/qtcreator [67649] Done [67649] perform org.rosindustrial.qtros.latest operation: CreateLink [67649] - arguments: /home/lige/QtCreator/latest/bin/qtcreator-ros, /home/lige/QtCreator/latest/bin/qtcreator [67649] Done [67649] backup org.rosindustrial.qtros.latest operation: InstallIcons [67649] - arguments: /home/lige/QtCreator/latest/share/icons [67649] Done [67650] perform org.rosindustrial.qtros.latest operation: InstallIcons [67650] - arguments: /home/lige/QtCreator/latest/share/icons [67651] Done [67651] backup org.rosindustrial.qtros.latest operation: CreateDesktopEntry [67651] - arguments: QtProject-qtcreator-ros-latest.desktop, Type=Application Exec=/home/lige/QtCreator/latest/bin/qtcreator-ros Path=/home/lige/QtCreator/latest Name=Qt Creator (4.5.1) GenericName=The IDE of choice for Qt development. GenericName[de]=Die IDE der Wahl zur Qt Entwicklung Icon=QtProject-qtcreator Terminal=false Categories=Development;IDE;Qt; MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs; [67651] Done [67651] perform org.rosindustrial.qtros.latest operation: CreateDesktopEntry [67651] - arguments: QtProject-qtcreator-ros-latest.desktop, Type=Application Exec=/home/lige/QtCreator/latest/bin/qtcreator-ros Path=/home/lige/QtCreator/latest Name=Qt Creator (4.5.1) GenericName=The IDE of choice for Qt development. GenericName[de]=Die IDE der Wahl zur Qt Entwicklung Icon=QtProject-qtcreator Terminal=false Categories=Development;IDE;Qt; MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs; [67651] Done [67651] backup org.rosindustrial.qtros.latest operation: CreateLink [67651] - arguments: /home/lige/Desktop/QtProject-qtcreator-ros-latest.desktop, /home/lige/.local/share/applications/QtProject-qtcreator-ros-latest.desktop [67651] Done [67651] perform org.rosindustrial.qtros.latest operation: CreateLink [67651] - arguments: /home/lige/Desktop/QtProject-qtcreator-ros-latest.desktop, /home/lige/.local/share/applications/QtProject-qtcreator-ros-latest.desktop [67655] Done [67655] backup org.rosindustrial.qtros.latest operation: Settings [67656] - arguments: path=/home/lige/QtCreator/latest/share/qtcreator/QtProject/QtCreator.ini, method=set, key=Updater/MaintenanceTool, value=/home/lige/QtCreator/MaintenanceTool [67656] Done [67656] perform org.rosindustrial.qtros.latest operation: Settings [67656] - arguments: path=/home/lige/QtCreator/latest/share/qtcreator/QtProject/QtCreator.ini, method=set, key=Updater/MaintenanceTool, value=/home/lige/QtCreator/MaintenanceTool [67725] Done [67725] backup org.rosindustrial.qtros.latest operation: Settings [67725] - arguments: path=/home/lige/QtCreator/latest/share/qtcreator/QtProject/QtCreator.ini, method=add_array_value, key=Plugins/ForceEnabled, value=UpdateInfo [67725] Done [67725] perform org.rosindustrial.qtros.latest operation: Settings [67725] - arguments: path=/home/lige/QtCreator/latest/share/qtcreator/QtProject/QtCreator.ini, method=add_array_value, key=Plugins/ForceEnabled, value=UpdateInfo [67769] Done [67770] backup org.rosindustrial.qtros.latest.rqtc operation: Extract [67770] - arguments: installer://org.rosindustrial.qtros.latest.rqtc/0.2.1.1qtcreator_ros_plugin.7z, /home/lige/QtCreator [67770] Done [67770] perform org.rosindustrial.qtros.latest.rqtc operation: Extract [67771] - arguments: installer://org.rosindustrial.qtros.latest.rqtc/0.2.1.1qtcreator_ros_plugin.7z, /home/lige/QtCreator [67862] Done [67901] Writing maintenance tool: "/home/lige/QtCreator/MaintenanceTool.new" [68117] Wrote permissions for maintenance tool. [68215] Maintenance tool restart: false.

BruceGeLi commented 6 years ago

When I run the Qt creator in a Terminal, and then import a ROS workspace, error happened and the Terminal shows: lige@lige-System-Product-Name:~/QtCreator/latest/bin$ ./qtcreator Segmentation fault (core dumped)

Levi-Armstrong commented 6 years ago

Ok, so it look like the installer works but you are getting a segmentation fault when launching qtcreator?

Levi-Armstrong commented 6 years ago

I would try the command below in the bin directory and post the output.

strace qtcreator-ros

BruceGeLi commented 6 years ago

Hi, I went to bin directory and then opened a terminal, and input: lige@lige-System-Product-Name:~/QtCreator/latest/bin$ strace ./qtcreator-ros

The qt creator started and the terminal keep posting something. And then I did the ROS workspace import, then qt creator collapsed as expected.

I paste the contents in the terminal below, which are posted during the time between "import" and collapsing.

================================================================== poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\22\0\7\0\33\0\240\4]\1\0\0\6\0\0\0 \0\0\0\1\0\0\0Zf\r\0", 28}], 1) = 28 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"+\0\1\0", 4}], 1) = 4 futex(0x7fff6a318804, FUTEX_WAIT_PRIVATE, 1, NULL) = 0 futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"&\0\2\0\342\1\0\0", 8}], 1) = 8 futex(0x7fff6a318004, FUTEX_WAIT_PRIVATE, 1, NULL) = 0 futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 open("/usr/share/icons/Humanity/actions/22/dialog-ok.svg", O_RDONLY|O_CLOEXEC) = 74 fstat(74, {st_mode=S_IFREG|0644, st_size=2449, ...}) = 0 fstat(74, {st_mode=S_IFREG|0644, st_size=2449, ...}) = 0 read(74, "<?xml version=\"1.0\" encoding=\"UT"..., 16384) = 2449 read(74, "", 13935) = 0 read(74, "", 16384) = 0 fstat(74, {st_mode=S_IFREG|0644, st_size=2449, ...}) = 0 close(74) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{";\3\7\0\36\0\240\4\0\0\0\0\17\0006\0\24\1\234\1\352\2\332\1w\0\37\0\202\3\n\0"..., 84}], 1) = 84 recvmsg(9, 0x7fff6a319770, 0) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=25, events=POLLIN}, {fd=32, events=POLLIN}, {fd=7, events=POLLIN}], 5, 0) = 1 ([{fd=6, revents=POLLIN}]) read(6, "\3\0\0\0\0\0\0\0", 16) = 8 recvmsg(9, 0x7fff6a319770, 0) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=25, events=POLLIN}, {fd=32, events=POLLIN}, {fd=7, events=POLLIN}], 5, 4820) = 1 ([{fd=6, revents=POLLIN}]) read(6, "\1\0\0\0\0\0\0\0", 16) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"+\0\1\0", 4}], 1) = 4 futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 futex(0x7fff6a3187d0, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x7fff6a3187d4, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{";\3\5\0\36\0\240\4\0\0\0\0\352\2\332\1w\0\37\0\202\3\n\0\33\0\240\4\36\0\240\4"..., 76}], 1) = 76 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\n\0\2\0\33\0\240\4\31\0\v\0\342\1\0\0\0\0\30\0\22\0\0\0\342\1\0\0\33\0\240\4"..., 52}], 1) = 52 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLIN|POLLOUT}]) recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\10\0\332\7\306f\r\0\342\1\0\0\33\0\240\4\0\0\0\0\210\6\277\3\31\3\344\1\0\0\0\3"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 futex(0x6d11d4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x6d11d0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 writev(4, [{"&\0\2\0\342\1\0\0", 8}], 1) = 8 futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 1 poll([{fd=4, events=POLLIN}], 1, 4294967295) = 1 ([{fd=4, revents=POLLIN}]) recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\1\1\334\7\0\0\0\0\342\1\0\0006`\340\1\210\6\277\3\210\6\277\3\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32 futex(0x6d11d4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x6d11d0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 1 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 recvmsg(9, 0x7fff6a319770, 0) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=25, events=POLLIN}, {fd=32, events=POLLIN}, {fd=7, events=POLLIN}], 5, 0) = 1 ([{fd=6, revents=POLLIN}]) read(6, "\n\0\0\0\0\0\0\0", 16) = 8 access("/home/lige/.config/QtProject/QtCreator.ini", F_OK) = 0 open("/home/lige/.config/QtProject/QtCreator.ini", O_RDWR|O_CREAT|O_CLOEXEC, 0666) = 74 close(74) = 0 open("/home/lige/.config/QtProject/QtCreator.ini.lock", O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = 74 flock(74, LOCK_EX|LOCK_NB) = 0 uname({sys="Linux", node="lige-System-Product-Name", ...}) = 0 readlink("/proc/7402/exe", "/home/lige/QtCreator/latest/bin/"..., 256) = 41 write(74, "7402\nqtcreator\nlige-System-Produ"..., 40) = 40 fdatasync(74) = 0 access("/home/lige/.config/QtProject/QtCreator.ini", F_OK) = 0 stat("/home/lige/.config/QtProject/QtCreator.ini", {st_mode=S_IFREG|0664, st_size=14821, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 access("/home/lige/.config/QtProject/QtCreator.ini", F_OK) = 0 access("/home/lige/.config/QtProject/QtCreator.ini", W_OK) = 0 stat("/home/lige/.config/QtProject/QtCreator.ini", {st_mode=S_IFREG|0664, st_size=14821, ...}) = 0 lstat("/home/lige/.config/QtProject/QtCreator.ini", {st_mode=S_IFREG|0664, st_size=14821, ...}) = 0 open("/home/lige/.config/QtProject/QtCreator.ini.tLOOrm", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 75 stat("/home/lige/.config/QtProject/QtCreator.ini", {st_mode=S_IFREG|0664, st_size=14821, ...}) = 0 access("/home/lige/.config/QtProject/QtCreator.ini", R_OK) = 0 access("/home/lige/.config/QtProject/QtCreator.ini", W_OK) = 0 access("/home/lige/.config/QtProject/QtCreator.ini", X_OK) = -1 EACCES (Permission denied) fchmod(75, 0664) = 0 fstat(75, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0 write(75, "[General]\nFolderNavigationWidget"..., 14821) = 14821 lseek(75, 0, SEEK_SET) = 0 fdatasync(75) = 0 close(75) = 0 rename("/home/lige/.config/QtProject/QtCreator.ini.tLOOrm", "/home/lige/.config/QtProject/QtCreator.ini") = 0 stat("/home/lige/.config/QtProject/QtCreator.ini", {st_mode=S_IFREG|0664, st_size=14821, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 close(74) = 0 unlink("/home/lige/.config/QtProject/QtCreator.ini.lock") = 0 access("/home/lige/.config/QtProject.ini", F_OK) = -1 ENOENT (No such file or directory) stat("/home/lige/.config/QtProject.ini", 0x7fff6a319480) = -1 ENOENT (No such file or directory) stat("/home/lige/.config/QtProject.ini", 0x7fff6a319430) = -1 ENOENT (No such file or directory) stat("/home/lige/QtCreator/latest/share/qtcreator/QtProject/QtCreator.ini", {st_mode=S_IFREG|0664, st_size=98, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 access("/home/lige/QtCreator/latest/share/qtcreator/QtProject.ini", F_OK) = -1 ENOENT (No such file or directory) stat("/home/lige/QtCreator/latest/share/qtcreator/QtProject.ini", 0x7fff6a319480) = -1 ENOENT (No such file or directory) stat("/home/lige/QtCreator/latest/share/qtcreator/QtProject.ini", 0x7fff6a319430) = -1 ENOENT (No such file or directory) write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\24\0\6\0\33\0\240\4\253\1\0\0\0\0\0\0\0\0\0\0\0\4\0\0", 24}], 1) = 24 futex(0x7fff6a319434, FUTEX_WAIT_PRIVATE, 1, NULL) = 0 futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\24\0\6\0\33\0\240\4F\1\0\0\4\0\0\0\0\0\0\0\0\4\0\0", 24}], 1) = 24 futex(0x7fff6a3193e4, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\2030\2\0\4\0\240\4", 8}, {NULL, 0}, {"", 0}], 3) = 8 futex(0x7fff6a319154, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\2030\2\0\f\0\240\4", 8}, {NULL, 0}, {"", 0}], 3) = 8 futex(0x7fff6a319154, FUTEX_WAIT_PRIVATE, 1, NULL) = 0 futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\2030\2\0\t\0\240\4", 8}, {NULL, 0}, {"", 0}], 3) = 8 futex(0x7fff6a319154, FUTEX_WAIT_PRIVATE, 1, NULL) = 0 futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\2030\2\0\n\0\240\4", 8}, {NULL, 0}, {"", 0}], 3) = 8 futex(0x7fff6a319154, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"\24\0\6\0\f\0\240\4F\1\0\0\4\0\0\0\0\0\0\0\0\4\0\0", 24}], 1) = 24 futex(0x7fff6a3193e4, FUTEX_WAIT_PRIVATE, 1, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0x6d11a8, FUTEX_WAKE_PRIVATE, 1) = 0 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 shmdt(0x7f82921ca000) = 0 shmctl(2719759, IPC_RMID, 0) = 0 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat(":/utils/images/arrow.png", 0x7fff6a318e60) = -1 ENOENT (No such file or directory) stat("/home/lige/.local/share/mime/image/png.xml", 0x7fff6a318ab0) = -1 ENOENT (No such file or directory) stat("/usr/share/ubuntu/mime/image/png.xml", 0x7fff6a318ab0) = -1 ENOENT (No such file or directory) stat("/usr/share/gnome/mime/image/png.xml", 0x7fff6a318ab0) = -1 ENOENT (No such file or directory) stat("/usr/local/share/mime/image/png.xml", 0x7fff6a318ab0) = -1 ENOENT (No such file or directory) stat("/usr/share/mime/image/png.xml", {st_mode=S_IFREG|0644, st_size=2940, ...}) = 0 open("/usr/share/mime/image/png.xml", O_RDONLY|O_CLOEXEC) = 74 fstat(74, {st_mode=S_IFREG|0644, st_size=2940, ...}) = 0 fstat(74, {st_mode=S_IFREG|0644, st_size=2940, ...}) = 0 read(74, "<?xml version=\"1.0\" encoding=\"ut"..., 16384) = 2940 read(74, "", 13444) = 0 close(74) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 access("/usr/share/icons/Humanity/actions/16/go-next.png", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/icons/Humanity/actions/16/go-next.svg", F_OK) = 0 access("/usr/share/icons/Humanity/actions/48/go-next.png", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/icons/Humanity/actions/48/go-next.svg", F_OK) = 0 access("/usr/share/icons/Humanity/actions/24/go-next.png", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/icons/Humanity/actions/24/go-next.svg", F_OK) = 0 access("/usr/share/icons/Humanity/actions/22/go-next.png", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/icons/Humanity/actions/22/go-next.svg", F_OK) = 0 open("/usr/share/icons/Humanity/actions/16/go-next.svg", O_RDONLY|O_CLOEXEC) = 74 fstat(74, {st_mode=S_IFREG|0644, st_size=1781, ...}) = 0 fstat(74, {st_mode=S_IFREG|0644, st_size=1781, ...}) = 0 read(74, "<?xml version=\"1.0\" encoding=\"UT"..., 16384) = 1781 read(74, "", 14603) = 0 read(74, "", 16384) = 0 fstat(74, {st_mode=S_IFREG|0644, st_size=1781, ...}) = 0 close(74) = 0 open("/usr/share/icons/Humanity/actions/16/go-next.svg", O_RDONLY|O_CLOEXEC) = 74 fstat(74, {st_mode=S_IFREG|0644, st_size=1781, ...}) = 0 fstat(74, {st_mode=S_IFREG|0644, st_size=1781, ...}) = 0 read(74, "<?xml version=\"1.0\" encoding=\"UT"..., 16384) = 1781 read(74, "", 14603) = 0 read(74, "", 16384) = 0 fstat(74, {st_mode=S_IFREG|0644, st_size=1781, ...}) = 0 close(74) = 0 open("/usr/share/icons/Humanity/actions/16/go-next.svg", O_RDONLY|O_CLOEXEC) = 74 fstat(74, {st_mode=S_IFREG|0644, st_size=1781, ...}) = 0 fstat(74, {st_mode=S_IFREG|0644, st_size=1781, ...}) = 0 read(74, "<?xml version=\"1.0\" encoding=\"UT"..., 16384) = 1781 read(74, "", 14603) = 0 read(74, "", 16384) = 0 fstat(74, {st_mode=S_IFREG|0644, st_size=1781, ...}) = 0 close(74) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2944, ...}) = 0 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 write(6, "\1\0\0\0\0\0\0\0", 8) = 8 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x10} --- +++ killed by SIGSEGV (core dumped) +++ Segmentation fault (core dumped)

BruceGeLi commented 6 years ago

Yes, you are right, it seems like the installation succeed(although it will jump from 40% to 100%) , but the error happened in launching, when I import ROS workspace.

Levi-Armstrong commented 6 years ago

The jump from 40 to 100% is ok because all it is doing is unzipping a compressed file which does not take very long. You are most likely missing a ros dependency. If you launch qtcreator from a terminal then go through the import process and post the terminal contents because I print information that may give some insight on what may be missing.

BruceGeLi commented 6 years ago

I really did the same thing as you told me. I launch qtcreator from a terminal and then did the import process. But only the Segmentation fault (core dumped) is given in the terminal, nothing else.

Levi-Armstrong commented 6 years ago

I just want to confirm what version of ubuntu you are using? The original issues mentions 16.04 but later you state that you are using 14.04. Also see you downloaded the offline installer, could you try the downloading the online installer and try it.

Levi-Armstrong commented 6 years ago

I will also create a clean virtual machine and test it again to make sure it still works.

kkilove commented 6 years ago

Hi levi. Thank you for your great work! But i also meet the same problem, exactly like Fitz13009's.

Levi-Armstrong commented 6 years ago

@kkilove and @Fitz13009 I released a new version for Xenial and Bionic which may solve the issue you were having.