On Saturday 19 May 2007, Larry Rosenman wrote: > On May 19, 2007, at 1:31 PM, Alexander Kabaev wrote: > > On Sat, 19 May 2007 13:20:06 -0500 > > > > Larry Rosenman <ler_at_lerctr.org> wrote: > >>> This core is useless. You need need debug symbols in libc and > >>> libssl. > >> > >> How can I enable the debug symbols for libc and libssl/libcrypto? > >> > >> LER > > > > The usual way. > > > > cd /usr/src/lib/lib > > CFLAGS="-O -g" STRIP="" sudo make clean all install > > > > cd /usr/src/secure/lib/libssl > > CFLAGS="-O -g" STRIP="" sudo make clean all install > > > > -- > > Alexander Kabaev > > Here's the new backtrace (I recompiled pine with -g as well): > #0 0x00000008011da3ec in kill () at kill.S:2 > 2 RSYSCALL(kill) > (gdb) bt > #0 0x00000008011da3ec in kill () at kill.S:2 > #1 0x00000008011da391 in __raise (s=6) at /usr/src/lib/libc/gen/ > raise.c:46 > #2 0x00000008011d927e in abort () at /usr/src/lib/libc/stdlib/ > abort.c:65 > #3 0x0000000000556289 in coredump () at os.c:781 > #4 0x0000000000504462 in panic ( > message=0x7fffffffade0 "Received abort signal(sig=?)") at pine.c: > 4366 > #5 0x0000000000532df2 in auger_in_signal () at signals.c:242 > #6 <signal handler called> > #7 0x0000000800d4374d in ssl3_send_client_key_exchange (s=0x80154e180) > at /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ > s3_clnt.c:1845 > #8 0x0000000800d46420 in ssl3_connect (s=0x80154e180) > at /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ > s3_clnt.c:327 > #9 0x0000000800d5026b in ssl3_write_bytes (s=0x80154e180, type=23, > buf_=Variable "buf_" is not available. > ) > at /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ > s3_pkt.c:526 > #10 0x0000000800d56628 in ssl3_write (s=0x80154e180, buf=0x7275d3, > len=0) > at /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ > s3_lib.c:2327 > #11 0x0000000800d4d19f in SSL_write (s=Variable "s" is not available. > ) > at /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ > ssl_lib.c:903 > #12 0x0000000000597c1a in ssl_start_work () > #13 0x00000000005978b9 in ssl_start () > #14 0x00000000005c3a87 in smtp_open_full () > #15 0x00000000005284c8 in call_mailer (header=0x7fffffffdd40, > body=0x80152c080, alt_smtp_servers=0x0) at send.c:7118 > ---Type <return> to continue, or q <return> to quit--- > #16 0x000000000052cf34 in pine_send (outgoing=0x801434150, > body=0x7fffffffe328, editor_title=Variable "editor_title" is not > available. > ) at send.c:5141 > #17 0x000000000052e6ee in compose_mail (given_to=0x0, fcc_arg=0x0, > role_arg=0x0, attach=0x0, inc_text_getc=0) at send.c:984 > #18 0x000000000052e9b8 in compose_screen (pine_state=0x801401000) at > send.c:335 > #19 0x000000000050f385 in main (argc=1, argv=0x7fffffffec90) at > pine.c:1342 > Current language: auto; currently asm > (gdb) I believe libssl is broken if not compiled with -DOPENSSL_NO_DH. Gcc will warn that the program will abort if the code reaches any call to DHparams_dup() when compiling libssl. ssl3_send_client_key_exchange calls this (macro) at s3_clnt.c:1856. There are other places too. - Pieter de GoejeReceived on Sat May 19 2007 - 18:20:26 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC