Bug 295138 - kmail-4.8.0 crashes on Ctrl-P
Summary: kmail-4.8.0 crashes on Ctrl-P
Status: RESOLVED DUPLICATE of bug 199780
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-01 14:40 UTC by Andreas K. Huettel
Modified: 2012-04-12 14:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.38 KB, text/plain)
2012-04-12 12:54 UTC, Andreas K. Huettel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Huettel 2012-03-01 14:40:57 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0 (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.1-gentoo-r2 x86_64
Distribution (Platform): Gentoo Packages

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

Press Ctrl-P to print an e-mail.
Note: **no** recent Cups restart as in "duplicates" from DrKonqui

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f385ce37760 (LWP 23402))]

Thread 6 (Thread 0x7f3842883700 (LWP 23403)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f38594288d4 in scavengerThread (this=0x7f3859dd5f40) at wtf/FastMalloc.cpp:2495
#2  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f3859dd5f40) at wtf/FastMalloc.cpp:1618
#3  0x00007f38547cfc5c in start_thread (arg=0x7f3842883700) at pthread_create.c:301
#4  0x00007f385a1339cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f3841f7a700 (LWP 23404)):
#0  0x00007f38535f4eb1 in g_main_context_iterate (context=0x7f385d9abc50, block=1, dispatch=1, self=<optimized out>) at gmain.c:3069
#1  0x00007f38535f5531 in g_main_context_iteration (context=0x7f385d9abc50, may_block=1) at gmain.c:3152
#2  0x00007f385b6a367e in QEventDispatcherGlib::processEvents (this=0x7f385d9ab9e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007f385b66b462 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f385b66b845 in QEventLoop::exec (this=0x7f3841f79e10, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007f385b5465f8 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#6  0x00007f385b549503 in QThreadPrivate::start (arg=0x7f385d9ab450) at thread/qthread_unix.cpp:298
#7  0x00007f38547cfc5c in start_thread (arg=0x7f3841f7a700) at pthread_create.c:301
#8  0x00007f385a1339cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f3831cef700 (LWP 13816)):
#0  0x00007f385a140770 in pthread_mutex_unlock (mutex=0x7f3861c7b438) at forward.c:184
#1  0x00007f38535f501c in g_main_context_poll (n_fds=1, fds=0x7f3861a9b0f0, timeout=-1, context=0x7f3861c7b430, priority=<optimized out>) at gmain.c:3401
#2  g_main_context_iterate (context=0x7f3861c7b430, block=1, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007f38535f5531 in g_main_context_iteration (context=0x7f3861c7b430, may_block=1) at gmain.c:3152
#4  0x00007f385b6a367e in QEventDispatcherGlib::processEvents (this=0x7f385db69960, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f385b66b462 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f385b66b845 in QEventLoop::exec (this=0x7f3831ceedc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f385b5465f8 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f385b6458f0 in QInotifyFileSystemWatcherEngine::run (this=0x7f385da5bcf0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f385b549503 in QThreadPrivate::start (arg=0x7f385da5bcf0) at thread/qthread_unix.cpp:298
#10 0x00007f38547cfc5c in start_thread (arg=0x7f3831cef700) at pthread_create.c:301
#11 0x00007f385a1339cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f3834586700 (LWP 14691)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f385b54a65b in wait (time=18446744073709551615, this=0x7f3861b08d00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f3862e6c790, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f385ae6cbc4 in QFileInfoGatherer::run (this=0x7f3862e6c780) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f385b549503 in QThreadPrivate::start (arg=0x7f3862e6c780) at thread/qthread_unix.cpp:298
#5  0x00007f38547cfc5c in start_thread (arg=0x7f3834586700) at pthread_create.c:301
#6  0x00007f385a1339cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f3821230700 (LWP 14692)):
#0  0x00007f385a140747 in pthread_mutex_lock (mutex=0x7f3862eccd48) at forward.c:182
#1  0x00007f38535f4914 in g_main_context_dispatch (context=0x7f3862eccd40) at gmain.c:3007
#2  0x00007f38535f5308 in g_main_context_iterate (context=0x7f3862eccd40, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#3  0x00007f38535f5531 in g_main_context_iteration (context=0x7f3862eccd40, may_block=1) at gmain.c:3152
#4  0x00007f385b6a367e in QEventDispatcherGlib::processEvents (this=0x7f385ee158a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f385b66b462 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f385b66b845 in QEventLoop::exec (this=0x7f382122fdc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f385b5465f8 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f385b6458f0 in QInotifyFileSystemWatcherEngine::run (this=0x7f385f734600) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f385b549503 in QThreadPrivate::start (arg=0x7f385f734600) at thread/qthread_unix.cpp:298
#10 0x00007f38547cfc5c in start_thread (arg=0x7f3821230700) at pthread_create.c:301
#11 0x00007f385a1339cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f385ce37760 (LWP 23402)):
[KCrash Handler]
#6  0x00007f385ab4918e in QCUPSSupport::printerOption (this=0x7f385fdeffb0, key=...) at painting/qcups.cpp:251
#7  0x00007f385ae134e3 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x7f3862e77670, index=<optimized out>) at dialogs/qprintdialog_unix.cpp:804
#8  0x00007f385ae141cd in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate (this=0x7f3862e77670, p=<optimized out>) at dialogs/qprintdialog_unix.cpp:711
#9  0x00007f385ae1451b in QUnixPrintWidget::QUnixPrintWidget (this=0x7f385eab4e50, printer=0x0, parent=<optimized out>) at dialogs/qprintdialog_unix.cpp:1036
#10 0x00007f385ae145c3 in QPrintDialogPrivate::init (this=<optimized out>) at dialogs/qprintdialog_unix.cpp:386
#11 0x00007f385ae14df3 in QPrintDialog::QPrintDialog (this=0x7f3862e35030, printer=0x7fffd672d1f0, parent=0x7f385df0e090) at dialogs/qprintdialog_unix.cpp:591
#12 0x00007f38383bec05 in MessageViewer::ViewerPrivate::slotPrintMsg (this=0x7f385deffbf0) at /opt/virtual/tmp-portage/portage/kde-base/kdepim-common-libs-4.8.0-r1/work/kdepim-common-libs-4.8.0/messageviewer/viewer_p.cpp:2192
#13 0x00007f383a214602 in KMail::MessageActions::slotPrintMsg (this=0x7f385df79ad0) at /opt/virtual/tmp-portage/portage/kde-base/kmail-4.8.0/work/kmail-4.8.0/kmail/messageactions.cpp:516
#14 0x00007f385b686343 in QMetaObject::activate (sender=0x7f385df98780, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd672d400) at kernel/qobject.cpp:3547
#15 0x00007f385a8de412 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#16 0x00007f385a8de6f3 in QAction::activate (this=0x7f385df98780, event=<optimized out>) at kernel/qaction.cpp:1257
#17 0x00007f385a8de86f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#18 0x00007f385c08c690 in KAction::event (this=<optimized out>, event=0x7fffd672dad0) at /opt/virtual/tmp-portage/portage/kde-base/kdelibs-4.8.0-r1/work/kdelibs-4.8.0/kdeui/actions/kaction.cpp:131
#19 0x00007f385a8e6994 in QApplicationPrivate::notify_helper (this=0x7f385d7c6c90, receiver=0x7f385df98780, e=0x7fffd672dad0) at kernel/qapplication.cpp:4550
#20 0x00007f385a8ebb5b in QApplication::notify (this=<optimized out>, receiver=0x7f385df98780, e=0x7fffd672dad0) at kernel/qapplication.cpp:4411
#21 0x00007f385c194a16 in KApplication::notify (this=0x7fffd672f0f0, receiver=0x7f385df98780, event=0x7fffd672dad0) at /opt/virtual/tmp-portage/portage/kde-base/kdelibs-4.8.0-r1/work/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#22 0x00007f385b66c97b in QCoreApplication::notifyInternal (this=0x7fffd672f0f0, receiver=0x7f385df98780, event=0x7fffd672dad0) at kernel/qcoreapplication.cpp:876
#23 0x00007f385a9225bb in sendEvent (event=0x7fffd672dad0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffd672e100) at kernel/qshortcutmap.cpp:879
#25 0x00007f385a923d26 in QShortcutMap::tryShortcutEvent (this=0x7f385d7c6db0, o=<optimized out>, e=0x7fffd672e100) at kernel/qshortcutmap.cpp:364
#26 0x00007f385a8ed61a in QApplication::notify (this=0x7fffd672f0f0, receiver=0x7f385df0e090, e=0x7fffd672e100) at kernel/qapplication.cpp:3974
#27 0x00007f385c194a16 in KApplication::notify (this=0x7fffd672f0f0, receiver=0x7f385df0e090, event=0x7fffd672e100) at /opt/virtual/tmp-portage/portage/kde-base/kdelibs-4.8.0-r1/work/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#28 0x00007f385b66c97b in QCoreApplication::notifyInternal (this=0x7fffd672f0f0, receiver=0x7f385df0e090, event=0x7fffd672e100) at kernel/qcoreapplication.cpp:876
#29 0x00007f385a9a1275 in QKeyMapper::sendKeyEvent (keyWidget=0x7f385df0e090, grab=<optimized out>, type=QEvent::KeyPress, code=80, modifiers=<optimized out>, text=..., autorepeat=false, count=1, nativeScanCode=33, nativeVirtualKey=112, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1866
#30 0x00007f385a9a171d in QKeyMapperPrivate::translateKeyEvent (this=<optimized out>, keyWidget=0x7f385df0e090, event=<optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1836
#31 0x00007f385a979863 in QApplication::x11ProcessEvent (this=0x7fffd672f0f0, event=0x7fffd672ecd0) at kernel/qapplication_x11.cpp:3513
#32 0x00007f385a9a5b02 in x11EventSourceDispatch (s=0x7f385d7ca6a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f38535f4ada in g_main_dispatch (context=0x7f385d7c9400) at gmain.c:2441
#34 g_main_context_dispatch (context=0x7f385d7c9400) at gmain.c:3011
#35 0x00007f38535f5308 in g_main_context_iterate (context=0x7f385d7c9400, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#36 0x00007f38535f5531 in g_main_context_iteration (context=0x7f385d7c9400, may_block=1) at gmain.c:3152
#37 0x00007f385b6a360f in QEventDispatcherGlib::processEvents (this=0x7f385d7c4670, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f385a9a56f6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f385b66b462 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f385b66b845 in QEventLoop::exec (this=0x7fffd672f020, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f385b670d1b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0x00007f385cea992a in main (argc=1, argv=0x7fffd672f718) at /opt/virtual/tmp-portage/portage/kde-base/kontact-4.8.0/work/kontact-4.8.0/kontact/src/main.cpp:218

Possible duplicates by query: bug 242472, bug 233890.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-03-08 21:52:03 UTC

*** This bug has been marked as a duplicate of bug 223809 ***
Comment 2 Andreas K. Huettel 2012-04-12 11:55:35 UTC
> *** This bug has been marked as a duplicate of bug 223809 ***

How can this be a duplicate of a bug that was *resolved* two years ago in kdepim *svn*? The crash was on kdepim-4.8.0 and still occurs on kdepim-4.8.2 !
Comment 3 Andreas K. Huettel 2012-04-12 12:54:48 UTC
Created attachment 70338 [details]
New crash information added by DrKonqi

kontact (4.8.2) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:

Try to print calendar month from dialog box.

-- Backtrace (Reduced):
#6  0x000002571ee93d0e in QCUPSSupport::printerOption (this=0x74f6d9f570, key=...) at painting/qcups.cpp:251
#7  0x000002571f15e363 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x74f6f816e0, index=<optimized out>) at dialogs/qprintdialog_unix.cpp:830
#8  0x000002571f15f04b in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate (this=0x74f6f816e0, p=<optimized out>) at dialogs/qprintdialog_unix.cpp:737
#9  0x000002571f15f39b in QUnixPrintWidget::QUnixPrintWidget (this=0x74f6e08ee0, printer=0x0, parent=<optimized out>) at dialogs/qprintdialog_unix.cpp:1062
#10 0x000002571f15f443 in QPrintDialogPrivate::init (this=<optimized out>) at dialogs/qprintdialog_unix.cpp:386
Comment 4 Christophe Marin 2012-04-12 14:39:58 UTC

*** This bug has been marked as a duplicate of bug 199780 ***