Bug 254778 - Qalculate Applet Crashed on Expression (libqalculate)
Summary: Qalculate Applet Crashed on Expression (libqalculate)
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 17:38 UTC by ariel.bys
Modified: 2011-01-02 11:45 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 ariel.bys 2010-10-20 17:38:00 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-686 i686
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
The Qalculate Applet decided to crash when I specified the expression "a*x*x+bx+c=0". I don't know Qalculate very well, but it should never crash.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Aborted
[Current thread is 1 (Thread 0xb3483720 (LWP 2511))]

Thread 4 (Thread 0xa7a4ab70 (LWP 2512)):
#0  0xb78be424 in __kernel_vsyscall ()
#1  0xb77d8163 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0xb7770387 in _L_lock_9625 () from /lib/i686/cmov/libc.so.6
#3  0xb776ebb6 in *__GI___libc_free (mem=0x9123778) at malloc.c:3737
#4  0xb4060c56 in g_free () from /lib/libglib-2.0.so.0
#5  0xb4057c7a in ?? () from /lib/libglib-2.0.so.0
#6  0xb5bb0bcd in ~QEventDispatcherGlib (this=0x9080d40, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:366
#7  0xb5a87b2a in QThreadPrivate::finish (arg=0xb5c9b390) at thread/qthread_unix.cpp:284
#8  0xb5a87fc6 in ~__pthread_cleanup_class (arg=0xb5c9b390) at /usr/include/pthread.h:535
#9  QThreadPrivate::start (arg=0xb5c9b390) at thread/qthread_unix.cpp:253
#10 0xb425c955 in start_thread (arg=0xa7a4ab70) at pthread_create.c:300
#11 0xb77cae7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa57e7b70 (LWP 3713)):
#0  0xb78be424 in __kernel_vsyscall ()
#1  0xb4260f7f in __pthread_cond_wait (cond=0xb58cbc4c, mutex=0xb58cbc34) at pthread_cond_wait.c:153
#2  0xb77d7e0d in __pthread_cond_wait (cond=0xb58cbc4c, mutex=0xb58cbc34) at forward.c:139
#3  0xb4b1b077 in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb58c6b60) at ../JavaScriptCore/wtf/FastMalloc.cpp:2299
#4  0xb4b1b0c1 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb58c6b60) at ../JavaScriptCore/wtf/FastMalloc.cpp:1433
#5  0xb425c955 in start_thread (arg=0xa57e7b70) at pthread_create.c:300
#6  0xb77cae7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa3fe4b70 (LWP 3770)):
#0  0xb78be424 in __kernel_vsyscall ()
#1  0xb77d8163 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0xb7770387 in _L_lock_9625 () from /lib/i686/cmov/libc.so.6
#3  0xb776ebb6 in *__GI___libc_free (mem=0x9a74d38) at malloc.c:3737
#4  0xb4060c56 in g_free () from /lib/libglib-2.0.so.0
#5  0xb4057c7a in ?? () from /lib/libglib-2.0.so.0
#6  0xb5bb0bcd in ~QEventDispatcherGlib (this=0x9800348, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:366
#7  0xb5a87b2a in QThreadPrivate::finish (arg=0xa25e450) at thread/qthread_unix.cpp:284
#8  0xb5a87fc6 in ~__pthread_cleanup_class (arg=0xa25e450) at /usr/include/pthread.h:535
#9  QThreadPrivate::start (arg=0xa25e450) at thread/qthread_unix.cpp:253
#10 0xb425c955 in start_thread (arg=0xa3fe4b70) at pthread_create.c:300
#11 0xb77cae7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb3483720 (LWP 2511)):
[KCrash Handler]
#6  0xb78be424 in __kernel_vsyscall ()
#7  0xb7729751 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb772cb82 in *__GI_abort () at abort.c:92
#9  0xb776018d in __libc_message (do_abort=2, fmt=0xb7824758 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0xb776a281 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0xa082ec8) at malloc.c:6267
#11 0xb776bad8 in _int_free (av=<value optimized out>, p=<value optimized out>) at malloc.c:4795
#12 0xb776ebbd in *__GI___libc_free (mem=0xa082ec8) at malloc.c:3739
#13 0xb59de701 in operator delete(void*) () from /usr/lib/libstdc++.so.6
#14 0xa2534f25 in MathStructure::unref() () from /usr/lib/libqalculate.so.5
#15 0xa2571f5a in MathStructure::calculateAddIndex(unsigned int, EvaluationOptions const&, bool, MathStructure*, unsigned int) () from /usr/lib/libqalculate.so.5
#16 0xa257379a in MathStructure::calculateAddLast(EvaluationOptions const&, bool, MathStructure*, unsigned int) () from /usr/lib/libqalculate.so.5
#17 0xa257074b in MathStructure::merge_addition(MathStructure&, EvaluationOptions const&, MathStructure*, unsigned int, unsigned int, bool) () from /usr/lib/libqalculate.so.5
#18 0xa25761f9 in MathStructure::calculatesub(EvaluationOptions const&, EvaluationOptions const&, bool, MathStructure*, unsigned int) () from /usr/lib/libqalculate.so.5
#19 0xa2586572 in MathStructure::compare(MathStructure const&) const () from /usr/lib/libqalculate.so.5
#20 0xa2587af7 in MathStructure::merge_logical_or(MathStructure&, EvaluationOptions const&, MathStructure*, unsigned int, unsigned int, bool) () from /usr/lib/libqalculate.so.5
#21 0xa25753c1 in MathStructure::calculatesub(EvaluationOptions const&, EvaluationOptions const&, bool, MathStructure*, unsigned int) () from /usr/lib/libqalculate.so.5
#22 0xa258ef44 in MathStructure::isolate_x_sub(EvaluationOptions const&, EvaluationOptions&, MathStructure const&, MathStructure*) () from /usr/lib/libqalculate.so.5
#23 0xa2589ee8 in MathStructure::isolate_x_sub(EvaluationOptions const&, EvaluationOptions&, MathStructure const&, MathStructure*) () from /usr/lib/libqalculate.so.5
#24 0xa2591781 in MathStructure::isolate_x(EvaluationOptions const&, EvaluationOptions const&, MathStructure const&, bool) () from /usr/lib/libqalculate.so.5
#25 0xa25678b8 in MathStructure::eval(EvaluationOptions const&) () from /usr/lib/libqalculate.so.5
#26 0xa24e39fe in Calculator::calculate(std::string, EvaluationOptions const&, MathStructure*, MathStructure*, bool) () from /usr/lib/libqalculate.so.5
#27 0xa58f33c6 in QalculateEngine::evaluate(QString const&) () from /usr/lib/kde4/plasma_applet_qalculate.so
#28 0xa58e3607 in QalculateApplet::evalNoHist() () from /usr/lib/kde4/plasma_applet_qalculate.so
#29 0xa58e34d5 in QalculateApplet::evaluate() () from /usr/lib/kde4/plasma_applet_qalculate.so
#30 0xa58e3e20 in QalculateApplet::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/plasma_applet_qalculate.so
#31 0xb5b897da in QMetaObject::metacall (object=0x8f826b8, cl=2511, idx=67, argv=0xbf85906c) at kernel/qmetaobject.cpp:237
#32 0xb5b981eb in QMetaObject::activate (sender=0x9cbea38, m=0xb76f7350, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3295
#33 0xb7619f07 in Plasma::LineEdit::returnPressed() () from /usr/lib/libplasma.so.3
#34 0xb761a88b in Plasma::LineEdit::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libplasma.so.3
#35 0xb5b897da in QMetaObject::metacall (object=0x9cbea38, cl=2511, idx=1, argv=0x0) at kernel/qmetaobject.cpp:237
#36 0xb5b981eb in QMetaObject::activate (sender=0xa3df1d8, m=0xb679c888, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3295
#37 0xb62d6b17 in QLineEdit::returnPressed (this=0xa3df1d8) at .moc/release-shared/moc_qlineedit.cpp:258
#38 0xb62dac8b in QLineEdit::qt_metacall (this=0xa3df1d8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf85935c) at .moc/release-shared/moc_qlineedit.cpp:159
#39 0xb6cdf7aa in KLineEdit::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#40 0xb5b897da in QMetaObject::metacall (object=0xa3df1d8, cl=2511, idx=30, argv=0x0) at kernel/qmetaobject.cpp:237
#41 0xb5b981eb in QMetaObject::activate (sender=0xa4c2c10, m=0xb67aa5c8, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3295
#42 0xb659d907 in QLineControl::accepted (this=0xa4c2c10) at .moc/release-shared/moc_qlinecontrol_p.cpp:150
#43 0xb62e30a9 in QLineControl::processKeyEvent (this=0xa4c2c10, event=0xbf85a864) at widgets/qlinecontrol.cpp:1528
#44 0xb62d6ed5 in QLineEdit::keyPressEvent (this=0xa3df1d8, event=0xbf85a864) at widgets/qlineedit.cpp:1667
#45 0xb6cdbbb9 in KLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/libkdeui.so.5
#46 0xb5ecd503 in QWidget::event (this=0xa3df1d8, event=0xbf85a864) at kernel/qwidget.cpp:8079
#47 0xb62d854b in QLineEdit::event (this=0xa3df1d8, e=0xbf85a864) at widgets/qlineedit.cpp:1480
#48 0xb6cdd18c in KLineEdit::event(QEvent*) () from /usr/lib/libkdeui.so.5
#49 0xb5e6f5cc in QApplicationPrivate::notify_helper (this=0x8b7bbc8, receiver=0xbf85a864, e=0xa3df1d8) at kernel/qapplication.cpp:4302
#50 0xb5e77c71 in QApplication::notify (this=0x8b72900, receiver=0xa3df1d8, e=0xbf85a864) at kernel/qapplication.cpp:3765
#51 0xb6bf1c5a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#52 0xb5b844fb in QCoreApplication::notifyInternal (this=0x8b72900, receiver=0xa3df1d8, event=0xbf85a864) at kernel/qcoreapplication.cpp:726
#53 0xb64ff0c8 in QCoreApplication::sendEvent (this=0xa4c11a0, event=0xbf85a864) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QGraphicsProxyWidgetPrivate::sendWidgetKeyEvent (this=0xa4c11a0, event=0xbf85a864) at graphicsview/qgraphicsproxywidget.cpp:321
#55 0xb64ef8c5 in QGraphicsItem::sceneEvent (this=0x9cbea40, event=0xbf85a864) at graphicsview/qgraphicsitem.cpp:6577
#56 0xb6541c87 in QGraphicsWidget::sceneEvent (this=0x9cbea38, event=0xbf85a864) at graphicsview/qgraphicswidget.cpp:1123
#57 0xb65050a9 in QGraphicsScenePrivate::sendEvent (this=0x8b75650, item=0x9cbea40, event=0xbf85a864) at graphicsview/qgraphicsscene.cpp:1190
#58 0xb6507625 in QGraphicsScene::keyPressEvent (this=0x8c56118, keyEvent=0xbf85a864) at graphicsview/qgraphicsscene.cpp:3951
#59 0xb651b206 in QGraphicsScene::event (this=0x8c56118, event=0xbf85a864) at graphicsview/qgraphicsscene.cpp:3381
#60 0xb5e6f5cc in QApplicationPrivate::notify_helper (this=0x8b7bbc8, receiver=0x8c56118, e=0xbf85a864) at kernel/qapplication.cpp:4302
#61 0xb5e7615e in QApplication::notify (this=0x8b72900, receiver=0x8c56118, e=0xbf85a864) at kernel/qapplication.cpp:3706
#62 0xb6bf1c5a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#63 0xb5b844fb in QCoreApplication::notifyInternal (this=0x8b72900, receiver=0x8c56118, event=0xbf85a864) at kernel/qcoreapplication.cpp:726
#64 0xb6539bda in QCoreApplication::sendEvent (this=0x91ccf30, event=0xbf85a864) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#65 QGraphicsView::keyPressEvent (this=0x91ccf30, event=0xbf85a864) at graphicsview/qgraphicsview.cpp:2994
#66 0xb5ecd503 in QWidget::event (this=0x91ccf30, event=0xbf85a864) at kernel/qwidget.cpp:8079
#67 0xb62c7903 in QFrame::event (this=0x91ccf30, e=0xbf85a864) at widgets/qframe.cpp:557
#68 0xb6362ac7 in QAbstractScrollArea::event (this=0x91ccf30, e=0xbf85a864) at widgets/qabstractscrollarea.cpp:989
#69 0xb653b886 in QGraphicsView::event (this=0x91ccf30, event=0xbf85a864) at graphicsview/qgraphicsview.cpp:2666
#70 0xb5e6f5cc in QApplicationPrivate::notify_helper (this=0x8b7bbc8, receiver=0x91ccf30, e=0xbf85a864) at kernel/qapplication.cpp:4302
#71 0xb5e77c71 in QApplication::notify (this=0x8b72900, receiver=0x91ccf30, e=0xbf85a864) at kernel/qapplication.cpp:3765
#72 0xb6bf1c5a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#73 0xb5b844fb in QCoreApplication::notifyInternal (this=0x8b72900, receiver=0x91ccf30, event=0xbf85a864) at kernel/qcoreapplication.cpp:726
#74 0xb5e703ae in QCoreApplication::sendSpontaneousEvent (receiver=0x91ccf30, event=0x6) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#75 qt_sendSpontaneousEvent (receiver=0x91ccf30, event=0x6) at kernel/qapplication.cpp:5281
#76 0xb5f28c70 in QKeyMapper::sendKeyEvent (keyWidget=0x91ccf30, grab=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1875
#77 0xb5f2b130 in QKeyMapperPrivate::translateKeyEvent (this=0x8b9f6b0, keyWidget=0x91ccf30, event=0xbf85af00, grab=<value optimized out>) at kernel/qkeymapper_x11.cpp:1845
#78 0xb5eff507 in QApplication::x11ProcessEvent (this=0x8b72900, event=0xbf85af00) at kernel/qapplication_x11.cpp:3406
#79 0xb5f2e3c2 in x11EventSourceDispatch (s=0x8b7eea8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#80 0xb4058305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#81 0xb405bfe8 in ?? () from /lib/libglib-2.0.so.0
#82 0xb405c1c8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#83 0xb5bb00a5 in QEventDispatcherGlib::processEvents (this=0x8b5cba0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#84 0xb5f2df25 in QGuiEventDispatcherGlib::processEvents (this=0x8b5cba0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#85 0xb5b82b19 in QEventLoop::processEvents (this=0xbf85b1f4, flags=) at kernel/qeventloop.cpp:149
#86 0xb5b82f6a in QEventLoop::exec (this=0xbf85b1f4, flags=...) at kernel/qeventloop.cpp:201
#87 0xb5b8819f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#88 0xb5e6f667 in QApplication::exec () at kernel/qapplication.cpp:3581
#89 0xb7891fae in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#90 0x0804861b in _start ()

Possible duplicates by query: bug 243262, bug 242656, bug 241122, bug 228333, bug 225166.

Reported using DrKonqi
Comment 1 Matteo Agostinelli 2011-01-02 11:45:38 UTC
The same expression crashes using the command line client 'qalc' so the problem is definitely upstream. Please report it to the Qalculate project.