Re: [Tracker] Segfault in email parsing



On Sun, 2007-07-01 at 13:19 +0200, Laurent Aguerreche wrote:
Le samedi 30 juin 2007 Ã 20:44 -0700, Eric Lesh a Ãcrit :
Laurent Aguerreche <laurent aguerreche free fr> writes:

I'm still getting this with current SVN, but won't be able to look at it
closer until later tonight.  It does happen with the same email though.

Please, test the patch I sent ~15 minutes ago...


Same segfault.  It happens while indexing an email with an attachment of
type image/jpeg.

I just sent a patch to add KMail service so please apply it but I think
it won't fix the crash. (And I don't have any problems with JPEG
attachments...)


it sounds like its running out of file handles - if it does the db
cannot be open and db things like store will become NULL and will
probably crash

best to run valgrind with it and report any bad problems and the number
of open file descriptios that valgrind spits out

run it as :

valgrind --tool=memcheck  --num-callers=20 --track-fds=yes
-v  ./trackerd 


Can you run trackerd into GDB and report backtrace please? Do that:

$ gdb ./trackerd
...
segfault!
...
bt
...
bt f
...
q


"bt" will display backtrace and "bt f" a more complete backtrace but
harder to read, paste both here.

Thanks.



Laurent.

      Eric





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]