View Issue Details

IDProjectCategoryView StatusLast Update
0001427libextractorpluginspublic2008-11-02 15:02
Reportereon Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Product Version0.5.20c 
Summary0001427: Segfault on a png file
DescriptionHello,

I'm working on a script which process lot of files. I'm using libextractor to extract metadata. libextractor runs fine except that it segfault always on the png file attached to this message.

It segfault using the extract (debian package) utility or python-libextractor, so I guess there is a problem in the lib itself

Regards,
TagsNo tags attached.
Attached Files
pure-ftpd.png (12,165 bytes)   
pure-ftpd.png (12,165 bytes)   

Activities

Christian Grothoff

2008-09-25 08:19

manager   ~0003695

I cannot reproduce this:

$ extract pure-ftpd.png
modification date - 2002-02-15 09:59:56
size - 224x64
mimetype - image/png
$ valgrind --tool=memcheck extract pure-ftpd.png
==16804== Memcheck, a memory error detector.
==16804== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==16804== Using LibVEX rev 1854, a library for dynamic binary translation.
==16804== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==16804== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==16804== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==16804== For more details, rerun with: -v
==16804==
modification date - 2002-02-15 09:59:56
size - 224x64
mimetype - image/png
==16804==
==16804== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 153 from 1)
==16804== malloc/free: in use at exit: 32,175 bytes in 347 blocks.
==16804== malloc/free: 2,029 allocs, 1,682 frees, 422,110 bytes allocated.
==16804== For counts of detected errors, rerun with: -v
==16804== searching for pointers to 347 not-freed blocks.
==16804== checked 207,148 bytes.
==16804==
==16804== LEAK SUMMARY:
==16804== definitely lost: 732 bytes in 38 blocks.
==16804== possibly lost: 5,360 bytes in 26 blocks.
==16804== still reachable: 26,083 bytes in 283 blocks.
==16804== suppressed: 0 bytes in 0 blocks.
==16804== Rerun with --leak-check=full to see details of leaked memory.


What is your platform? Can you compile LE by hand (with CFLAGS="-O0 -g") and run "gdb --args extract filename.png" and should it crash report the output of
"ba full"?

eon

2008-09-29 03:29

reporter   ~0003700

Thanks for your help

I compile LE, and extract doesn't segfault anymore on the file...

I reinstall the debian packages (testing), same problem as before. I test that on several machines.

Christian Grothoff

2008-10-04 01:43

manager   ~0003702

Sounds to me like this bug should then be filed against the Debian package (in the Debian bugtracker). Could you do that?

Christian Grothoff

2008-11-02 15:02

manager   ~0003719

I'm closing the bug since it seems to be a problem in the Debian binary, not in the upstream source.

Issue History

Date Modified Username Field Change
2008-09-22 08:48 eon New Issue
2008-09-22 08:48 eon File Added: pure-ftpd.png
2008-09-25 08:19 Christian Grothoff Note Added: 0003695
2008-09-25 08:19 Christian Grothoff Status new => feedback
2008-09-29 03:29 eon Note Added: 0003700
2008-10-04 01:43 Christian Grothoff Note Added: 0003702
2008-11-02 15:02 Christian Grothoff Note Added: 0003719
2008-11-02 15:02 Christian Grothoff Status feedback => closed
2008-11-02 15:02 Christian Grothoff Resolution open => no change required
2008-11-02 15:02 Christian Grothoff Category libextractor main library => plugins