Bug 304916

Summary: freeze with instable connexion
Product: [Applications] kmail2 Reporter: BRULE Herman <alpha_one_x86>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: critical CC: fraph24, kdenis
Priority: NOR    
Version: 4.14.10   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description BRULE Herman 2012-08-10 10:00:32 UTC
Hello, I have frequently this freeze with my instable connexion (3g):
Thread 3 (Thread 0x7f16f2507700 (LWP 5615)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
No locals.
#1  0x00007f16fffeb3b4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
No symbol table info available.
#2  0x00007f1709aa1d0c in start_thread (arg=0x7f16f2507700) at pthread_create.c:301
        pd = 0x7f16f2507700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139736531367680, -106168909644595438, 139736923162016, 139736531368384, 139737006268416, 3, 48179846610779922, 47530394493746962}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        robust = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f170bc8bbed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
No locals.

Thread 2 (Thread 0x7f16f1c06700 (LWP 5616)):
#0  0x00007f170bc82d13 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = 18446744073709551100
        oldtype = 0
        result = <optimized out>
#1  0x00007f170412d6f6 in g_main_context_poll (n_fds=1, fds=0xf56ad0, timeout=-1, context=0x149eda0, priority=<optimized out>) at gmain.c:3440
        poll_func = 0x7f170413c090 <g_poll>
#2  g_main_context_iterate (context=0x149eda0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3141
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = <optimized out>
        fds = 0xf56ad0
#3  0x00007f170412d814 in g_main_context_iteration (context=0x149eda0, may_block=1) at gmain.c:3207
        retval = <optimized out>
#4  0x00007f170c60fc1f in QEventDispatcherGlib::processEvents (this=0x14a8090, flags=...) at kernel/qeventdispatcher_glib.cpp:424
        d = 0x14a8200
        canWait = true
        result = <optimized out>
#5  0x00007f170c5df5e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
        d = 0x146fce0
#6  0x00007f170c5df89d in QEventLoop::exec (this=0x7f16f1c05e00, flags=...) at kernel/qeventloop.cpp:204
        d = 0x146fce0
        locker = {val = 21664776}
        app = 0x7f16f1c05dc0
#7  0x00007f170c4db168 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
        d = 0x14a9380
        locker = {val = 21664776}
        eventLoop = {<QObject> = {_vptr.QObject = 0x7f170c938670, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f170c6bb000 "QObject", data = 0x7f170c6bb0a0, extradata = 0x7f170c935a00}}, static staticMetaObjectExtraData = {objects = 0x0, 
              static_metacall = 0x7f170c5f6b60 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, d_ptr = {d = 0x146fce0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f170c6c3ec0 "Qt", data = 0x7f170c6c77e0, 
                extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f170c935a20, stringdata = 0x7f170c6cd940 "QEventLoop", data = 0x7f170c6cd960, extradata = 0x7f170c938620}}, static staticMetaObjectExtraData = {objects = 0x0, 
            static_metacall = 0x7f170c641fd0 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}}
        returnCode = <optimized out>
#8  0x00007f170c4dd7eb in QThreadPrivate::start (arg=0x14a9360) at thread/qthread_unix.cpp:307
        thr = 0x14a9360
        data = 0x14a9480
#9  0x00007f1709aa1d0c in start_thread (arg=0x7f16f1c06700) at pthread_create.c:301
        pd = 0x7f16f1c06700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139736521926400, -106168909644595438, 140734740757504, 139736521927104, 139737006268416, 3, 48181084098232082, 47530394493746962}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        robust = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#10 0x00007f170bc8bbed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
No locals.
---Type <return> to continue, or q <return> to quit---

Thread 1 (Thread 0x7f170e982780 (LWP 5612)):
#0  0x00007f170bc82d13 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = 18446744073709551100
        oldtype = 0
        result = <optimized out>
#1  0x00007f170412d6f6 in g_main_context_poll (n_fds=7, fds=0x16e9b20, timeout=2083, context=0xf77d40, priority=<optimized out>) at gmain.c:3440
        poll_func = 0x7f170413c090 <g_poll>
#2  g_main_context_iterate (context=0xf77d40, block=1, dispatch=1, self=<optimized out>) at gmain.c:3141
        max_priority = 2147483647
        timeout = 2083
        some_ready = <optimized out>
        nfds = 7
        allocated_nfds = <optimized out>
        fds = 0x16e9b20
#3  0x00007f170412d814 in g_main_context_iteration (context=0xf77d40, may_block=1) at gmain.c:3207
        retval = <optimized out>
#4  0x00007f170c60fc1f in QEventDispatcherGlib::processEvents (this=0xf77ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
        d = 0x10883e0
        canWait = true
        result = <optimized out>
#5  0x00007f170cbb933e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
        d = 0x10883e0
        returnValue = 252
#6  0x00007f170c5df5e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
        d = 0x13799b0
#7  0x00007f170c5df89d in QEventLoop::exec (this=0x7fff5c3b3440, flags=...) at kernel/qeventloop.cpp:204
        d = 0x13799b0
        locker = {val = 15948072}
        app = 0x7fff5c3b3400
#8  0x00007f170c5e432b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
        threadData = 0xf357e0
        eventLoop = {<QObject> = {_vptr.QObject = 0x7f170c938670, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f170c6bb000 "QObject", data = 0x7f170c6bb0a0, extradata = 0x7f170c935a00}}, static staticMetaObjectExtraData = {objects = 0x0, 
              static_metacall = 0x7f170c5f6b60 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, d_ptr = {d = 0x13799b0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f170c6c3ec0 "Qt", data = 0x7f170c6c77e0, 
                extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f170c935a20, stringdata = 0x7f170c6cd940 "QEventLoop", data = 0x7f170c6cd960, extradata = 0x7f170c938620}}, static staticMetaObjectExtraData = {objects = 0x0, 
            static_metacall = 0x7f170c641fd0 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}}
        returnCode = <optimized out>
