Bug 384737 - baloo_file crashes with malloc error "corrupted double-linked list"
Summary: baloo_file crashes with malloc error "corrupted double-linked list"
Status: RESOLVED FIXED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.38.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
: 384860 387641 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-15 09:11 UTC by Laurent Bonnaud
Modified: 2020-10-26 16:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Bonnaud 2017-09-15 09:11:46 UTC
Application: baloo_file (5.38.0)

Qt Version: 5.7.1
Frameworks Version: 5.38.0
Operating System: Linux 4.10.0-35-generic x86_64
Distribution: Ubuntu 17.04

-- Information about the crash:
- What I was doing when the application crashed:

I was trying snap apps (which creates a lot of files in ~/snap/) and then removed ~/snap/.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdc2bea7900 (LWP 2370))]

Thread 2 (Thread 0x7fdc20554700 (LWP 2385)):
#0  g_source_iter_next (iter=iter@entry=0x7fdc20553ad0, source=source@entry=0x7fdc20553ac8) at ../../../../glib/gmain.c:969
#1  0x00007fdc263f3a0b in g_main_context_prepare (context=context@entry=0x7fdc18000990, priority=priority@entry=0x7fdc20553b50) at ../../../../glib/gmain.c:3479
#2  0x00007fdc263f449b in g_main_context_iterate (context=context@entry=0x7fdc18000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3909
#3  0x00007fdc263f468c in g_main_context_iteration (context=0x7fdc18000990, may_block=1) at ../../../../glib/gmain.c:3990
#4  0x00007fdc2a68f0bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fdc2a638bea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fdc2a466f83 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fdc2b84a5d5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fdc2a46bc38 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fdc28cbb6da in start_thread (arg=0x7fdc20554700) at pthread_create.c:456
#10 0x00007fdc29a6fd7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fdc2bea7900 (LWP 2370)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#7  0x00007fdc2999e37a in __GI_abort () at abort.c:89
#8  0x00007fdc299e0090 in __libc_message (do_abort=2, fmt=fmt@entry=0x7fdc29af6000 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fdc299e80c3 in malloc_printerr (ar_ptr=0x7fdc29d28b00 <main_arena>, ptr=0x563d3e44e750, str=0x7fdc29af2b7b "corrupted double-linked list", action=<optimized out>) at malloc.c:5048
#10 malloc_consolidate (av=av@entry=0x7fdc29d28b00 <main_arena>) at malloc.c:4212
#11 0x00007fdc299eb62f in _int_malloc (av=av@entry=0x7fdc29d28b00 <main_arena>, bytes=bytes@entry=4096) at malloc.c:3487
#12 0x00007fdc299ed984 in __GI___libc_malloc (bytes=bytes@entry=4096) at malloc.c:2927
#13 0x00007fdc299d5342 in __GI__IO_file_doallocate (fp=0x7fdc29d29600 <_IO_2_1_stdout_>) at filedoalloc.c:101
#14 0x00007fdc299e4816 in __GI__IO_doallocbuf (fp=fp@entry=0x7fdc29d29600 <_IO_2_1_stdout_>) at genops.c:398
#15 0x00007fdc299e39e8 in _IO_new_file_overflow (f=0x7fdc29d29600 <_IO_2_1_stdout_>, ch=-1) at fileops.c:828
#16 0x00007fdc299e20dd in _IO_new_file_xsputn (f=0x7fdc29d29600 <_IO_2_1_stdout_>, data=<optimized out>, n=10) at fileops.c:1339
#17 0x00007fdc299b4996 in _IO_vfprintf_internal (s=0x7fdc29d29600 <_IO_2_1_stdout_>, format=0x7fdc2b1bdb6e "sock_file=%s\n", ap=ap@entry=0x7ffd04bdb158) at vfprintf.c:1320
#18 0x00007fdc29a7f7df in ___printf_chk (flag=1, format=<optimized out>) at printf_chk.c:35
#19 0x00007fdc2b1bb52a in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#20 0x00007fdc2b1bb99b in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#21 0x00007fdc2b1bc1b9 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#22 0x00007fdc2b1bc3c3 in KCrash::defaultCrashHandler(int) () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#23 <signal handler called>
#24 0x00007fdc2a4c9340 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x0000563d3c26e0cc in ?? ()
#26 0x0000563d3c26e1e6 in ?? ()
#27 0x0000563d3c26d7e8 in ?? ()
#28 0x0000563d3c26b599 in ?? ()
#29 0x00007fdc2a666afe in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x0000563d3c2729ff in ?? ()
#31 0x00007fdc2a666afe in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fdc2a6e042e in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fdc2a672c82 in QSocketNotifier::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fdc2a63abeb in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fdc2a68f54d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fdc263f4377 in g_main_dispatch (context=0x563d3e273240) at ../../../../glib/gmain.c:3203
#37 g_main_context_dispatch (context=context@entry=0x563d3e273240) at ../../../../glib/gmain.c:3856
#38 0x00007fdc263f45e0 in g_main_context_iterate (context=context@entry=0x563d3e273240, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3929
#39 0x00007fdc263f468c in g_main_context_iteration (context=0x563d3e273240, may_block=1) at ../../../../glib/gmain.c:3990
#40 0x00007fdc2a68f09f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fdc2a638bea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007fdc2a64133c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x0000563d3c255f42 in ?? ()
#44 0x00007fdc299873f1 in __libc_start_main (main=0x563d3c255ad0, argc=1, argv=0x7ffd04bdf598, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd04bdf588) at ../csu/libc-start.c:291
#45 0x0000563d3c25600a in _start ()

Possible duplicates by query: bug 381268, bug 381213, bug 375933, bug 375293, bug 371813.

Reported using DrKonqi
Comment 1 Nate Graham 2018-11-26 19:41:04 UTC
*** Bug 384860 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2018-11-26 19:41:10 UTC
*** Bug 387641 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2020-10-26 16:26:32 UTC
No duplicate bug reports seen in almost two years. After all the bugfixing work done during that time, I think we can call this fixed!