I'm currently looking into the following repeatable crash when I browse to the root of a large aufs volume with FileZilla:
====================================================================
Program received signal SIGSEGV, Segmentation fault.
0x00007fbd72a6988e in rdu_buf_lock () from /usr/lib/libau.so
(gdb) bt
#0 0x00007fbd72a6988e in rdu_buf_lock () from /usr/lib/libau.so
#1 0x00007fbd72a69e81 in closedir () from /usr/lib/libau.so
#2 0x000055a4e2c722ff in ?? ()
#3 0x000055a4e2c73952 in ?? ()
#4 0x00007fbd726e0730 in __libc_start_main (main=0x55a4e2c6fbf0,
argc=1, argv=0x7fff25531358,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized
out>, stack_end=0x7fff25531348)
at ../csu/libc-start.c:291
#5 0x000055a4e2c6fc89 in ?? ()
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x00007fbd72a694d0 0x00007fbd72a6a940 Yes (*) /usr/lib/libau.so
0x00007fbd726df890 0x00007fbd7280b3b4 Yes
/lib/x86_64-linux-gnu/libc.so.6
0x00007fbd724b8da0 0x00007fbd724b993e Yes
/lib/x86_64-linux-gnu/libdl.so.2
0x00007fbd7229da80 0x00007fbd722aa591 Yes
/lib/x86_64-linux-gnu/libpthread.so.0
0x00007fbd72c70ac0 0x00007fbd72c8c3c0 Yes
/lib64/ld-linux-x86-64.so.2
0x00007fbd720912d0 0x00007fbd72095821 Yes
/lib/x86_64-linux-gnu/libnss_compat.so.2
0x00007fbd71e7bff0 0x00007fbd71e87451 Yes
/lib/x86_64-linux-gnu/libnsl.so.1
0x00007fbd71c6a0b0 0x00007fbd71c70335 Yes
/lib/x86_64-linux-gnu/libnss_nis.so.2
0x00007fbd71a521b0 0x00007fbd71a58031 Yes
/lib/x86_64-linux-gnu/libnss_files.so.2
(*): Shared library is missing debugging information.
====================================================================
This is associated with /usr/lib/openssh/sftp-server. I've tried to
build the aufs-util source with debugging information by changing the
'override CFLAGS' to:
override CFLAGS += -Og -Wall -ggdb3
Make clean and then making as usual.
However libau.so.2.7 is always built with no debugging symbols:
====================================================================
$ dwarfdump libau/libau.so.2.7
.debug_info
.debug_pubnames
.debug_str
.debug_aranges
.debug_frame
.debug_static_func
.debug_static_vars
.debug_weaknames
====================================================================
I don't have much experience debugging libraries, but the Makefile is
pretty straightforward... doesn't look like anything is stripping it?
For reference I can browse to the directory on the SFTP server with the
sftp binary, so it must be something to do with fzsftp (associated with
FileZilla) that is upsetting it.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
