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

            Bug ID: 303223
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: kdepim-bugs@kde.org
           Summary: Kontact crashes when trying to print a journal
    Classification: Unclassified
                OS: Linux
          Reporter: boe...@skolelinux.no
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: kontact

Application: kontact (4.9 beta2)
KDE Platform Version: 4.8.90 (4.8.90)
Qt Version: 4.8.2
Operating System: Linux 3.5.0-3-generic x86_64
Distribution: Ubuntu quantal (development branch)

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

I tried to print a journal to a file.

A printing dialog with options for what data to print appeared when I pressed
the print button at the bottom of the journal. 

Yet another dialog appeared when I pressed the Print... button. When I pressed
the Print button in that dialog Kontact immediately crashed.

The output file exists but is empty.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd9d81667c0 (LWP 11696))]

Thread 6 (Thread 0x7fd9d05f9700 (LWP 11697)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd9e9724dec in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x7fd9ea0edde0) at wtf/FastMalloc.cpp:2495
#2  0x00007fd9e9724f19 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007fd9e4c23e9a in start_thread (arg=0x7fd9d05f9700) at
pthread_create.c:308
#4  0x00007fd9ea4554bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd9cfcf8700 (LWP 11698)):
#0  0x00007fd9ea449b03 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd9e4755b84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd9e4755ca4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd9eabc90b6 in QEventDispatcherGlib::processEvents
(this=0x7fd9c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd9eab996cf in QEventLoop::processEvents
(this=this@entry=0x7fd9cfcf7de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd9eab99958 in QEventLoop::exec (this=0x7fd9cfcf7de0, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007fd9eaa9ca50 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007fd9eaa9f9eb in QThreadPrivate::start (arg=0x1d92870) at
thread/qthread_unix.cpp:307
#8  0x00007fd9e4c23e9a in start_thread (arg=0x7fd9cfcf8700) at
pthread_create.c:308
#9  0x00007fd9ea4554bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd9820d6700 (LWP 11710)):
#0  0x00007fd9ea4480bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fd9e4790fcf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd9e4755709 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd9e4755b22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd9e4755ca4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd9eabc90b6 in QEventDispatcherGlib::processEvents
(this=0x7fd97c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fd9eab996cf in QEventLoop::processEvents
(this=this@entry=0x7fd9820d5db0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd9eab99958 in QEventLoop::exec (this=0x7fd9820d5db0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00007fd9eaa9ca50 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00007fd9eab79fbf in QInotifyFileSystemWatcherEngine::run (this=0x2803db0)
at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fd9eaa9f9eb in QThreadPrivate::start (arg=0x2803db0) at
thread/qthread_unix.cpp:307
#11 0x00007fd9e4c23e9a in start_thread (arg=0x7fd9820d6700) at
pthread_create.c:308
#12 0x00007fd9ea4554bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd978e6b700 (LWP 11733)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd9eaa9feeb in wait (time=18446744073709551615, this=0x50ee690) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x50ee370,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd9eba69876 in QFileInfoGatherer::run (this=0x50ee360) at
dialogs/qfileinfogatherer.cpp:214
#4  0x00007fd9eaa9f9eb in QThreadPrivate::start (arg=0x50ee360) at
thread/qthread_unix.cpp:307
#5  0x00007fd9e4c23e9a in start_thread (arg=0x7fd978e6b700) at
pthread_create.c:308
#6  0x00007fd9ea4554bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd973fff700 (LWP 11734)):
#0  0x00007fd9e4c25f69 in __pthread_mutex_lock (mutex=0x7fd96c000a60) at
pthread_mutex_lock.c:92
#1  0x00007fd9e4791c71 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd9e47553c9 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd9e4755aab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd9e4755ca4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd9eabc90b6 in QEventDispatcherGlib::processEvents
(this=0x7fd96c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fd9eab996cf in QEventLoop::processEvents
(this=this@entry=0x7fd973ffedb0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd9eab99958 in QEventLoop::exec (this=0x7fd973ffedb0, flags=...) at
kernel/qeventloop.cpp:204
#8  0x00007fd9eaa9ca50 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#9  0x00007fd9eab79fbf in QInotifyFileSystemWatcherEngine::run (this=0x50ee1f0)
at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fd9eaa9f9eb in QThreadPrivate::start (arg=0x50ee1f0) at
thread/qthread_unix.cpp:307
#11 0x00007fd9e4c23e9a in start_thread (arg=0x7fd973fff700) at
pthread_create.c:308
#12 0x00007fd9ea4554bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd9d81667c0 (LWP 11696)):
[KCrash Handler]
#6  CalendarSupport::Calendar::itemIdForIncidenceUid (this=this@entry=0x0,
uid=...) at ../../calendarsupport/calendar.cpp:1043
#7  0x00007fd9cd8274df in CalendarSupport::Calendar::itemForIncidenceUid
(this=0x0, uid=...) at ../../calendarsupport/calendar.cpp:1054
#8  0x00007fd97ab57503 in CalPrintIncidence::print (this=0x5022b50, p=...,
width=729, height=1059) at
../../korganizer/printing/calprintdefaultplugins.cpp:477
#9  0x00007fd97ab6cd73 in CalPrintPluginBase::doPrint (this=0x5022b50,
printer=<optimized out>) at
../../korganizer/printing/calprintpluginbase.cpp:169
#10 0x00007fd97ab6993e in CalPrinter::doPrint (this=this@entry=0x7fffd6e4a610,
selectedStyle=0x5022b50,
dlgorientation=dlgorientation@entry=CalPrinter::eOrientPrinter,
preview=preview@entry=false) at ../../korganizer/printing/calprinter.cpp:162
#11 0x00007fd97ab6b8fb in CalPrinter::print (this=0x7fffd6e4a610, type=100,
fd=..., td=..., selectedIncidences=..., preview=<optimized out>) at
../../korganizer/printing/calprinter.cpp:118
#12 0x00007fd97ab81929 in JournalView::printItem (this=0x4a51aa0) at
../../korganizer/views/journalview/journalview.cpp:258
#13 0x00007fd9eabb036f in QMetaObject::activate (sender=0x4a57c80, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffd6e4a7a0) at
kernel/qobject.cpp:3547
#14 0x00007fd9ebbe4d72 in QAbstractButton::clicked (this=<optimized out>,
_t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#15 0x00007fd9eb9378de in QAbstractButtonPrivate::emitClicked
(this=this@entry=0x4a4f0f0) at widgets/qabstractbutton.cpp:548
#16 0x00007fd9eb938110 in QAbstractButtonPrivate::click
(this=this@entry=0x4a4f0f0) at widgets/qabstractbutton.cpp:541
#17 0x00007fd9eb93837c in QAbstractButton::mouseReleaseEvent (this=0x4a57c80,
e=0x7fffd6e4b040) at widgets/qabstractbutton.cpp:1123
#18 0x00007fd9eb5c9690 in QWidget::event (this=0x4a57c80, event=0x7fffd6e4b040)
at kernel/qwidget.cpp:8371
#19 0x00007fd9eb579d9c in QApplicationPrivate::notify_helper
(this=this@entry=0x1b5d9c0, receiver=receiver@entry=0x4a57c80,
e=e@entry=0x7fffd6e4b040) at kernel/qapplication.cpp:4556
#20 0x00007fd9eb57ea6b in QApplication::notify (this=<optimized out>,
receiver=0x4a57c80, e=0x7fffd6e4b040) at kernel/qapplication.cpp:4099
#21 0x00007fd9ec282f76 in KApplication::notify (this=0x7fffd6e4bd20,
receiver=0x4a57c80, event=0x7fffd6e4b040) at
../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fd9eab9a97e in QCoreApplication::notifyInternal
(this=0x7fffd6e4bd20, receiver=0x4a57c80, event=0x7fffd6e4b040) at
kernel/qcoreapplication.cpp:915
#23 0x00007fd9eb57abd3 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=0x4a57c80,
event=0x7fffd6e4b040, alienWidget=0x4a57c80, nativeWidget=0x3cb4910,
buttonDown=0x7fd9ec0572e8, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3167
#25 0x00007fd9eb5f8384 in QETWidget::translateMouseEvent
(this=this@entry=0x3cb4910, event=event@entry=0x7fffd6e4b7c0) at
kernel/qapplication_x11.cpp:4617
#26 0x00007fd9eb5f727f in QApplication::x11ProcessEvent (this=0x7fffd6e4bd20,
event=0x7fffd6e4b7c0) at kernel/qapplication_x11.cpp:3732
#27 0x00007fd9eb61ede2 in x11EventSourceDispatch (s=0x1b72200, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007fd9e47558b5 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fd9e4755be8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fd9e4755ca4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fd9eabc9096 in QEventDispatcherGlib::processEvents (this=0x1b28c10,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007fd9eb61ea5e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fd9eab996cf in QEventLoop::processEvents
(this=this@entry=0x7fffd6e4bb90, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fd9eab99958 in QEventLoop::exec (this=0x7fffd6e4bb90, flags=...) at
kernel/qeventloop.cpp:204
#35 0x00007fd9eab9eb18 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1187
#36 0x0000000000403399 in main (argc=1, argv=0x7fffd6e4be68) at
../../../kontact/src/main.cpp:218

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to