For a few nights in a row PackageKit has been core dumping just after dnf updates. Here are some logs. It appears Tracker was hitting the CPU hard too around the same time, so I disabled it. rpm -q PackageKit PackageKit-1.1.10-1.fc28.x86_64 Jul 19 02:06:20 kopernik journal[24848]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information Jul 19 02:06:20 kopernik journal[24848]: Could not insert metadata for item "file://lc-program.ps": Unable to insert multiple values for subject `urn:uuid:9d8a6104-f7cc-8da9-5ade-a475a257d31a' and single valued property `nie:contentCreated' (old_value: '<untransformable>', new value: '<untransformable>') Jul 19 02:06:20 kopernik journal[24848]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information Jul 19 02:06:22 kopernik kernel: PK-Backend[25067]: segfault at 0 ip 00007f600c98af83 sp 00007f5fe7fff9e0 error 4 in libc-2.27.so (deleted)[7f600c8ad000+1b5000] Jul 19 02:06:22 kopernik systemd[1]: Created slice system-systemd\x2dcoredump.slice. Jul 19 02:06:22 kopernik systemd[1]: Started Process Core Dump (PID 25076/UID 0). Jul 19 02:06:23 kopernik NetworkManager[946]: <info> [1531980383.7267] manager: kernel firmware directory '/lib/firmware' changed Jul 19 02:06:26 kopernik systemd[1]: packagekit.service: Main process exited, code=killed, status=11/SEGV Jul 19 02:06:26 kopernik systemd[1]: packagekit.service: Failed with result 'signal'. Jul 19 02:06:37 kopernik dbus-daemon[827]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.116' (uid=1202 pid=2809 comm="/usr/bin/gnome-software --gapplication-service ") Jul 19 02:06:37 kopernik systemd[1]: Starting PackageKit Daemon... Jul 19 02:06:37 kopernik dbus-daemon[827]: [system] Successfully activated service 'org.freedesktop.PackageKit' Jul 19 02:06:37 kopernik systemd[1]: Started PackageKit Daemon. Jul 19 02:06:38 kopernik systemd-coredump[25077]: Process 2117 (packagekitd) of user 0 dumped core.#012#012Stack trace of thread 25067:#012#0 0x00007f600c98af83 n/a (/usr/lib64/libc-2.27.so (deleted)) You can download the coredump at http://storm.cis.fordham.edu/~rkudyba/core.packagekitd.0.5b8e447066bf4d2c900f033e86e56a04.2117.1531980382000000.lz4 (200+MB) (gdb) bt full #0 0x00007f600c98af83 in analyze (preg=0x0) at regcomp.c:1669 dfa = <optimized out> ret = REG_NOERROR dfa = <optimized out> ret = <optimized out> i = <optimized out> #1 re_compile_internal () at regcomp.c:793 err = REG_NOERROR dfa = 0x7f5fc09468e0 regexp = {raw_mbs = 0x7f5fef749490 "^(\\S*)\\s*(<=|>=|!=|<|>|=)?\\s*(.*)$", mbs = 0x7f5fef749490 "^(\\S*)\\s*(<=|>=|!=|<|>|=)?\\s*(.*)$", wcs = 0x7f5fcc1726f0, offsets = 0x0, cur_state = {__count = 0, __value = {__wch = 0, __wchb = "\000\000\000"}}, raw_mbs_idx = 0, valid_len = 34, valid_raw_len = 34, bufs_len = 35, cur_idx = 34, raw_len = 34, len = 34, raw_stop = 34, stop = 34, tip_context = 0, trans = 0x0, word_char = 0x0, icase = 0 '\000', is_utf8 = 1 '\001', map_notascii = 0 '\000', mbs_allocated = 0 '\000', offsets_needed = 0 '\000', newline_anchor = 0 '\000', word_ops_used = 0 '\000', mb_cur_max = 6} #2 0x00007f600c98bdcc in re_search_2_stub (bufp=<optimized out>, string1=<optimized out>, length1=<optimized out>, string2=<optimized out>, length2=<optimized out>, start=<optimized out>, range=224, regs=0x3b2fc, stop=-536737360, ret_len=0) at regexec.c:349 str = <optimized out> rval = <optimized out> len = 15 s = <optimized out> #3 0x00000000000000e0 in ?? () No symbol table info available. #4 0x00000000000000e0 in ?? () No symbol table info available. #5 0x000000000003b2fc in ?? () No symbol table info available. #6 0x00007f5fe00209b0 in ?? () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #7 0x0000000000000000 in ?? () No symbol table info available.
A 2nd coredump and backtrace: Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/libexec/packagekitd'. Program terminated with signal SIGSEGV, Segmentation fault. #0 repo_internalize_trigger (repo=0x7f3a2833d5f0) at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/hy-repo.c:59 59 assert(hrepo->libsolv_repo == repo); [Current thread is 1 (Thread 0x7f3a2e476700 (LWP 25287))] Missing separate debuginfos, use: dnf debuginfo-install krb5-libs-1.16.1-10.fc28.x86_64 libattr-2.4.48-1.fc28.x86_64 systemd-libs-238-8.git0e0aa59.fc28.x86_64 (gdb) bt full #0 repo_internalize_trigger (repo=0x7f3a2833d5f0) at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/hy-repo.c:59 hrepo = 0x0 #1 0x00007f3a41357343 in repo_internalize_all_trigger (pool=0x7f3a28004150) at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/hy-repo.c:52 i = 4 repo = <optimized out> #2 0x00007f3a41359fd6 in dnf_sack_make_provides_ready (sack=0x55c7841267a0) at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/dnf-sack.c:1797 priv = 0x55c784126710 addedfileprovides = {elements = 0x7f3a28053200, count = 671088672, alloc = 0x254e, left = 3120} addedfileprovides_inst = {elements = 0x7f3a52d3d9d8 <__libc_multiple_threads>, count = 726549456, alloc = 0x7f3a28053200, left = 1386235194} #3 0x00007f3a41355789 in filter_provides_reldep (q=0x7f3a28053200, f=0x7f3a2801d330, f=0x7f3a2801d330, m=0x7f3a2e475bc0) at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/hy-query.c:684 pool = 0x7f3a28004150 p = <optimized out> pp = <optimized out> pool = <optimized out> p = <optimized out> pp = <optimized out> i = <optimized out> r_id = <optimized out> #4 hy_query_apply (q=q@entry=0x7f3a28053200) at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/hy-query.c:1132 f = 0x7f3a2801d330 i = 0 pool = <optimized out> m = {map = 0x7f3a28219750 "", size = 9550} __PRETTY_FUNCTION__ = "hy_query_apply" #5 0x00007f3a41357189 in hy_query_run_set (q=q@entry=0x7f3a28053200) at /usr/src/debug/libdnf-0.11.1-3.fc28.x86_64/libdnf/hy-query.c:1569 No locals. ---Type <return> to continue, or q <return> to quit--- #6 0x00007f3a41a1b9a4 in dnf_utils_run_query_with_newest_filter (query=<optimized out>, sack=0x55c7841267a0) at pk-backend-dnf.c:898 pkgset = <optimized out> i = <optimized out> results = <optimized out> results_tmp = <optimized out> pkg = <optimized out> query_tmp = <optimized out> results = <optimized out> results_tmp = <optimized out> pkgset = <optimized out> pkg = <optimized out> query_tmp = <optimized out> i = <optimized out> #7 dnf_utils_run_query_with_filters (job=job@entry=0x55c7843829d0, sack=sack@entry=0x55c7841267a0, query=query@entry=0x7f3a28053200, filters=327680) at pk-backend-dnf.c:898 results = <optimized out> job_data = <optimized out> application_glob = 0x7f3a41a23df8 "/usr/share/applications/*.desktop" #8 0x00007f3a41a2133a in pk_backend_search_thread () at pk-backend-dnf.c:1040 ret = <optimized out> db = <optimized out> state_local = <optimized out> installs = 0x0 pkglist = 0x0 query = 0x7f3a28053200 job_data = 0x55c784222bf0 filters = 327680 search_tmp = 0x7f3a28054600 error = 0x0 sack = 0x55c7841267a0 ---Type <return> to continue, or q <return> to quit--- search = 0x7f3a281050b0 __func__ = "pk_backend_search_thread" #9 0x000055c783e2141e in pk_backend_job_thread_setup (thread_data=0x55c784386a40) at pk-backend-job.c:813 helper = 0x55c784386a40 #10 0x00007f3a53486f2a in g_thread_proxy (data=0x7f3a340054f0) at gthread.c:784 thread = 0x7f3a340054f0 __func__ = "g_thread_proxy" #11 0x00007f3a52d45594 in start_thread (arg=<optimized out>) at pthread_create.c:463 pd = <optimized out> now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139887861262080, 4822895111919377402, 140725903419886, 140725903419887, 140725903420016, 140725903420016, -4856568133279015942, -4856296408147682310}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #12 0x00007f3a52a790df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 No locals.
This is a duplicate of bug #1541747.
No, actually, not quite. *** This bug has been marked as a duplicate of bug 1480846 ***