Bug 140906 - mailody hangs on losing connection to remote imap server if "no" is chosen
Summary: mailody hangs on losing connection to remote imap server if "no" is chosen
Status: RESOLVED INTENTIONAL
Alias: None
Product: mailody
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Tom Albers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-30 17:47 UTC by Dan Meltzer
Modified: 2007-01-30 20:06 UTC (History)
0 users

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 Dan Meltzer 2007-01-30 17:47:22 UTC
Version:           SVN 628417 (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          gcc version 4.1.1 (Gentoo 4.1.1-r3)  Configured with: /var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu 
OS:                Linux

If mailody loses connection to the remote imap server, and one chooses to not try and reconnect, mailody hangs.  Here is a mediocre backtrace, if it is necessary to have a more detailed one I can try to reproduce on my other box, which has everything built with debugging symbols

0x00002b5aabfa1442 in select () from /lib/libc.so.6
(gdb) bt
#0  0x00002b5aabfa1442 in select () from /lib/libc.so.6
#1  0x0000003c870a5621 in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#2  0x0000003c870fe28a in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#3  0x0000003c870fe16e in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#4  0x0000000000430170 in main (argc=1, argv=0x7fff01509988) at main.cpp:113
(gdb) thread apply full bt all
(gdb) thread apply all bt full

Thread 1 (Thread 47668433935472 (LWP 9224)):
#0  0x00002b5aabfa1442 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x0000003c870a5621 in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#2  0x0000003c870fe28a in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#3  0x0000003c870fe16e in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#4  0x0000000000430170 in main (argc=1, argv=0x7fff01509988) at main.cpp:113
        aboutData = {mAppName = 0x4a2d2d "mailody",
  mProgramName = 0x4a2d5c "Mailody", mVersion = 0x4a2d52 "0.4.0-rc2",
  mShortDescription = 0x4a2d3e "An IMAP mail client", mLicenseKey = 1,
  mCopyrightStatement = 0x4a2d90 "(c) 2006-2007 KovoKs & Frode M. Døving",
  mOtherText = 0x0, mHomepageAddress = 0x4a2d78 "http://www.mailody.net",
  mBugEmailAddress = 0x4a2d64 "submit@bugs.kde.org", mAuthorList = {
    sh = 0x5f5000}, mCreditList = {sh = 0x5f5060}, mLicenseText = 0x0,
  d = 0x5f50c0}
        cmdline = {{name = 0x4a2f2e "+[email]",
---Type <return> to continue, or q <return> to quit---
    description = 0x4a2f38 "Send a message to that address", def = 0x0}, {
    name = 0x0, description = 0x0, def = 0x0}}
        a = {<> = {<No data fields>}, <No data fields>}
        mailody = (class Mailody::MainWindow *) 0x65b9f0
#0  0x00002b5aabfa1442 in select () from /lib/libc.so.6
Comment 1 Frode M. Døving 2007-01-30 20:06:38 UTC
Sorted on IRC.
Not a crash/freeze.
It's more a lack of a re-connect action.

This will be implemented in the online/offline feature we have planed some time in the feature. We won't fix this separately.
For now, open and close the settings dialog will reconnect if not connected.