Bug 550905 - [abrt] crash detected in rdiff-backup-1.2.8-3.fc12
Summary: [abrt] crash detected in rdiff-backup-1.2.8-3.fc12
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: rdiff-backup
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e395c1d6
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-28 03:13 UTC by eric
Modified: 2011-03-26 21:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-26 21:45:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.45 KB, text/plain)
2009-12-28 03:13 UTC, eric
no flags Details

Description eric 2009-12-28 03:13:31 UTC
abrt 1.0.0 detected a crash.

How to reproduce
-----
1.  ran rdiff-backup  --print-statistics /home/christensene/ 192.168.1.11::/home/laptop/
2. 
3.


backtrace
-----
Summary: TBe395c1d6 connection.py:370:reval:OSError: [Errno 38] Function not implemented

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.6/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.6/site-packages/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
  File "/usr/lib/python2.6/site-packages/rdiff_backup/Main.py", line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.6/site-packages/rdiff_backup/Main.py", line 346, in Backup
    backup.Mirror(rpin, rpout)
  File "/usr/lib/python2.6/site-packages/rdiff_backup/backup.py", line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/usr/lib/python2.6/site-packages/rdiff_backup/connection.py", line 450, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.6/site-packages/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result
OSError: [Errno 38] Function not implemented

Local variables in innermost frame:
req_num: 0
self: PipeConnection 1
args: (<rdiff_backup.rpath.RPath instance at 0xb73377ac>, <generator object get_diffs at 0xb73413c4>)
result: [Errno 38] Function not implemented
function_string: backup.DestinationStruct.patch
arg: <generator object get_diffs at 0xb73413c4>

cmdline: /usr/bin/python /usr/bin/rdiff-backup --print-statistics /home/christensene/ 192.168.1.11::/home/laptop/ 
component: rdiff-backup
executable: /usr/bin/rdiff-backup
kernel: 2.6.31.6-166.fc12.i686
package: rdiff-backup-1.2.8-3.fc12
uuid: e395c1d6

Comment 1 eric 2009-12-28 03:13:33 UTC
Created attachment 380583 [details]
File: backtrace

Comment 2 Kevin Fenzi 2009-12-28 16:41:39 UTC
Can you give me some more info on what you were doing when this happened?

1. Was this an initial backup? Or a incremental on an existing rdiff-backup dir?

2. What filesystem type is the source and dest volumes?

3. How are they connected? Local net? wireless? Any network problems there in the past?

4. Does this happen everytime? Or just this once? ie, can you duplicate it?

Comment 3 eric 2009-12-28 16:57:17 UTC
(In reply to comment #2)
> Can you give me some more info on what you were doing when this happened?
> 
> 1. Was this an initial backup? Or a incremental on an existing rdiff-backup
> dir?

This was an initial backup.

 
> 2. What filesystem type is the source and dest volumes?

ext4

 
> 3. How are they connected? Local net? wireless? Any network problems there in
> the past?

Client on wireless, server on wired, on the same network.


> 4. Does this happen everytime? Or just this once? ie, can you duplicate it?  

I was able to duplicate it several times in a row but now it seems to be operating properly.

Comment 4 Kevin Fenzi 2009-12-28 17:26:59 UTC
Strange. Can you think of anything that would have been different when it was failing? 
High packet loss or issues on the wireless network?

Comment 5 eric 2009-12-28 17:34:27 UTC
I cannot but I'll beat on it some over the next few days and see if I can break it again.

Comment 6 Kevin Fenzi 2009-12-28 18:37:11 UTC
Please do... this is an odd one.

Comment 7 Kevin Fenzi 2010-03-21 03:01:47 UTC
Any further news here? Been working ok? 

If so, can we just close this out?

Comment 8 Kevin Fenzi 2010-03-27 19:26:37 UTC
I'm going to go ahead and close this out. Feel free to re-open or file a new bug if you spot anything further.

Comment 9 eric 2011-03-01 03:01:20 UTC
Kevin:  I'm getting the same error again...  

Package:    	rdiff-backup-1.2.8-3.fc12
Latest Crash:	Mon 28 Feb 2011 07:31:19 PM 
Command:    	/usr/bin/python /usr/bin/rdiff-backup --exclude=/home/user/.thunderbird/* --print-statistics /home/user/ 192.168.x.x::Backup
Reason:     	connection.py:370:reval:OSError: [Errno 38] Function not implemented
Comment:    	Error as seen in the CLI:
		
		Found interrupted initial backup. Removing...
		ListError .gvfs/sftp for user on 192.168.1.10/.dbus [Errno 13] Permission denied: '/home/user/.gvfs/sftp for user on 192.168.1.10/.dbus'
		ListError .gvfs/sftp for user on 192.168.1.10/backup/x [Errno 13] Permission denied: '/home/user/.gvfs/sftp for user on 192.168.1.10/backup/x'
		Exception '[Errno 38] Function not implemented' raised of class '<type 'exceptions.OSError'>':
		  File "/usr/lib/python2.7/site-packages/rdiff_backup/robust.py", line 32, in check_common_error
		    try: return function(*args)
		  File "/usr/lib/python2.7/site-packages/rdiff_backup/rpath.py", line 1149, in append
		    return self.__class__(self.conn, self.base, self.index + (ext,))
		  File "/usr/lib/python2.7/site-packages/rdiff_backup/rpath.py", line 884, in __init__
		    else: self.setdata()
		  File "/usr/lib/python2.7/site-packages/rdiff_backup/rpath.py", line 908, in setdata
		    self.data = self.conn.rpath.make_file_dict(self.path)
		  File "/usr/lib/python2.7/site-packages/rdiff_backup/rpath.py", line 287, in make_file_dict
		    return C.make_file_dict(filename)
		
		Exception '[Errno 38] Function not implemented' raised of class '<type 'exceptions.OSError'>':
		  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 346, in Backup
		    backup.Mirror(rpin, rpout)
		  File "/usr/lib/python2.7/site-packages/rdiff_backup/backup.py", line 38, in Mirror
		    DestS.patch(dest_rpath, source_diffiter)
		  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 370, in reval
		    if isinstance(result, Exception): raise result
		
		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 346, in Backup
		    backup.Mirror(rpin, rpout)
		  File "/usr/lib/python2.7/site-packages/rdiff_backup/backup.py", line 38, in Mirror
		    DestS.patch(dest_rpath, source_diffiter)
		  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 370, in reval
		    if isinstance(result, Exception): raise result
		OSError: [Errno 38] Function not implemented
		Fatal Error: Lost connection to the remote system
		
Bug Reports:	Status: CLOSED WORKSFORME
		https://bugzilla.redhat.com/show_bug.cgi?id=550905

Comment 10 Kevin Fenzi 2011-03-01 04:04:28 UTC
Huh. This looks like it's happening in your .gvfs mounts... 

if you add a --exclude=/home/user/.gvfs/ to the command, does it complete correctly?

Comment 11 eric 2011-03-01 12:30:22 UTC
Yeah, I added an exclude for the .gvfs and let it run overnight.  It hasn't failed like it usually does.  There really isn't any reason I need to backup .gvfs so that's not a problem.  I wonder why it has decided to start failing now even though that directory has been around.

Comment 12 Kevin Fenzi 2011-03-01 16:15:42 UTC
Do you have anything different mounted as a gvfs volume since it started failing?

Comment 13 eric 2011-03-01 16:43:52 UTC
Not that I can think of...

Comment 14 Kevin Fenzi 2011-03-26 21:45:04 UTC
Anyhow, f12 is end of life and this looks to be solved. ;) 

Closing now. Feel free to file a new one if something else comes up.


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