[Bug 223338] sysutils/fusefs-sshfs 3.2: crashes
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 31 13:04:12 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223338
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 at freebsd.org
Reporter: rozhuk.im at gmail.com
Flags: maintainer-feedback?(bofh at freebsd.org)
Assignee: bofh at freebsd.org
sshfs user at host:/home/user/docs /home/user/docs -o ServerAliveInterval=15
--debug -f -s
FUSE library version: 3.2.0
Password:
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 60409
INIT: 7.8
flags=0x00000000
max_readahead=0x00010000
INIT: 7.26
flags=0x00000020
max_readahead=0x00010000
max_write=0x00020000
max_background=0
congestion_threshold=0
time_gran=0
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 == 0), function cache_readdir, file ../cache.c, line
367.
Abort (core dumped)
===========================================================================================
Building for fusefs-sshfs-3.3.0
[1/7] cc -Itest/wrong_command at exe -Itest -I../test -Xclang -fcolor-diagnostics
-pipe -D_FILE_OFFSET_BITS=64 -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 at exe/wrong_command.c.o' -MF
'test/wrong_command at exe/wrong_command.c.o.d' -o
'test/wrong_command at exe/wrong_command.c.o' -c ../test/wrong_command.c
[2/7] cc -o test/wrong_command 'test/wrong_command at 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
[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/test
[4/7] /usr/local/bin/rst2man ../sshfs.rst sshfs.1
[5/7] cc -Isshfs at 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=64
-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=31 -MMD -MQ 'sshfs at exe/cache.c.o' -MF
'sshfs at exe/cache.c.o.d' -o 'sshfs at exe/cache.c.o' -c ../cache.c
[6/7] cc -Isshfs at 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=64
-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=31 -MMD -MQ 'sshfs at exe/sshfs.c.o' -MF
'sshfs at exe/sshfs.c.o.d' -o 'sshfs at exe/sshfs.c.o' -c ../sshfs.c
[7/7] cc -o sshfs 'sshfs at exe/sshfs.c.o' 'sshfs at 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
===========================================================================================
My /etc/make.conf contain:
CFLAGS= -O2 -msse2 -msse3 -mssse3 -msse4.1 -pipe
Looks like O2 overwrites O3 and asserts does not remove.
Add to Makefile:
CFLAGS+= -DNDEBUG
to remove all assert() code.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list