[Bug 1315550] Re: Current 14.04 bitlbee build using broken OTR (fixed in nightlies)
Timo Jyrinki
timo.jyrinki at canonical.com
Mon Oct 19 06:59:44 UTC 2015
Thanks for caring about the users, Dx!
I verified the backported commits seem sane and tested build + briefly
started it. I've uploaded it to the queue
https://launchpad.net/ubuntu/trusty/+queue?queue_state=1&queue_text= -
when it gets approved from there, this bug gets updated with
instructions on how to do the Stable Release Update verification.
Verification should be done by someone who's a daily user of bitlbee
(I'm not myself).
** Changed in: bitlbee (Ubuntu Trusty)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1315550
Title:
Current 14.04 bitlbee build using broken OTR (fixed in nightlies)
Status in bitlbee package in Ubuntu:
Fix Released
Status in bitlbee source package in Trusty:
In Progress
Bug description:
The current version of bitlbee, bitlbee-common, and bitlbee-plugin-otr
in 14.04 is 3.2.1+otr4-1. In this version, there are numerous
problems in the OTR negotiation phase. These problems have been fixed
in the nightlies for bitlbee. Relevant tickets are:
http://bugs.bitlbee.org/bitlbee/ticket/1109
http://bugs.bitlbee.org/bitlbee/ticket/1110
[Impact]
- BitlBee crashes when sending messages to contacts with no previous
otr context (offline contacts, or contacts that weren't talked to
before)
- BitlBee silently drops all unmodified messages when opportunistic
otr is enabled, which is the default mode
- Receiving a /me from a remote contact crashes BitlBee.
[Test Case]
- Start bitlbee daemon / service
- Start irc client, for example irssi
- Connect to bitlbee with "/connect localhost"
- Switch to the autojoined "&bitlbee" channel
- Type "add jabber username at domain password" with appropriate login
details (a jabber account in any server will do, gmail also works)
- Type "account jabber on" to connect.
And then either:
1.1 Find an offline contact (type "blist all" in &bitlbee to show them)
1.2 Open a PM window with that contact ("/query contact_name")
1.3 Send two messages to that contact
1.4 Watch it crash (will appear as a disconnection from the server in the irc client)
2.1 Do "set otr_policy manual"
2.2 Open a PM window with an online contact.
2.2 Send at least one message.
3.3 Ask the contact (using some other communication method) if they received anything.
3.1 Keep otr_policy in the default value (or reset it with "set otr_policy opportunistic")
3.2 Send at least two messages to an online contact
3.3 Ask the contact (using some other communication method) if both of them were received.
4.1 Ask the contact (using some other communication method) to send a "/me"-equivalent action
4.2 Watch it crash
[Regression Potential]
- Highly unlikely if only otr.c patches are backported - otr.c is
already very very broken.
- Possible but still unlikely if a full upload of 3.2.2-2 is done (the
current stable release, which is mostly 3.2.1+otr4-1 with fixes)
- Highly unlikely if the OTR plugin is removed (see below)
- These have been tested and worked perfectly for all the users that
complained about it so far in our channel (roughly 50 of them), who
were told to switch to the nightly apt repo, and this turned out to be
more stable.
[Other Info]
- Backporting individual otr-related patches is one way to solve the
issue, although not my preferred one.
- A full upload of 3.2.2-2 would be the easiest way to solve it. It's
stable, and the otr patches in 3.2.1+otr4-1 are the biggest part of
it.
- Removing the OTR plugin package will also get rid of the issues,
probably the safest option, but with a functionality loss. This will
require changing the version string to not say "otr4", as this is
misleading - without changing that, it will not be an effective way to
solve our tech support headache in #bitlbee
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bitlbee/+bug/1315550/+subscriptions
More information about the Ubuntu-sponsors
mailing list