Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1648741 - PackageKit dumps core on upgrades
Summary: PackageKit dumps core on upgrades
Keywords:
Status: CLOSED DUPLICATE of bug 1642796
Alias: None
Product: Fedora
Classification: Fedora
Component: libdnf
Version: 29
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-12 00:57 UTC by Arcadiy Ivanov
Modified: 2019-03-01 19:49 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-01 19:49:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
rpm -qa (114.23 KB, text/plain)
2018-11-12 19:51 UTC, Arcadiy Ivanov
no flags Details
/var/lib/dnf/history.sqlite (8.00 MB, application/x-sqlite3)
2018-11-12 19:52 UTC, Arcadiy Ivanov
no flags Details
coredump part 1 (19.00 MB, application/x-gzip)
2018-11-12 20:10 UTC, Arcadiy Ivanov
no flags Details
coredump part 2 (17.75 MB, application/octet-stream)
2018-11-12 20:11 UTC, Arcadiy Ivanov
no flags Details

Description Arcadiy Ivanov 2018-11-12 00:57:43 UTC
Description of problem:

While committing transaction PackageKit dumps core.

Version-Release number of selected component (if applicable):

1.1.11-1.f29

How reproducible:

Run update. Observe the crash.

Actual results:

Core dumped.


Expected results:

Transaction successful.

Additional info:

