Re: [Tracker] TI crash



Hi!,

On dom, 2009-01-04 at 10:03 +0200, Tshepang Lekhonkhobe wrote:
On Tue, Dec 16, 2008 at 2:15 PM, Martyn Russell <martyn imendio com> wrote:
On 15/12/08 12:20, Tshepang Lekhonkhobe wrote:

On Mon, Dec 15, 2008 at 1:24 PM, Ivan Frade<ivan frade nokia com>  wrote:

Hi Thsepang,

#2  0xb7d52aa6 in g_io_unix_write (channel=0x885a598, buf=0x9aca798
"/home/wena/nna/reads/times_person_of_the_year_is
Files/ads.\ntext/html\n", count=70,
    bytes_written=0xbfca4678, err=0xbfca4738) at

It looks like a problem when you have "\n" in some of the metadata.

Could you please fill a bug about this? If it is possible, can you
attach a file to the bug to help replicating it?

me will

Carlos is currently working on this. The whole escaping and unescaping
metadata transmitted over pipes is currently being looked at since we only
have a quick solution right now.

(I know I'm supposed to use bugzilla :-)

I'm still getting TI crash (on r2761) and am just checking if this
backtrace is related to the one I gave previously:

It's maybe related, but not a bug, tracker-indexer handles SIGPIPE
itself, as the communication channel with tracker-extract could be
closed at any moment. But in this case it's just gdb not respecting
that, you can tell gdb to ignore SIGPIPEs as well by doing:

(gdb) handle SIGPIPE nostop


<START>
(tracker-indexer:20012): Tracker-DEBUG: Adding item
'/home/wena/movies/cloverfield/VIDEO_TS/VTS_06_1.VOB'

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0xb7a3e700 (LWP 20012)]
0xb7f98424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7f98424 in __kernel_vsyscall ()
#1  0xb7ca302b in write () from /lib/i686/cmov/libpthread.so.0
#2  0xb7d59aa6 in g_io_unix_write (channel=0xaa44bb8, buf=0xa993138
"/home/wena/movies/cloverfield/VIDEO_TS/VTS_06_0.IFO\napplication/octet-stream\n",
    count=77, bytes_written=0xbfdb3fb8, err=0xbfdb4078) at
/home/wena/temp/glib2.0-2.16.6/glib/giounix.c:229
#3  0xb7d17af4 in IA__g_io_channel_flush (channel=0xaa44bb8,
error=0xbfdb4078) at
/home/wena/temp/glib2.0-2.16.6/glib/giochannel.c:955
#4  0xb7f9265d in tracker_module_metadata_utils_get_data
(file=0x920f840) at tracker-module-metadata-utils.c:285
#5  0xb7ef39a5 in tracker_regular_file_get_metadata (file=0x94a9120)
at files.c:186
#6  0xb7f919cd in tracker_module_file_get_metadata (file=0x94a9120) at
tracker-module-file.c:253
#7  0x08050119 in process_file (indexer=0x90d3090, info=0x94a9108) at
tracker-indexer.c:2290
#8  0x08051202 in process_func (data=0x90d3090) at tracker-indexer.c:2434
#9  0xb7d21271 in g_idle_dispatch (source=0x91a84b0,
callback=0xffffffe0, user_data=0x90d3090) at
/home/wena/temp/glib2.0-2.16.6/glib/gmain.c:4090
#10 0xb7d231b8 in IA__g_main_context_dispatch (context=0x90d3980) at
/home/wena/temp/glib2.0-2.16.6/glib/gmain.c:2012
#11 0xb7d26853 in g_main_context_iterate (context=0x90d3980, block=1,
dispatch=1, self=0x90c8ae8) at
/home/wena/temp/glib2.0-2.16.6/glib/gmain.c:2645
#12 0xb7d26d72 in IA__g_main_loop_run (loop=0x9138298) at
/home/wena/temp/glib2.0-2.16.6/glib/gmain.c:2853
#13 0x08054166 in main (argc=151847768, argv=0x2) at tracker-main.c:380
<END>






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