I've just seen some odd behavior, which seems worth reporting for
reference, in case anyone else runs across it. The problem appears to
have gone away, so unless it returns, there isn't really anything to
file as a full bug report,

The short version is that, after upgrading Discord to version 0.0.16 and
rebooting (the first reboot after a lot of package upgrades against
Debian testing), I was getting SCIM errors in syslog (and, as a
consequence, in every open terminal).

This continued until I shut down Discord, downgraded it to the previous
version, tried to launch it (and ran up against the fact that Discord
won't launch if it thinks there's a newer version available), and
reinstalled the upgraded version from the same .deb as I'd originally
used. Since that reinstall, I haven't been able to reproduce the issue.



I run Discord, installed via the official Discord-provided .deb (which
is targeted for Ubuntu, but doesn't seem to have any Ubuntu-isms in it
packaging-wise, and seems to work fine on Debian).

Last night, I upgraded from version 0.0.15 to version 0.0.16, following
an in-client prompt to download and install a new "base version" .deb.
(The client will install updates automatically on the fly, to within
limits, but every now and then they release a new "base version" and
will refuse to launch until you've installed that.)

Following the upgrade, I saw no particular issues.

Overnight last night, there was an apparently-brief power issue at my
residence; as my UPS hasn't been in working order for years, this meant
my desktop shut down, taking Discord with it. This was after a 52-day
uptime period, making it (I believe) my first or at worst my third
reboot since the stable release; I've been installing package updates
from testing on a daily basis ever since. As a result, it was also the
first opportunity various programs may have had to fully re-launch from
scratch following their own upgrades.


After I booted this morning and re-launched Discord, I started to see
messages in every single open terminal (including those displaying
active programs such as less or nano), of the following form:

--------
Message from syslogd@myhostname at Sep 23 06:49:19 ...
  such IMContext
--------

These messages usually appeared in groups, sometimes 4 or more in a
single second. However, they weren't flooding in; they were appearing in
discrete batches.

Examining /var/log/syslog showed that these are a truncated version of a
longer message:

--------
Sep 23 06:49:19 myhostname  such IMContext
Sep 23 06:49:19 myhostname scim-bridge: No such IMContext
--------

Google indicates that this (and other messages) have in the past been
seen to appear when scim-bridge is crashing, although it's been years
since the last such occurrence that I could find mentioned.

However, initial testing seemed to show that SCIM was working fine; the
key combination which toggles on and off SCIM input was producing the
expected result, at least in those same terminals.


After further investigation, I noticed that the error batches were being
printed whenever I brought the Discord window into and out of focus. (I
later discovered that the same messages, as well as others which seem
like they might reflect a more serious issue, were being logged
whenever I hit Backspace while typing in Discord.)

After a bunch of false trails, including an attempt to downgrade Discord
to confirm that Discord was the determining factor in the problem
(rather than some unknown one of the upgrades carried out since the
previous reboot) which failed because of the refuse-to-launch behavior I
mentioned, I reinstalled the Discord 0.0.16 .deb and re-launched Discord
- and the messages stopped appearing. I haven't been able to make them
show up again since.


I'm a bit concerned that the apparent disappearance of the symptom may
not reflect a real elimination of the problem; it seems possible that
this will happen whenever Discord is launched before some other part of
the system (e.g., perhaps, SCIM itself) has been initiated after a
reboot. However, I've got no way to test that without rebooting again,
and I've got things I want to actually do this morning.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to