Core was generated by `/usr/libexec/packagekitd'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50        return ret;
[Current thread is 1 (Thread 0x7f8c1affd700 (LWP 8573))]
From                To                  Syms Read   Shared Object Library
0x00007f8c39d25450  0x00007f8c39d26376  Yes         /lib64/libgmodule-2.0.so.0
0x00007f8c39cd2f90  0x00007f8c39d0377b  Yes (*)     /lib64/libpackagekit-glib2.so.18
0x00007f8c39bc1c60  0x00007f8c39c88514  Yes         /lib64/libsqlite3.so.0
0x00007f8c39b9c070  0x00007f8c39ba80e6  Yes         /lib64/libpolkit-gobject-1.so.0
0x00007f8c39a24850  0x00007f8c39b0d032  Yes         /lib64/libgio-2.0.so.0
0x00007f8c399a2770  0x00007f8c399d3945  Yes         /lib64/libgobject-2.0.so.0
0x00007f8c39891dc0  0x00007f8c3990f732  Yes         /lib64/libglib-2.0.so.0
0x00007f8c397e0c30  0x00007f8c39848644  Yes         /lib64/libsystemd.so.0
0x00007f8c397b7590  0x00007f8c397c81b5  Yes         /lib64/libgcc_s.so.1
0x00007f8c39799b50  0x00007f8c397a7f75  Yes         /lib64/libpthread.so.0
0x00007f8c395ef670  0x00007f8c3973ab1f  Yes         /lib64/libc.so.6
0x00007f8c395c8270  0x00007f8c395c9029  Yes         /lib64/libdl.so.2
0x00007f8c39554390  0x00007f8c395a4976  Yes         /lib64/libpcre.so.1
0x00007f8c393db490  0x00007f8c3947a5fa  Yes         /lib64/libm.so.6
0x00007f8c393b75f0  0x00007f8c393c47b7  Yes         /lib64/libz.so.1
0x00007f8c393ab2c0  0x00007f8c393afd2a  Yes         /lib64/libffi.so.6
0x00007f8c39384830  0x00007f8c3939c37f  Yes         /lib64/libselinux.so.1
0x00007f8c39366710  0x00007f8c3937266e  Yes         /lib64/libresolv.so.2
0x00007f8c39310a80  0x00007f8c39348092  Yes         /lib64/libmount.so.1
0x00007f8c392fb710  0x00007f8c392fea80  Yes         /lib64/librt.so.1
0x00007f8c392d3510  0x00007f8c392ea3a6  Yes         /lib64/liblzma.so.5
0x00007f8c392b32c0  0x00007f8c392ca2eb  Yes         /lib64/liblz4.so.1
0x00007f8c392ac200  0x00007f8c392adadf  Yes         /lib64/libcap.so.2
0x00007f8c391985c0  0x00007f8c392664bc  Yes         /lib64/libgcrypt.so.20
0x00007f8c39d6b110  0x00007f8c39d8a1a4  Yes         /lib64/ld-linux-x86-64.so.2
0x00007f8c39107490  0x00007f8c39162943  Yes         /lib64/libpcre2-8.so.0
0x00007f8c390bcf60  0x00007f8c390edd62  Yes         /lib64/libblkid.so.1
0x00007f8c390ab320  0x00007f8c390aed51  Yes         /lib64/libuuid.so.1
0x00007f8c3908b690  0x00007f8c3909cca2  Yes         /lib64/libgpg-error.so.0
0x00007f8c2b04c550  0x00007f8c2b0513d0  Yes         /lib64/libnss_sss.so.2
0x00007f8c2b0385f0  0x00007f8c2b03ec2c  Yes         /lib64/libnss_files.so.2
0x00007f8c39d58e90  0x00007f8c39d62901  Yes         /usr/lib64/packagekit-backend/libpk_backend_dnf.so
0x00007f8c2a7dc070  0x00007f8c2a811297  Yes         /lib64/libappstream-glib.so.8
0x00007f8c2b075cf0  0x00007f8c2b08c56d  Yes         /lib64/libgdk_pixbuf-2.0.so.0
0x00007f8c2a6967b0  0x00007f8c2a773179  Yes         /lib64/libdnf.so.2
0x00007f8c2a60d990  0x00007f8c2a6227e7  Yes         /lib64/librepo.so.0
0x00007f8c2a59ed90  0x00007f8c2a5e2c42  Yes         /lib64/librpm.so.8
0x00007f8c2a561350  0x00007f8c2a578da4  Yes         /lib64/librpmio.so.8
0x00007f8c2a4aea50  0x00007f8c2a5269b3  Yes         /lib64/libarchive.so.13
0x00007f8c2a423690  0x00007f8c2a46d069  Yes         /lib64/libsoup-2.4.so.1
0x00007f8c2a3c6250  0x00007f8c2a3da7fc  Yes         /lib64/libstemmer.so.0
0x00007f8c2a37c230  0x00007f8c2a39e705  Yes         /lib64/libpng16.so.16
0x00007f8c2a2f16b0  0x00007f8c2a361fbf  Yes         /lib64/libsolv.so.1
0x00007f8c2a2b1690  0x00007f8c2a2d78ee  Yes         /lib64/libsolvext.so.1
0x00007f8c39d43320  0x00007f8c39d4a85b  Yes         /lib64/libjson-c.so.4
0x00007f8c2a242510  0x00007f8c2a284b66  Yes         /lib64/libmodulemd.so.1
0x00007f8c2a200f70  0x00007f8c2a21ff82  Yes         /lib64/libsmartcols.so.1
0x00007f8c2a1b49e0  0x00007f8c2a1e34a2  Yes         /lib64/libgpgme.so.11
0x00007f8c2a0a5990  0x00007f8c2a15bd22  Yes         /lib64/libstdc++.so.6
0x00007f8c29eda9b0  0x00007f8c29fbed1e  Yes         /lib64/libxml2.so.2
0x00007f8c29e2dd50  0x00007f8c29e8b46b  Yes         /lib64/libcurl.so.4
0x00007f8c29bbd000  0x00007f8c29d5ccd0  Yes         /lib64/libcrypto.so.1.1
0x00007f8c39d2e2b0  0x00007f8c39d3af76  Yes         /lib64/libbz2.so.1
0x00007f8c29b2c690  0x00007f8c29b3bc61  Yes         /lib64/libelf.so.1
0x00007f8c29a95ed0  0x00007f8c29b16bba  Yes         /lib64/libzstd.so.1
0x00007f8c2b061510  0x00007f8c2b0685e6  Yes         /lib64/libpopt.so.0
0x00007f8c29a873a0  0x00007f8c29a8b640  Yes         /lib64/libacl.so.1
0x00007f8c29a4fda0  0x00007f8c29a730b1  Yes         /lib64/liblua-5.3.so
0x00007f8c298b27f0  0x00007f8c299f5650  Yes         /lib64/libdb-5.3.so
0x00007f8c2983fa70  0x00007f8c29872caf  Yes         /lib64/libgssapi_krb5.so.2
0x00007f8c29820250  0x00007f8c29821cb6  Yes         /lib64/libpsl.so.5
0x00007f8c298058b0  0x00007f8c2980ed19  Yes         /lib64/libzck.so.1
0x00007f8c297e3490  0x00007f8c297fbcb5  Yes         /lib64/libyaml-0.so.2
0x00007f8c297cf640  0x00007f8c297d9297  Yes         /lib64/libassuan.so.0
0x00007f8c297a6530  0x00007f8c297b93b5  Yes         /lib64/libnghttp2.so.14
0x00007f8c29784310  0x00007f8c29787e77  Yes         /lib64/libidn2.so.0
0x00007f8c2970f190  0x00007f8c29749c10  Yes         /lib64/libssh.so.4
0x00007f8c29689870  0x00007f8c296d535a  Yes         /lib64/libssl.so.1.1
0x00007f8c295a2230  0x00007f8c2960dc21  Yes         /lib64/libkrb5.so.3
0x00007f8c29560eb0  0x00007f8c2956f804  Yes         /lib64/libk5crypto.so.3
0x00007f8c2b05b2b0  0x00007f8c2b05bed9  Yes         /lib64/libcom_err.so.2
0x00007f8c2951bbd0  0x00007f8c295499b0  Yes         /lib64/libldap-2.4.so.2
0x00007f8c294fccf0  0x00007f8c2950403a  Yes         /lib64/liblber-2.4.so.2
0x00007f8c294eb0e0  0x00007f8c294f2225  Yes         /lib64/libbrotlidec.so.1
0x00007f8c294e42a0  0x00007f8c294e6379  Yes         /lib64/libattr.so.1
0x00007f8c294d4f90  0x00007f8c294dc5db  Yes         /lib64/libkrb5support.so.0
0x00007f8c294cc210  0x00007f8c294ccf88  Yes         /lib64/libkeyutils.so.1
0x00007f8c29359230  0x00007f8c2938d65e  Yes         /lib64/libunistring.so.2
0x00007f8c2932c8d0  0x00007f8c2933daf7  Yes         /lib64/libsasl2.so.3
0x00007f8c29305040  0x00007f8c29305327  Yes         /lib64/libbrotlicommon.so.1
0x00007f8c292d0370  0x00007f8c292e31e0  Yes         /lib64/libcrypt.so.1
0x00007f8c2b0bdbf0  0x00007f8c2b0ca110  Yes         /usr/lib64/gio/modules/libgioremote-volume-monitor.so
0x00007f8c29299ef0  0x00007f8c292b198d  Yes         /usr/lib64/gvfs/libgvfscommon.so
0x00007f8c2b0a8210  0x00007f8c2b0a9674  Yes         /lib64/libnss_mdns4_minimal.so.2
0x00007f8c2b0a0370  0x00007f8c2b0a3743  Yes         /lib64/libnss_dns.so.2
0x00007f8c2877e8f0  0x00007f8c2878b224  Yes         /lib64/libnss_myhostname.so.2
0x00007f8c2b09b2b0  0x00007f8c2b09b713  Yes         /usr/lib64/rpm-plugins/selinux.so
0x00007f8c287d2250  0x00007f8c287d25ca  Yes (*)     /usr/lib64/rpm-plugins/systemd_inhibit.so
0x00007f8c286f7b10  0x00007f8c28724315  Yes         /lib64/libdbus-1.so.3
(*): Shared library is missing debugging information.
#0  0x00007f8c3960553f in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f8c395ef895 in __GI_abort () at abort.c:79
#2  0x00007f8c2a0a5e9b in __gnu_cxx::__verbose_terminate_handler() () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007f8c2a0ac2fc in __cxxabiv1::__terminate(void (*)()) (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#4  0x00007f8c2a0ac357 in std::terminate() () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
#5  0x00007f8c2a0ac5b8 in __cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*))
    (obj=obj@entry=0x7f8c20b3b200, tinfo=0x7f8c2a19f9d0 <typeinfo for std::runtime_error>, dest=0x7f8c2a0c1f30 <std::runtime_error::~runtime_error()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:95
#6  0x00007f8c2a6a4156 in libdnf::swdb_private::Transaction::finish(libdnf::TransactionState) (this=<optimized out>, state=<optimized out>) at /usr/include/c++/8/ext/new_allocator.h:86
#7  0x00007f8c2a6ee190 in libdnf::Swdb::endTransaction(long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libdnf::TransactionState)Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x0: 

    (this=0x560ffd312420, dtEnd=140239725118416, rpmdbVersionEnd=#8  0x00007f8c2a6c93c8 in dnf_transaction_commit(DnfTransaction*, HyGoal, DnfState*, GError**) (transaction=<optimized out>, 
    goal=0x7f8c20aafa00, state=state@entry=0x7f8c20a0b1e0 [DnfState], error=error@entry=0x7f8c1affccd0) at /usr/include/c++/8/ext/new_allocator.h:79
#9  0x00007f8c39d5dd90 in pk_backend_transaction_download_commit (error=0x7f8c1affccd0, state=0x7f8c14001e50 [DnfState], job=<optimized out>) at pk-backend-dnf.c:2363
#10 0x00007f8c39d5dd90 in pk_backend_transaction_run (job=<optimized out>, state=0x7f8c14001ad0 [DnfState], error=0x7f8c1affccd0) at pk-backend-dnf.c:2434
#11 0x00007f8c39d5fcf8 in pk_backend_update_packages_thread (job=0x560ffd2d4700 [PkBackendJob], params=<optimized out>, user_data=<optimized out>) at pk-backend-dnf.c:3205
#12 0x0000560ffb76b92e in pk_backend_job_thread_setup (thread_data=0x560ffd30cef0) at pk-backend-job.c:726
#13 0x00007f8c398ed48a in g_thread_proxy (data=0x560ffd2846d0) at gthread.c:784
#14 0x00007f8c3979b58e in start_thread (arg=<optimized out>) at pthread_create.c:486
#15 0x00007f8c396ca593 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

(gdb) frame 6
#6  0x00007f8c2a6a4156 in libdnf::swdb_private::Transaction::finish (this=<optimized out>, state=<optimized out>) at /usr/include/c++/8/ext/new_allocator.h:86
86            ~new_allocator() _GLIBCXX_USE_NOEXCEPT { }
(gdb) info locals
i = std::shared_ptr<libdnf::TransactionItem> (use count 4, weak count 0) = {get() = <optimized out>}
__for_range = @0x7f8c1affc730: std::vector of length 128, capacity 128 = {std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c7d250}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c80710}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20d62f10}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c7d1b0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c4c260}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20cdc560}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20cfc200}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20cb77f0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20b3ef30}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20ba9f80}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20408eb0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20d51f50}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c2154b810}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20cf1900}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20d19060}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20bfc8b0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20d35740}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20ba18f0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20bb5be0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20ba1550}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c47220}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c47c90}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20adae00}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20adad60}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20b52650}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211268a0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20d03280}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c93040}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c2132ac70}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c86dd0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20cd2260}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c4bfa0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c4bed0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c4b8d0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20c4be30}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c2118d1b0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211ab860}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211ae350}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21201af0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21201640}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21200df0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211bd8d0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21200d50}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211f8ff0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211f8030}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211f8230}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211bc4c0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211bbf10}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21107080}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c210fcd30}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c210f5a10}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c210fe930}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c210fcc90}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c210dc640}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c210f6e80}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c215f9d10}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c20adb4b0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c213024b0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c210e0bc0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21302b40}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211cdeb0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c211ce020}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c215e1510}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c215e1b00}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c212bfdd0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c2159d300}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c213d70b0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b73710}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21584c50}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21584410}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c2176c980}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21584650}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c215847c0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21584930}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21584aa0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b85fc0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b86190}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b86330}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b864a0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b86670}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b86810}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b86980}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b86af0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b86c60}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b872a0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b87440}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b87720}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b878f0}, std::shared_ptr<libdnf::TransactionItem> (use count 4, weak count 0) = {get() = 0x7f8c21b87a90}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9dec0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b87c30}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b87da0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b87f10}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b88080}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9e810}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9e9b0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9eb20}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9ecf0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9ee60}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9f030}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9f200}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9f3a0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9f720}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9f8f0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9fa90}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9fc30}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9fe00}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21b9ffd0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba01a0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba0340}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba04e0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba0680}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba0820}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba0a80}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba1110}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba12b0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba1480}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba15f0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba1790}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba1930}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba1ad0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba1c70}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba1e10}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba1fe0}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba2180}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba2320}, std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba24c0}, 
  std::shared_ptr<libdnf::TransactionItem> (use count 3, weak count 0) = {get() = 0x7f8c21ba2660}}
__for_begin = <optimized out>
__for_end = <optimized out>
(gdb) info args
this = <optimized out>
state = <optimized out>

Comment 1 Kalev Lember 2018-11-12 06:59:04 UTC
Looks like something going wrong in libdnf, reassigning.

What version of libdnf do you have? libdnf-0.22.0-8.fc29 fixed a similar crash (https://bugzilla.redhat.com/show_bug.cgi?id=1642796), can you try if you can reproduce the crash if you update to -8? Thanks!

Comment 2 Arcadiy Ivanov 2018-11-12 07:02:33 UTC
The libdnf.x86_64 is 0.22.0-8.fc29.

Comment 3 Daniel Mach 2018-11-12 13:14:03 UTC
Hi,
we need more information to reproduce the problem.

Could you provide following?:
* Output of: rpm -qa
* /var/lib/dnf/history.sqlite
* Output of: dnf history info last (or number of the failed transaction; you need to run dnf history list and find the right one)
* coredump (if you have it and want to share it)

Comment 4 Arcadiy Ivanov 2018-11-12 19:51:44 UTC
Created attachment 1504887 [details]
rpm -qa

Comment 5 Arcadiy Ivanov 2018-11-12 19:52:55 UTC
Created attachment 1504888 [details]
/var/lib/dnf/history.sqlite

Comment 6 Arcadiy Ivanov 2018-11-12 19:57:29 UTC
`
$ sudo dnf history info 636
Transaction ID : 636
Begin time     : Sun 11 Nov 2018 02:47:30 AM EST
Begin rpmdb    : 
End time       : Sun 11 Nov 2018 02:47:35 AM EST (5 seconds)
End rpmdb      : 
User           : Arcadiy Ivanov <arcivanov>
Return-Code    : Success
Releasever     : 
Command Line   : 
Packages Altered:
    Upgrade  coreutils-8.30-6.fc29.x86_64        @updates
    Upgrade  coreutils-common-8.30-6.fc29.x86_64 @updates
    Upgrade  libinput-1.12.3-1.fc29.x86_64       @updates
    Upgrade  librados2-1:12.2.9-1.fc29.x86_64    @updates
    Upgrade  librbd1-1:12.2.9-1.fc29.x86_64      @updates
    Upgrade  libwacom-0.32-1.fc29.x86_64         @updates
    Upgrade  libwacom-data-0.32-1.fc29.noarch    @updates
    Upgrade  openconnect-7.08-10.fc29.x86_64     @updates
    Upgrade  tree-1.7.0-16.fc29.x86_64           @updates
    Upgraded coreutils-8.30-5.fc29.x86_64        @@System
    Upgraded coreutils-common-8.30-5.fc29.x86_64 @@System
    Upgraded libinput-1.12.2-1.fc29.x86_64       @@System
    Upgraded librados2-1:12.2.8-1.fc29.x86_64    @@System
    Upgraded librbd1-1:12.2.8-1.fc29.x86_64      @@System
    Upgraded libwacom-0.31-1.fc29.x86_64         @@System
    Upgraded libwacom-data-0.31-1.fc29.noarch    @@System
    Upgraded openconnect-7.08-9.fc29.x86_64      @@System
    Upgraded tree-1.7.0-15.fc29.x86_64           @@System
