Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2017 13:04:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223338] sysutils/fusefs-sshfs 3.2: crashes
Message-ID:  <bug-223338-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 223338
           Summary: sysutils/fusefs-sshfs 3.2: crashes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

sshfs user@host:/home/user/docs /home/user/docs -o ServerAliveInterval=3D15
--debug -f -s
FUSE library version: 3.2.0
Password:=20
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 60409
INIT: 7.8
flags=3D0x00000000
max_readahead=3D0x00010000
   INIT: 7.26
   flags=3D0x00000020
   max_readahead=3D0x00010000
   max_write=3D0x00020000
   max_background=3D0
   congestion_threshold=3D0
   time_gran=3D0
   unique: 1, success, outsize: 40
...
unique: 192, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 25821
   unique: 192, success, outsize: 32
unique: 193, opcode: READDIR (28), nodeid: 1, insize: 64, pid: 25821
Assertion failed: (offset =3D=3D 0), function cache_readdir, file ../cache.=
c, line
367.
Abort (core dumped)


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Building for fusefs-sshfs-3.3.0
[1/7] cc  -Itest/wrong_command@exe -Itest -I../test -Xclang -fcolor-diagnos=
tics
-pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -O3 -D_REENTRANT
-DHAVE_CONFIG_H -Wall -Wextra -Wno-sign-compare -Wmissing-declarations
-Wwrite-strings -O2 -msse2 -msse3 -mssse3 -msse4.1 -fstack-protector
-fno-strict-aliasing -MMD -MQ 'test/wrong_command@exe/wrong_command.c.o' -MF
'test/wrong_command@exe/wrong_command.c.o.d' -o
'test/wrong_command@exe/wrong_command.c.o' -c ../test/wrong_command.c
[2/7] cc  -o test/wrong_command 'test/wrong_command@exe/wrong_command.c.o'
-Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -O2 -msse2 -msse3 -mssse3 -msse4=
.1
-pipe -fstack-protector -fno-strict-aliasing -fstack-protector=20=20
[3/7] cp -fPp ../test/conftest.py ../test/pytest.ini ../test/test_sshfs.py
../test/util.py
/tmp/ports/usr/ports/sysutils/fusefs-sshfs/work/sshfs-sshfs-3.3.0/_build/te=
st
[4/7] /usr/local/bin/rst2man ../sshfs.rst sshfs.1
[5/7] cc  -Isshfs@exe -I. -I.. -I../ -I/usr/local/include/fuse3
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=
=3D64
-Wall -Winvalid-pch -O3 -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra
-Wno-sign-compare -Wmissing-declarations -Wwrite-strings -O2 -msse2 -msse3
-mssse3 -msse4.1 -fstack-protector -fno-strict-aliasing -pthread
-DFUSE_USE_VERSION=3D31 -MMD -MQ 'sshfs@exe/cache.c.o' -MF
'sshfs@exe/cache.c.o.d' -o 'sshfs@exe/cache.c.o' -c ../cache.c
[6/7] cc  -Isshfs@exe -I. -I.. -I../ -I/usr/local/include/fuse3
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=
=3D64
-Wall -Winvalid-pch -O3 -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra
-Wno-sign-compare -Wmissing-declarations -Wwrite-strings -O2 -msse2 -msse3
-mssse3 -msse4.1 -fstack-protector -fno-strict-aliasing -pthread
-DFUSE_USE_VERSION=3D31 -MMD -MQ 'sshfs@exe/sshfs.c.o' -MF
'sshfs@exe/sshfs.c.o.d' -o 'sshfs@exe/sshfs.c.o' -c ../sshfs.c
[7/7] cc  -o sshfs 'sshfs@exe/sshfs.c.o' 'sshfs@exe/cache.c.o'
-Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -O2 -msse2 -msse3 -mssse3 -msse4=
.1
-pipe -fstack-protector -fno-strict-aliasing -fstack-protector -L/usr/local=
/lib
-Wl,--start-group -lfuse3 -lpthread -L/usr/local/lib -lglib-2.0 -lintl
-Wl,--end-group -L/usr/local/lib -lgthread-2.0 -pthread -lglib-2.0 -lintl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

My /etc/make.conf contain:
CFLAGS=3D -O2 -msse2 -msse3 -mssse3 -msse4.1 -pipe=20

Looks like O2 overwrites O3 and asserts does not remove.


Add to Makefile:
CFLAGS+=3D        -DNDEBUG
to remove all assert() code.

--=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-223338-13>