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

            Bug ID: 507241
           Summary: akonadi_imap_resource crashes with SIGTRAP in
                    QThread::exec() even when unused
    Classification: Frameworks and Libraries
           Product: Akonadi
      Version First 6.4.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: IMAP resource
          Assignee: kdepim-bugs@kde.org
          Reporter: bandhanpramanik06.f...@gmail.com
                CC: c...@carlschwan.eu
  Target Milestone: ---

SUMMARY
akonadi_imap_resource crashes with SIGTRAP in QThread::exec(), triggered while
system is idle (e.g. playing Minecraft)

STEPS TO REPRODUCE
1. Play Minecraft
2. Keep on playing Minecraft
3. Wait

OBSERVED RESULT
System was lagging a bit (while I was in Minecraft screen), couldn't observe
what happened to plasmashell

EXPECTED RESULT
System was expected to go on normally

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.6-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-6006U CPU @ 2.00GHz
Memory: 12 GiB of RAM (11.6 GiB usable)
Graphics Processor: Intel® HD Graphics 520

ADDITIONAL INFORMATION

First backtrace (00:39:07)

#0  g_log_structured_array (log_level=log_level@entry=G_LOG_LEVEL_ERROR,
fields=fields@entry=0x7f957643b3e0, n_fields=4) at ../glib/gmessages.c:431
431         G_BREAKPOINT ();
[Current thread is 1 (Thread 0x7f957643c6c0 (LWP 240140))]
(gdb) bt full
#0  g_log_structured_array (log_level=log_level@entry=G_LOG_LEVEL_ERROR,
fields=fields@entry=0x7f957643b3e0, n_fields=4) at ../glib/gmessages.c:431
        writer_func = <optimized out>
        writer_user_data = <optimized out>
        recursion = <optimized out>
        depth = <optimized out>
        _g_boolean_var_21 = <optimized out>
#1  0x00007f9807c37e47 in g_log_default_handler
    (log_domain=log_domain@entry=0x7f9807d135d2 "GLib",
log_level=log_level@entry=6, message=message@entry=0x7f9790370a50 "Creating
pipes for GWakeup: Too many open files", unused_data=unused_data@entry=0x0) at
../glib/gmessages.c:3436
        fields = {{key = 0x7f9807d155c2 "GLIB_OLD_LOG_API", value =
0x7f9807d15003, length = -1}, {key = 0x7f9807d154d1 "MESSAGE", value =
0x7f9790370a50, length = -1}, {key = 0x7f9807d154d9 "PRIORITY", value =
0x7f9807d15482, length = -1}, {key = 0x7f9807d154e2 "GLIB_DOMAIN", value =
0x7f9807d135d2, length = -1}}
        n_fields = <optimized out>
#2  0x00007f9807c324b7 in g_logv (log_domain=0x7f9807d135d2 "GLib",
log_level=G_LOG_LEVEL_ERROR, format=<optimized out>,
args=args@entry=0x7f957643b540)
    at ../glib/gmessages.c:1260
        domain = 0x0
        data = 0x0
        depth = <optimized out>
        log_func = 0x7f9807c37d70 <g_log_default_handler>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = 0
        test_level = <optimized out>
        was_fatal = 0
        was_recursion = 0
        buffer = {<optimized out> <repeats 1025 times>}
        msg_alloc = 0x7f9790370a50 "Creating pipes for GWakeup: Too many open
files"
        msg = 0x7f9790370a50 "Creating pipes for GWakeup: Too many open files"
        i = 2
        size = <optimized out>
#3  0x00007f9807c32833 in g_log (log_domain=<optimized out>,
log_level=<optimized out>, format=<optimized out>) at ../glib/gmessages.c:1329
        args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area =
0x7f957643b620, reg_save_area = 0x7f957643b560}}
#4  0x00007f9807c89c7a in g_wakeup_new () at ../glib/gwakeup.c:162
        error = 0x7f9790371310
        wakeup = 0x7f9790371680
#5  0x00007f9807c29c51 in g_main_context_new_with_flags
(flags=G_MAIN_CONTEXT_FLAGS_NONE) at ../glib/gmain.c:670
        context = 0x7f9790382810
--Type <RET> for more, q to quit, c to continue without paging--c
        initialised = 1
#6  0x00007f98090100e9 in
QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate (this=0x7f9790272d00,
context=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:281
        app = 0x7fff92363050
        source = <optimized out>
        source = <optimized out>
        app = <optimized out>
#7  0x00007f98090101be in QEventDispatcherGlib::QEventDispatcherGlib
(this=this@entry=0x7f97900daa40, parent=parent@entry=0x0)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:334
#8  0x00007f9808ec4d0f in QThreadPrivate::createEventDispatcher
(data=data@entry=0x55c3d3e126e0)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:336
        isQtMainThread = <optimized out>
#9  0x00007f9808e26585 in QThreadData::createEventDispatcher
(this=this@entry=0x55c3d3e126e0)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread.cpp:82
        ed = <optimized out>
#10 0x00007f9808ec5c90 in QThreadData::ensureEventDispatcher
(this=0x55c3d3e126e0)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_p.h:345
        ed = <optimized out>
#11 operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:414
#12 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#13 QThreadPrivate::start (arg=0x55c3d3e126c0) at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
        __clframe = {__cancel_routine = <optimized out>, __cancel_arg =
0x55c3d3e126c0, __do_it = 1, __cancel_type = <optimized out>}
        thr = 0x55c3d3e126c0
        data = 0x55c3d3e126e0
#14 0x00007f9809e7f1d4 in start_thread (arg=<optimized out>) at
pthread_create.c:448
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140279911007936,
-4334146662968718089, 140279911007936, 140735646409952, 24, 140735646410215,
-4334146662591230729, -4341193125270385417}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#15 0x00007f9809f01cec in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Second backtrace (00:39:08, one second later)

