Mailinglist Archive: opensuse-bugs (4736 mails)

< Previous Next >
[Bug 555803] zypper package download hangs forever (waiting for aria2c)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 9 Apr 2010 12:48:07 +0000
  • Message-id: <20100409124808.06D3CCC7CE@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=555803

http://bugzilla.novell.com/show_bug.cgi?id=555803#c13


--- Comment #13 from Tatsuhiro Tsujikawa <tatsuhiro.t@xxxxxxxxx> 2010-04-09
12:48:06 UTC ---
I think I found the cause of this mysterious hang.
I just noticed this in the log Peter attached:

2009-11-15 01:17:16.809663 DEBUG - CUID#9 - socket: read:1, write:0, hup:0,
err:0
2009-11-15 00:17:18.846709 DEBUG - CUID#12 - socket: read:1, write:0, hup:0,
err:0

The time is rewinded about 1hr.
In aria2c, I use gettimeofday() to get instant time as a base and do some
deferred tasks after certain timeout.
But because of this rewind of time, it takes long time to timeout and from
outside world, aria2c appears to be hanged.
I think after long delay(I think 1hr) aria2c finally exited and this matches
exactly what Peter said.

I'll fix this problem in the next release.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >