Bug 697274 - [abrt] rdiff-backup-1.2.8-5.fc14: connection.py:210:_read:OverflowError: Python int too large to convert to C long
Summary: [abrt] rdiff-backup-1.2.8-5.fc14: connection.py:210:_read:OverflowError: Pyth...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: rdiff-backup
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:91f79db9
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-17 12:05 UTC by Tadej Janež
Modified: 2011-04-26 12:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-26 12:51:22 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.66 KB, text/plain)
2011-04-17 12:05 UTC, Tadej Janež
no flags Details

Description Tadej Janež 2011-04-17 12:05:09 UTC
abrt version: 1.1.17
architecture: i686
cmdline: /usr/bin/python /usr/bin/rdiff-backup --verbosity 3 --exclude-globbing-filelist /home/tadej/backup/rdiff_backup_excludes.txt --include-globbing-filelist /home/tadej/backup/rdiff_backup_includes.txt --exclude /home/tadej /home/tadej samson-tbackup::/home/tbackup/tadej
component: rdiff-backup
executable: /usr/bin/rdiff-backup
kernel: 2.6.35.11-83.fc14.i686.PAE
package: rdiff-backup-1.2.8-5.fc14
reason: connection.py:210:_read:OverflowError: Python int too large to convert to C long
release: Fedora release 14 (Laughlin)
time: 1299033425
uid: 500

backtrace
-----
connection.py:210:_read:OverflowError: Python int too large to convert to C long

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
  File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.7/site-packages/rdiff_backup/Main.py", line 343, in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/usr/lib/python2.7/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
  File "/usr/lib/python2.7/site-packages/rdiff_backup/connection.py", line 450, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.7/site-packages/rdiff_backup/connection.py", line 368, in reval
    result = self.get_response(req_num)
  File "/usr/lib/python2.7/site-packages/rdiff_backup/connection.py", line 315, in get_response
    try: req_num, object = self._get()
  File "/usr/lib/python2.7/site-packages/rdiff_backup/connection.py", line 240, in _get
    data = self._read(length)
  File "/usr/lib/python2.7/site-packages/rdiff_backup/connection.py", line 210, in _read
    try: return self.inpipe.read(length)
OverflowError: Python int too large to convert to C long

Local variables in innermost frame:
length: 19547609214623863L
self: PipeConnection 1

How to reproduce
-----
1. I don't know.
2.
3.

Comment 1 Tadej Janež 2011-04-17 12:05:12 UTC
Created attachment 492696 [details]
File: backtrace

Comment 2 Kevin Fenzi 2011-04-17 17:17:12 UTC
What kind of machine is samson-tbackup ? What python version is it running? 

This might be an old python issue (2.2ish). 

Try with --no-compression as a workaround? 

Or make sure you have no files > 2GB to backup?

Comment 3 Tadej Janež 2011-04-24 12:54:25 UTC
Hi!

samson-tbackup is a CentOS 4 server with the following version numbers:

centos-release-4-9.1
python-2.3.4-14.9.el4
rdiff-backup-1.2.8-1.el4.rf

I have a cron script for automatically perform a remove backup from my laptop running F14 with python-2.7-8.fc14.1.i686 and rdiff-backup-1.2.8-5.fc14.i686.

The cron script executes the following command:
su -c "rdiff-backup --verbosity 3 --exclude-globbing-filelist /home/tadej/backup/rdiff_backup_excludes.txt --include-globbing-filelist /home/tadej/backup/rdiff_backup_includes.txt --exclude /home/tadej /home/tadej samson-tbackup::/home/tbackup/tadej" tadej

This only happened once so I haven't bothered to check if there are any files > 2GB to backup or tried the --no-compression workaround.

Comment 4 Kevin Fenzi 2011-04-24 13:47:03 UTC
Yeah, I suspect that was the issue... there was a >2GB file on the source and the centos4 rdiff-backup side couldn't handle it. ;( 

Shall we keep this open for a bit and see if it re-occurs? or close it out and you can try the --no-compression workaround next time?

Comment 5 Tadej Janež 2011-04-26 09:49:41 UTC
It hasn't recurred in the last days, so I think we can close it and I'll try the --no-compression workaround next time.

Thanks for you attention!

Comment 6 Kevin Fenzi 2011-04-26 12:51:22 UTC
Thanks. Feel free to re-open or file a new one if you see anything further.


Note You need to log in before you can comment on or make changes to this bug.