Bug 338928 - Clicking over a LibreOffice chart produces a high memory consumption
Summary: Clicking over a LibreOffice chart produces a high memory consumption
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrachart
Classification: Applications
Component: general (show other bugs)
Version: 2.8.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-09-08 23:36 UTC by Brallan Aguilar
Modified: 2018-11-30 04:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
LibreOffice Calc file where Calligra crashes (46.03 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-09-08 23:38 UTC, Brallan Aguilar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brallan Aguilar 2014-09-08 23:36:44 UTC
Application: calligrasheets (2.8.5)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.15.10-201.fc20.i686 i686
Distribution: "Fedora release 20 (Heisenbug)"

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

I create a file using LibreOffice including a pair of charts. Then I oppened with Calligra Sheets. A double-click over one of them increment memory consumption. Immediately I close Sheets and the crash was produced.  The first time that this bug appeared, I had to force restart my laptop (with 2GB memory RAM).

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Sheets (calligrasheets), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb77a97c0 (LWP 1996))]

Thread 3 (Thread 0xb11fdb40 (LWP 2002)):
#0  0xb77eeb1c in __kernel_vsyscall ()
#1  0x42849b66 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:245
#2  0x432c6193 in wait (time=30000, this=0xa241180) at thread/qwaitcondition_unix.cpp:84
#3  QWaitCondition::wait (this=this@entry=0xa23c780, mutex=mutex@entry=0xa245bd4, time=30000) at thread/qwaitcondition_unix.cpp:158
#4  0x432b8976 in QThreadPoolThread::run (this=0xa23c778) at concurrent/qthreadpool.cpp:142
#5  0x432c5bdb in QThreadPrivate::start (arg=0xa23c778) at thread/qthread_unix.cpp:349
#6  0x42845d7c in start_thread (arg=0xb11fdb40) at pthread_create.c:309
#7  0x4276f7ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xafdfcb40 (LWP 2003)):
#0  0xb77eeb1c in __kernel_vsyscall ()
#1  0x42849b66 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:245
#2  0x432c6193 in wait (time=30000, this=0xa250898) at thread/qwaitcondition_unix.cpp:84
#3  QWaitCondition::wait (this=this@entry=0xa239e28, mutex=mutex@entry=0xa245bd4, time=30000) at thread/qwaitcondition_unix.cpp:158
#4  0x432b8976 in QThreadPoolThread::run (this=0xa239e20) at concurrent/qthreadpool.cpp:142
#5  0x432c5bdb in QThreadPrivate::start (arg=0xa239e20) at thread/qthread_unix.cpp:349
#6  0x42845d7c in start_thread (arg=0xafdfcb40) at pthread_create.c:309
#7  0x4276f7ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb77a97c0 (LWP 1996)):
[KCrash Handler]
#7  0x4412e3b2 in vtable for QPaintDevice () from /lib/libQtGui.so.4
#8  0x46387f7e in qDeleteAll<QList<QWidget*>::const_iterator> (end=..., begin=...) at /usr/include/QtCore/qalgorithms.h:322
#9  qDeleteAll<QList<QWidget*> > (c=...) at /usr/include/QtCore/qalgorithms.h:330
#10 ~KoToolBasePrivate (this=0x8f28940, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.5/libs/flake/KoToolBase_p.h:61
#11 KoToolBase::~KoToolBase (this=0x8f28678, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.5/libs/flake/KoToolBase.cpp:52
#12 0xb488920b in KarbonGradientTool::~KarbonGradientTool (this=0x8f28678, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.5/karbon/plugins/tools/KarbonGradientTool.cpp:77
#13 0xb488924d in KarbonGradientTool::~KarbonGradientTool (this=0x8f28678, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.5/karbon/plugins/tools/KarbonGradientTool.cpp:80
#14 0x4639e6ed in KoToolManager::Private::detachCanvas (this=0x8ef8eb0, controller=controller@entry=0x8ef9104) at /usr/src/debug/calligra-2.8.5/libs/flake/KoToolManager.cpp:477
#15 0x4639eae9 in KoToolManager::removeCanvasController (this=0x8ef8e50, controller=controller@entry=0x8ef9104) at /usr/src/debug/calligra-2.8.5/libs/flake/KoToolManager.cpp:806
#16 0xb4d693f0 in Calligra::Sheets::View::~View (this=0x89cd918, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.5/sheets/part/View.cpp:680
#17 0xb4d6956d in Calligra::Sheets::View::~View (this=0x89cd918, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.8.5/sheets/part/View.cpp:687
#18 0x4a97e233 in KoMainWindow::setRootDocument (this=this@entry=0x8b48a60, doc=doc@entry=0x0, part=part@entry=0x0, deletePrevious=deletePrevious@entry=true) at /usr/src/debug/calligra-2.8.5/libs/main/KoMainWindow.cpp:578
#19 0x4a981fd3 in KoMainWindow::closeEvent (this=0x8b48a60, e=0xbfb0d570) at /usr/src/debug/calligra-2.8.5/libs/main/KoMainWindow.cpp:1165
#20 0x437ebcdd in QWidget::event (this=this@entry=0x8b48a60, event=event@entry=0xbfb0d570) at kernel/qwidget.cpp:8558
#21 0x43c3482c in QMainWindow::event (this=this@entry=0x8b48a60, event=event@entry=0xbfb0d570) at widgets/qmainwindow.cpp:1478
#22 0x44f2a1b6 in KMainWindow::event (this=this@entry=0x8b48a60, ev=ev@entry=0xbfb0d570) at /usr/src/debug/kdelibs-4.13.3/kdeui/widgets/kmainwindow.cpp:1084
#23 0x44f70472 in KXmlGuiWindow::event (this=0x8b48a60, ev=0xbfb0d570) at /usr/src/debug/kdelibs-4.13.3/kdeui/xmlgui/kxmlguiwindow.cpp:126
#24 0x4378db74 in QApplicationPrivate::notify_helper (this=0x89d90f8, receiver=0x8b48a60, e=0xbfb0d570) at kernel/qapplication.cpp:4565
#25 0x43794aa9 in QApplication::notify (this=this@entry=0xbfb0dadc, receiver=receiver@entry=0x8b48a60, e=e@entry=0xbfb0d570) at kernel/qapplication.cpp:4351
#26 0x4a94a179 in KoApplication::notify (this=0xbfb0dadc, receiver=0x8b48a60, event=0xbfb0d570) at /usr/src/debug/calligra-2.8.5/libs/main/KoApplication.cpp:617
#27 0x433e3226 in QCoreApplication::notifyInternal (this=0xbfb0dadc, receiver=receiver@entry=0x8b48a60, event=event@entry=0xbfb0d570) at kernel/qcoreapplication.cpp:953
#28 0x437e770a in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#29 QWidgetPrivate::close_helper (this=<optimized out>, mode=<optimized out>, mode@entry=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7955
#30 0x4380a371 in translateCloseEvent (this=0x8b48a60) at kernel/qapplication_x11.cpp:5481
#31 QApplication::x11ClientMessage (this=0xbfb0dadc, w=0x8b48a60, event=0xbfb0d74c, passive_only=false) at kernel/qapplication_x11.cpp:3177
#32 0x438188bf in QApplication::x11ProcessEvent (this=0xbfb0dadc, event=event@entry=0xbfb0d74c) at kernel/qapplication_x11.cpp:3802
#33 0x4384409b in x11EventSourceDispatch (s=s@entry=0x89db600, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#34 0x42a21556 in g_main_dispatch (context=0x89d1600) at gmain.c:3066
#35 g_main_context_dispatch (context=context@entry=0x89d1600) at gmain.c:3642
#36 0x42a21920 in g_main_context_iterate (context=context@entry=0x89d1600, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#37 0x42a219e9 in g_main_context_iteration (context=0x89d1600, may_block=1) at gmain.c:3774
#38 0x43414da4 in QEventDispatcherGlib::processEvents (this=this@entry=0x89a2e48, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#39 0x4384425c in QGuiEventDispatcherGlib::processEvents (this=0x89a2e48, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#40 0x433e1ac0 in QEventLoop::processEvents (this=this@entry=0xbfb0da14, flags=...) at kernel/qeventloop.cpp:149
#41 0x433e1e51 in QEventLoop::exec (this=this@entry=0xbfb0da14, flags=...) at kernel/qeventloop.cpp:204
#42 0x433e7c7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#43 0x4378be95 in QApplication::exec () at kernel/qapplication.cpp:3823
#44 0x4aa4e655 in kdemain (argc=2, argv=0xbfb0dbc4) at /usr/src/debug/calligra-2.8.5/sheets/part/Main.cpp:44
#45 0x0804872c in main (argc=2, argv=0xbfb0dbc4) at /usr/src/debug/calligra-2.8.5/i686-redhat-linux-gnu/sheets/calligrasheets_dummy.cpp:3

Reported using DrKonqi
Comment 1 Brallan Aguilar 2014-09-08 23:38:56 UTC
Created attachment 88622 [details]
LibreOffice Calc file where Calligra crashes
Comment 2 Inge Wallin 2014-09-09 23:37:02 UTC
Hi Brallan and thank you for the bug report.

I will take a look at this but I may not have time the next few days. I also moved the bug to the calligracharts product since charts are separate and are shared between all of the calligra applications.
Comment 3 Brallan Aguilar 2014-09-10 01:29:09 UTC
(In reply to Inge Wallin from comment #2)
> Hi Brallan and thank you for the bug report.
> 
> I will take a look at this but I may not have time the next few days. I also
> moved the bug to the calligracharts product since charts are separate and
> are shared between all of the calligra applications.

Hehehe, no problem. You are welcome!
Comment 4 Andrew Crouthamel 2018-10-31 04:08:11 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-15 10:48:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2018-11-30 04:01:42 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!