bugrdiff-backup - Bugs: bug #11909, rdiff-backup connection error

 
 

bug #11909: rdiff-backup connection error

Submitted by:  Skip Montanaro <montanaro>
Submitted on:  Wed 09 Feb 2005 11:09:54 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Benedict Escoto <bescoto>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 08 Aug 2005 04:03:48 AM UTC, comment #2:

Closing because no new info for 5 months.

Benedict Escoto <bescoto>
Project AdministratorIn charge of this item.
Sat 26 Mar 2005 06:10:55 PM UTC, comment #1:

The python backtrace you posted is common--that happens whenever the other side gives out.

A python program should never segfault no matter how buggy it is. So segfaults seem to indicate a problem with python on your platform. I suppose it could be in librsync or the C parts of rdiff-backup, but that doesn't seem to be the case from the gdb stuff you posted.

Benedict Escoto <bescoto>
Project AdministratorIn charge of this item.
Wed 09 Feb 2005 11:09:54 AM UTC, original submission:

After using rdiff-backup successfully three times to backup
up my Powerbook (Mac OSX Jaguar) to my G5 (Mac OSX Panther),
it began segfaulting and locally and spitting out a
connection error from the server:

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 254, in Main
take_action(rps)
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line 224, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py", line 347, in Server
self.get_response(-1)
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 225, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem probably originated remotely)

This happens using Python 2.3, 2.4 and Python from CVS.
Here's the gdb backtrace:

#0 0x000d9108 in structseq_dealloc (obj=0x55e870) at ../Objects/structseq.c:47
#1 0x0006f1f4 in tupledealloc (op=0x4239b8) at ../Objects/tupleobject.c:169
#2 0x0008d3bc in call_function (pp_stack=0xbfffee3c, oparg=1003348) at ../Python/ceval.c:3575
#3 0x0008adf4 in PyEval_EvalFrame (f=0x3c2bb0) at ../Python/ceval.c:2166
#4 0x0008d4f0 in fast_function (func=0x1a8, pp_stack=0x3c2d10, n=560820, na=85844, nk=1862292051) at ../Python/ceval.c:3632
#5 0x0008d378 in call_function (pp_stack=0xbfffefec, oparg=1003348) at ../Python/ceval.c:3571
#6 0x0008adf4 in PyEval_EvalFrame (f=0x3b6db0) at ../Python/ceval.c:2166
#7 0x0008d4f0 in fast_function (func=0x1a8, pp_stack=0x3b6f0c, n=560820, na=85844, nk=1862292051) at ../Python/ceval.c:3632
#8 0x0008d378 in call_function (pp_stack=0xbffff19c, oparg=1003348) at ../Python/ceval.c:3571
#9 0x0008adf4 in PyEval_EvalFrame (f=0x3c00f0) at ../Python/ceval.c:2166
#10 0x0008bf38 in PyEval_EvalCodeEx (co=0x1, globals=0xf4f54, locals=0x1a7, args=0x88eb4, argcount=3728560, kws=0x8ade4, kwcount=1, defs=0x3c2d04, defcount=1, closure=0x0) at ../Python/ceval.c:2733
#11 0x0008d580 in fast_function (func=0x1a8, pp_stack=0x3c0254, n=560820, na=85844, nk=1862292051) at ../Python/ceval.c:3643
#12 0x0008d378 in call_function (pp_stack=0xbffff3ec, oparg=1003348) at ../Python/ceval.c:3571
#13 0x0008adf4 in PyEval_EvalFrame (f=0x3bc2e0) at ../Python/ceval.c:2166
#14 0x0008d4f0 in fast_function (func=0x1a8, pp_stack=0x3bc43c, n=560820, na=85844, nk=1862292051) at ../Python/ceval.c:3632
#15 0x0008d378 in call_function (pp_stack=0xbffff59c, oparg=1003348) at ../Python/ceval.c:3571
#16 0x0008adf4 in PyEval_EvalFrame (f=0x39da50) at ../Python/ceval.c:2166
#17 0x0008d4f0 in fast_function (func=0x1a8, pp_stack=0x39dbb0, n=560820, na=85844, nk=1862292051) at ../Python/ceval.c:3632
#18 0x0008d378 in call_function (pp_stack=0xbffff74c, oparg=1003348) at ../Python/ceval.c:3571
#19 0x0008adf4 in PyEval_EvalFrame (f=0x3b7750) at ../Python/ceval.c:2166
#20 0x0008bf38 in PyEval_EvalCodeEx (co=0x1, globals=0xf4f54, locals=0x1a7, args=0x88eb4, argcount=3728560, kws=0x8ade4, kwcount=1, defs=0x3c2d04, defcount=0, closure=0x0) at ../Python/ceval.c:2733
#21 0x0008f32c in PyEval_EvalCode (co=0x1a8, globals=0xf4f54, locals=0x76fa0c) at ../Python/ceval.c:487
#22 0x0000ca8c in run_node (n=0x88eb4, filename=0xf4f54 "", globals=0x1, locals=0x3b78a4, flags=0x9b1000) at ../Python/pythonrun.c:1264
#23 0x0000c214 in PyRun_SimpleFileExFlags (fp=0xa0006b4c, filename=0xbffffbd1 "/Users/skip/local/bin/rdiff-backup", closeit=3897168, flags=0x3dd69d) at ../Python/pythonrun.c:859
#24 0x000066ac in Py_Main (argc=4098640, argv=0xbffffbef) at ../Modules/main.c:484
#25 0x0000203c in _start (argc=4098640, argv=0xbffffbef, envp=0xa0006b4c) at /SourceCache/Csu/Csu-45/crt.c:267
#26 0x00001ebc in start ()

Skip Montanaro <montanaro>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 08 Aug 2005 04:03:48 AM UTCbescotoOpen/ClosedOpen=>Closed
Sat 26 Mar 2005 06:10:55 PM UTCbescotoAssigned toNone=>bescoto

Back to the top


Powered by Savane 3.1-cleanup1