Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#13856 - file 5.00-1 crashes on some files

Attached to Project: Arch Linux
Opened by Pawel Lesniak (ppaffell) - Wednesday, 18 March 2009, 19:35 GMT
Last edited by Aaron Griffin (phrakture) - Wednesday, 18 March 2009, 22:12 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After trying to check info on some files I get:

*** glibc detected *** file: munmap_chunk(): invalid pointer: 0x08276950 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7ee7ee4]
/lib/libc.so.6[0xb7ee8ec9]
/usr/lib/libmagic.so.1(cdf_read_sat+0x203)[0xb7fea823]
/usr/lib/libmagic.so.1(file_trycdf+0x6e)[0xb7feacde]
/usr/lib/libmagic.so.1(file_buffer+0x1c2)[0xb7fe8232]
/usr/lib/libmagic.so.1[0xb7fda092]
file[0x8048e40]
file[0x80498fa]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7e926c5]
file[0x8048ba1]
======= Memory map: ========
08048000-0804b000 r-xp 00000000 09:00 6144 /usr/bin/file
0804b000-0804c000 rwxp 00002000 09:00 6144 /usr/bin/file
08268000-08289000 rwxp 08268000 00:00 0 [heap]
b7af7000-b7bf8000 rwxp b7af7000 00:00 0
b7c21000-b7c2d000 r-xp 00000000 09:00 6027 /usr/lib/libgcc_s.so.1
b7c2d000-b7c2e000 rwxp 0000c000 09:00 6027 /usr/lib/libgcc_s.so.1
b7c39000-b7c7b000 rwxp b7c39000 00:00 0
b7c7b000-b7e25000 rwxp 00000000 09:00 6841 /usr/share/misc/file/magic.mgc
b7e25000-b7e7b000 r-xp 00000000 09:00 16336 /usr/lib/locale/locale-archive
b7e7b000-b7e7c000 rwxp b7e7b000 00:00 0
b7e7c000-b7fbc000 r-xp 00000000 09:00 4404 /lib/libc-2.9.so
b7fbc000-b7fbd000 ---p 00140000 09:00 4404 /lib/libc-2.9.so
b7fbd000-b7fbf000 r-xp 00140000 09:00 4404 /lib/libc-2.9.so
b7fbf000-b7fc0000 rwxp 00142000 09:00 4404 /lib/libc-2.9.so
b7fc0000-b7fc3000 rwxp b7fc0000 00:00 0
b7fc3000-b7fd6000 r-xp 00000000 09:00 11203 /usr/lib/libz.so.1.2.3.3
b7fd6000-b7fd7000 rwxp 00012000 09:00 11203 /usr/lib/libz.so.1.2.3.3
b7fd7000-b7ff0000 r-xp 00000000 09:00 6116 /usr/lib/libmagic.so.1.0.0
b7ff0000-b7ff1000 rwxp 00019000 09:00 6116 /usr/lib/libmagic.so.1.0.0
b7ff1000-b7ff2000 rwxp b7ff1000 00:00 0
b7ffd000-b7ffe000 r-xp b7ffd000 00:00 0 [vdso]
b7ffe000-b801a000 r-xp 00000000 09:00 4366 /lib/ld-2.9.so
b801a000-b801b000 r-xp 0001b000 09:00 4366 /lib/ld-2.9.so
b801b000-b801c000 rwxp 0001c000 09:00 4366 /lib/ld-2.9.so
bf806000-bf81b000 rw-p bffeb000 00:00 0 [stack]
/home/amavis/tmp/amavis-20090318T151541-18027/parts/p003: Przerwane

On some files, everything is ok. Tried on 2 installations of arch - both give the same error, while file-4.26 from other linux works ok after copying to machine on which arch is installed.

Additional info:
file 5.00-1

Steps to reproduce:
file somefile_of_type_msword_or_jpeg
3 files which give me error are larger than 5MB each.

This task depends upon

Closed by  Aaron Griffin (phrakture)
Wednesday, 18 March 2009, 22:12 GMT
Reason for closing:  Upstream
Additional comments about closing:  Bug in file
Comment by Alessandro Doro (adoroo) - Wednesday, 18 March 2009, 20:15 GMT
I think it's related to http://mx.gw.com/pipermail/file/2009/000351.html (the attachment in that report is indeed a Powerpoint file).
Comment by Pawel Lesniak (ppaffell) - Wednesday, 18 March 2009, 20:42 GMT
Indeed. I was confused with jpeg as strings -a on one of failing files gave me JFIF and Exif strings. Those files are .pps files, larger than 5MB.
And according to rules here I think this task should be closed as this bug is not arch bug.
I should have take time to search on file mailinglist.

Loading...