On Solaris-x86 current openssl-0.9.8-stable-SNAP-20050523 snapshot segfaults on every operation.
G-r-r-r-r-r! I've ran into this problem and thought I've fixed it... and ran into again and attempted again... and then again... and not again:-) The trouble is that Solaris x86 linker under unclear circumstances erroneously pads portions of .init segment with 0 instead of nops, which is bound to SEGV. I fail to notice the pattern, as it appears to vary with flags and versions... It's all at the end of x86cpuid-elf.s...
./config shared zlib no-sse2 -L/usr/local/lib -R/usr/local/lib
uname -a, ld -V, as -V.
Problem is that I cannot get any meaningful backtrace from OpenSSL configured this way.
Buf if you issue disassemble command at debugger prompt, you should see that you're in _init and if you follow to failing address you're most likely to spot mov (%eax),%al, right?
Unfortunately, attempt to configure debug version produces
What's wrong with ./config -g? Though it [or anything else] would hardly help debugging .init segment:-( A.
______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
