tracker-extract receives a SIGSYS when extracting metadata from a ps.gz file.
tracker-extract fails to extract file fro ps.gz files. Not that this only happens when tracker-extract is run by the dbus API. I get the following bt:
#0 0x00007f5f2addb867 in chdir () at ../sysdeps/unix/syscall-template.S:78
No locals.
#1 0x00007f5f2afb6878 in do_exec (child_err_report_fd=21, stdin_fd=stdin_fd@entry=-1, stdout_fd=stdout_fd@entry=19, stderr_fd=stderr_fd@entry=-1, working_directory=working_directory@entry=0x557ac8f7dbd0 "/tmp", argv=argv@entry=0x7f5edbffeca0, envp=0x0, close_descriptors=1, search_path=1, search_path_from_envp=0, stdout_to_null=0, stderr_to_null=1, child_inherits_stdin=0, file_and_argv_zero=0, child_setup=0x7f5f24166660 <spawn_child_func>, user_data=0xa) at ../../../glib/gspawn.c:1282
__FUNCTION__ = "do_exec"
#2 0x00007f5f2afb7637 in fork_exec_with_fds (intermediate_child=intermediate_child@entry=1, working_directory=working_directory@entry=0x557ac8f7dbd0 "/tmp", argv=argv@entry=0x7f5edbffeca0, envp=envp@entry=0x0, close_descriptors=close_descriptors@entry=1, search_path=search_path@entry=1, search_path_from_envp=0, stdout_to_null=0, stderr_to_null=1, child_inherits_stdin=0, file_and_argv_zero=0, cloexec_pipes=0, child_setup=0x7f5f24166660 <spawn_child_func>, user_data=0xa, child_pid=0x0, child_close_fds=0x7f5edbffeb60, stdin_fd=-1, stdout_fd=19, stderr_fd=-1, error=0x7f5edbffec98) at ../../../glib/gspawn.c:1780
pid = 0
child_err_report_pipe = {-1, 21}
child_pid_report_pipe = {-1, -1}
pipe_flags = 0
status = 0
#3 0x00007f5f2afb77eb in fork_exec_with_pipes (intermediate_child=intermediate_child@entry=1, working_directory=0x557ac8f7dbd0 "/tmp", argv=argv@entry=0x7f5edbffeca0, envp=envp@entry=0x0, close_descriptors=close_descriptors@entry=1, search_path=search_path@entry=1, search_path_from_envp=0, stdout_to_null=0, stderr_to_null=1, child_inherits_stdin=0, file_and_argv_zero=0, cloexec_pipes=0, child_setup=0x7f5f24166660 <spawn_child_func>, user_data=0xa, child_pid=0x0, standard_input=0x0, standard_output=0x7f5edbffec94, standard_error=0x0, error=0x7f5edbffec98) at ../../../glib/gspawn.c:1994
pipe_flags = 0
stdin_pipe = {-1, -1}
stdout_pipe = {18, 19}
stderr_pipe = {-1, -1}
child_close_fds = {-1, 18, -1, -1}
ret = <optimized out>
#4 0x00007f5f2afb80ee in g_spawn_async_with_pipes (working_directory=<optimized out>, argv=argv@entry=0x7f5edbffeca0, envp=envp@entry=0x0, flags=flags@entry=(G_SPAWN_SEARCH_PATH | G_SPAWN_STDERR_TO_DEV_NULL), child_setup=child_setup@entry=0x7f5f24166660 <spawn_child_func>, user_data=user_data@entry=0xa, child_pid=0x0, standard_input=0x0, standard_output=0x7f5edbffec94, standard_error=0x0, error=0x7f5edbffec98) at ../../../glib/gspawn.c:787
__FUNCTION__ = "g_spawn_async_with_pipes"
#5 0x00007f5f24166810 in extract_ps_gz (uri=0x7f5ed0008560 "file:///home/lolo/Desktop/hplip-3.19.1/data/ps/testpage.ps.gz") at ../src/tracker-extract/tracker-extract-ps.c:271
fz = <optimized out>
argv = {0x7f5f2416713d "gunzip", 0x7f5f24167144 "-c", 0x7f5ed00135c0 "/home/lolo/Desktop/hplip-3.19.1/data/ps/testpage.ps.gz", 0x0}
metadata = 0x0
fdz = 32606
filename = 0x7f5ed00135c0 "/home/lolo/Desktop/hplip-3.19.1/data/ps/testpage.ps.gz"
error = 0x0
metadata = <optimized out>
fz = <optimized out>
fdz = <optimized out>
argv = <optimized out>
filename = <optimized out>
error = <optimized out>
#6 tracker_extract_get_metadata (info=0x557ac900f6a0) at ../src/tracker-extract/tracker-extract-ps.c:327
mimetype = <optimized out>
metadata = <optimized out>
file = <optimized out>
uri = 0x7f5ed0008560 "file:///home/lolo/Desktop/hplip-3.19.1/data/ps/testpage.ps.gz"
#7 0x0000557ac7eb5cb7 in get_file_metadata (task=task@entry=0x557ac8f83a30, info_out=info_out@entry=0x7f5edbffed30) at ../src/tracker-extract/tracker-extract.c:301
info = 0x557ac900f6a0
file = <optimized out>
mime_used = 0x7f5ed0013590 "application/x-gzpostscript"
#8 0x0000557ac7eb62db in get_metadata (task=0x557ac8f83a30) at ../src/tracker-extract/tracker-extract.c:493
info = 0x0
#9 0x0000557ac7eb6330 in single_thread_get_metadata (queue=0x557ac88e3130) at ../src/tracker-extract/tracker-extract.c:513
task = <optimized out>
__FUNCTION__ = "single_thread_get_metadata"
#10 0x00007f5f2af9798d in g_thread_proxy (data=0x7f5edc0069e0) at ../../../glib/gthread.c:805
thread = 0x7f5edc0069e0
__FUNCTION__ = "g_thread_proxy"
_g_boolean_var_ = <optimized out>
#11 0x00007f5f2aec2182 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140045394638592, 3325373993303784994, 140726338458126, 140726338458127, 140726338458272, 140045394636352, -3414944609163166174, -3415892498123473374}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#12 0x00007f5f2adebb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95