`

Comment 7 Arcadiy Ivanov 2018-11-12 20:01:48 UTC
Actually, scratch that one. Wrong timestamp. This is the offender, me thinks.

$ sudo abrt ls
Id         0e8d9e3  
Component  PackageKit  
Count      1  
Time       2018-11-09 22:51:29 

$ sudo dnf history info 632
Transaction ID : 632
Begin time     : Fri 09 Nov 2018 10:51:07 PM EST
Begin rpmdb    : 3398:2bc01c2164b195cf9f439eaf24a7e8620a986477
End time       : Wed 31 Dec 1969 07:00:00 PM EST (-1541821867 seconds)
End rpmdb      : 
User           : System <unset>
Return-Code    : Failure: 1
Releasever     : 
Command Line   : -y install --disablerepo=* /tmp/akmods.3IjoWDXZ/results/kmod-bbswitch-4.18.17-300.fc29.x86_64-0.8-1.fc29.x86_64.rpm
Packages Altered:
 ** Install kmod-bbswitch-4.18.17-300.fc29.x86_64-0.8-1.fc29.x86_64 @@commandline

Comment 8 Arcadiy Ivanov 2018-11-12 20:04:54 UTC
$ sudo abrt info
Id            0e8d9e3  
Component     PackageKit  
Count         1  
Time          2018-11-09 22:51:29  
Command line  /usr/libexec/packagekitd  
Package       PackageKit-1.1.11-1.fc29  
Path          /var/spool/abrt/ccpp-2018-11-09-22:51:29.67237-7550

Comment 9 Arcadiy Ivanov 2018-11-12 20:10:21 UTC
Created attachment 1504891 [details]
coredump part 1

Comment 10 Arcadiy Ivanov 2018-11-12 20:11:24 UTC
Created attachment 1504892 [details]
coredump part 2

Comment 11 Arcadiy Ivanov 2018-11-12 20:12:37 UTC
reconstruct coredump via `cat xa* | gunzip -c > coredump`

Comment 12 Daniel Mach 2019-03-01 19:49:40 UTC
I believe the problem is fixed already.
I was able to reproduce the problem with older libdnf and PackageKit, but everything worked fine with the latest versions in f29 updates.
It seems to be duplicate of bug#1642796 (related PR is https://github.com/rpm-software-management/libdnf/pull/627 )

*** This bug has been marked as a duplicate of bug 1642796 ***


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