errors 'assert failed /mnt/jenkins/workspace/Build-Sync-x64/network.cpp:3266'

Recommended Posts

hello - I have docker image ( which is based on pretty popular (

since 1st April containers based on this image spits a lot of errors like this: 
'assert failed /mnt/jenkins/workspace/Build-Sync-x64/network.cpp:3266'

otherwise everything is working fine. You have any idea what is going on and what is the fix? The docker container was based on debian:wheezy, I've updated it to ubuntu:14.04 but it didn't help. Containers are working on CoreOs

Share this post

Link to post
Share on other sites

Possibly related, I am also seeing network-related "assert failed" in the logs running on Debian v8.4 (jessie) on amd64:

assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-309/network.cpp:2738

The difference in line numbers may be related to the different build architectures - the assertion may be being triggered by the same conditions as experienced in the original report.

Here are the details on the installed package:

% apt-cache show btsync
Package: btsync
Version: 2.3.6-1
Architecture: amd64
Maintainer: BitTorrent, Inc. <>
Installed-Size: 9894
Depends: libc6 (>= 2.4)
Priority: extra
Section: net
Filename: pool/non-free/b/btsync/btsync_2.3.6-1_amd64.deb
Size: 5191642
SHA256: e730aa9f30fccdda2cea7679d3f506042e246d7c9514591a7c799dcf22cac129
SHA1: 6cc9bcd885151596e575f49cbdcb563ab51d4605
MD5sum: 7d553ca1c7a0757a0531a3140f7232ed
Description: BitTorrent Sync is a proprietary peer-to-peer file synchronisation tool.
 It can sync files between devices on a local network, or between remote
 devices over the Internet via a modified version of the BitTorrent protocol.
Description-md5: 76747236cd3fbbff26384c3d342dbba0

I'm noticing btsync dropping client connections after a short period of file transfer, although this may be related to local configuration and not the result of this assertion failure.

Share this post

Link to post
Share on other sites

@GreatMarko - thanks for your quick reply.

After posting this I did see that thread - however I'm not sure if this applies. According to the web UI there are no speed limits imposed (attached), and I can't see an upload or download limit in /etc/btsync/config.json or /etc/btsync/user_config.json:

    "listening_port" : 0,
    "storage_path" : "/var/lib/btsync/",
    "pid_file" : "/var/run/btsync/",
    "agree_to_EULA": "yes",

    "webui" :
        "listen" : "xxxx"

Or am I looking in the wrong place? Are there build-time defaults that are being enforced (unlikely)?

The assertion failures have come at times when the web UI is reporting transfers at different rates (handful of KB/s through to MB/s). As reported by @agend07 it doesn't appear to be affecting performance.

Screen Shot 2016-04-03 at 23.22.05.png

Share this post

Link to post
Share on other sites

note the network.cpp<xxxx>, they are all different. for each build they will mean something different. 

@agend07 what exactly version of Sync you use. @denormal are you using official package, also what exactly build is it?  

Share this post

Link to post
Share on other sites

@Helen, I'm using the official Debian packages provided by BitTorrent (as detailed in the BitTorrent blog), with package information given above. The web UI is reporting version 2.3.6 build 378.

Screen Shot 2016-04-08 at 11.58.58.png

Share this post

Link to post
Share on other sites


in your case it means "invalid socket", attempt to option peer's IP was made on invalid socket. having only one line asked, this is the most I can reply with. For more details we need full debug log. 

Share this post

Link to post
Share on other sites

@Helen - thanks for looking into this. I didn't have debug logging enabled so can't shed any further light on the issue. This does not appear to be affecting overall performance (at least that I am aware).

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.