#9  0x00000000004033ae in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp-disk/portage/kde-base/kmail-4.8.4-r1/work/kmail-4.8.4/kmail/main.cpp:145
        about = {<KAboutData> = {d = 0xf59090}, <No data fields>}
        app = {<KontactInterface::PimUniqueApplication> = {<KUniqueApplication> = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x403fd0, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f170c6bb000 "QObject", 
                          data = 0x7f170c6bb0a0, extradata = 0x7f170c935a00}}, static staticMetaObjectExtraData = {objects = 0x0, static_metacall = 0x7f170c5f6b60 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, d_ptr = {d = 0x1088170}, 
                      static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f170c6c3ec0 "Qt", data = 0x7f170c6c77e0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f170c935a20, stringdata = 0x7f170c6cd9e0 "QCoreApplication", 
                        data = 0x7f170c6cda80, extradata = 0x7f170c938700}}, static staticMetaObjectExtraData = {objects = 0x0, static_metacall = 0x7f170c642120 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, 
                    static self = 0x7fff5c3b3570}, static staticMetaObject = {d = {superdata = 0x7f170c938720, stringdata = 0x7f170d194ee0 "QApplication", data = 0x7f170d195120, extradata = 0x7f170d5bd5c0}}, static staticMetaObjectExtraData = {objects = 0x0, 
                    static_metacall = 0x7f170cb179b0 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}}, static staticMetaObject = {d = {superdata = 0x7f170d5bd5e0, stringdata = 0x7f170e504be0 "KApplication", data = 0x7f170e504d80, 
                    extradata = 0x7f170e7a8ea0}}, static staticMetaObjectExtraData = {objects = 0x0, static_metacall = 0x7f170e394d80 <KApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, static loadedByKdeinit = false, 
                static KApp = 0x7fff5c3b3570, d = 0x112d410}, static staticMetaObject = {d = {superdata = 0x7f170e7a8ec0, stringdata = 0x7f170e5053e0 "KUniqueApplication", data = 0x7f170e5054e0, extradata = 0x7f170e7a9080}}, static staticMetaObjectExtraData = {
                objects = 0x0, static_metacall = 0x7f170e397bd0 <KUniqueApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, d = 0x11b13f0}, d = 0x1196d50}, mDelayedInstanceCreation = false, mEventLoopReached = true}
        kmailKernel = {<QObject> = {_vptr.QObject = 0x7f170da1a690, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f170c6bb000 "QObject", data = 0x7f170c6bb0a0, extradata = 0x7f170c935a00}}, static staticMetaObjectExtraData = {objects = 0x0, 
              static_metacall = 0x7f170c5f6b60 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, d_ptr = {d = 0x1273fc0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f170c6c3ec0 "Qt", data = 0x7f170c6c77e0, 
                extradata = 0x0}}}, <MailCommon::IKernel> = {_vptr.IKernel = 0x7f170da1a780}, <MailCommon::ISettings> = {_vptr.ISettings = 0x7f170da1a7e0}, <MailCommon::IFilter> = {_vptr.IFilter = 0x7f170da1a830}, static staticMetaObject = {d = {
              superdata = 0x7f170c935a20, stringdata = 0x7f170d7b6f60 "KMKernel", data = 0x7f170d7b7ca0, extradata = 0x7f170da1a640}}, static staticMetaObjectExtraData = {objects = 0x0, 
            static_metacall = 0x7f170d6e5850 <KMKernel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, the_undoStack = 0x1370380, mIdentityManager = 0xfbd580, the_msgSender = 0x136c4a0, the_previousVersion = {static null = {<No data fields>}, 
            static shared_null = {ref = {_q_value = 63063}, alloc = 0, size = 0, data = 0x7f170c93a8ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 36895}, alloc = 0, 
              size = 0, data = 0x7f170c93a8da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x12691c0, static codecForCStrings = 0x0}, the_firstStart = false, the_startingUp = false, the_shuttingDown = false, 
          closed_by_user = true, the_firstInstance = false, mConfig = {d = 0xf76290}, netCodec = 0xf44910, mXmlGuiInstance = {_vptr.KComponentData = 0x7f170e122850, d = 0x0}, mConfigureDialog = 0x0, mBackgroundTasksTimer = 0x136a7a0, mJobScheduler = 0xf9a390, 
          mWin = 0xf6a2e0, mMailService = 0x1269890, systemTrayApplets = {{p = {static shared_null = {ref = {_q_value = 53415}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xfe6c90}, d = 0xfe6c90}}, mFolderCollectionMonitor = 0xf7f810, 
          mEntityTreeModel = 0x1180fe0, mCollectionModel = 0x1251070, mResourcesBeingChecked = {{p = {static shared_null = {ref = {_q_value = 53415}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x2575c40}, d = 0x2575c40}}, mWrapCol = 78, 
          mFilterEditDialog = {o = 0x0}}
        ret = <optimized out>

Reproducible: Always
Comment 1 Francesco Frassinelli 2012-12-25 20:29:29 UTC
I've the same problem, over an unstable wifi connection.

Fedora 18 x86_64, KDE 4.10rc1 from http://kde-redhat.sourceforge.net/ (KDE unstable).
Comment 2 Denis Kurz 2016-09-24 18:18:01 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 3 BRULE Herman 2016-09-24 18:24:39 UTC
This bug remain present on 4.14 and with instable internet
Comment 4 Christophe Marin 2016-09-24 21:14:02 UTC
4.14 is now unmaintained. Retry with a recent version.
Comment 5 Denis Kurz 2017-01-07 23:08:16 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.