rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] OverflowError when backing up remote server


From: Ryan Castle
Subject: Re: [rdiff-backup-users] OverflowError when backing up remote server
Date: Fri, 06 Feb 2004 10:46:47 +1100

I don't know much about Python, but it appears that FileObject.read()
expects an integer, and in your particular the instance the size data is
large enough that it won't fit into an int. I think that must mean that
the data length is over 4gb cause that's where python ints seem to end.

Even if the data should never get to this size, if would be good if the
code didn't depend on the implicit cast from long to int. 

Ryan


On Thu, 2004-02-05 at 09:23, Jon Daniels wrote:
> Okay, it appears that rdiff-backup is seg faulting on the remote server
> (RH Linux).  I've tried upgraded to Python 2.3.3, re-installing librsync
> and rdiff-backup, and I've tried the development version of rdiff-backup. 
> No matter what, it always seg faults.  Python seems to work fine.  I could
> have sworn it was working yesterday....
> 
> What could be causing a segmentation fault of rdiff-backup?
> 
> -Jon
> 
> 
> > Yesterday I could use rdiff-backup to backup a test directory across
> > machines, but I had to enter the password each time.  Now I've finally
> > gotten my ssh key pairs working (openssh & ssh2 didn't work together
> > nicely) but I can't backup a single file anymore.
> >
> > Here's the error I get:
> >
> > rdiff-backup -v10 forked.net::/tmp test
> > Wed Feb  4 13:45:36 2004  Executing ssh -C forked.net rdiff-backup
> > --server
> > Wed Feb  4 13:45:36 2004  Client sending (0): ConnectionRequest:
> > Globals.get with 1 arguments
> > Wed Feb  4 13:45:36 2004  Client sending (0): 'version'
> > Traceback (most recent call last):
> >   File "/usr/local/bin/rdiff-backup", line 23, in ?
> >     rdiff_backup.Main.Main(sys.argv[1:])
> >   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line
> > 248, in Main
> >     rps = map(SetConnections.cmdpair2rp, cmdpairs)
> >   File
> > "/usr/local/lib/python2.3/site-packages/rdiff_backup/SetConnections.py",
> > line 73, in cmdpair2rp
> >     if cmd: conn = init_connection(cmd)
> >   File
> > "/usr/local/lib/python2.3/site-packages/rdiff_backup/SetConnections.py",
> > line 136, in init_connection
> >     check_connection_version(conn, remote_cmd)
> >   File
> > "/usr/local/lib/python2.3/site-packages/rdiff_backup/SetConnections.py",
> > line 144, in check_connection_version
> >     try: remote_version = conn.Globals.get('version')
> >   File
> > "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> > line 440, in __call__
> >     return apply(self.connection.reval, (self.name,) + args)
> >   File
> > "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> > line 360, in reval
> >     result = self.get_response(req_num)
> >   File
> > "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> > line 309, in get_response
> >     try: req_num, object = self._get()
> >   File
> > "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> > line 234, in _get
> >     data = self._read(length)
> >   File
> > "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> > line 203, in _read
> >     return self.inpipe.read(length)
> > OverflowError: long int too large to convert to int
> > [avarice] ~/rdiff-backup-0.12.6# select: Bad file descriptor
> >
> > I thought it may have been a problem with Python so I upgraded to the
> > latest version (2.3.3) and re-built and installed rdiff-backup.  Same
> > problem.
> >
> > I am able to backup local files, but get the above mentioned error
> > whenever I attempt to backup remote files to the local server.
> >
> > Any help would be greatly appreciated.
> >
> > Regards,
> > Jon Daniels
> >
> 
> 
> 
> _______________________________________________
> rdiff-backup-users mailing list at address@hidden
> http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
-- 
Ryan Castle <address@hidden>
Solutions First





reply via email to

[Prev in Thread] Current Thread [Next in Thread]