Bug#343250: upx-ucl-beta: broken on 64-bit systems
severity 343250 important thanks Since this bug apparently only affects compression of win32 PE executables, and not ordinary Linux ELF executables, I think it's fair to say that the package is not rendered mostly unusable. Downgrading the bug accordingly. Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ signature.asc Description: Digital signature
Bug#343250: upx-ucl-beta: broken on 64-bit systems
Max Alekseyev wrote: Hi, Please check if this version works for you on amd64. No. It reports: upx: util.h:71: int ptr_diff(const T*, const T*) [with T = unsigned char]: Assertion `(int)d == d' failed. Sorry about the delay. As I wrote last time, I can't reproduce the bug myself. I contacted the upstream author and he needs some test data. So could you please send me the file on which 'upx -d' fails? Best Regards, robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#343250: upx-ucl-beta: broken on 64-bit systems
Max Alekseyev wrote: So could you please send me the file on which 'upx -d' fails? Testcase is attached to this message. $ unzip test.zip Yeah, I should have asked you about the file at the very beginning. It's win32/pe executable, not linux/i386 which I assumed... Thanks a lot! Now I can reproduce the bug. Best Regards, robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#343250: upx-ucl-beta: broken on 64-bit systems
Max Alekseyev wrote: Hi, No. It reports: upx: util.h:71: int ptr_diff(const T*, const T*) [with T = unsigned char]: Assertion `(int)d == d' failed. Aborted Thanks. I tried the command on pergolesi.debian.org (an amd64 machine accessible for Debian developers), but can't reproduce that error. I.e. I can pack the file, unpack it without any problems, but when I try to run the command after packing with upx, it fails with a segmentation fault. It needs more investiations, but I can't do this until the first week of January. Best Regards, robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#343250: upx-ucl-beta: broken on 64-bit systems
Robert Luberda wrote: I've just uploaded 1:1.94+0.20051214cvs-2, which fixes the error. The patch is very simple, I'm attaching it in case you didn't want to wait for autobuilders and recompile the package yourself. Please check if this version works for you on amd64. No. It reports: upx: util.h:71: int ptr_diff(const T*, const T*) [with T = unsigned char]: Assertion `(int)d == d' failed. Aborted Max -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#343250: upx-ucl-beta: broken on 64-bit systems
Max Alekseyev wrote: Hi, It fails to be build from sources on amd64 with the following error: I've just uploaded 1:1.94+0.20051214cvs-2, which fixes the error. The patch is very simple, I'm attaching it in case you didn't want to wait for autobuilders and recompile the package yourself. Please check if this version works for you on amd64. It seems the upstream has added support for native amd64 executables, could you also please test it? upx-ucl works OK. OK, that's great. Best Regards, robert --- src/p_lx_elf.h.old 2005-12-14 08:21:58.0 +0100 +++ src/p_lx_elf.h 2005-12-17 16:39:49.0 +0100 @@ -208,7 +208,7 @@ virtual acc_uint64l_t get_native64(const void *b) const { return get_le64(b); } virtual unsigned get_native32(const void *b) const { return get_le32(b); } virtual unsigned get_native16(const void *b) const { return get_le16(b); } -virtual void set_native64(void *b, unsigned long long v) const { set_le64(b, v); } +virtual void set_native64(void *b, acc_uint64l_t v) const { set_le64(b, v); } virtual void set_native32(void *b, unsigned v) const { set_le32(b, v); } virtual void set_native16(void *b, unsigned v) const { set_le16(b, v); } };
Bug#343250: [Bulk] Re: Bug#343250: upx-ucl-beta: broken on 64-bit systems
Robert Luberda wrote: Thanks for your report. I've just uploaded new CVS snapshot of upx-ucl-beta (1.94+0.20051214cvs-1). Could you please check if the problem still exists in that version? It fails to be build from sources on amd64 with the following error: g++ -O2 -g -DWITH_UCL -o packmast.o -c packmast.cpp packmast.cpp: In function 'Packer* try_packers(InputFile*, Packer* (*)(Packer*, InputFile*))': packmast.cpp:218: error: cannot allocate an object of abstract type 'PackLinuxElf64amd' p_lx_elf.h:221: note: because the following virtual functions are pure within 'PackLinuxElf64amd': p_unix.h:72: note: virtual void PackUnix::set_native64(void*, long unsigned int) const make[1]: *** [packmast.o] Error 1 BTW. I'm wondering if the upx-ucl package has the same bug. I would be grateful it you could test it also. upx-ucl works OK. Max -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#343250: upx-ucl-beta: broken on 64-bit systems
Max wrote: upx is broken on debian-amd64. For example, on upx -d somefile it reports upx: util.h:71: int ptr_diff(const T*, const T*) [with T = unsigned char]: Assertion `(int)d == d' failed. Aborted Thanks for your report. I've just uploaded new CVS snapshot of upx-ucl-beta (1.94+0.20051214cvs-1). Could you please check if the problem still exists in that version? BTW. I'm wondering if the upx-ucl package has the same bug. I would be grateful it you could test it also. Best Regards robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#343250: upx-ucl-beta: broken on 64-bit systems
Package: upx-ucl-beta Version: 1:1.94+0.20051022cvs-1 Severity: grave Justification: renders package unusable upx is broken on debian-amd64. For example, on upx -d somefile it reports upx: util.h:71: int ptr_diff(const T*, const T*) [with T = unsigned char]: Assertion `(int)d == d' failed. Aborted The very same command works fine on debian-i386. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'sarge-unsupported') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14.64 Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages upx-ucl-beta depends on: ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-5 GCC support library ii libstdc++64.0.2-5The GNU Standard C++ Library v3 ii libucl1 1.03-2 Portable compression library - run ii zlib1g1:1.2.3-8 compression library - runtime upx-ucl-beta recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]