Hi,
On 24/09/10 06:47, Joerg Platte wrote:
Am Thursday, 23. September 2010 schrieb Anthony Callegaro:
On Tue, 2010-09-21 at 13:55 +0200, Soeren Sonnenburg wrote:
The only further info I could provide is that this is a virtual
server with relatively little memory (1G)
Hmmm, on my old pentium 4 box it crashes as well. There is no
virtualization involved here but the computer has only 1GB of
memory.
Also I made an amd64 squeeze VE two weeks ago with only 384MB RAM to see
if I could reproduce this. But unattended-upgrades has been working
correctly for two weeks now. It's applied updates almost every day. So
I don't currently suspect either OpenVZ or limited memory to be the
cause of this.
If I summarise the architectures this has been observed on it seems
there's no pattern there either:
* Soeren -- amd64 I think? or i686 too?
* Anthony -- OpenVZ VE, not sure which architecture
* Jayen -- i686
So far I haven't been able to reproduce this on native amd64, or on an
amd64 OpenVZ VE.
I don't think the line-by-line python trace is needed now; from the gdb
and strace outputs (thanks for those) it is clear the problem is within
the python-apt implementation:
#2 0x080a49a8 in PyString_FromFormat (format=0xba0ba8 "<%s object:
Status: %i Complete: %i Local: %i IsTrusted: %i FileSize: %lu
DestFile:'%s' DescURI: '%s' ID:%lu ErrorText: '%s'>") at
../Objects/stringobject.c:357
#3 0x00b87d63 in acquireitem_repr
(Self=<apt_pkg.AcquireItem at remote 0x8735bac>) at
python/acquire-item.cc:170
It is supposed to return something like this:
<apt_pkg.AcquireItem object: Status: 2 Complete: 1 Local: 1
IsTrusted: 1 FileSize: 107354
DestFile:'/var/cache/apt/archives/libgtk-vnc-1.0-0_0.4.1-3_amd64.deb'
DescURI:
'http://cdn.debian.net/debian/pool/main/g/gtk-vnc/libgtk-vnc-1.0-0_0.4.1-3_amd64.deb'
ID:0 ErrorText: ''>
Instead, strlen eventually chokes on one of the string parameters it was
given. I guess gdb allows to view the stack frame at depth #2 and that
may help figure out exactly which string[s] are responsible. But I
wouldn't know how.
Regards,
--
Steven Chamberlain
ste...@pyro.eu.org
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org