[Bug 281980] New: Kmail crashes when saving several attached pictures

Arnaud B ucee053 at ee.ucl.ac.uk
Wed Sep 14 00:43:52 BST 2011


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

           Summary: Kmail crashes when saving several attached pictures
           Product: kmail2
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: ucee053 at ee.ucl.ac.uk


Application: kmail (1.13.6)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

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

This bug is reproducible. On a mail with several JPG attached, I click "save
as" for the first picture. Before the window to pick up the location appears
(takes 10 sec, not sure it's normal), I click "save as" for the following ones.
Kmail crashes. If I wait each time for the location prompt, it works ok.

- Custom settings of the application:

Accessing an imap server by TLS (plain authentification).

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7fbc42aa3840 (LWP 1757))]

Thread 4 (Thread 0x7fbc1ffff700 (LWP 1762)):
#0  0x00007fbc3f9f6f03 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbc378ff104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbc378ff9f2 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbc2eb30c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fbc379263e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbc3d5b3d8c in start_thread (arg=0x7fbc1ffff700) at
pthread_create.c:304
#6  0x00007fbc3fa0404d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbc19ba4700 (LWP 1784)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fbc3f99c80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fbc3f99a8d8 in __libc_free (mem=0x7fbc3fcad1c0) at malloc.c:3736
#3  0x00007fbc40353e57 in socketNotifierSourceCheck (source=0x18c2b00) at
kernel/qeventdispatcher_glib.cpp:92
#4  0x00007fbc378fe854 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbc378ff122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fbc378ff639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fbc403543ef in QEventDispatcherGlib::processEvents (this=0x152b1e0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007fbc40328882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fbc40328abc in QEventLoop::exec (this=0x7fbc19ba3d10, flags=...) at
kernel/qeventloop.cpp:201
#10 0x00007fbc4023f924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#11 0x00007fbc4030ac2f in QInotifyFileSystemWatcherEngine::run (this=0x18b0ba0)
at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007fbc40242175 in QThreadPrivate::start (arg=0x18b0ba0) at
thread/qthread_unix.cpp:320
#13 0x00007fbc3d5b3d8c in start_thread (arg=0x7fbc19ba4700) at
pthread_create.c:304
#14 0x00007fbc3fa0404d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbc193a3700 (LWP 3342)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fbc3f99c80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fbc3f99a8d8 in __libc_free (mem=0x7fbc3fcad1c0) at malloc.c:3736
#3  0x00007fbc40353e57 in socketNotifierSourceCheck (source=0x1c5e8e0) at
kernel/qeventdispatcher_glib.cpp:92
#4  0x00007fbc378fe854 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbc378ff122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fbc378ff639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fbc403543ef in QEventDispatcherGlib::processEvents (this=0x1d75b70,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007fbc40328882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fbc40328abc in QEventLoop::exec (this=0x7fbc193a2d10, flags=...) at
kernel/qeventloop.cpp:201
#10 0x00007fbc4023f924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#11 0x00007fbc4030ac2f in QInotifyFileSystemWatcherEngine::run (this=0x1c5ec50)
at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007fbc40242175 in QThreadPrivate::start (arg=0x1c5ec50) at
thread/qthread_unix.cpp:320
#13 0x00007fbc3d5b3d8c in start_thread (arg=0x7fbc193a3700) at
pthread_create.c:304
#14 0x00007fbc3fa0404d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbc42aa3840 (LWP 1757)):
[KCrash Handler]
#6  0x00007fbc3f951d05 in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fbc3f955ab6 in abort () at abort.c:92
#8  0x00007fbc3f98ad7b in __libc_message (do_abort=2, fmt=0x7fbc3fa73400 "***
glibc detected *** %s: %s: 0x%s ***\n") at
../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007fbc3f994bb6 in malloc_printerr (action=3, str=0x7fbc3fa739a8
"malloc(): smallbin double linked list corrupted", ptr=<value optimized out>)
at malloc.c:6283
#10 0x00007fbc3f997e78 in _int_malloc (av=0x7fbc3fcad1c0, bytes=<value
optimized out>) at malloc.c:4308
#11 0x00007fbc3f99a31e in __libc_malloc (bytes=40) at malloc.c:3660
#12 0x00007fbc4025faf1 in QListData::detach_grow (this=<value optimized out>,
idx=0x7fffe93376fc, num=<value optimized out>) at tools/qlist.cpp:85
#13 0x00007fbc4031079b in QList<QObject*>::detach_helper_grow (this=<value
optimized out>, i=2147483647, c=1) at
../../include/QtCore/../../src/corelib/tools/qlist.h:664
#14 0x00007fbc4031088d in QList<QObject*>::append (this=<value optimized out>,
t=@0x7fffe9337768) at ../../include/QtCore/../../src/corelib/tools/qlist.h:497
#15 0x00007fbc4033be06 in QObjectPrivate::setParent_helper (this=0x1f156f0,
o=0x1afd720) at kernel/qobject.cpp:2003
#16 0x00007fbc4033bfeb in QObject::QObject (this=0x125b210, dd=...,
parent=0x1afd720) at kernel/qobject.cpp:785
#17 0x00007fbc408427d0 in QLayout::QLayout (this=0x125b210, dd=<value optimized
out>, lay=0x0, w=0x1afd720) at kernel/qlayout.cpp:135
#18 0x00007fbc40823ce9 in QBoxLayout::QBoxLayout (this=0x125b210,
dir=QBoxLayout::TopToBottom, parent=0x1afd720) at kernel/qboxlayout.cpp:553
#19 0x00007fbc40824811 in QVBoxLayout::QVBoxLayout (this=0x125b210,
parent=<value optimized out>) at kernel/qboxlayout.cpp:1440
#20 0x00007fbc425773a3 in KHBox::KHBox (this=0x1afd720, parent=<value optimized
out>) at ../../kdeui/widgets/khbox.cpp:42
#21 0x00007fbc425bdd61 in KVBox::KVBox (this=0x1afd720, parent=<value optimized
out>) at ../../kdeui/widgets/kvbox.cpp:23
#22 0x00007fbc39cf8a9f in KPIM::TransactionItem::TransactionItem
(this=0x1afd720, parent=<value optimized out>, item=0x1c934c0, first=true) at
../../libkdepim/progressdialog.cpp:145
#23 0x00007fbc39cf9151 in KPIM::TransactionItemView::addTransactionItem
(this=0x16b1900, item=0x1c934c0, first=true) at
../../libkdepim/progressdialog.cpp:76
#24 0x00007fbc39cf94cd in KPIM::ProgressDialog::slotTransactionAdded
(this=0x16b1ed0, item=0x1c934c0) at ../../libkdepim/progressdialog.cpp:324
#25 0x00007fbc39cf9cb3 in KPIM::ProgressDialog::qt_metacall (this=0x16b1ed0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe9337bd0)
at ./progressdialog.moc:218
#26 0x00007fbc4033e5f8 in QMetaObject::activate (sender=0x161f200, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe9337bd0)
at kernel/qobject.cpp:3287
#27 0x00007fbc39cf6cbf in KPIM::ProgressManager::progressItemAdded (this=<value
optimized out>, _t1=0x1c934c0) at ./progressmanager.moc:258
#28 0x00007fbc39cf74ee in KPIM::ProgressManager::createProgressItemImpl
(this=0x161f200, parent=0x0, id=..., label=<value optimized out>, status=<value
optimized out>, cancellable=<value optimized out>, usesCrypto=true) at
../../libkdepim/progressmanager.cpp:190
#29 0x00007fbc41699c73 in createProgressItem (this=0x1a72940) at
../../libkdepim/progressmanager.h:331
#30 KMail::ImapJob::slotGetNextMessage (this=0x1a72940) at
../../kmail/imapjob.cpp:337
#31 0x00007fbc4169abf1 in KMail::ImapJob::init (this=0x1a72940,
jt=KMail::FolderJob::tGetMessage, sets=..., folder=0x0, msgList=...) at
../../kmail/imapjob.cpp:231
#32 0x00007fbc4163a0e8 in KMLoadPartsCommand::slotStart (this=0x1c8f490) at
../../kmail/kmcommands.cpp:2861
#33 0x00007fbc41653e86 in KMCommand::qt_metacall (this=0x1c8f490,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1a5fe80) at
./kmcommands.moc:92
#34 0x00007fbc416540c0 in KMLoadPartsCommand::qt_metacall (this=0x1c8f490,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1a5fe80) at
./kmcommands.moc:2135
#35 0x00007fbc4033d49a in QObject::event (this=0x1c8f490, e=<value optimized
out>) at kernel/qobject.cpp:1226
#36 0x00007fbc408179f4 in QApplicationPrivate::notify_helper (this=0xfb6280,
receiver=0x1c8f490, e=0x1c935e0) at kernel/qapplication.cpp:4462
#37 0x00007fbc4081c3ba in QApplication::notify (this=<value optimized out>,
receiver=0x1c8f490, e=0x1c935e0) at kernel/qapplication.cpp:4341
#38 0x00007fbc424c7866 in KApplication::notify (this=0x7fffe9338f30,
receiver=0x1c8f490, event=0x1c935e0) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00007fbc4032949c in QCoreApplication::notifyInternal
(this=0x7fffe9338f30, receiver=0x1c8f490, event=0x1c935e0) at
kernel/qcoreapplication.cpp:731
#40 0x00007fbc4032cc25 in sendEvent (receiver=0x0, event_type=0, data=0xf27b30)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0xf27b30) at kernel/qcoreapplication.cpp:1372
#42 0x00007fbc40354253 in sendPostedEvents (s=0xfb4dc0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=0xfb4dc0) at
kernel/qeventdispatcher_glib.cpp:277
#44 0x00007fbc378febcd in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fbc378ff3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fbc378ff639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fbc403543ef in QEventDispatcherGlib::processEvents (this=0xf27310,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#48 0x00007fbc408c14de in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007fbc40328882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007fbc40328abc in QEventLoop::exec (this=0x7fffe9338d70, flags=...) at
kernel/qeventloop.cpp:201
#51 0x00007fbc4032cecb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#52 0x0000000000403175 in main (argc=<value optimized out>, argv=<value
optimized out>) at ../../kmail/main.cpp:158

Possible duplicates by query: bug 279101, bug 274169, bug 272434, bug 265308,
bug 253841.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list