segfault after silc_server_connection_allowed, 1.1.6

Stuart Henderson stu at spacehopper.org
Fri Apr 25 09:55:27 CEST 2008


05:39:43 silc_server_packet_parse_type:299: Received COMMAND packet [flags 0]
05:39:43 silc_server_command_process_timeout:179: Calling PING command
05:39:43 silc_server_command_send_status_reply:491: Sending command status 0
05:39:43 silc_server_packet_send:47: Sending COMMAND REPLY packet
05:39:43 silc_server_command_free:307: Command context 0x41e5d040 refcnt 1->0
[Logging] [Error] Connection yyy.yy.yy.228:12373 [Unknown]: Packet MAC failed
05:39:47 silc_server_free_sock_user_data:3034: Start
05:39:47 silc_server_free_sock_user_data:3268: Freeing unknown connection data
[Logging] [Info] Closing connection yyy.yy.yy.228:12373 []
05:39:47 silc_server_accept_new_connection:2606: Accepting new connection
05:39:47 silc_server_config_ref:1580: Referencing config [0x43951000] refcnt 4->5
[Logging] [Info] Incoming connection yyy.yy.yy.228 (yyy.yy.yy.228)
05:39:47 silc_server_accept_new_connection:2714: Starting key exchange protocol
05:39:48 silc_server_verify_key:54: Verifying public key
05:39:49 silc_server_packet_parse_type:299: Received COMMAND packet [flags 0]
05:39:49 silc_server_command_process_timeout:179: Calling PING command
05:39:49 silc_server_command_send_status_reply:491: Sending command status 0
05:39:49 silc_server_packet_send:47: Sending COMMAND REPLY packet
05:39:49 silc_server_command_free:307: Command context 0x41e5d100 refcnt 1->0
05:39:49 silc_server_accept_completed:2546: Setting keys into use
05:39:49 silc_server_accept_completed:2568: Starting connection authentication
05:39:49 silc_server_packet_parse_type:299: Received CONNECTION AUTH REQUEST packet [flags 0]
05:39:49 silc_server_connection_auth_request:3299: Authentication method is [None]
05:39:49 silc_server_packet_send:47: Sending CONNECTION AUTH REQUEST packet
05:39:49 silc_server_accept_get_auth:2048: Remote connection type 1
05:39:49 silc_server_accept_auth_compl:2162: Checking whether connection is allowed
05:39:49 silc_server_connection_allowed:1171: Checking whether connection is allowed

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc64-unknown-openbsd4.3"...
Core was generated by `silcd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libiconv.so.4.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.4.0
Reading symbols from /usr/lib/libpthread.so.10.0...done.
Loaded symbols for /usr/lib/libpthread.so.10.0
Reading symbols from /usr/lib/libc.so.44.0...done.
Loaded symbols for /usr/lib/libc.so.44.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0x00000000001a4068 in silc_socket_stream_get_info (stream=0x18000000, 
    sock=0x0, hostname=0x0, ip=0xfffffffffffef5a8, port=0x0)
    at silcsocketstream.c:260
260       if (!SILC_IS_SOCKET_STREAM(socket_stream) &&
(gdb) bt full
#0  0x00000000001a4068 in silc_socket_stream_get_info (stream=0x18000000, 
    sock=0x0, hostname=0x0, ip=0xfffffffffffef5a8, port=0x0)
    at silcsocketstream.c:260
        socket_stream = 0x18000000
#1  0x0000000000162608 in silc_server_num_sockets_by_ip (server=0x43950600, 
    ip=0x4e094220 "yyy.yy.yy.228", type=SILC_CONN_CLIENT) at server_util.c:1002
        conn = 0x4156de80
        idata = 0x43c18400
        ipaddr = 0x49185e30 "xxx.xxx.xxx.71"
        count = 0
#2  0x0000000000163060 in silc_server_connection_allowed (server=0x43950600, 
    sock=0x4519ee00, type=SILC_CONN_CLIENT, global=0x43951030, params=0x0, 
    ske=0x4153fe00) at server_util.c:1230
        conn_number = 15
        num_sockets = 50331648
        max_hosts = 2669642784
        max_per_host = 263231784
        r_protocol_version = 12
        l_protocol_version = 0
        r_software_version = 11
        l_software_version = 0
        r_vendor_version = 0x4e095f70 "4 silc-client"
        l_vendor_version = 0x0
        hostname = 0x49185c30 "yyy.yy.yy.228"
        ip = 0x4e094220 "yyy.yy.yy.228"
#3  0x000000000012c524 in silc_server_accept_auth_compl (connauth=0x451a0480, 
    success=1 '\001', context=0x4519ee00) at server.c:2171
        client = 0x4f6a4901
        conn = (SilcServerConfigClient *) 0x439529c0
        sock = 0x4519ee00
        entry = 0x4519f100
        idata = 0x4519f100
        server = 0x43950600
        param = (SilcServerConfigConnParams *) 0x43951030
        sconn = 0x4f6a4800
        id_entry = (void *) 0x8
        hostname = 0x49185c30 "yyy.yy.yy.228"
        ip = 0x4e094220 "yyy.yy.yy.228"
        port = 39383
#4  0x00000000001fce00 in silc_connauth_st_responder_success (fsm=0x451a0500, 
    fsm_context=0x451a0480, state_context=0x0) at silcconnauth.c:679
        connauth = 0x451a0480
        tmp = "\000\000\000"
#5  0x00000000001fc998 in silc_connauth_st_responder_authenticate (
    fsm=0x451a0500, fsm_context=0x451a0480, state_context=0x0)
    at silcconnauth.c:618
        connauth = 0x451a0480
        payload_len = 0
        conn_type = 1
        auth_data = (unsigned char *) 0x0
        passphrase = (unsigned char *) 0x0
        passphrase_len = 0
        repository = 0x0
        ret = 4
#6  0x00000000001a5e90 in silc_fsm_run (schedule=0x41e93500, 
    app_context=0x43950600, type=SILC_TASK_EXPIRE, fd=0, context=0x451a0500)
    at silcfsm.c:429
        fsm = 0x451a0500
        status = 4294966396
#7  0x0000000000199190 in silc_schedule_dispatch_timeout (schedule=0x41e93500, 
    dispatch_all=0 '\0') at silcschedule.c:114
---Type <return> to continue, or q <return> to quit---
        t = 0x40e51300
        task = 0x40e51300
        curtime = {tv_sec = 1209098389, tv_usec = 989724}
        count = 0
#8  0x00000000001998dc in silc_schedule_select_timeout (schedule=0x41e93500)
    at silcschedule.c:159
        t = 0x40e51300
        task = 0x40e51300
        curtime = {tv_sec = 1209098389, tv_usec = 989586}
        dispatch = 1 '\001'
#9  0x0000000000199458 in silc_schedule_iterate (schedule=0x41e93500, 
    timeout_usecs=-1) at silcschedule.c:424
        timeout = {tv_sec = 1053668821989995186, tv_usec = 1133847744}
        ret = 1
#10 0x00000000001969c4 in silc_schedule (schedule=0x41e93500)
    at silcschedule.c:499
No locals.
#11 0x000000000011d688 in silc_server_run (server=0x43950600) at server.c:1190
No locals.
#12 0x000000000010dcb4 in main (argc=3, argv=0xffffffffffff0648) at silcd.c:753
        ret = 1
        opt = -1
        option_index = 1060152
        foreground = 1 '\001'
        opt_create_keypair = 0 '\0'
        silcd_config_file = 0x4403c020 "/etc/silcd/silcd.conf"
        sa = {__sigaction_u = {__sa_handler = 0x1, __sa_sigaction = 0x1}, 
  sa_mask = 0, sa_flags = 0}




More information about the silc-devel mailing list