server 1.1.5+GIT -> Bus error, silc_free

Stuart Henderson stu at spacehopper.org
Fri Apr 25 00:44:10 CEST 2008


This crash is from 1.1.5 plus the patch from GIT, making it the
same code as 1.1.6.

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 10, Bus error.
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  0x00000000001b8ec4 in silc_hash_free (hash=0x10000073) at silchash.c:267
267         silc_free(hash->context);
(gdb) bt full
#0  0x00000000001b8ec4 in silc_hash_free (hash=0x10000073) at silchash.c:267
No locals.
#1  0x000000000010fa74 in silc_idlist_del_data (entry=0x45ab8f00) at idlist.c:57
        idata = 0x45ab8f00
#2  0x000000000011da6c in silc_server_purge_expired_clients (
    schedule=0x4d7aec00, app_context=0x42a2e000, type=SILC_TASK_EXPIRE, fd=0,
    context=0x42a2e000) at server.c:1276
        server = 0x42a2e000
        client = 0x45ab8f00
        id_list = 0x4b81a060
        curtime = 1209075915
#3  0x0000000000199190 in silc_schedule_dispatch_timeout (schedule=0x4d7aec00,
    dispatch_all=0 '\0') at silcschedule.c:114
        t = 0x44072fc0
        task = 0x44072fc0
        curtime = {tv_sec = 1209075915, tv_usec = 705811}
        count = 0 
#4  0x0000000000199638 in silc_schedule_iterate (schedule=0x4d7aec00,
    timeout_usecs=-1) at silcschedule.c:449
        timeout = {tv_sec = -2456197050219808821, tv_usec = 1141318976}
        ret = 0 
#5  0x00000000001969c4 in silc_schedule (schedule=0x4d7aec00)
    at silcschedule.c:499 
No locals.
#6  0x000000000011d688 in silc_server_run (server=0x42a2e000) at server.c:1190
No locals.
#7  0x000000000010dcb4 in main (argc=3, argv=0xfffffffffffd0e98) at silcd.c:753
        ret = 1
        opt = -1
---Type <return> to continue, or q <return> to quit---
        option_index = 1060152
        foreground = 1 '\001'
        opt_create_keypair = 0 '\0'
        silcd_config_file = 0x4b81a020 "/etc/silcd/silcd.conf"
        sa = {__sigaction_u = {__sa_handler = 0x1, __sa_sigaction = 0x1},
  sa_mask = 0, sa_flags = 0}
(gdb) frame 1
#1  0x000000000010fa74 in silc_idlist_del_data (entry=0x45ab8f00) at idlist.c:57
57          silc_hash_free(idata->hash);
(gdb) print *idata
$1 = {conn_type = SILC_CONN_UNKNOWN, sconn = 0x68000001, rekey = 0x18000000,
  hash = 0x10000073, public_key = 0x10000069,
  fingerprint = "\000\000\000\000\020\000\000l\000\000\000\000\020\000\000c\000\000\000", last_receive = 268435571, last_sent = 268435557, created = 268435570,
  status = 0 '\0'}




More information about the silc-devel mailing list