https://bugs.kde.org/show_bug.cgi?id=467865
Bug ID: 467865 Summary: Realloc failure on certain files Classification: Frameworks and Libraries Product: frameworks-baloo Version: 5.104.0 Platform: openSUSE OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: Baloo File Daemon Assignee: baloo-bugs-n...@kde.org Reporter: aar...@doofus.org Target Milestone: --- Application: baloo_file_extractor (5.104.0) Qt Version: 5.15.8 Frameworks Version: 5.104.0 Operating System: Linux 5.14.21-150400.24.46-default x86_64 Windowing System: X11 Distribution: "openSUSE Leap 15.4" DrKonqi: 5.27.3 [KCrashBackend] -- Information about the crash: Baloo seems to crash when it hits large PDF files. Since this document is related to my work it cannot be shared, but I am seeing this happen frequently with large PDF files, often 5MB or more in size. The reporter is unsure if this crash is reproducible. -- Backtrace: Application: Baloo File Extractor (baloo_file_extractor), signal: Aborted Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0} [KCrash Handler] #6 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #7 0x00007f493b919355 in __GI_abort () at abort.c:79 #8 0x00007f493b95dae7 in __libc_message (action=do_abort, fmt=0x7f493ba857d8 "%s\n") at ../sysdeps/posix/libc_fatal.c:155 #9 0x00007f493b965b6a in malloc_printerr (str=0x7f493ba835c5 "realloc(): invalid pointer") at malloc.c:5347 #10 0x00007f493b96a1b4 in realloc_check (oldmem=0x7f08fe15f010, bytes=1312768, caller=<optimized out>) at hooks.c:291 #11 0x00007f493ae0f3f1 in mdb_midl_need (idp=idp@entry=0x5567999faff8, num=164096, num@entry=1) at midl.c:148 #12 0x00007f493ae071be in mdb_page_touch (mc=mc@entry=0x7ffd07b1ee70) at mdb.c:2370 #13 0x00007f493ae08cf4 in mdb_cursor_touch (mc=mc@entry=0x7ffd07b1ee70) at mdb.c:6308 #14 0x00007f493ae0be8e in mdb_cursor_put (mc=0x7ffd07b1ee70, key=0x7ffd07b1f250, data=0x7ffd07b1f260, flags=<optimized out>) at mdb.c:6442 #15 0x00007f493ae0eb1b in mdb_put (txn=0x5567999fafd0, dbi=2, key=key@entry=0x7ffd07b1f250, data=data@entry=0x7ffd07b1f260, flags=flags@entry=0) at mdb.c:8800 #16 0x00007f493cea6efc in Baloo::PostingDB::put (this=this@entry=0x7ffd07b1f350, term=..., list=...) at /usr/src/debug/baloo5-5.104.0-lp154.300.1.x86_64/src/engine/postingdb.cpp:67 #17 0x00007f493ceb84d4 in Baloo::WriteTransaction::commit (this=0x55679ccb42e0) at /usr/src/debug/baloo5-5.104.0-lp154.300.1.x86_64/src/engine/writetransaction.cpp:312 #18 0x00007f493ceaee0f in Baloo::Transaction::commit (this=0x5567b1481640) at /usr/src/debug/baloo5-5.104.0-lp154.300.1.x86_64/src/engine/transaction.cpp:272 #19 0x0000556797c311bc in Baloo::App::processNextFile (this=0x7ffd07b1f8d0) at /usr/src/debug/baloo5-5.104.0-lp154.300.1.x86_64/src/file/extractor/app.cpp:109 #20 0x00007f493c21e634 in QtPrivate::QSlotObjectBase::call (a=0x7ffd07b1f4a0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #21 QSingleShotTimer::timerEvent (this=0x5567aeeb1e60) at kernel/qtimer.cpp:320 #22 0x00007f493c210443 in QObject::event (this=0x5567aeeb1e60, e=0x7ffd07b1f5d0) at kernel/qobject.cpp:1369 #23 0x00007f493c1dc043 in QCoreApplication::notifyInternal2 (receiver=0x5567aeeb1e60, event=0x7ffd07b1f5d0) at kernel/qcoreapplication.cpp:1064 #24 0x00007f493c23de19 in QTimerInfoList::activateTimers (this=0x5567999339f0) at kernel/qtimerinfo_unix.cpp:643 #25 0x00007f493c23e619 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183 #26 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230 #27 0x00007f49387e282b in g_main_dispatch (context=0x556799762e00) at ../glib/gmain.c:3381 #28 g_main_context_dispatch (context=context@entry=0x556799762e00) at ../glib/gmain.c:4099 #29 0x00007f49387e2bd0 in g_main_context_iterate (context=context@entry=0x556799762e00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175 #30 0x00007f49387e2c5c in g_main_context_iteration (context=0x556799762e00, may_block=may_block@entry=1) at ../glib/gmain.c:4240 #31 0x00007f493c23e98c in QEventDispatcherGlib::processEvents (this=0x556799934190, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #32 0x00007f493c1da8aa in QEventLoop::exec (this=this@entry=0x7ffd07b1f820, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235 #33 0x00007f493c1e40e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375 #34 0x00007f493c62fa7c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870 #35 0x0000556797c2ded1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.104.0-lp154.300.1.x86_64/src/file/extractor/main.cpp:43 [Inferior 1 (process 3272508) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.