https://bugs.kde.org/show_bug.cgi?id=434926

Bernie Innocenti <ber...@codewiz.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ber...@codewiz.org
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #2 from Bernie Innocenti <ber...@codewiz.org> ---
I can reproduce this crash with baloo built out of git.
Happens every time I launch baloo_file:

[New Thread 0x7ffff16c5640 (LWP 1852)]

Thread 4 "Thread (pooled)" received signal SIGBUS, Bus error.
[Switching to Thread 0x7ffff16c5640 (LWP 1852)]
0x00007ffff75db86a in ?? () from /usr/lib/liblmdb.so
(gdb) bt
#0  0x00007ffff75db86a in ?? () from /usr/lib/liblmdb.so
#1  0x00007ffff75dec40 in ?? () from /usr/lib/liblmdb.so
#2  0x00007ffff75df644 in ?? () from /usr/lib/liblmdb.so
#3  0x00007ffff75dfc50 in mdb_get () from /usr/lib/liblmdb.so
#4  0x00007ffff7cdbe41 in Baloo::IdFilenameDB::get (this=0x7ffff16c46d0,
docId=562640780800)
    at /home/bernie/kde/src/baloo/src/engine/idfilenamedb.cpp:83
#5  0x00007ffff7cd10e6 in Baloo::DocumentUrlDB::get (this=0x7ffff16c4770,
docId=562640780800)
    at /home/bernie/kde/src/baloo/src/engine/documenturldb.cpp:172
#6  0x00007ffff7ceb572 in Baloo::Transaction::documentUrl (this=0x7ffff16c4a40,
id=562640780800)
    at /home/bernie/kde/src/baloo/src/engine/transaction.cpp:102
#7  0x00005555555819d5 in operator() (__closure=0x7fbfe8004eb0,
id=562640780800)
    at /home/bernie/kde/src/baloo/src/file/indexcleaner.cpp:40
#8  0x0000555555582372 in std::__invoke_impl<bool,
Baloo::IndexCleaner::run()::<lambda(quint64)>&, long long unsigned
int>(std::__invoke_other, struct {...} &) (__f=@0x7fbfe8004eb0: {__tr =
@0x7ffff16c4a40, __this = 0x5555556b1c50, __mimeDb = @0x7ffff16c49c0})
    at /usr/include/c++/11.1.0/bits/invoke.h:61
#9  0x0000555555582254 in std::__invoke_r<bool,
Baloo::IndexCleaner::run()::<lambda(quint64)>&, long long unsigned int>(struct
{...} &) (
    __fn=@0x7fbfe8004eb0: {__tr = @0x7ffff16c4a40, __this = 0x5555556b1c50,
__mimeDb = @0x7ffff16c49c0})
    at /usr/include/c++/11.1.0/bits/invoke.h:114
#10 0x000055555558211e in std::_Function_handler<bool(long long unsigned int),
Baloo::IndexCleaner::run()::<lambda(quint64)> >::_M_invoke(const std::_Any_data
&, unsigned long long &&) (__functor=
      @0x7ffff16c4a60: {_M_unused = {_M_object = 0x7fbfe8004eb0,
_M_const_object = 0x7fbfe8004eb0, _M_function_pointer = 0x7fbfe8004eb0,
_M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class *
const)) 0x7fbfe8004eb0, this adjustment 15}, _M_pod_data =
"\260N\000\350\277\177\000\000\017\000\000\000\000\000\000"},
__args#0=@0x7ffff16c48b0: 562640780800)
    at /usr/include/c++/11.1.0/bits/std_function.h:291
#11 0x00007ffff7cf4ebb in std::function<bool (unsigned long
long)>::operator()(unsigned long long) const (this=0x7ffff16c4a60, 
    __args#0=562640780800) at /usr/include/c++/11.1.0/bits/std_function.h:560
#12 0x00007ffff7cf316e in Baloo::WriteTransaction::removeRecursively(unsigned
long long, std::function<bool (unsigned long long)> const&)
    (this=0x7fbfe8004e10, parentId=562640780800, shouldDelete=
      @0x7ffff16c4a60: {<std::_Maybe_unary_or_binary_function<bool, unsigned
long long>> = {<std::unary_function<unsigned long long, bool>> = {<No data
fields>}, <No data fields>}, <std::_Function_base> = {static _M_max_size = 16,
static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x7fbfe8004eb0,
_M_const_object = 0x7fbfe8004eb0, _M_function_pointer = 0x7fbfe8004eb0,
_M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class *
const)) 0x7fbfe8004eb0, this adjustment 15}, _M_pod_data =
"\260N\000\350\277\177\000\000\017\000\000\000\000\000\000"}, _M_manager =
0x555555582124 <std::_Function_handler<bool(long long unsigned int),
Baloo::IndexCleaner::run()::<lambda(quint64)> >::_M_manager(std::_Any_data &,
const std::_Any_data &, std::_Manager_operation)>}, _M_invoker = 0x5555555820e7
<std::_Function_handler<bool(long long unsigned int),
Baloo::IndexCleaner::run()::<lambda(quint64)> >::_M_invoke(const std::_Any_data
&, unsigned long long &&)>}) at
/home/bernie/kde/src/baloo/src/engine/writetransaction.cpp:160
#13 0x0000555555582517 in Baloo::Transaction::removeRecursively(unsigned long
long, std::function<bool (unsigned long long)>) (
    this=0x7ffff16c4a40, parentId=562640780800, shouldDelete=
      {<std::_Maybe_unary_or_binary_function<bool, unsigned long long>> =
{<std::unary_function<unsigned long long, bool>> = {<No data fields>}, <No data
fields>}, <std::_Function_base> = {static _M_max_size = 16, static _M_max_align
= 8, _M_functor = {_M_unused = {_M_object = 0x7fbfe8004eb0, _M_const_object =
0x7fbfe8004eb0, _M_function_pointer = 0x7fbfe8004eb0, _M_member_pointer = (void
(std::_Undefined_class::*)(std::_Undefined_class * const)) 0x7fbfe8004eb0, this
adjustment 15}, _M_pod_data =
"\260N\000\350\277\177\000\000\017\000\000\000\000\000\000"}, _M_manager =
0x555555582124 <std::_Function_handler<bool(long long unsigned int),
Baloo::IndexCleaner::run()::<lambda(quint64)> >::_M_manager(std::_Any_data &,
const std::_Any_data &, std::_Manager_operation)>}, _M_invoker = 0x5555555820e7
<std::_Function_handler<bool(long long unsigned int),
Baloo::IndexCleaner::run()::<lambda(quint64)> >::_M_invoke(const std::_Any_data
&, unsigned long long &&)>})
    at /home/bernie/kde/src/baloo/src/engine/transaction.h:101
#14 0x0000555555581e2b in Baloo::IndexCleaner::run (this=0x5555556b1c50) at
/home/bernie/kde/src/baloo/src/file/indexcleaner.cpp:66
#15 0x00007ffff76c1332 in ?? () from /usr/lib/libQt5Core.so.5
#16 0x00007ffff76be02f in ?? () from /usr/lib/libQt5Core.so.5
#17 0x00007ffff601a259 in start_thread () from /usr/lib/libpthread.so.0
#18 0x00007ffff71935e3 in clone () from /usr/lib/libc.so.6
(gdb) 

Trying to figure out how to print QStrings from gdb to find out which file
triggers the crash...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to