All pastes #790299 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-20 07:49 UTC
rendered paste body
(gdb) bt
#0  0x000000349b86fee9 in _int_malloc () from /lib64/libc.so.6
#1  0x000000349b870d5d in malloc () from /lib64/libc.so.6
#2  0x0000003b4a657112 in CRYPTO_malloc () from /lib64/libcrypto.so.6
#3  0x0000003b4a69df3e in lh_insert () from /lib64/libcrypto.so.6
#4  0x0000003b4a6a0449 in ERR_get_implementation () from /lib64/libcrypto.so.6
#5  0x0000003b4a69fd6c in RAND_poll () from /lib64/libcrypto.so.6
#6  0x0000003b4a6a14aa in ERR_load_crypto_strings () from /lib64/libcrypto.so.6
#7  0x00000035d1e2e589 in SSL_load_error_strings () from /lib64/libssl.so.6
#8  0x00002aaaaaaf2e41 in Curl_ossl_init () at ssluse.c:564
#9  0x00002aaaaab0b790 in Curl_ssl_init () at sslgen.c:159
#10 0x00002aaaaaaffd2e in curl_global_init (flags=3) at easy.c:226
#11 0x0000000000400f3b in main (argc=<value optimized out>, argv=0x6168c0) at popcache64.c:187

from main()
------
184         /* That's it for initial setup. */
185         /* Do the CURL init before threads get involved as it is not thread safe. */
186 
187         curl_global_init(CURL_GLOBAL_ALL);
188 
189         threads_left=nthreads;
190         fprintf( stderr, "Threads left: %llu ", nthreads );
191 
192         keep_alive_header = curl_slist_append( keep_alive_header, "Pragma: " );
193 
194         if ( keepalive )
195         {
196                 keep_alive_header = curl_slist_append( keep_alive_header, "Connection: keep-a    live" );
197         }
198 
199         /* create the worker threads */
200         for ( i=0; i<nthreads; i++ )
201         {
202                 pthread_rets[i]=pthread_create( &threads[i], NULL, pop_uri, &args[i] );
203         }
204 
205         for ( i=0; i<nthreads; i++ )
206         {
207                 pthread_join( threads[i], NULL );
208         }
"