Bug 1607966 - xdg-desktop-portal crash when Tracker is thrashing system in NIS
Summary: xdg-desktop-portal crash when Tracker is thrashing system in NIS
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xdg-desktop-portal
Version: 28
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-24 15:50 UTC by RobbieTheK
Modified: 2019-05-28 21:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-28 21:56:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
coredump (617.88 KB, application/octet-stream)
2018-07-24 15:50 UTC, RobbieTheK
no flags Details

Description RobbieTheK 2018-07-24 15:50:47 UTC
Created attachment 1470328 [details]
coredump

We use NIS. Tracker was thrashing the workstation so we disabled it. But before disabling xdg-desktop-portal crashed and coredumped. Logs and backtrace are below, coredump attached.

Jul 19 11:51:13 kopernik systemd[1637]: Starting flatpak document portal service...
Jul 19 11:51:13 kopernik dbus-daemon[22893]: [session uid=1000 pid=22893] Activating via systemd: service name='org.freedesktop.impl.portal.PermissionStore' unit='xdg-permission-store.service' requested by ':1.5' (uid=1000 pid=22912 comm="/usr/libexec/xdg-document-portal ")
Jul 19 11:51:13 kopernik systemd[1637]: Starting sandboxed app permission store...
Jul 19 11:51:13 kopernik systemd[1637]: Started sandboxed app permission store.
Jul 19 11:51:13 kopernik dbus-daemon[22893]: [session uid=1000 pid=22893] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
Jul 19 11:51:13 kopernik systemd[1637]: Started flatpak document portal service.
Jul 19 11:51:13 kopernik dbus-daemon[22893]: [session uid=1000 pid=22893] Successfully activated service 'org.freedesktop.portal.Documents'
Jul 19 11:51:13 kopernik dbus-daemon[22893]: [session uid=1000 pid=22893] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.gtk' unit='xdg-desktop-portal-gtk.service' requested by ':1.4' (uid=1000 pid=22908 comm="/usr/libexec/xdg-desktop-portal ")
Jul 19 11:51:13 kopernik systemd[1637]: Starting Portal service (GTK+/GNOME implementation)...
Jul 19 11:51:14 kopernik xdg-desktop-portal-gtk[22926]: Unable to init server: Could not connect: Connection refused
Jul 19 11:51:14 kopernik journal[22926]: cannot open display: 
Jul 19 11:51:14 kopernik systemd[1637]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jul 19 11:51:14 kopernik systemd[1637]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jul 19 11:51:14 kopernik systemd[1637]: Failed to start Portal service (GTK+/GNOME implementation).
Jul 19 11:51:16 kopernik dbus-daemon[4184]: [session uid=1202 pid=4184] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.65' (uid=1202 pid=4693 comm="/usr/libexec/tracker-miner-fs ")
Jul 19 11:51:16 kopernik systemd[4145]: Starting Tracker metadata extractor...
Jul 19 11:51:16 kopernik journal[22935]: Falling back to bus backend, the direct backend failed to initialize: Could not open sqlite3 database:'/home/users/ts/.cache/tracker/meta.db': unable to open database file
Jul 19 11:51:16 kopernik dbus-daemon[4184]: [session uid=1202 pid=4184] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
Jul 19 11:51:16 kopernik


Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/xdg-desktop-portal'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055b4f9b39f52 in export_portal_implementation () at src/xdg-desktop-portal.c:351
351	      g_warning ("Error: %s", error->message);
[Current thread is 1 (Thread 0x7f741c047880 (LWP 22908))]
(gdb) bt full
#0  0x000055b4f9b39f52 in export_portal_implementation () at src/xdg-desktop-portal.c:351
        error = 0x0
#1  0x000055b4f9b39fe2 in on_bus_acquired (connection=0x55b4fb8f4030, name=<optimized out>, user_data=<optimized out>)
    at src/xdg-desktop-portal.c:382
        implementation = <optimized out>
#2  0x00007f741bb77b28 in connection_get_cb (source_object=<optimized out>, res=0x55b4fb911110, user_data=0x55b4fb90f3f0)
    at gdbusnameowning.c:487
        client = 0x55b4fb90f3f0
