> inappropriate to be required to resume execution you can set
> environment variable OPENSSL_sparcv9cap to say 1 prior
> invoking the debugger so that
Where is that documented ?
> the probing code won't run and you won't be disturbed.
thank you, however, one may just "ignore SIGILL" and life goes on :
node002 $ dbx hack
Reading hack
Reading ld.so.1
Reading libcurl.so.4.3.0
Reading libssh2.so.1.0.1
Reading libc.so.1
Reading libidn.so.11.6.9
Reading libssl.so.1.0.0
Reading libcrypto.so.1.0.0
Reading libldap.so.5
Reading libz.so.1.2.7
Reading librt.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libintl.so.8.1.1
Reading libiconv.so.2.5.1
Reading libdl.so.1
Reading libaio.so.1
Reading libmd.so.1
(dbx) stop at 1
(2) stop at "hack.c":21
(dbx) ignore SIGILL
(dbx) run
Running: hack
(process id 10665)
Reading libc_psr.so.1
Reading libnspr4.so
Reading libpthread.so.1
Reading libsasl.so.1
Reading libmd_psr.so.1
Reading libplc4.so
Reading libnss3.so
Reading libnssutil3.so
Reading libplds4.so
Reading libssl3.so
Reading libthread.so.1
Reading libmp.so.2
Reading libscf.so.1
Reading libdoor.so.1
Reading libuutil.so.1
Reading libgen.so.1
t@1 (l@1) stopped in main at line 21 in file "hack.c"
21 curl_version_info_data *data = curl_version_info( CURLVERSION_NOW );
(dbx)
(dbx) step
t@1 (l@1) stopped in main at line 23 in file "hack.c"
23 if ( data && data->ssl_version && *data->ssl_version ) {
(dbx) print *data
*data = {
age = CURLVERSION_FOURTH
version = 0xffffffff7f05aac0 "7.29.0"
version_num = 466176U
host = 0xffffffff7f05aac8 "sparc-sun-solaris2.10"
features = 50717
ssl_version = 0xffffffff7f163e98 "OpenSSL/1.0.1e"
ssl_version_num = 0
libz_version = 0xffffffff7df21b98 "1.2.7"
protocols = 0xffffffff7f162ff0
ares = (nil)
ares_num = 0
libidn = 0xffffffff7e936450 "1.26"
iconv_ver_num = 0
libssh_version = 0xffffffff7f163ee8 "libssh2/1.4.3"
}
(dbx)
So that means this bug is not really a bug at all. Just a debugger user issue.
Even more honest, the problem is the guy at the keyboard.
Dennis
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]