I can't reproduce this issue on buster with Google Chrome as the default
browser set in GNOME preferences.

For opening any links Smuxi relies on Mono's
System.Diagnostics.Process.Start() implementation which then uses
/usr/bin/xdg-open and (others). From your strace it seems to pick xdg-open
as it is executable which is expected for GNOME desktop environments.

Why it throws the exception, is not clear.... What happens if you run this
from a terminal:
/usr/bin/xdg-open '
https://pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg&name=small'
echo $?

Usually the xdg-open implementation just forks and returns 0. but the
output might help to understand why Mono thinks there was a problem.

Best regards,

Mirco Bauer

Security Architect      mirco.ba...@bitgamelabs.com https://bgl.hk/
FOSS Hacker             mee...@meebey.net  https://www.meebey.net/
Debian Developer        mee...@debian.org  http://www.debian.org/
GNOME Foundation Member mmmba...@gnome.org http://www.gnome.org/
.NET Foundation Advisory Council Member    http://www.dotnetfoundation.org/
PGP-Key ID              0x7127E5ABEEF946C8 https://meebey.net/pubkey.asc



On Tue, Jun 2, 2020 at 8:57 PM Raphaël Hertzog <hert...@debian.org> wrote:

> Package: smuxi-frontend-gnome
> Version: 1.0.7-5
> Severity: important
>
> I have been a happy smuxi user for years but for a few months now I'm no
> longer able to click on links... I can left click but nothing happens, the
> URL
> no longer opens in the web browser. Same goes with right click + selecting
> the open menu entry.
>
> I tried to strace it and saw this:
> [pid 779574] access("/usr/bin/xdg-open", X_OK) = 0
> [pid 779574] write(1, "2020-06-02 14:33:45,415 [Thread Pool Worker] ERROR
> Smuxi.Frontend.Gnome.Frontend - OpenLink(): opening URL: '
> https://pbs.twimg.com/media/ESpweBhXgAAefGF?format=jpg&name=small'
> failed\nSystem.ComponentModel.Win32Exception (0x80004005): Cannot find the
> specified file\n  at System.Diagnostics.Process.StartWithShellExecuteEx
> (System.Diagnostics.ProcessStartInfo startInfo) [0x00129] in
> <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0 \n  at
> System.Diagnostics.Process.Start () [0x00038] in
> <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0 \n  at (wrapper
> remoting-invoke-with-check) System.Diagnostics.Process.Start()\n  at
> System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo
> startInfo) [0x0001e] in <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0 \n  at
> System.Diagnostics.Process.Start (System.String fileName) [0x00006] in
> <a85c1a570f9a4f9f9c3d2cfa5504e34f>:0 \n  at
> Smuxi.Frontend.Gnome.Frontend+<OpenLink>c__AnonStorey6.<>m__0
> (System.Object ) [0x0000f] in
> /build/smuxi-1.0.7/src/Frontend-GNOME/Frontend.cs:945 \n", 992 <unfinished
> ...>
>
> I have no idea why the code is generating this exception.
>
> -- System Information:
> Debian Release: bullseye/sid
>   APT prefers oldoldstable
>   APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'),
> (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
> Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
> LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages smuxi-frontend-gnome depends on:
> ii  libdbus-glib2.0-cil         0.6.0-1
> ii  libdbus2.0-cil              0.8.1-2
> ii  libglade2.0-cil             2.12.40-3
> ii  libglib2.0-0                2.64.2-1
> ii  libglib2.0-cil              2.12.40-3
> ii  libgtk2.0-0                 2.24.32-4
> ii  libgtk2.0-cil               2.12.40-3
> ii  libgtkspell0                2.0.16-1.3
> ii  liblog4net1.2-cil           1.2.10+dfsg-7
> ii  libmessagingmenu12.10-cil   1.0.1-1
> ii  libmono-corlib4.5-cil       6.8.0.105+dfsg-3
> ii  libmono-posix4.0-cil        6.8.0.105+dfsg-3
> ii  libmono-system-core4.0-cil  6.8.0.105+dfsg-3
> ii  libmono-system-web4.0-cil   6.8.0.105+dfsg-3
> ii  libmono-system4.0-cil       6.8.0.105+dfsg-3
> ii  libnotify0.4-cil            0.4.0~r3032-7
> ii  librsvg2-common             2.48.4+dfsg-1
> ii  mono-runtime                6.8.0.105+dfsg-3
> ii  smuxi-engine                1.0.7-5
>
> Versions of packages smuxi-frontend-gnome recommends:
> ii  gnome-shell [notification-daemon]  3.36.2-1
> ii  notification-daemon                3.20.0-4
> ii  ssh-askpass-gnome [ssh-askpass]    1:8.2p1-4
>
> smuxi-frontend-gnome suggests no packages.
>
> -- no debconf information
>

Reply via email to