Bug#366717: Method http has died unexpectedly (Packages/DiffIndex)
14:52 < mvo> tbm:about Bug#366717, I'm pretty sure that it is some
alignment issue in the sha256 code, I had something similar a while
ago in md5.c. I wonder if it helps if you compile apt with -O0 (and
"-ggdb") and if that gives a more useful backttrace
Program received signal SIGBUS, Bus error.
0x7008b5dc in LOAD_OP (I=0, W=0xeffff69c,
input=0x2f526 " Wed, 10 May 2006 20:24:26 UTC\nArchitectures: alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc\nComponents: main contrib non-free\nDescription: Debian Unstable - Not Released"...) at contrib/sha256.cc:64
64 contrib/sha256.cc: No such file or directory.
in contrib/sha256.cc
(gdb) where
#0 0x7008b5dc in LOAD_OP (I=0, W=0xeffff69c,
input=0x2f526 " Wed, 10 May 2006 20:24:26 UTC\nArchitectures: alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc\nComponents: main contrib non-free\nDescription: Debian Unstable - Not Released"...) at contrib/sha256.cc:64
#1 0x7008b794 in sha256_transform (state=0x41718,
input=0x2f526 " Wed, 10 May 2006 20:24:26 UTC\nArchitectures: alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc\nComponents: main contrib non-free\nDescription: Debian Unstable - Not Released"...) at contrib/sha256.cc:80
#2 0x7008f640 in SHA256Summation::Add (this=0x41710,
data=0x2f4e6 "Origin: Debian\nLabel: Debian\nSuite: unstable\nCodename: sid\nDate: Wed, 10 May 2006 20:24:26 UTC\nArchitectures: alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc\nComponents: m"..., len=1130) at contrib/sha256.cc:274
#3 0x00019bf4 in Hashes::Add (this=0x41648,
Data=0x2f4e6 "Origin: Debian\nLabel: Debian\nSuite: unstable\nCodename: sid\nDate: Wed, 10 May 2006 20:24:26 UTC\nArchitectures: alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc\nComponents: m"..., Size=1130) at hashes.h:38
#4 0x00013b40 in CircleBuf::Write (this=0x2f33c, Fd=7) at http.cc:226
#5 0x00016150 in HttpMethod::Go (this=0xeffffcf4, ToFile=true, Srv=0x2f1a8) at http.cc:799
#6 0x00016a54 in ServerState::RunData (this=0x2f1a8) at http.cc:497
#7 0x00018f64 in HttpMethod::Loop (this=0xeffffcf4) at http.cc:1143
#8 0x000193bc in main () at http.cc:1231
(gdb)
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: