Bug 239038 - net/mosh: Refuses connections due to protobuf error
Summary: net/mosh: Refuses connections due to protobuf error
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Ryan Steinmetz
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2019-07-07 19:59 UTC by Alarig Le Lay
Modified: 2019-07-08 11:37 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments
/usr/local/etc/poudriere.d/make.conf (162 bytes, text/plain)
2019-07-08 07:03 UTC, Alarig Le Lay
no flags Details
pkg version -v (18.83 KB, text/plain)
2019-07-08 07:06 UTC, Alarig Le Lay
no flags Details
full build log of mosh (39.13 KB, text/plain)
2019-07-08 07:12 UTC, Alarig Le Lay
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alarig Le Lay 2019-07-07 19:59:45 UTC
Hi,

The port mush has been upgraded on my machine this night, since then, I can’t log into it any more.

~ % mosh mew.swordarmor.fr                           
Enter passphrase for key '/home/alarig/.ssh/id_rsa_perso': 
[libprotobuf FATAL google/protobuf/generated_message_util.cc:809] CHECK failed: (scc->visit_status.load(std::memory_order_relaxed)) == (SCCInfoBase::kRunning): 
Connection to mew.swordarmor.fr closed.
/usr/bin/mosh: Did not find mosh server startup message. (Have you installed mosh on your server?)
zsh: exit 10    LANG=fr_FR.UTF-8 mosh mew.swordarmor.fr

root@mew:~ # pkg info mosh
mosh-1.3.2_9
Name           : mosh
Version        : 1.3.2_9
Installed on   : Sun Jul  7 00:01:16 2019 CEST
Origin         : net/mosh
Architecture   : FreeBSD:11:amd64
Prefix         : /usr/local
Categories     : net
Licenses       : GPLv3
Maintainer     : zi@FreeBSD.org
WWW            : https://mosh.org/
Comment        : Mobile terminal that supports intermittent connectivity
Shared Libs required:
        libprotobuf.so.19
Annotations    :
        FreeBSD_version: 1102000
        repo_type      : binary
        repository     : poudriere
Flat size      : 654KiB
Description    :
Remote terminal application that allows roaming, supports intermittent
connectivity, and provides intelligent local echo and line editing of
user keystrokes.

Mosh is a replacement for SSH. It's more robust and responsive,
especially over Wi-Fi, cellular, and long-distance links.

WWW: https://mosh.org/
root@mew:~ # uname -a
FreeBSD mew.swordarmor.fr 11.2-RELEASE-p9 FreeBSD 11.2-RELEASE-p9 #0: Tue Feb  5 15:30:36 UTC 2019     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-07-08 03:03:17 UTC
@Alarig Can you please provide:

- /etc/make.conf contents (as an attachment)
- pkg version -v output (as an attachment)
- a full build log of mosh (as an attachment)

1.3.2_9 was a portrevision bump in ports r505909 to account for a devel/protobuf update to 3.8.0 (cc committer)

See Also: 

https://github.com/protocolbuffers/protobuf/issues/5923
https://github.com/protocolbuffers/protobuf/issues/6074
https://stackoverflow.com/questions/52890529/fatalexception-thrown-by-protobuf-library-on-instantiation-of-message
Comment 2 Alarig Le Lay 2019-07-08 07:03:24 UTC
Created attachment 205577 [details]
/usr/local/etc/poudriere.d/make.conf

The make.conf file from my poudriere
Comment 3 Alarig Le Lay 2019-07-08 07:06:53 UTC
Created attachment 205578 [details]
pkg version -v

Ran on the VM running mosh
Comment 4 Alarig Le Lay 2019-07-08 07:12:22 UTC
Created attachment 205579 [details]
full build log of mosh

Building mosh on the poudriere
Comment 5 Alarig Le Lay 2019-07-08 07:13:39 UTC
Hi Kubilay,

Please find the requested outputs as attachments.
Comment 6 Michael Bueker 2019-07-08 11:37:20 UTC
I can confirm this bug (as a user of portmaster) for versions:
- devel/protobuf-3.8.0,1
- net/mosh-1.3.2_9