Re: [Tracker] Random SIGPIPEs with tracker-indexer
- From: laurent aguerreche free fr
- To: Carlos Garnacho <carlos imendio com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] Random SIGPIPEs with tracker-indexer
- Date: Fri, 24 Oct 2008 12:21:34 +0200
Selon Carlos Garnacho <carlos imendio com>:
Hi Laurent!,
Hi Carlos!
On mié, 2008-10-22 at 23:33 +0200, Laurent Aguerreche wrote:
hello,
my daily bug report is today about random SIGPIPEs with tracker-indexer.
Until now, I didn't see a crash with a text file, only with binaries.
Hrm, looks like the sigaction() call to ignore SIGPIPE so we can handle
it ourselves was commented accidentally, thanks for noticing, I've just
uncommented it in trunk :)
Now, gdb likes to manage such signals itself, so to be sure you won't
get random (and harmless) SIGPIPE when debugging you should type:
(gdb) handle SIGPIPE nostop
in the gdb prompt.
So I did that and now I get a SIGSEGV :
Tracker-Message: Extracting text
for:'/local/laguerre/Blah/Soutenance/soutenance.pdf' using
filter:'/local/laguerre/Tracker/Installs/Tracker/lib/tracker/filters/application/pdf_filter'
Detaching after fork from child process 7344.
24 oct 2008, 11:08:34: Tracker: Process '7344' spawned for
command:'/local/laguerre/Tracker/Installs/Tracker/lib/tracker/filters/application/pdf_filter'
(tracker-indexer:5649): Tracker-DEBUG: Process '7344' spawned for
command:'/local/laguerre/Tracker/Installs/Tracker/lib/tracker/filters/application/pdf_filter'
24 oct 2008, 11:08:34: Tracker: Process '7344' exited with code 0
(tracker-indexer:5649): Tracker-DEBUG: Process '7344' exited with code 0
Program received signal SIGPIPE, Broken pipe.
Detaching after fork from child process 7346.
24 oct 2008, 11:08:34: Tracker: Process '7346' spawned for
command:'/local/laguerre/Tracker/Installs/Tracker/libexec/tracker-extract'
(tracker-indexer:5649): Tracker-DEBUG: Process '7346' spawned for
command:'/local/laguerre/Tracker/Installs/Tracker/libexec/tracker-extract'
24 oct 2008, 11:08:34: Tracker: Process '7259' exited with code 14
(tracker-indexer:5649): Tracker-DEBUG: Process '7259' exited with code 14
Program received signal SIGSEGV, Segmentation fault.
0x000000304522ef19 in g_io_channel_shutdown () from /lib64/libglib-2.0.so.0
Missing separate debuginfos, use: debuginfo-install GConf2.x86_64 ORBit2.x86_64
dbus-glib.x86_64 dbus.x86_64 gamin.x86_64 glib2.x86_64 glibc.x86_64 gmime.x86_64
gvfs.x86_64 hal.x86_64 libcap.x86_64 libselinux.x86_64 pango.x86_64 zlib.x86_64
(gdb) bt
#0 0x000000304522ef19 in g_io_channel_shutdown () from /lib64/libglib-2.0.so.0
#1 0x000000000011312a in process_context_destroy (context=0x2578270) at
tracker-metadata-utils.c:75
#2 0x0000000000113209 in process_context_child_watch_cb (pid=7259, status=14,
user_data=0x2578270) at tracker-metadata-utils.c:110
#3 0x0000003045235484 in ?? () from /lib64/libglib-2.0.so.0
#4 0x000000304523742b in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#5 0x000000304523ac0d in ?? () from /lib64/libglib-2.0.so.0
#6 0x000000304523b13d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#7 0x0000000000113708 in metadata_query_file (path=0x2ae3280
"/local/laguerre/Blah/Soutenance/soutenance.log", mimetype=0x34a8ac0
"text/x-log") at tracker-metadata-utils.c:292
#8 0x00000000001137af in metadata_utils_get_embedded (path=0x2ae3280
"/local/laguerre/Blah/Soutenance/soutenance.log", mime_type=0x34a8ac0
"text/x-log", metadata=0x2ae0d80)
at tracker-metadata-utils.c:326
#9 0x00000000001146c5 in tracker_metadata_utils_get_data (path=0x2ae3280
"/local/laguerre/Blah/Soutenance/soutenance.log") at
tracker-metadata-utils.c:960
#10 0x0000000004e148e1 in tracker_module_file_get_metadata (file=0x2ae3410) at
files.c:151
#11 0x000000000040dcc1 in tracker_indexer_module_file_get_metadata
(module=0x210fdc0, file=0x2ae3410) at tracker-indexer-module.c:185
#12 0x000000000040a83c in process_file (indexer=0x2135820, info=0x2ae2fa0) at
tracker-indexer.c:1989
#13 0x000000000040abf9 in process_func (data=0x2135820) at
tracker-indexer.c:2116
#14 0x000000304523742b in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#15 0x000000304523ac0d in ?? () from /lib64/libglib-2.0.so.0
#16 0x000000304523b13d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#17 0x000000000040efce in main (argc=1, argv=0x7fffcb4bdb18) at
tracker-main.c:371
(gdb) frame 7
#7 0x0000000000113708 in metadata_query_file (path=0x2ae3280
"/local/laguerre/Blah/Soutenance/soutenance.log", mimetype=0x34a8ac0
"text/x-log") at tracker-metadata-utils.c:292
292 g_main_loop_run (metadata_context->data_incoming_loop);
(gdb) info locals
utf_path = (gchar *) 0x2ae3220 "���\002"
str = (gchar *) 0x2ae0e60
"/local/laguerre/Blah/Soutenance/soutenance.log\ntext/x-log\n"
array = (GPtrArray *) 0x2ae0b70
status = G_IO_STATUS_NORMAL
error = (GError *) 0x2addbc0
(gdb) print *error
$1 = {domain = 44961056, code = 0, message = 0x0}
(gdb)
and this log file is a text only file... :-/
Rgds,
Laurent.
This is what I get:
Program received signal SIGPIPE, Broken pipe.
0x00000038fc80db0b in write () from /lib64/libpthread.so.0
Missing separate debuginfos, use: debuginfo-install GConf2.x86_64
ORBit2.x86_64 dbus-glib.x86_64 dbus.x86_64 gamin.x86_64 glib2.x86_64
glibc.x86_64 gmime.x86_64 gvfs.x86_64 hal.x86_64 libcap.x86_64
libselinux.x86_64 pango.x86_64 zlib.x86_64
(gdb) bt
#0 0x00000038fc80db0b in write () from /lib64/libpthread.so.0
#1 0x000000304526c7b0 in ?? () from /lib64/libglib-2.0.so.0
#2 0x000000304522beac in g_io_channel_flush ()
from /lib64/libglib-2.0.so.0
#3 0x00000000001134d6 in metadata_query_file (path=0x1af9900
"/local/laguerre/Interactions
multiples/Séminaires/2007/images/noma-ressorts-mains.png",
mimetype=0x150f8f0 "image/png") at tracker-metadata-utils.c:258
#4 0x000000000011364f in metadata_utils_get_embedded (path=0x1af9900
"/local/laguerre/Interactions
multiples/Séminaires/2007/images/noma-ressorts-mains.png",
mime_type=0x150f8f0 "image/png", metadata=0x1af9310)
at tracker-metadata-utils.c:321
#5 0x00000000001143b5 in tracker_metadata_utils_get_data
(path=0x1af9900 "/local/laguerre/Interactions
multiples/Séminaires/2007/images/noma-ressorts-mains.png") at
tracker-metadata-utils.c:907
#6 0x00007f7565a168e1 in tracker_module_file_get_metadata
(file=0x1af9380) at files.c:151
#7 0x000000000040dc4d in tracker_indexer_module_file_get_metadata
(module=0x10c9dc0, file=0x1af9380) at tracker-indexer-module.c:185
#8 0x000000000040a7c8 in process_file (indexer=0x10f2000,
info=0x1af90c0) at tracker-indexer.c:1989
#9 0x000000000040ab85 in process_func (data=0x10f2000) at
tracker-indexer.c:2116
#10 0x000000304523742b in g_main_context_dispatch ()
from /lib64/libglib-2.0.so.0
#11 0x000000304523ac0d in ?? () from /lib64/libglib-2.0.so.0
#12 0x000000304523b13d in g_main_loop_run ()
from /lib64/libglib-2.0.so.0
#13 0x000000000040ef44 in main (argc=1, argv=0x7fff730a16f8) at
tracker-main.c:371
(gdb) frame 3
#3 0x00000000001134d6 in metadata_query_file (path=0x1af9900
"/local/laguerre/Interactions
multiples/Séminaires/2007/images/noma-ressorts-mains.png",
mimetype=0x150f8f0 "image/png") at tracker-metadata-utils.c:258
258 status = g_io_channel_flush (metadata_context->stdin_channel,
&error);
(gdb) print status
$1 = G_IO_STATUS_NORMAL
Rgds,
Laurent.
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
--
Carlos Garnacho
Imendio AB - Expert solutions in GTK+
http://www.imendio.com
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]