Hi,

Dagobert Michelsen wrote:
Try to reproduce it manually. The source for conftest is also logger in 
config.log,
then try to compile and pstack.
I did something minimal as this:

gcc config.ffi.c -L/opt/csw/lib/ffi -lffi

./a.out
Segmentation Fault (core dumped)

gdb doesn't show anything useful though...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0xfef74204 in ffi_closure_SYSV_inner () from /opt/csw/lib/libffi.so.5
(gdb) bt
#0  0xfef74204 in ffi_closure_SYSV_inner () from /opt/csw/lib/libffi.so.5
#1  0xfef74542 in ffi_closure_SYSV () from /opt/csw/lib/libffi.so.5
#2  0x08050ef4 in main ()

pstack core
core 'core' of 21240:   ./a.out
fef74204 ffi_closure_SYSV_inner (8047a2c, 8047a40, 0, fef7432a, 8047aac, feffa910) + 24
 fef74542 ffi_closure_SYSV (40800000, 40a00000, 3f800000, 41000000) + 1e
 08050ef4 main     (8050b30, 1, 8047af0) + ea
 08050b30 _start   (1, 8047be8, 0, 8047bf0, 8047c4a, 8047c5f) + 80


could it be that we have both libffi 4 and 5 ?
/opt/csw/lib/libffi.so.4
/opt/csw/lib/libffi.so.4.0.1
/opt/csw/lib/libffi.so.5
/opt/csw/lib/libffi.so.5.0.10

Usually there is a link to the latest version. Can the v4 be uninstalled from unstable10x? But I am just poking around.

Riccardo

Reply via email to