After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 403887 - [apport] tracker-extract crashed with SIGSEGV in strlen()
[apport] tracker-extract crashed with SIGSEGV in strlen()
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal critical
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2007-02-03 11:06 UTC by Christoffer Sørensen
Modified: 2007-07-09 19:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
File causing the crash (4.64 KB, image/x-xpixmap)
2007-02-08 15:50 UTC, Mika Fischer
Details

Description Christoffer Sørensen 2007-02-03 11:06:01 UTC
Steps to reproduce:
1. Index a ico file in tracker 0.5.4 in Ubuntu Feisty Fawn
2. 
3. 


Stack trace:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Core was generated by `tracker-extract /media/hda5/cs/freevo2/share/freevo/htdocs/favicon.ico image/x-'.
Program terminated with signal 11, Segmentation fault.
  • #0 strlen
    from /lib/tls/i686/cmov/libc.so.6
  • #0 strlen
    from /lib/tls/i686/cmov/libc.so.6
  • #1 g_strescape
    from /usr/lib/libglib-2.0.so.0
  • #2 ??
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??

Other information:
From https://bugs.launchpad.net/ubuntu/+source/tracker/+bug/82879
Comment 1 Saleem Abdulrasool 2007-02-05 02:58:43 UTC
Please build the package with debugging symbols, and provide a stack trace.
Comment 2 Christoffer Sørensen 2007-02-05 17:33:07 UTC
I build the package with debugging symbols, but now tracker-extract does not crash or give any output to standard out.

file on the offending file gives:

file /media/hda5/cs/freevo2/share/freevo/htdocs/favicon.ico
/media/hda5/cs/freevo2/share/freevo/htdocs/favicon.ico: PNG image data, CORRUPTED,

running tracker-extract on that: nothing on standard out
Comment 3 Mika Fischer 2007-02-08 15:45:15 UTC
I seem to have the same problem.

I added debug symbols by means of apport-retrace.

The stack trace and core dump can be found here:
https://bugs.launchpad.net/ubuntu/+source/tracker/+bug/84000

Let me know if you need something else.
Comment 4 Mika Fischer 2007-02-08 15:50:19 UTC
Created attachment 82158 [details]
File causing the crash
Comment 5 Ralf.Nieuwenhuijsen 2007-02-20 21:47:12 UTC
I've had the same type of crash with the same error (strlen).

However, it happened when I was unpacking a tar.gz file. Afterwards it had no problem indexing the generated directory, it was only that _during_ the unpacking it crashed. 

The fact that you cannot reproduce the crash suggests its not the contents of the file that was causing the crash, but the fact it was modified at the very moment it got indexed.

Since there are on launchpad several pretty identical crash-reports about different filetypes suggests its not a file-specific or even data-specific problem.

Just my two cents. I may be completely off with my wild guess work here, so i'll hold off on marking them all duplicates of this one ;-)
Comment 6 Jamie McCracken 2007-07-09 19:20:36 UTC
Im closing this provisionally - if it still persists with latest svn then let me know or repopen this bug as I cant replicate it