Ticket #484 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

my certificate/key makes my gobby crash on connection attempt

Reported by: ben Owned by: armin
Priority: normal Milestone:
Component: Gobby Version:
Severity: normal Keywords:
Cc: Launchpad Bug:

Description (last modified by ben) (diff)

When I start infinoted-0.3 or infinoted from the repository using the attached key and certificate, gobby crashes immediately on connection attempt before even displaying the untrusted certificate dialog.

This does not happen with inf-test-gtk-browser and also not with armin's build of gobby. It is always reproducible for me, though.

I am on gentoo linux amd64 using gnutls-2.8.4

#0  0x00007ffff2b379dc in ?? () from /usr/lib/libgnutls.so.26
#1  0x00007ffff2b6306d in gnutls_x509_crt_check_hostname ()
   from /usr/lib/libgnutls.so.26
#2  0x00007ffff3471d52 in inf_gtk_certificate_manager_certificate_func (
    connection=0xa1e850, chain=0xa474c0, user_data=0x9de400)
    at inf-gtk-certificate-manager.c:459
#3  0x00007ffff2dfbffa in inf_xmpp_connection_tls_handshake (xmpp=0xa1e850)
    at inf-xmpp-connection.c:1084
#4  0x00007ffff2dfefac in inf_xmpp_connection_received_cb (tcp=0x8b7d60, 
    data=0x7fffffffbb70, len=197, user_data=0xa1e850)
    at inf-xmpp-connection.c:2766
#5  0x00007ffff2db557a in inf_marshal_VOID__POINTER_UINT (closure=0x826b80, 
    return_value=0x0, n_param_values=3, param_values=0xa334f0, 
    invocation_hint=0x7fffffffb8a0, marshal_data=0x0) at inf-marshal.c:241
#6  0x00007ffff3d79c69 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7  0x00007ffff3d8cf79 in ?? () from /usr/lib/libgobject-2.0.so.0
#8  0x00007ffff3d8e6cc in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#9  0x00007ffff3d8eb52 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff2df5b91 in inf_tcp_connection_io_incoming (connection=0x8b7d60)
    at inf-tcp-connection.c:320
#11 0x00007ffff2df5ee7 in inf_tcp_connection_io (socket=0x8b7d90, 
    events=INF_IO_INCOMING, user_data=0x8b7d60) at inf-tcp-connection.c:447
---Type <return> to continue, or q <return> to quit---
#12 0x00007ffff3476689 in inf_gtk_io_watch_func (channel=0xb13340, 
    condition=G_IO_IN, user_data=0xa35580) at inf-gtk-io.c:199
#13 0x00007ffff38c41b3 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#14 0x00007ffff38c723d in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007ffff38c7682 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0x00007ffff57c92e8 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x0000000000423866 in main (argc=1, argv=0x7fffffffd7e8) at main.cpp:307

Attachments

key (1.6 kB) - added by ben 4 years ago.
certificate (0.9 kB) - added by ben 4 years ago.

Change History

Changed 4 years ago by ben

  • attachment key added

Changed 4 years ago by ben

Changed 4 years ago by ben

  • description modified (diff)

Changed 4 years ago by ben

  • description modified (diff)

Changed 4 years ago by armin

  • status changed from new to closed
  • resolution set to fixed

Fixed in master and libinfinity-0.3. Thanks for the debugging assistance in IRC.

Note: See TracTickets for help on using tickets.