https://bugs.kde.org/show_bug.cgi?id=364662
--- Comment #1 from Bzzz <b...@gmx.net> --- running the xdg command with strace results in: trace xdg-open 'https://forum.kde.org/viewtopic.php?f=289&t=124392&p=327270#p327270' execve("/usr/bin/xdg-open", ["xdg-open", "https://forum.kde.org/viewtopic."...], [/* 76 vars */]) = 0 brk(NULL) = 0x560b4479f000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9674e55000 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=280150, ...}) = 0 mmap(NULL, 280150, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9674e10000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/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\0P\t\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0 mmap(NULL, 3967488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9674869000 mprotect(0x7f9674a29000, 2093056, PROT_NONE) = 0 mmap(0x7f9674c28000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7f9674c28000 mmap(0x7f9674c2e000, 14848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9674c2e000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9674e0f000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9674e0e000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9674e0d000 arch_prctl(ARCH_SET_FS, 0x7f9674e0e700) = 0 mprotect(0x7f9674c28000, 16384, PROT_READ) = 0 mprotect(0x560b429d2000, 8192, PROT_READ) = 0 mprotect(0x7f9674e57000, 4096, PROT_READ) = 0 munmap(0x7f9674e10000, 280150) = 0 getuid() = 1000 getgid() = 1000 getpid() = 6029 rt_sigaction(SIGCHLD, {0x560b427c6540, ~[RTMIN RT_1], SA_RESTORER, 0x7f967489e4a0}, NULL, 8) = 0 geteuid() = 1000 brk(NULL) = 0x560b4479f000 brk(0x560b447c0000) = 0x560b447c0000 getppid() = 6027 stat("/home/bzzz/Downloads", {st_mode=S_IFDIR|0700, st_size=69632, ...}) = 0 stat(".", {st_mode=S_IFDIR|0700, st_size=69632, ...}) = 0 open("/usr/bin/xdg-open", O_RDONLY) = 3 fcntl(3, F_DUPFD, 10) = 10 close(3) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 geteuid() = 1000 getegid() = 1000 rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x560b427c6540, ~[RTMIN RT_1], SA_RESTORER, 0x7f967489e4a0}, NULL, 8) = 0 rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f967489e4a0}, NULL, 8) = 0 rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f967489e4a0}, NULL, 8) = 0 read(10, "#!/bin/sh\n#---------------------"..., 8192) = 8192 read(10, " echo \"Use --novendor to overrid"..., 8192) = 8192 read(10, "desktop\n if [ -r \"$dir/$defau"..., 8192) = 6362 stat("/usr/local/sbin/kde-open5", 0x7ffd2093e500) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/kde-open5", 0x7ffd2093e500) = -1 ENOENT (No such file or directory) stat("/usr/sbin/kde-open5", 0x7ffd2093e500) = -1 ENOENT (No such file or directory) stat("/usr/bin/kde-open5", {st_mode=S_IFREG|0755, st_size=31696, ...}) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9674e0e9d0) = 6030 wait4(-1, [waits...] [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6030 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6030, si_uid=1000, si_status=0, si_utime=8, si_stime=2} --- rt_sigreturn({mask=[]}) = 6030 exit_group(0) = ? +++ exited with 0 +++ after that, I ran the same command again one folder higher (~/), and it instantly opened the web page: strace xdg-open 'https://forum.kde.org/viewtopic.php?f=289&t=124392&p=327270#p327270' execve("/usr/bin/xdg-open", ["xdg-open", "https://forum.kde.org/viewtopic."...], [/* 76 vars */]) = 0 brk(NULL) = 0x561eef8a1000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efe17cc7000 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=280150, ...}) = 0 mmap(NULL, 280150, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7efe17c82000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/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\0P\t\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0 mmap(NULL, 3967488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7efe176db000 mprotect(0x7efe1789b000, 2093056, PROT_NONE) = 0 mmap(0x7efe17a9a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7efe17a9a000 mmap(0x7efe17aa0000, 14848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7efe17aa0000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efe17c81000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efe17c80000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efe17c7f000 arch_prctl(ARCH_SET_FS, 0x7efe17c80700) = 0 mprotect(0x7efe17a9a000, 16384, PROT_READ) = 0 mprotect(0x561eedfb6000, 8192, PROT_READ) = 0 mprotect(0x7efe17cc9000, 4096, PROT_READ) = 0 munmap(0x7efe17c82000, 280150) = 0 getuid() = 1000 getgid() = 1000 getpid() = 6061 rt_sigaction(SIGCHLD, {0x561eeddaa540, ~[RTMIN RT_1], SA_RESTORER, 0x7efe177104a0}, NULL, 8) = 0 geteuid() = 1000 brk(NULL) = 0x561eef8a1000 brk(0x561eef8c2000) = 0x561eef8c2000 getppid() = 6059 stat("/home/bzzz", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0 stat(".", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0 open("/usr/bin/xdg-open", O_RDONLY) = 3 fcntl(3, F_DUPFD, 10) = 10 close(3) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 geteuid() = 1000 getegid() = 1000 rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x561eeddaa540, ~[RTMIN RT_1], SA_RESTORER, 0x7efe177104a0}, NULL, 8) = 0 rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7efe177104a0}, NULL, 8) = 0 rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7efe177104a0}, NULL, 8) = 0 read(10, "#!/bin/sh\n#---------------------"..., 8192) = 8192 read(10, " echo \"Use --novendor to overrid"..., 8192) = 8192 read(10, "desktop\n if [ -r \"$dir/$defau"..., 8192) = 6362 stat("/usr/local/sbin/kde-open5", 0x7ffd2bdad3f0) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/kde-open5", 0x7ffd2bdad3f0) = -1 ENOENT (No such file or directory) stat("/usr/sbin/kde-open5", 0x7ffd2bdad3f0) = -1 ENOENT (No such file or directory) stat("/usr/bin/kde-open5", {st_mode=S_IFREG|0755, st_size=31696, ...}) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7efe17c809d0) = 6062 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6062 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6062, si_uid=1000, si_status=0, si_utime=7, si_stime=2} --- rt_sigreturn({mask=[]}) = 6062 exit_group(0) = ? +++ exited with 0 +++ Now it works instantly in all folders with this very link, but external links from e.g. quiterss still do not succeed. I just found an engadget post that had 10 errors in 10 tries and xdg-open is also not capable of opening it in Firefox: strace xdg-open 'https://www.engadget.com/2016/06/29/ai-laywer-shoots-down-160000-parking-tickets/' execve("/usr/bin/xdg-open", ["xdg-open", "https://www.engadget.com/2016/06"...], [/* 76 vars */]) = 0 brk(NULL) = 0x55931402b000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f51bd424000 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=280150, ...}) = 0 mmap(NULL, 280150, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f51bd3df000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/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\0P\t\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0 mmap(NULL, 3967488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f51bce38000 mprotect(0x7f51bcff8000, 2093056, PROT_NONE) = 0 mmap(0x7f51bd1f7000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7f51bd1f7000 mmap(0x7f51bd1fd000, 14848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f51bd1fd000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f51bd3de000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f51bd3dd000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f51bd3dc000 arch_prctl(ARCH_SET_FS, 0x7f51bd3dd700) = 0 mprotect(0x7f51bd1f7000, 16384, PROT_READ) = 0 mprotect(0x55931213f000, 8192, PROT_READ) = 0 mprotect(0x7f51bd426000, 4096, PROT_READ) = 0 munmap(0x7f51bd3df000, 280150) = 0 getuid() = 1000 getgid() = 1000 getpid() = 6169 rt_sigaction(SIGCHLD, {0x559311f33540, ~[RTMIN RT_1], SA_RESTORER, 0x7f51bce6d4a0}, NULL, 8) = 0 geteuid() = 1000 brk(NULL) = 0x55931402b000 brk(0x55931404c000) = 0x55931404c000 getppid() = 6167 stat("/home/bzzz/Downloads", {st_mode=S_IFDIR|0700, st_size=69632, ...}) = 0 stat(".", {st_mode=S_IFDIR|0700, st_size=69632, ...}) = 0 open("/usr/bin/xdg-open", O_RDONLY) = 3 fcntl(3, F_DUPFD, 10) = 10 close(3) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 geteuid() = 1000 getegid() = 1000 rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x559311f33540, ~[RTMIN RT_1], SA_RESTORER, 0x7f51bce6d4a0}, NULL, 8) = 0 rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f51bce6d4a0}, NULL, 8) = 0 rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f51bce6d4a0}, NULL, 8) = 0 read(10, "#!/bin/sh\n#---------------------"..., 8192) = 8192 read(10, " echo \"Use --novendor to overrid"..., 8192) = 8192 read(10, "desktop\n if [ -r \"$dir/$defau"..., 8192) = 6362 stat("/usr/local/sbin/kde-open5", 0x7ffcd2708070) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/kde-open5", 0x7ffcd2708070) = -1 ENOENT (No such file or directory) stat("/usr/sbin/kde-open5", 0x7ffcd2708070) = -1 ENOENT (No such file or directory) stat("/usr/bin/kde-open5", {st_mode=S_IFREG|0755, st_size=31696, ...}) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f51bd3dd9d0) = 6170 wait4(-1, [waits 75s] KRun(0x2635210) ERROR (stat): 124 "Connection to host www.engadget.com is broken." [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 6170 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6170, si_uid=1000, si_status=1, si_utime=19, si_stime=2} --- rt_sigreturn({mask=[]}) = 6170 exit_group(4) = ? +++ exited with 4 +++ -- You are receiving this mail because: You are watching all bug changes.