Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2018 01:25:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197035] sysutils/bbcp:  segmentation fault and core dump when running latest version (20150113)
Message-ID:  <bug-197035-13-Qgmbf816xv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197035-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197035-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197035

--- Comment #18 from Terry Kennedy <terry-freebsd@glaver.org> ---
(In reply to w.schwarzenfeld from comment #17)

Why not try it and see? But, since you asked, I did...

Clean install on 11-STABLE r326615 via building from ports and installing:

(0:9) pool12:/usr/ports/sysutils/bbcp% bbcp -P 2 /dev/zero localhost:/dev/n=
ull
Password for terry@pool12.glaver.org:
bbcp: Connection refused unable to connect to localhost port 5031
bbcp: Unable to allocate more than 0 of 4 data streams.
^C
(1:10) pool12:/usr/ports/sysutils/bbcp% bbcp -#
14.09.02.00.0

Exact same system, using bbcp 20120520 binary copied from 10.x:

(0:5) pool12:/usr/ports/sysutils/bbcp% bbcp -P 2 /dev/zero localhost:/dev/n=
ull
Password for terry@pool12.glaver.org:
bbcp: Creating /dev/null/zero
bbcp: 180112 20:08:48  0% done; 2.1 GB/s
bbcp: 180112 20:08:50  0% done; 2.1 GB/s
^C
(1:6) pool12:/usr/ports/sysutils/bbcp% bbcp -#
bbcp: Invalid option, '-#'.
Usage:   bbcp [Options] [Inspec] Outspec

Options: [-a [dir]] [-b [+]bf] [-B bsz] [-c [lvl]] [-C cfn] [-D] [-d path]
         [-e] [-E csa] [-f] [-F] [-h] [-i idfn] [-I slfn] [-k] [-K]
         [-L opts[@logurl]] [-l logf] [-m mode] [-n] [-N nio] [-o] [-O] [-p]
         [-P sec] [-r] [-R [args]] [-q qos] [-s snum] [-S srcxeq] [-T trgxe=
q]
         [-t sec] [-v] [-V] [-u loc] [-U wsz] [-w [=3D]wsz] [-x rate] [-y] =
[-z]
[-
-]

I/Ospec: [user@][host:]file

"Of course", the older bbcp doesn't support version identification* via -#,=
 but
a "strings /usr/local/bin/bbcp | grep ersion" reports:

Version: 12.01.30.01.0

I also built bbcp 20120520 on this r326615 system using the current ports
framework and the system clang 5.0.0 (the one I copied over was built under=
 an
older ports framework with the older system clang 3.4.1) and it worked
properly.

* Not that this is particularly useful, as the reported "versions" don't
correspond with the port / distname "versions".

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197035-13-Qgmbf816xv>