[chord] Segmentation Fault

Mosiuoa Tsietsi g06t6632 at campus.ru.ac.za
Sun Aug 6 07:48:53 EDT 2006


Hi again,

Sorry for leaving out the back trace.  Behold the full output:

(gdb) run -j g06t6632.ict.ru.ac.za:10000
Starting program: /home/Mos/chord-build/lsd/lsd -j 
g06t6632.ict.ru.ac.za:10000
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x92c000
[Thread debugging using libthread_db enabled]
[New Thread -1208392000 (LWP 11826)]
Detaching after fork from child process 11829.
Detaching after fork from child process 11830.
Detaching after fork from child process 11831.
Detaching after fork from child process 11832.
Detaching after fork from child process 11833.
Detaching after fork from child process 11834.
Detaching after fork from child process 11835.
Detaching after fork from child process 11836.
Detaching after fork from child process 11837.
Detaching after fork from child process 11838.
Detaching after fork from child process 11839.
Detaching after fork from child process 11840.
=== Configurator::dump
accordion.budget 10
accordion.burst 100
accordion.stopearly 0
chord.checkdead_interval 60
chord.checkdead_max 960
chord.find_succlist_shaving 1
chord.greedy_lookup 0
chord.lookup_timeout 15
chord.max_vnodes 1024
chord.ncoords 3
chord.npred 1
chord.nsucc 16
chord.rpc_mode "stp"
debruijn.logbase 1
dhash.dfrags 7
dhash.disable_db_env 0
dhash.drop_writes 0
dhash.efrags 14
dhash.mtu 1210
dhash.repair_timer 300
dhash.replica 5
dhash.start_maintenance 1
dhashcli.order_successors 1
locationtable.maxcache 208
1154864672.295025 lsd: starting: /home/Mos/chord-build/lsd/lsd -j 
g06t6632.ict.ru.ac.za:10000
lsd: CREATED RPC MANAGER
lsd: CREATED RPC MANAGER
chord: running on 146.231.123.55:32771
 1154864672:295399: creating new vnode: 
5d743c4858b034c9561bf10465884d995d9e34f3
1154864672.295514 loctable: insert 
5d743c4858b034c9561bf10465884d995d9e34f3,146.231.123.55,32771,0
 1154864672:295612 myID is 5d743c4858b034c9561bf10465884d995d9e34f3
lsd: chord::handleProgram: chord_program_1 (344447)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208392000 (LWP 11826)]
0x002cf7b3 in realloc () from /usr/lib/libdmalloc.so
(gdb) bt
#0  0x002cf7b3 in realloc () from /usr/lib/libdmalloc.so
#1  0x00ebfbb1 in __gmp_default_reallocate (oldptr=0x92622f0, old_size=4,
    new_size=28) at memory.c:94
#2  0x00ed0adc in __gmpz_realloc (m=0xbffb6a50, new_alloc=7) at realloc.c:33
#3  0x00ece36f in __gmpz_mul_2exp (w=0xbffb6a50, u=0xbffb6a50, 
cnt=Variable "cnt" is not available.
)
    at mul_2exp.c:44
#4  0x080cde13 in bigint::operator<<= (this=0xbffb6a50, ui=160)
    at /usr/local/cvsroot/sfs1/crypt/bigint.h:199
#5  0x0814eb45 in successorID (n=@0x92e9c94, p=0)
    at /usr/local/cvsroot/sfsnet/utils/id_utils.C:69
#6  0x08143fe0 in finger_table (this=0x92e9000, v=@0xbffb6b0c, 
l=@0xbffb6b04)
    at /usr/local/cvsroot/sfsnet/chord/finger_table.C:33
#7  0x080fbd69 in refcounted<ref<fingerroute>, ptr<locationtable> > (
    this=0x92e9000, a1=@0xbffb6b5c, a2=@0x9266b04)
    at /usr/local/cvsroot/sfs1/async/refcnt.h:333
#8  0x080fb25f in fingerroute (this=0x9266b00, __vtt_parm=0x82eeb64,
    _chord=@0xbffb6bac, _rpcm=@0xbffb6ba4, _l=@0xbffb6b9c)
    at /usr/local/cvsroot/sfsnet/chord/fingerroute.C:39
#9  0x080fce84 in refcounted<ref<chord>, ref<rpc_manager>, ref<location> > (
    this=0x9266b00, a1=@0xbffb6c28, a2=@0xbffb6c20, a3=@0xbffb6c18)
    at /usr/local/cvsroot/sfs1/async/refcnt.h:333
#10 0x080fb336 in fingerroute::produce_vnode (_chordnode=@0xbffb6c28,
    _rpcm=@0xbffb6c20, _l=@0xbffb6c18)
    at /usr/local/cvsroot/sfsnet/chord/fingerroute.C:17
#11 0x08072f20 in callback_3_0<ref<vnode>, ref<chord>, ref<rpc_manager>, 
ref<location> >::operator() (this=0x9260b20, b1=@0xbffb6d38, b2=@0xbffb6d30,
    b3=@0xbffb6d28) at /usr/local/cvsroot/sfs1/async/callback.h:3339
#12 0x080e848d in chord (this=0x926a080, __vtt_parm=0x82d2ea4,
    host=@0xbffb6d98, port=0, p=@0xbffb6d90, nvnodes=1, max_cache=416)
---Type <return> to continue, or q <return> to quit---
    at /usr/local/cvsroot/sfsnet/chord/chord_client.C:150
#13 0x0806e942 in refcounted<str, int, vnode_producer_t, int, int> (
    this=0x926a080, a1=@0x840ae08, a2=@0x840aee4, a3=@0x840ae60,
    a4=@0x840a71c, a5=@0x840ae20) at 
/usr/local/cvsroot/sfs1/async/refcnt.h:333
#14 0x0804fdbe in main (argc=3, argv=0xbffb6fb4)
    at /usr/local/cvsroot/sfsnet/lsd/lsd.C:716
(gdb)

Once again, many, many thanks.

Mos
----------------
Emil Sit wrote:

>>[Switching to Thread -1208834368 (LWP 21776)]
>>0x0011a7b3 in realloc () from /usr/lib/libdmalloc.so
>>(gdb)
>>..........................
>>    
>>
>
>The most important command is to type 'bt' to get the back trace.
>That will allow us to identify exactly where the crash is.
>
>  
>



More information about the chord mailing list