segv in p11_array_push

Patrick Welche prlw1 at cam.ac.uk
Mon Jul 9 10:02:30 UTC 2018


On Mon, Jul 09, 2018 at 09:53:39AM +0200, Daiki Ueno wrote:
> Could you give us a bit more information, e.g., which operating system
> you are running, and what are there in the complete backtrace?

Sorry for having forgotten the trace!
- and libsoup is 2.62.2
(using pkgsrc.org)

(gdb) bt
#0  0x00007f7fe04f6071 in p11_array_push (array=0x7f7ff29d5ca0, 
    value=0x7f7ff29d5c80) at common/array.c:106
#1  0x00007f7fe04486d0 in register_callback_unlocked (
    pin_source=0x7f7ff29a56a0 "gtls:0", cb=0x7f7ff29d5c80) at p11-kit/pin.c:201
#2  0x00007f7fe0448811 in p11_kit_pin_register_callback (
    pin_source=0x7f7ff29a56a0 "gtls:0", 
    callback=0x7f7fe0c141db <on_pin_prompt_callback>, 
    callback_data=0x7f7ff55a4f10, callback_destroy=0x0) at p11-kit/pin.c:248
#3  0x00007f7fe0c0e136 in g_tls_connection_gnutls_init (gnutls=0x7f7ff55a4f10)
    at ../tls/gnutls/gtlsconnection-gnutls.c:261
#4  0x00007f7feb232e19 in g_type_create_instance (type=140187566084352)
    at gtype.c:1860
#5  0x00007f7feb218f08 in g_object_new_internal (class=0x7f7ff7bd5200, 
    params=0x7f7fffffdc60, n_params=5) at gobject.c:1799
#6  0x00007f7feb219ebb in g_object_new_valist (object_type=140187566084352, 
    first_property_name=0x7f7fed2bd4f5 "base-io-stream", 
    var_args=0x7f7fffffddf8) at gobject.c:2122
#7  0x00007f7febe723ca in g_initable_new_valist (object_type=140187566084352, 
    first_property_name=0x7f7fed2bd4f5 "base-io-stream", 
    var_args=0x7f7fffffddf8, cancellable=0x7f7ff5dcbae0, error=0x7f7fffffe018)
    at ginitable.c:244
#8  0x00007f7febe72291 in g_initable_new (object_type=140187566084352, 
    cancellable=0x7f7ff5dcbae0, error=0x7f7fffffe018, 
    first_property_name=0x7f7fed2bd4f5 "base-io-stream") at ginitable.c:162
#9  0x00007f7fed29e3c7 in soup_socket_setup_ssl (sock=0x7f7ff55fb450, 
    ssl_host=0x7f7ff29cf830 "www.imf.org", cancellable=0x7f7ff5dcbae0, 
    error=0x7f7fffffe018) at soup-socket.c:1386
#10 0x00007f7fed29e983 in soup_socket_handshake_async (sock=0x7f7ff55fb450, 
    ssl_host=0x7f7ff29cf830 "www.imf.org", cancellable=0x7f7ff5dcbae0, 
    callback=0x7f7fed267103 <socket_handshake_complete>, 
    user_data=0x7f7ff55fb470) at soup-socket.c:1533
#11 0x00007f7fed267270 in socket_connect_complete (object=0x7f7ff55fb450, 
    result=0x7f7ff55fb540, user_data=0x7f7ff55fb470) at soup-connection.c:373
#12 0x00007f7febeadcaf in g_task_return_now (task=0x7f7ff55fb540)
    at gtask.c:1148
#13 0x00007f7febeaddcb in g_task_return (task=0x7f7ff55fb540, 
    type=G_TASK_RETURN_SUCCESS) at gtask.c:1206
#14 0x00007f7febeaebf0 in g_task_return_boolean (task=0x7f7ff55fb540, result=1)
    at gtask.c:1716
#15 0x00007f7fed29ce94 in async_connected (client=0x7f7ff510b500, 
    result=0x7f7ff55fb610, data=0x7f7ff55fb540) at soup-socket.c:923
#16 0x00007f7febeadcaf in g_task_return_now (task=0x7f7ff55fb610)
    at gtask.c:1148
#17 0x00007f7febeaddcb in g_task_return (task=0x7f7ff55fb610, 
    type=G_TASK_RETURN_SUCCESS) at gtask.c:1206
#18 0x00007f7febeae82e in g_task_return_pointer (task=0x7f7ff55fb610, 
    result=0x7f7ff29c5c70, result_destroy=0x40b660 <g_object_unref at plt>)
    at gtask.c:1604
#19 0x00007f7febea1045 in g_socket_client_async_connect_complete (
    data=0x7f7ff1929850) at gsocketclient.c:1369
#20 0x00007f7febea12fd in g_socket_client_tls_handshake (data=0x7f7ff1929850)
    at gsocketclient.c:1435
#21 0x00007f7febea15df in g_socket_client_connected_callback (
    source=0x7f7ff29c5c70, result=0x7f7ff55ae390, user_data=0x7f7ff1929850)
    at gsocketclient.c:1519
#22 0x00007f7febeadcaf in g_task_return_now (task=0x7f7ff55ae390)
    at gtask.c:1148
#23 0x00007f7febeaddcb in g_task_return (task=0x7f7ff55ae390, 
    type=G_TASK_RETURN_SUCCESS) at gtask.c:1206
#24 0x00007f7febeaebf0 in g_task_return_boolean (task=0x7f7ff55ae390, result=1)
    at gtask.c:1716
#25 0x00007f7febea2913 in g_socket_connection_connect_callback (
    socket=0x7f7ff7bc4280, condition=G_IO_OUT, user_data=0x7f7ff55ae390)
    at gsocketconnection.c:237
#26 0x00007f7febe9a7c8 in socket_source_dispatch (source=0x7f7ff3d0d300, 
    callback=0x7f7febea28b1 <g_socket_connection_connect_callback>, 
    user_data=0x7f7ff55ae390) at gsocket.c:3833
#27 0x00007f7feaa57b86 in g_main_dispatch (context=0x7f7ff7b89090)
    at gmain.c:3161
#28 0x00007f7feaa58a08 in g_main_context_dispatch (context=0x7f7ff7b89090)
    at gmain.c:3814
#29 0x00007f7feaa58bec in g_main_context_iterate (context=0x7f7ff7b89090, 
    block=1, dispatch=1, self=0x7f7ff7b0e6f0) at gmain.c:3887
#30 0x00007f7feaa58cb0 in g_main_context_iteration (context=0x7f7ff7b89090, 
    may_block=1) at gmain.c:3948
#31 0x00007f7febecbcdc in g_application_run (application=0x7f7ff7b84140, 
    argc=1, argv=0x7f7fffffe6e8) at gapplication.c:2470
#32 0x0000000000410811 in calculator_main (args=0x7f7fffffe6e8, args_length1=1)
    at gnome-calculator.c:1586
#33 0x0000000000410875 in main (argc=1, argv=0x7f7fffffe6e8)
    at gnome-calculator.c:1598



More information about the p11-glue mailing list