View Issue Details

IDProjectCategoryView StatusLast Update
0000639fileGeneralpublic2025-04-06 18:58
ReporterAlbrecht Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSDebianOS VersionTrixie (Testing)
Product Version5.46 
Fixed in VersionHEAD 
Summary0000639: invalid MIME type for broken input
DescriptionUnfortunately, issue 448 (https://bugs.astron.com/view.php?id=448) re-emerged with both the file version coming with Trixie (5.45) as well as with the current Git version.

With the Trixie Debian package, using the same broken sample file as in issue 448 (unzip https://bugs.astron.com/file_download.php?file_id=187&type=bug):
--8<----------------------------------------
test@trixie:~/file-issue$ file --version
file-5.45
magic file from /etc/magic:/usr/share/misc/magic
test@trixie:~/file-issue$ file --mime-type file-error-sample
file-error-sample: application/x-executable, can't read section at -1
--8<----------------------------------------

With the latest Git master branch, compiled on Trixie according to the instructions:
--8<----------------------------------------
test@trixie:~/file-issue$ file-master/src/file -m file-master/magic/magic.mgc --version
file-5.46
magic file from file-master/magic/magic.mgc
test@trixie:~/file-issue$ file-master/src/file -m file-master/magic/magic.mgc --mime-type file-error-sample
file-error-sample: application/x-executable, can't read section at -1
--8<----------------------------------------
Steps To ReproduceSee above.
Additional Information-
TagsNo tags attached.

Activities

christos

2025-04-06 18:58

manager   ~0004201

Simplified so it will not break again...

Issue History

Date Modified Username Field Change
2025-04-04 16:31 Albrecht New Issue
2025-04-06 18:58 christos Assigned To => christos
2025-04-06 18:58 christos Status new => assigned
2025-04-06 18:58 christos Status assigned => resolved
2025-04-06 18:58 christos Resolution open => fixed
2025-04-06 18:58 christos Fixed in Version => HEAD
2025-04-06 18:58 christos Note Added: 0004201