[chord] Re: problem with running sfsrodb
Y Chen
s0231189 at sms.ed.ac.uk
Fri Jul 9 13:22:03 EDT 2004
Hi
sorry, please ignor my previous message,
the result is as follow:
>gdb chord-build/sfsrodb/sfsrodb
(gdb)run -s key_file -d tmp
Starting program: /home/yin/chord-build/sfsrodb/sfsrodb -s key_file -d tmp
Program received signal SIGSEGV, Segmentation fault.
0x400fea3c in rpc_traverse<2147483647u> () from /lib/libsfsmisc.so.0
(gdb) bt
#0 0x400fea3c in rpc_traverse<2147483647u> () from /lib/libsfsmisc.so.0
#1 0x4030dea1 in rpc_traverse<XDR*> () from /lib/libsvc.so.0
#2 0x40312e9c in rpc_traverse<XDR*, sfsro_dirent> () from /lib/libsvc.so.0
#3 0x4030df43 in rpc_traverse<XDR*> () from /lib/libsvc.so.0
#4 0x4030e127 in rpc_traverse<XDR*> () from /lib/libsvc.so.0
#5 0x4030a382 in xdr_sfsro_data () from /lib/libsvc.so.0
#6 0x0804d68b in store_directory (inode=0xbffff5f0, fh=0xbffffaa0,
directory=0xffffffff) at xdrmisc.h:386
#7 0x0804e901 in recurse_path (path={b = {p = 0x8087e18}}, fh=0xbffffaa0)
at /home/yin/sfsnet/sfsrodb/sfsrodb.C:728
#8 0x0804fd01 in sfsrodb_main (root=Cannot access memory at address 0xffffffff
) at str.h:45
#9 0x08051c23 in main (argc=0, argv=0xbffffd14) at str.h:101
Thanks a lot
Yin
Quoting Frank Dabek <fdabek at MIT.EDU>:
>
>
> Y Chen wrote:
> >
> > Hi
> >
> > I followed Chord HOWTO and tried sfsrodb for several times,
> >
> > chord-build/sfsrodb/sfsrodb -s key_file -d tmp
> >
> > but the result is :
> >
> > "Segmentation fault"
> >
> > What's the problem of this?
> >
>
> The problem is that the program accessed memory that it is not allowed
> to access by the operating system. This is usually the result of a bug
> in the program.
>
> If you provide me with a backtrace of the crash I might be able to debug
> it. Try:
>
> gdb sfsrodb <name of core file, e.g. sfsrodb.core>
> (gdb) bt
>
> and send me the results.
>
> However, sfsrodb is not under active development. I can't guarantee that
> we will fix any bug in a timely manner.
>
> --Frank
>
> > Cheers,
> >
> > Yin
>
More information about the chord
mailing list