#3  0x00007f741bb39d54 in g_task_return_now (task=0x55b4fb911110) at gtask.c:1148
No locals.
#4  0x00007f741bb3a806 in g_task_return (task=0x55b4fb911110, type=<optimized out>) at gtask.c:1206
        source = 0x7f7400001be0
#5  0x00007f741bb6a3f2 in bus_get_async_initable_cb (source_object=0x55b4fb8f4030, res=<optimized out>, user_data=0x55b4fb911110)
    at gdbusconnection.c:7307
        task = 0x55b4fb911110
        error = 0x0
        __func__ = "bus_get_async_initable_cb"
        _g_boolean_var_ = <optimized out>
#6  0x00007f741bb39d54 in g_task_return_now (task=0x55b4fb9111e0) at gtask.c:1148
No locals.
#7  0x00007f741bb39d8d in complete_in_idle_cb (task=task@entry=0x55b4fb9111e0) at gtask.c:1162
No locals.
#8  0x00007f741b5891cb in g_idle_dispatch (source=0x7f7400001be0, callback=0x7f741bb39d80 <complete_in_idle_cb>, user_data=0x55b4fb9111e0)
    at gmain.c:5535
        again = <optimized out>
#9  0x00007f741b58c8ad in g_main_dispatch (context=0x55b4fb909c90) at gmain.c:3177
        dispatch = 0x7f741b5891b0 <g_idle_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x55b4fb9111e0
---Type <return> to continue, or q <return> to quit---
        callback = 0x7f741bb39d80 <complete_in_idle_cb>
        cb_funcs = 0x7f741b856280 <g_source_callback_funcs>
        cb_data = 0x7f7400001c80
        need_destroy = <optimized out>
        source = 0x7f7400001be0
        current = 0x55b4fb8f5b40
        i = 0
        current = <optimized out>
        i = <optimized out>
        __func__ = "g_main_dispatch"
        source = <optimized out>
        _g_boolean_var_ = <optimized out>
        was_in_call = <optimized out>
        user_data = <optimized out>
        callback = <optimized out>
        cb_funcs = <optimized out>
        cb_data = <optimized out>
        need_destroy = <optimized out>
        dispatch = <optimized out>
        prev_source = <optimized out>
        _g_boolean_var_ = <optimized out>
#10 g_main_context_dispatch (context=context@entry=0x55b4fb909c90) at gmain.c:3830
No locals.
#11 0x00007f741b58cc78 in g_main_context_iterate (context=0x55b4fb909c90, block=block@entry=1, dispatch=dispatch@entry=1, 
    self=<optimized out>) at gmain.c:3903
        max_priority = 2147483647
        timeout = -1
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 1
---Type <return> to continue, or q <return> to quit---
        fds = 0x55b4fb8fa680
#12 0x00007f741b58cfa2 in g_main_loop_run (loop=0x55b4fb8fa1b0) at gmain.c:4099
        self = <optimized out>
        __func__ = "g_main_loop_run"
#13 0x000055b4f9b397be in main () at src/xdg-desktop-portal.c:505
        owner_id = 1
        error = 0x0
        session_bus = 0x55b4fb8f4030
        context = 0x55b4fb8e1c90
#14 0x00007f741ab3c24b in __libc_start_main (main=0x55b4f9b393b0 <main>, argc=1, argv=0x7ffc3a197928, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc3a197918) at ../csu/libc-start.c:308
        self = <optimized out>
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 17305009279163642, 94235771771696, 140721283234080, 0, 0, 6101530399598140666, 
                6178020352852843770}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffc3a197938, 0x7f741c076130}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 974747960}}}
        not_first_call = <optimized out>
#15 0x000055b4f9b39b5a in _start () at /usr/include/glib-2.0/glib/glib-autocleanups.h:62
No symbol table info available.
(gdb)

Comment 1 Ben Cotton 2019-05-02 19:16:28 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Ben Cotton 2019-05-02 21:15:55 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2019-05-28 21:56:55 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.