#0  g_log_structured_array
    (log_level=log_level@entry=G_LOG_LEVEL_ERROR,
fields=fields@entry=0x7fd14b4453e0, n_fields=4) at ../glib/gmessages.c:431
        writer_func = <optimized out>
        writer_user_data = <optimized out>
        recursion = <optimized out>
        depth = <optimized out>
        _g_boolean_var_21 = <optimized out>
#1  0x00007fd3dd713e47 in g_log_default_handler
    (log_domain=log_domain@entry=0x7fd3dd7ef5d2 "GLib",
log_level=log_level@entry=6, message=message@entry=0x7fd36c215c20 "Creating
pipes for GWakeup: Too many open files", unused_data=unused_data@entry=0x0) at
../glib/gmessages.c:3436
        fields = {{key = 0x7fd3dd7f15c2 "GLIB_OLD_LOG_API", value =
0x7fd3dd7f1003, length = -1}, {key = 0x7fd3dd7f14d1 "MESSAGE", value =
0x7fd36c215c20, length = -1}, {key = 0x7fd3dd7f14d9 "PRIORITY", value =
0x7fd3dd7f1482, length = -1}, {key = 0x7fd3dd7f14e2 "GLIB_DOMAIN", value =
0x7fd3dd7ef5d2, length = -1}}
        n_fields = <optimized out>
#2  0x00007fd3dd70e4b7 in g_logv
    (log_domain=0x7fd3dd7ef5d2 "GLib", log_level=G_LOG_LEVEL_ERROR,
format=<optimized out>, args=args@entry=0x7fd14b445540) at
../glib/gmessages.c:1260
        domain = 0x0
        data = 0x0
        depth = <optimized out>
        log_func = 0x7fd3dd713d70 <g_log_default_handler>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = 0
        test_level = <optimized out>
        was_fatal = 0
        was_recursion = 0
        buffer = {<optimized out> <repeats 1025 times>}
        msg_alloc = 0x7fd36c215c20 "Creating pipes for GWakeup: Too many open
files"
        msg = 0x7fd36c215c20 "Creating pipes for GWakeup: Too many open files"
        i = 2
        size = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--c
#3  0x00007fd3dd70e833 in g_log
    (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized
out>) at ../glib/gmessages.c:1329
        args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area =
0x7fd14b445620, reg_save_area = 0x7fd14b445560}}
#4  0x00007fd3dd765c7a in g_wakeup_new () at ../glib/gwakeup.c:162
        error = 0x7fd36c16c720
        wakeup = 0x7fd36c390f90
#5  0x00007fd3dd705c51 in g_main_context_new_with_flags
    (flags=G_MAIN_CONTEXT_FLAGS_NONE) at ../glib/gmain.c:670
        context = 0x7fd36c23d320
        initialised = 1
#6  0x00007fd3dea100e9 in
QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate (this=0x7fd36c3a1a10,
context=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:281
        app = 0x7ffc3d934c50
        source = <optimized out>
        source = <optimized out>
        app = <optimized out>
#7  0x00007fd3dea101be in QEventDispatcherGlib::QEventDispatcherGlib
    (this=this@entry=0x7fd36c328df0, parent=parent@entry=0x0)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:334
#8  0x00007fd3de8c4d0f in QThreadPrivate::createEventDispatcher
    (data=data@entry=0x55f7db3819f0)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:336
        isQtMainThread = <optimized out>
#9  0x00007fd3de826585 in QThreadData::createEventDispatcher
    (this=this@entry=0x55f7db3819f0)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread.cpp:82
        ed = <optimized out>
#10 0x00007fd3de8c5c90 in QThreadData::ensureEventDispatcher
    (this=0x55f7db3819f0)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_p.h:345
        ed = <optimized out>
#11 operator() (__closure=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:414
#12 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#13 QThreadPrivate::start (arg=0x55f7db382990)
    at
/usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
        __clframe = {__cancel_routine = <optimized out>, __cancel_arg =
0x55f7db382990, __do_it = 1, __cancel_type = <optimized out>}
        thr = 0x55f7db382990
        data = 0x55f7db3819f0
#14 0x00007fd3df87f1d4 in start_thread (arg=<optimized out>)
    at pthread_create.c:448
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140536887666368,
2339634048089001442, 140536887666368, 140721341546720, 24, 140721341546983,
2339634047912840674, 2341068347697466850}, mask_was_saved = 0}}, priv = {pad =
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#15 0x00007fd3df901cec in __GI___clone3 ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to