Bug 266481 - KmPlot crashes while writing a function
Summary: KmPlot crashes while writing a function
Status: RESOLVED WORKSFORME
Alias: None
Product: kmplot
Classification: Applications
Component: general (show other bugs)
Version: 1.2.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Klaus-Dieter M
URL:
Keywords:
: 266821 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-16 18:07 UTC by Martino
Modified: 2018-11-28 04:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martino 2011-02-16 18:07:54 UTC
Application: kmplot (1.2.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic i686
Distribution: Ubuntu 10.10

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

I was writing a particular algebric expression using the KmPlot calculator and it crashed when I asked for the result... It was an algebric expression with many exponential functions and I was using the e - costant... I was using the plotter too, I was studying a couple of graphics...

-- Backtrace:
Application: KmPlot (kmplot), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77d9710 (LWP 5551))]

Thread 2 (Thread 0xb7546b70 (LWP 5552)):
#0  0x00cb8416 in __kernel_vsyscall ()
#1  0x01843df6 in poll () from /lib/libc.so.6
#2  0x01954a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0194743c in ?? () from /lib/libglib-2.0.so.0
#4  0x01947ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x01bd06b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0196e48f in ?? () from /lib/libglib-2.0.so.0
#7  0x00843cc9 in start_thread () from /lib/libpthread.so.0
#8  0x0185269e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb77d9710 (LWP 5551)):
[KCrash Handler]
#7  0x01896f98 in ?? () from /lib/libc.so.6
#8  0x06dd9bc6 in QVector<Equation*>::realloc (this=0x972ba40, asize=160769776, aalloc=158513728) at //usr/include/bits/string3.h:52
#9  0x06e10e9e in detach_helper (this=0x940d0c4) at /usr/include/qt4/QtCore/qvector.h:325
#10 detach (this=0x940d0c4) at /usr/include/qt4/QtCore/qvector.h:134
#11 data (this=0x940d0c4) at /usr/include/qt4/QtCore/qvector.h:139
#12 operator[] (this=0x940d0c4) at /usr/include/qt4/QtCore/qvector.h:348
#13 Plot::updateFunction (this=0x940d0c4) at ../../../kmplot/kmplot/function.cpp:1034
#14 0x06e21fdc in View::updateCrosshairPosition (this=0x940d088) at ../../../kmplot/kmplot/view.cpp:3440
#15 0x06e22b35 in View::paintEvent (this=0x940d088) at ../../../kmplot/kmplot/view.cpp:2646
#16 0x00e42cc6 in QWidget::event (this=0x940d088, event=0xbfc43424) at kernel/qwidget.cpp:8333
#17 0x06e131eb in View::event (this=0x8f27c520, e=0x9a25fd0) at ../../../kmplot/kmplot/view.cpp:4204
#18 0x00de4fdc in QApplicationPrivate::notify_helper (this=0x92408b0, receiver=0x940d088, e=0xbfc43424) at kernel/qapplication.cpp:4396
#19 0x00deb0e9 in QApplication::notify (this=0xbfc44490, receiver=0x940d088, e=0xbfc43424) at kernel/qapplication.cpp:4361
#20 0x005d768a in KApplication::notify (this=0xbfc44490, receiver=0x940d088, event=0xbfc43424) at ../../kdeui/kernel/kapplication.cpp:310
#21 0x08d45b3b in QCoreApplication::notifyInternal (this=0xbfc44490, receiver=0x940d088, event=0xbfc43424) at kernel/qcoreapplication.cpp:732
#22 0x00e49ee6 in sendSpontaneousEvent (this=0x940dc58, pdev=0x94557d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x950f708) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0x940dc58, pdev=0x94557d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x950f708) at kernel/qwidget.cpp:5420
#24 0x00e4acff in QWidgetPrivate::paintSiblingsRecursive (this=0x93c1f30, pdev=0x94557d4, siblings=..., index=28, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x950f708) at kernel/qwidget.cpp:5627
#25 0x00e49c35 in QWidgetPrivate::drawWidget (this=0x93c1f30, pdev=0x94557d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x950f708) at kernel/qwidget.cpp:5473
#26 0x0103ac74 in QWidgetBackingStore::sync (this=0x950f708) at painting/qbackingstore.cpp:1328
#27 0x00e3c2b3 in QWidgetPrivate::syncBackingStore (this=0x93c1f30) at kernel/qwidget.cpp:1805
#28 0x00e43466 in QWidget::event (this=0x9386688, event=0x9722510) at kernel/qwidget.cpp:8480
#29 0x01283917 in QMainWindow::event (this=0x9386688, event=0x9722510) at widgets/qmainwindow.cpp:1417
#30 0x006cd8a4 in KMainWindow::event (this=0x9386688, ev=0x9722510) at ../../kdeui/widgets/kmainwindow.cpp:1100
#31 0x0071614f in KXmlGuiWindow::event (this=0x9386688, ev=0x9722510) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:130
#32 0x00de4fdc in QApplicationPrivate::notify_helper (this=0x92408b0, receiver=0x9386688, e=0x9722510) at kernel/qapplication.cpp:4396
#33 0x00deb0e9 in QApplication::notify (this=0xbfc44490, receiver=0x9386688, e=0x9722510) at kernel/qapplication.cpp:4361
#34 0x005d768a in KApplication::notify (this=0xbfc44490, receiver=0x9386688, event=0x9722510) at ../../kdeui/kernel/kapplication.cpp:310
#35 0x08d45b3b in QCoreApplication::notifyInternal (this=0xbfc44490, receiver=0x9386688, event=0x9722510) at kernel/qcoreapplication.cpp:732
#36 0x08d48d8b in sendEvent (receiver=0x0, event_type=0, data=0x922be98) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x922be98) at kernel/qcoreapplication.cpp:1373
#38 0x08d48f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#39 0x08d74a74 in sendPostedEvents (s=0x9242d10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=0x9242d10) at kernel/qeventdispatcher_glib.cpp:277
#41 0x01943855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x01947668 in ?? () from /lib/libglib-2.0.so.0
#43 0x01947848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x08d74565 in QEventDispatcherGlib::processEvents (this=0x922bb58, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#45 0x00ea6be5 in QGuiEventDispatcherGlib::processEvents (this=0x922bb58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x08d44609 in QEventLoop::processEvents (this=0xbfc443f4, flags=) at kernel/qeventloop.cpp:149
#47 0x08d44a8a in QEventLoop::exec (this=0xbfc443f4, flags=...) at kernel/qeventloop.cpp:201
#48 0x08d4900f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#49 0x00de3e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#50 0x0804f3a8 in main (argc=1, argv=0xbfc44634) at ../../../kmplot/kmplot/main.cpp:79

Possible duplicates by query: bug 265011, bug 253841, bug 251828, bug 235282, bug 200493.

Reported using DrKonqi
Comment 1 eike.krumbacher 2011-11-13 12:22:23 UTC
Hi!

Could you give us a hint, which expression caused the crash? I tried several expressions but cannot confirm. 

Eike
Comment 2 Martino 2011-11-13 13:38:08 UTC
Well, I think it was a logarithmic rational expression, I don't remember
exactly how it was but I'm sure it was something like  ( log(...) + [...] )
/ ( log(...) + [...] ).
Hope it helps!
Best regards,
Comment 3 Jekyll Wu 2012-07-05 20:40:04 UTC
*** Bug 266821 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Crouthamel 2018-10-29 22:44:05 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-13 14:30:49 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-28 04:59:20 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!