Qt Online installer segmentation fault on Fedora 23
-
$ ./qt-unified-linux-x64-2.0.3-online.run Segmentation fault $ rpm -qa | grep mesa-libGL-devel mesa-libGL-devel-11.1.0-2.20151218.fc23.x86_64 $ dnf group list Installed groups: C Development Tools and Libraries
-
You can try to call it with strace or from gdb to see what happens.
Do you have anything related to Qt in your PATH? -
@jsulm I don't have anything related with Qt in PATH.
How do I trouble shoot the run file in gdb?
I tried gdb then
file qt-unified-linux-x64-2.0.3-online.run
andexec-file
also."/location/to/qt-unified-linux-x64-2.0.3-online.run" is not a core dump: File format not recognized
-
@Sudhir-Khanger said:
How do I trouble shoot the run file in gdb?
One way, is run it like:
gdb /location/to/qt-unified-linux-x64-2.0.3-online.run
Then, at the gdb prompt, type
run
and hit enter.To use strace:
strace /location/to/qt-unified-linux-x64-2.0.3-online.run
Cheers.
-
-rwxrwxr-x. 1 sudhir sudhir 3910591 Apr 13 09:34 qt-unified-linux-x64-2.0.3-online.run
"/home/sudhir/Downloads/qt-unified-linux-x64-2.0.3-online.run": not in executable format: File format not recognized (gdb) run Starting program: No executable file specified. Use the "file" or "exec-file" command.
$ strace qt-unified-linux-x64-2.0.3-online.run strace: Can't stat 'qt-unified-linux-x64-2.0.3-online.run': No such file or directory
$ strace file qt-unified-linux-x64-2.0.3-online.run execve("/usr/bin/file", ["file", "qt-unified-linux-x64-2.0.3-onlin"...], [/* 67 vars */]) = 0 brk(NULL) = 0x5604af5ee000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c40883000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=171375, ...}) = 0 mmap(NULL, 171375, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2c40859000 close(3) = 0 open("/lib64/libmagic.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pN\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=134632, ...}) = 0 mmap(NULL, 2228864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2c40443000 mprotect(0x7f2c40462000, 2093056, PROT_NONE) = 0 mmap(0x7f2c40661000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e000) = 0x7f2c40661000 close(3) = 0 open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\"\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=89472, ...}) = 0 mmap(NULL, 2183272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2c4022d000 mprotect(0x7f2c40242000, 2093056, PROT_NONE) = 0 mmap(0x7f2c40441000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f2c40441000 close(3) = 0 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\6\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2103656, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c40858000 mmap(NULL, 3934784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2c3fe6c000 mprotect(0x7f2c40023000, 2097152, PROT_NONE) = 0 mmap(0x7f2c40223000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b7000) = 0x7f2c40223000 mmap(0x7f2c40229000, 14912, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2c40229000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c40857000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c40856000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c40855000 arch_prctl(ARCH_SET_FS, 0x7f2c40856700) = 0 mprotect(0x7f2c40223000, 16384, PROT_READ) = 0 mprotect(0x7f2c40441000, 4096, PROT_READ) = 0 mprotect(0x7f2c40661000, 8192, PROT_READ) = 0 mprotect(0x5604adc6e000, 4096, PROT_READ) = 0 mprotect(0x7f2c40884000, 4096, PROT_READ) = 0 munmap(0x7f2c40859000, 171375) = 0 brk(NULL) = 0x5604af5ee000 brk(0x5604af60f000) = 0x5604af60f000 brk(NULL) = 0x5604af60f000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=111950656, ...}) = 0 mmap(NULL, 111950656, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2c393a8000 close(3) = 0 stat("/home/sudhir/.magic.mgc", 0x7ffdcffb95d0) = -1 ENOENT (No such file or directory) stat("/home/sudhir/.magic", 0x7ffdcffb95d0) = -1 ENOENT (No such file or directory) open("/etc/magic.mgc", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/etc/magic", {st_mode=S_IFREG|0644, st_size=111, ...}) = 0 open("/etc/magic", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=111, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c40882000 read(3, "# Magic local data for file(1) c"..., 4096) = 111 read(3, "", 4096) = 0 close(3) = 0 munmap(0x7f2c40882000, 4096) = 0 open("/usr/share/misc/magic.mgc", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=3036016, ...}) = 0 mmap(NULL, 3036016, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0x7f2c390c2000 close(3) = 0 open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=26254, ...}) = 0 mmap(NULL, 26254, PROT_READ, MAP_SHARED, 3, 0) = 0x7f2c4087c000 close(3) = 0 fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c4087b000 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c40814000 lstat("qt-unified-linux-x64-2.0.3-online.run", {st_mode=S_IFREG|0775, st_size=3910591, ...}) = 0 stat("qt-unified-linux-x64-2.0.3-online.run", {st_mode=S_IFREG|0775, st_size=3910591, ...}) = 0 open("qt-unified-linux-x64-2.0.3-online.run", O_RDONLY) = 3 fcntl(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fcntl(3, F_SETFL, O_RDONLY|O_LARGEFILE) = 0 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0\230\373A\0\0\0\0\0"..., 262144) = 262144 mmap(NULL, 2101248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c38ec1000 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2c407d3000 munmap(0x7f2c407d3000, 266240) = 0 lseek(3, 0, SEEK_SET) = 0 fstat(3, {st_mode=S_IFREG|0775, st_size=3910591, ...}) = 0 pread64(3, "\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0@\0\0\0\0\0@\0@\0\0\0\0\0"..., 56, 64) = 56 pread64(3, "\3\0\0\0\4\0\0\0008\2\0\0\0\0\0\0008\2@\0\0\0\0\0008\2@\0\0\0\0\0"..., 56, 120) = 56 pread64(3, "/lib64/ld-linux-x86-64.so.2\0", 28, 568) = 28 pread64(3, "\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0"..., 56, 176) = 56 pread64(3, "\1\0\0\0\6\0\0\0h=z\1\0\0\0\0h=\332\1\0\0\0\0h=\332\1\0\0\0\0"..., 56, 232) = 56 pread64(3, "\2\0\0\0\6\0\0\0H_\202\1\0\0\0\0H_\342\1\0\0\0\0H_\342\1\0\0\0\0"..., 56, 288) = 56 pread64(3, "\4\0\0\0\4\0\0\0T\2\0\0\0\0\0\0T\2@\0\0\0\0\0T\2@\0\0\0\0\0"..., 56, 344) = 56 pread64(3, "\7\0\0\0\4\0\0\0h=z\1\0\0\0\0h=\332\1\0\0\0\0h=\332\1\0\0\0\0"..., 56, 400) = 56 pread64(3, "P\345td\4\0\0\0\314\22K\1\0\0\0\0\314\22\213\1\0\0\0\0\314\22\213\1\0\0\0\0"..., 56, 456) = 56 pread64(3, "Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 56, 512) = 56 pread64(3, "", 64, 25370720) = 0 munmap(0x7f2c38ec1000, 2101248) = 0 munmap(0x7f2c40814000, 266240) = 0 close(3) = 0 write(1, "qt-unified-linux-x64-2.0.3-onlin"..., 196qt-unified-linux-x64-2.0.3-online.run: ERROR: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2error reading (Invalid argument) ) = 196 munmap(0x7f2c390c2000, 3036016) = 0 exit_group(1) = ? +++ exited with 1 +++
-
@Sudhir-Khanger said:
"/home/sudhir/Downloads/qt-unified-linux-x64-2.0.3-online.run": not in executable format: File format not recognized
That suggests the installer itself is corrupt - ie didn't download correctly.
-rwxrwxr-x. 1 sudhir sudhir 3910591 Apr 13 09:34 qt-unified-linux-x64-2.0.3-online.run
Looking at https://download.qt.io/archive/online_installers/2.0/qt-unified-linux-x64-2.0.3-online.run.mirrorlist the file should be 30392080 bytes - yours appears to be about one tenth of that.
Try downloading the installer again, then check one of the md5 / sha sums.
Cheers.
-
@Paul-Colby Thanks. I should have check that myself. I have tried downloading the image several times. It downloads very slowly and eventually dies. Maybe the download page is broken. Even from mirror downloads break at 3.4MB.
-
Okay after several tries I was able to download uncorrupted installer image. Thank you.
-
@Sudhir-Khanger said:
Okay after several tries I was able to download uncorrupted installer image. Thank you.
Glad to hear you got it working :)
Don't forget to mark this topic as "Solved" :)
-
@Paul-Colby The main download is still broken but I would mark it as solved. Thanks for helping out.