View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001427 | libextractor | plugins | public | 2008-09-22 08:48 | 2008-11-02 15:02 |
| Reporter | eon | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 0.5.20c | ||||
| Summary | 0001427: Segfault on a png file | ||||
| Description | Hello, 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, | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
|
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"? |
|
|
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. |
|
|
Sounds to me like this bug should then be filed against the Debian package (in the Debian bugtracker). Could you do that? |
|
|
I'm closing the bug since it seems to be a problem in the Debian binary, not in the upstream source. |
| 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 |