Bug#616502: dpkg: malloc failed (-1739558537 bytes): Cannot allocate memory for file = 2 GiB

2011-03-08 Thread Guillem Jover
Hi! On Fri, 2011-03-04 at 15:56:25 -0800, Martin Dorey wrote: A debug version, packaged in the wrong way with embedded debugging information, of a non-Free and non-free, amd64-specific package contains a file whose size is larger than 2 GiB. With the patched dpkg and full --debug output, I

Bug#616502: dpkg: malloc failed (-1739558537 bytes): Cannot allocate memory for file = 2 GiB

2011-03-05 Thread Raphael Hertzog
Hi, On Fri, 04 Mar 2011, Jonathan Nieder wrote: Martin Dorey wrote: +++ lib/tarfn.c 2011-03-04 09:19:31.0 -0800 @@ -42,7 +42,7 @@ static long OtoL(const char * s, int size) { - int n = 0; + longn = 0; Good catch. I assume this patch is against the

Bug#616502: dpkg: malloc failed (-1739558537 bytes): Cannot allocate memory for file = 2 GiB

2011-03-05 Thread Jonathan Nieder
Raphael Hertzog wrote: Pushed a fix to master. It's not important enough to warrant a fix in lenny. Maybe squeeze... FWIW I think sid will be enough. I was only flailing around for words for this is why the patch does not apply directly to master. Thanks, Raphaƫl. :) Jonathan -- To

Bug#616502: dpkg: malloc failed (-1739558537 bytes): Cannot allocate memory for file = 2 GiB

2011-03-04 Thread Martin Dorey
Package: dpkg Version: 1.14.25 Severity: wishlist Tags: patch A debug version, packaged in the wrong way with embedded debugging information, of a non-Free and non-free, amd64-specific package contains a file whose size is larger than 2 GiB. With the patched dpkg and full --debug output, I see

Bug#616502: dpkg: malloc failed (-1739558537 bytes): Cannot allocate memory for file = 2 GiB

2011-03-04 Thread Jonathan Nieder
Hi Martin, Martin Dorey wrote: +++ lib/tarfn.c 2011-03-04 09:19:31.0 -0800 @@ -42,7 +42,7 @@ static long OtoL(const char * s, int size) { - int n = 0; + longn = 0; Good catch. I assume this patch is against the lenny branch; squeeze and master need a