id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2906	64-bit versions of 4.8.x crash on Solaris while trying to copy a file	drookie	andrew_b	"4.8.6 crashes on Solaris while trying to copy a file
I launch mc, I try to copy a file (no matter what), and it crashes.
100% reproduceable.

System:

# uname -a
SunOS anthe 5.11 11.0 i86pc i386 i86pc

Executable info:

# file /usr/local/mc/bin/mc
/usr/local/mc/bin/mc:   ELF 64-bit LSB executable AMD64 Version 1 [SSE2 SSE CMOV FPU], dynamically linked, not stripped

Built with system glib, with gcc:

# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: /builds/hudson/workspace/nightly/build/i386/components/gcc45/gcc-4.5.2/configure CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC --prefix=/usr/gcc/4.5 --mandir=/usr/gcc/4.5/share/man --bindir=/usr/gcc/4.5/bin --libdir=/usr/gcc/4.5/lib --sbindir=/usr/gcc/4.5/sbin --enable-languages=c,c++,fortran,objc --enable-shared --with-gmp-include=/usr/include/gmp --with-mpfr-include=/usr/include/mpfr --prefix=/usr/gcc/4.5 --mandir=/usr/gcc/4.5/share/man --infodir=/usr/gcc/4.5/share/info --libexecdir=/usr/gcc/4.5/lib CFLAGS='-g -O2 '
Thread model: posix
gcc version 4.5.2 (GCC)

MC version:
# /usr/local/mc/bin/mc -V
GNU Midnight Commander 4.8.6
Built with GLib 2.28.6
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64

Backtrace:

[root@anthe /home/emz/mc-4.8.6]# mdb /usr/local/mc/bin/mc core
Loading modules: [ libc.so.1 ld.so.1 ]
> $C
fffffd7fffdfecc0 libc.so.1`statfs+0xa()
fffffd7fffdff510 file_mask_dialog+0x995()
fffffd7fffdff900 panel_operate+0x43c()
fffffd7fffdff910 copy_cmd+0x25()
fffffd7fffdff940 midnight_execute_cmd+0xc8()
fffffd7fffdff9a0 midnight_callback+0x5dc()
fffffd7fffdff9e0 buttonbar_call+0xa7()
fffffd7fffdffa20 buttonbar_callback+0x75()
fffffd7fffdffa50 send_message+0x2c()
fffffd7fffdffa90 dlg_try_hotkey+0x170()
fffffd7fffdffad0 dlg_key_event+0xc0()
fffffd7fffdffb10 dlg_process_event+0x97()
fffffd7fffdffb60 frontend_run_dlg+0x143()
fffffd7fffdffb80 run_dlg+0x24()
fffffd7fffdffb90 create_panels_and_run_mc+0x141()
fffffd7fffdffc00 do_nc+0x121()
fffffd7fffdffc60 main+0x3b9()
fffffd7fffdffc70 _start+0x6c()
>"	defect	closed	major	4.8.7	mc-core	4.8.4	fixed					merged	committed-master committed-stable
