Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1485270 Details for
Bug 1631533
dnf and packagekitd can crash when libdnf swdb is locked by another process
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
backtrace of the crash
gdb.txt (text/plain), 15.40 KB, created by
Adam Williamson
on 2018-09-20 19:39:49 UTC
(
hide
)
Description:
backtrace of the crash
Filename:
MIME Type:
Creator:
Adam Williamson
Created:
2018-09-20 19:39:49 UTC
Size:
15.40 KB
patch
obsolete
> >Thread 4 (Thread 0x7fbaaa11f700 (LWP 9540)): >#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 >No locals. >#1 0x00007fbab894611e in g_cond_wait_until (cond=cond@entry=0x55882f5ae258, mutex=mutex@entry=0x55882f5ae250, > end_time=end_time@entry=49743130058) at gthread-posix.c:1449 > now = {tv_sec = 49742, tv_nsec = 630059532} > span = {tv_sec = 0, tv_nsec = 499998468} > sampled = 969 > res = <optimized out> >#2 0x00007fbab88d0231 in g_async_queue_pop_intern_unlocked (queue=0x55882f5ae250, wait=wait@entry=1, > end_time=49743130058) at gasyncqueue.c:422 > retval = <optimized out> > __func__ = "g_async_queue_pop_intern_unlocked" >#3 0x00007fbab88d08a1 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, > timeout=timeout@entry=500000) at gasyncqueue.c:574 > end_time = <optimized out> > __func__ = "g_async_queue_timeout_pop_unlocked" >#4 0x00007fbab8927fd2 in g_thread_pool_wait_for_new_task (pool=<optimized out>) at gthreadpool.c:262 > task = <optimized out> > task = <optimized out> >#5 g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:296 > task = <optimized out> > pool = 0x55882f5adc00 >#6 0x00007fbab892748a in g_thread_proxy (data=0x55883010eb70) at gthread.c:784 > thread = 0x55883010eb70 > __func__ = "g_thread_proxy" >#7 0x00007fbab87d858e 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 = {140439693948672, -6263554187239404419, 140735312604990, > 140735312604991, 140735312605120, 140439693946368, 6225723479152348285, 6225683721441594493}, > mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, > canceltype = 0}}} > not_first_call = <optimized out> >#8 0x00007fbab8707513 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 >No locals. > >Thread 3 (Thread 0x7fbaaa920700 (LWP 1159)): >#0 0x00007fbab86fc301 in __GI___poll (fds=0x55882f5bda90, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 > resultvar = 18446744073709551100 > sc_cancel_oldtype = 0 > sc_ret = <optimized out> >#1 0x00007fbab88fe5a6 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x55882f5bda90, timeout=<optimized out>, context=0x55882f5bb3f0) at gmain.c:4221 > ret = <optimized out> > errsv = <optimized out> > poll_func = 0x7fbab890e0f0 <g_poll> > poll_func = <optimized out> > ret = <optimized out> > errsv = <optimized out> >#2 g_main_context_iterate (context=0x55882f5bb3f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3915 > max_priority = 2147483647 > timeout = -1 > some_ready = <optimized out> > nfds = 2 > allocated_nfds = 2 > fds = 0x55882f5bda90 >#3 0x00007fbab88fe962 in g_main_loop_run (loop=0x55882f5bb530) at gmain.c:4116 > self = <optimized out> > __func__ = "g_main_loop_run" >#4 0x00007fbab8af874a in gdbus_shared_thread_func (user_data=0x55882f5bb3c0) at gdbusprivate.c:275 > data = 0x55882f5bb3c0 >#5 0x00007fbab892748a in g_thread_proxy (data=0x55882f57b540) at gthread.c:784 > thread = 0x55882f57b540 > __func__ = "g_thread_proxy" >#6 0x00007fbab87d858e 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 = {140439702341376, -6263554187239404419, 140735312604254, 140735312604255, 140735312604384, 140439702339072, 6225724579200846973, 6225683721441594493}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} > not_first_call = <optimized out> >#7 0x00007fbab8707513 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 >No locals. > >Thread 2 (Thread 0x7fbaab121700 (LWP 1158)): >#0 0x00007fbab86fc301 in __GI___poll (fds=0x55882f5abc70, nfds=2, timeout=100) at ../sysdeps/unix/sysv/linux/poll.c:29 > resultvar = 18446744073709551100 > sc_cancel_oldtype = 0 > sc_ret = <optimized out> >#1 0x00007fbab88fe5a6 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x55882f5abc70, timeout=<optimized out>, context=0x55882f5afb10) at gmain.c:4221 > ret = <optimized out> > errsv = <optimized out> > poll_func = 0x7fbab890e0f0 <g_poll> > poll_func = <optimized out> > ret = <optimized out> > errsv = <optimized out> >#2 g_main_context_iterate (context=context@entry=0x55882f5afb10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3915 > max_priority = 2147483647 > timeout = 100 > some_ready = <optimized out> > nfds = 2 > allocated_nfds = 2 > fds = 0x55882f5abc70 >#3 0x00007fbab88fe6d0 in g_main_context_iteration (context=0x55882f5afb10, may_block=may_block@entry=1) at gmain.c:3981 > retval = <optimized out> >#4 0x00007fbab88fe721 in glib_worker_main (data=<optimized out>) at gmain.c:5861 >No locals. >#5 0x00007fbab892748a in g_thread_proxy (data=0x55882f57b4a0) at gthread.c:784 > thread = 0x55882f57b4a0 > __func__ = "g_thread_proxy" >#6 0x00007fbab87d858e 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 = {140439710734080, -6263554187239404419, 140735312603854, 140735312603855, 140735312603984, 140439710731776, 6225721272612899965, 6225683721441594493}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} > not_first_call = <optimized out> >#7 0x00007fbab8707513 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 >No locals. > >Thread 1 (Thread 0x7fbab80c5200 (LWP 1152)): >#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 > set = {__val = {0, 140439935825699, 94043404246688, 0, 140439935830224, 0, 895, 0, 0, 281470681751456, 0, 0, 0, 0, 0, 0}} > pid = <optimized out> > tid = <optimized out> > ret = <optimized out> >#1 0x00007fbab862c895 in __GI_abort () at abort.c:79 > save_stage = 1 > act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 0, 0, 0, 0, 31, 1, 10, 94043399055264, 94043404246800, 94043402902288, 94043402681328, 140439934503657, 140439935825568, 140439934504643, 140439935825568}}, sa_flags = -1424259756, sa_restorer = 0x55882f64e738} > sigs = {__val = {32, 0 <repeats 15 times>}} >#2 0x00007fbaab1b2e9b in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95 > terminating = true > t = <optimized out> >#3 0x00007fbaab1b92fc in __cxxabiv1::__terminate(void (*)()) () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47 >No locals. >#4 0x00007fbaab1b9357 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57 >No locals. >#5 0x00007fbaab1b95b8 in __cxxabiv1::__cxa_throw (obj=obj@entry=0x55882fb41f10, tinfo=tinfo@entry=0x7fbaa984af18 <typeinfo for SQLite3::LibException>, dest=dest@entry=0x7fbaa9767c40 <SQLite3::LibException::~LibException()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:95 > globals = <optimized out> > header = 0x55882fb41e90 >#6 0x00007fbaa97469c2 in SQLite3::exec (sql=0x7fbaa98150c8 "PRAGMA journal_mode = TRUNCATE; PRAGMA locking_mode = DEFAULT; PRAGMA foreign_keys = ON;", this=<optimized out>) at /usr/include/c++/8/ext/new_allocator.h:86 > result = 5 > result = <optimized out> >#7 SQLite3::open (this=<optimized out>) at /usr/src/debug/libdnf-0.19.1-3.fc29.x86_64/libdnf/utils/sqlite3/Sqlite3.cpp:35 > result = <optimized out> >#8 0x00007fbaa978b56e in SQLite3::SQLite3 (dbPath="/var/lib/dnf/history.sqlite", this=0x55882f9f9b00) at /usr/src/debug/libdnf-0.19.1-3.fc29.x86_64/libdnf/transaction/../transaction/../utils/sqlite3/Sqlite3.hpp:334 >No locals. >#9 __gnu_cxx::new_allocator<SQLite3>::construct<SQLite3, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> (this=<optimized out>, __p=0x55882f9f9b00) at /usr/include/c++/8/ext/new_allocator.h:136 >No locals. >#10 std::allocator_traits<std::allocator<SQLite3> >::construct<SQLite3, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> (__a=..., __p=0x55882f9f9b00) at /usr/include/c++/8/bits/alloc_traits.h:475 >No locals. >#11 std::_Sp_counted_ptr_inplace<SQLite3, std::allocator<SQLite3>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> (__a=..., this=0x55882f9f9af0) at /usr/include/c++/8/bits/shared_ptr_base.h:543 >No locals. >#12 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<SQLite3, std::allocator<SQLite3>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> (__a=..., this=<optimized out>) at /usr/include/c++/8/bits/shared_ptr_base.h:656 > __a2 = <optimized out> > __guard = <optimized out> > __mem = 0x55882f9f9af0 >#13 std::__shared_ptr<SQLite3, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<SQLite3>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> (__a=..., __tag=..., this=<optimized out>) at /usr/include/c++/8/bits/shared_ptr_base.h:1322 >No locals. >#14 std::shared_ptr<SQLite3>::shared_ptr<std::allocator<SQLite3>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> (__a=..., __tag=..., this=<optimized out>) at /usr/include/c++/8/bits/shared_ptr.h:360 >No locals. >#15 std::allocate_shared<SQLite3, std::allocator<SQLite3>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> (__a=...) at /usr/include/c++/8/bits/shared_ptr.h:707 >No locals. >#16 std::make_shared<SQLite3, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> () at /usr/include/c++/8/bits/shared_ptr.h:723 >No locals. >#17 libdnf::Swdb::Swdb(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () at /usr/src/debug/libdnf-0.19.1-3.fc29.x86_64/libdnf/transaction/Swdb.cpp:503 > found = <optimized out> > transformer = <optimized out> >#18 0x00007fbaa9765b0a in dnf_transaction_new () at /usr/include/c++/8/bits/basic_string.h:252 > transaction = 0x55882f58eab0 > priv = 0x55882f58ea20 >#19 0x00007fbaa9910766 in pk_backend_job_set_context () at pk-backend-dnf.c:470 > job_data = 0x55882fa36700 > value = <optimized out> >#20 0x00007fbaa991782e in pk_backend_get_update_detail () at pk-backend-dnf.c:3854 > priv = 0x55882f5de760 > error = 0x0 >#21 0x000055882e24e11b in pk_transaction_run () at pk-transaction.c:1894 > error = 0x0 > exit_status = <optimized out> > priv = 0x55882f9c3a90 > __func__ = "pk_transaction_run" >#22 0x000055882e265e74 in pk_scheduler_run_idle_cb (item=item@entry=0x558830129cc0) at pk-scheduler.c:308 > ret = <optimized out> >#23 0x00007fbab88fab7b in g_idle_dispatch (source=0x55882fa36690, callback=0x55882e265e50 <pk_scheduler_run_idle_cb>, user_data=0x558830129cc0) at gmain.c:5620 > again = <optimized out> >#24 0x00007fbab88fe26d in g_main_dispatch (context=0x55882f5786b0) at gmain.c:3182 > dispatch = 0x7fbab88fab60 <g_idle_dispatch> > prev_source = 0x0 > was_in_call = 0 > user_data = 0x558830129cc0 > callback = 0x55882e265e50 <pk_scheduler_run_idle_cb> > cb_funcs = 0x7fbab89cd280 <g_source_callback_funcs> > cb_data = 0x55882f847e70 > need_destroy = <optimized out> > source = 0x55882fa36690 > current = 0x55882f5bad60 > 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> >#25 g_main_context_dispatch (context=context@entry=0x55882f5786b0) at gmain.c:3847 >No locals. >#26 0x00007fbab88fe638 in g_main_context_iterate (context=0x55882f5786b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3920 > max_priority = 200 > timeout = 0 > some_ready = 1 > nfds = <optimized out> > allocated_nfds = 2 > fds = 0x55882f75f340 >#27 0x00007fbab88fe962 in g_main_loop_run (loop=0x55882f5787f0) at gmain.c:4116 > self = <optimized out> > __func__ = "g_main_loop_run" >#28 0x000055882e247b86 in main () at pk-main.c:256 > loop = 0x55882f5787f0 > context = <optimized out> > ret = <optimized out> > disable_timer = 0 > version = 0 > timed_exit = 0 > immediate_exit = 0 > keep_environment = 0 > exit_idle_time = 0 > timer_id = 0 > error = 0x0 > backend_name = 0x0 > conf_filename = 0x55882f576210 "/etc/PackageKit/PackageKit.conf" > conf = 0x55882f575000 > engine = 0x55882f57a1a0 > options = {{long_name = 0x55882e271ef6 "backend", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x7fff7e50b618, description = 0x55882e26b190 "Packaging backend to use, e.g. dummy", arg_description = 0x0}, {long_name = 0x55882e26b02b "disable-timer", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fff7e50b5fc, description = 0x55882e26b039 "Disable the idle timer", arg_description = 0x0}, {long_name = 0x55882e26b050 "version", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fff7e50b600, description = 0x55882e26b058 "Show version and exit", arg_description = 0x0}, {long_name = 0x55882e26b06e "timed-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fff7e50b604, description = 0x55882e26b079 "Exit after a small delay", arg_description = 0x0}, {long_name = 0x55882e26b092 "immediate-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fff7e50b608, description = 0x55882e26b1b8 "Exit after the engine has loaded", arg_description = 0x0}, {long_name = 0x55882e26b0a1 "keep-environment", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fff7e50b60c, description = 0x55882e26b1e0 "Don't clear environment on startup", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}} > __func__ = "main" >#29 0x00007fbab862e413 in __libc_start_main (main=0x55882e247720 <main>, argc=1, argv=0x7fff7e50b8b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7e50b8a8) at ../csu/libc-start.c:308 > self = <optimized out> > result = <optimized out> > unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 145028788861750397, 94043378056720, 140735312607408, 0, 0, 6263836407126510717, 6225683750250957949}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7fff7e50b8c8, 0x7fbab8da6150}, data = {prev = 0x0, cleanup = 0x0, canceltype = 2119219400}}} > not_first_call = <optimized out> >#30 0x000055882e247e3a in _start () at pk-main.c:260 >No symbol table info available. >quit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1631533
: 1485270