[gnutls-devel] crash inside of wrap_nettle_rnd?

Jason A. Donenfeld Jason at zx2c4.com
Wed Feb 12 19:23:09 CET 2014


Hi folks,

I'm getting a crash in weechat, and after some debugging, the
maintainer of weechat told me to complain here. I've put all the info
in this gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=501078 .

Here are various backtraces:

#0  0x0000744315fa2e8e in raise () from /lib64/libc.so.6
#1  0x0000744315fa45df in abort () from /lib64/libc.so.6
#2  0x0000744316de2324 in wrap_nettle_rnd () from /usr/lib64/libgnutls.so.28
#3  0x0000744316d28218 in _gnutls_tls_create_random () from
/usr/lib64/libgnutls.so.28
#4  0x0000744316d2861a in _gnutls_set_client_random () from
/usr/lib64/libgnutls.so.28
#5  0x0000744316d2a116 in _gnutls_send_hello () from /usr/lib64/libgnutls.so.28
#6  0x0000744316d2c928 in gnutls_handshake () from /usr/lib64/libgnutls.so.28
#7  0x000000c2d34924d1 in network_connect_child_read_cb ()
#8  0x000000c2d3489a46 in hook_fd_exec ()
#9  0x000000c2d34244fe in gui_main_loop ()
#10 0x000000c2d3419820 in main ()

(gdb) bt
#0  0x00006448f718fad4 in __lll_lock_elision () from /lib64/libpthread.so.0
#1  0x00006448fa98e8be in ?? () from /usr/lib64/libgnutls.so.28
#2  0x00006448faa2c16e in ?? () from /usr/lib64/libgnutls.so.28
#3  0x00006448fa972218 in ?? () from /usr/lib64/libgnutls.so.28
#4  0x00006448fa97261a in ?? () from /usr/lib64/libgnutls.so.28
#5  0x00006448fa974116 in ?? () from /usr/lib64/libgnutls.so.28
#6  0x00006448fa976928 in gnutls_handshake () from /usr/lib64/libgnutls.so.28
#7  0x00000e43a73e14d1 in network_connect_child_read_cb ()
#8  0x00000e43a73d8a46 in hook_fd_exec ()
#9  0x00000e43a73734fe in gui_main_loop ()
#10 0x00000e43a7368820 in main ()

(gdb) bt
#0  0x000074975344fe8e in raise () from /lib64/libc.so.6
#1  0x00007497534515df in abort () from /lib64/libc.so.6
#2  0x000074975428f324 in ?? () from /usr/lib64/libgnutls.so.28
#3  0x00007497541d5218 in ?? () from /usr/lib64/libgnutls.so.28
#4  0x00007497541d561a in ?? () from /usr/lib64/libgnutls.so.28
#5  0x00007497541d7116 in ?? () from /usr/lib64/libgnutls.so.28
#6  0x00007497541d9928 in gnutls_handshake () from /usr/lib64/libgnutls.so.28
#7  0x00000fbe153084d1 in network_connect_child_read_cb ()
#8  0x00000fbe152ffa46 in hook_fd_exec ()
#9  0x00000fbe1529a4fe in gui_main_loop ()
#10 0x00000fbe1528f820 in main ()

(gdb) bt
#0  0x0000736ab354aad4 in __lll_lock_elision () from /lib64/libpthread.so.0
#1  0x0000736ab8c6d8be in ?? () from /usr/lib64/libgnutls.so.28
#2  0x0000736ab8d0b16e in ?? () from /usr/lib64/libgnutls.so.28
#3  0x0000736ab8c4c7ae in ?? () from /usr/lib64/libgnutls.so.28
#4  0x0000736ab8c477b8 in ?? () from /usr/lib64/libgnutls.so.28
#5  0x0000736ab8c49b92 in gnutls_record_send () from /usr/lib64/libgnutls.so.28
#6  0x0000736ab4c7e80c in irc_server_send () from
/usr/lib64/weechat/plugins/irc.so
#7  0x0000736ab4c7f130 in irc_server_send_one_msg () from
/usr/lib64/weechat/plugins/irc.so
#8  0x0000736ab4c7f953 in irc_server_sendf () from
/usr/lib64/weechat/plugins/irc.so
#9  0x0000736ab4c5cbfc in irc_input_send_user_message () from
/usr/lib64/weechat/plugins/irc.so
#10 0x0000736ab4c5cdfb in irc_input_data () from
/usr/lib64/weechat/plugins/irc.so
#11 0x00000909fff0eccd in input_data ()
#12 0x00000909ffec73ff in gui_input_return ()
#13 0x00000909ffee1f90 in command_input ()
#14 0x00000909fff06fc4 in hook_command_exec ()
#15 0x00000909fff0e951 in input_exec_command ()
#16 0x00000909fff0ed04 in input_data ()
#17 0x00000909ffecbb5f in gui_key_pressed ()
#18 0x00000909ffea1122 in gui_key_flush ()
#19 0x00000909ffea165e in gui_key_read_cb ()
#20 0x00000909fff07a46 in hook_fd_exec ()
#21 0x00000909ffea24fe in gui_main_loop ()
#22 0x00000909ffe97820 in main ()


Any help would be appreciated.

Thanks,
Jason



More information about the Gnutls-devel mailing list