Bug 320277 - Krunner crashing on calculator
Summary: Krunner crashing on calculator
Status: RESOLVED WORKSFORME
Alias: None
Product: krunner
Classification: Plasma
Component: calculator (show other bugs)
Version: 4.10.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-25 23:26 UTC by Rafał Rzepecki
Modified: 2018-11-30 03:53 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 Rafał Rzepecki 2013-05-25 23:26:19 UTC
Application: krunner (0.1)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-22-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Typed '=rand(24' into krunner, perhaps with the closing parenthesis. It crashed before showing the result.
The problem occurs occasionally, though I haven't found a robust way to reproduce it.

-- Backtrace:
Application: Interfejs do uruchamiania poleceń (krunner), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fad223817c0 (LWP 2454))]

Thread 7 (Thread 0x7fad06d4f700 (LWP 2456)):
#0  0x00007fad21c923cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fad16d201dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fad16d20304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fad1eacb036 in QEventDispatcherGlib::processEvents (this=0x7fad000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fad1ea9b38f in QEventLoop::processEvents (this=this@entry=0x7fad06d4ed90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fad1ea9b618 in QEventLoop::exec (this=this@entry=0x7fad06d4ed90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fad1e99d410 in QThread::exec (this=this@entry=0x12eafa0) at thread/qthread.cpp:542
#7  0x00007fad1ea7cedf in QInotifyFileSystemWatcherEngine::run (this=0x12eafa0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fad1e99fbec in QThreadPrivate::start (arg=0x12eafa0) at thread/qthread_unix.cpp:338
#9  0x00007fad171f2f8e in start_thread (arg=0x7fad06d4f700) at pthread_create.c:311
#10 0x00007fad21c9ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7faceea1d700 (LWP 2904)):
#0  0x00007fad21c923cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fad16d201dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fad16d20304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fad1eacb036 in QEventDispatcherGlib::processEvents (this=0x7face80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fad1ea9b38f in QEventLoop::processEvents (this=this@entry=0x7faceea1cd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fad1ea9b618 in QEventLoop::exec (this=this@entry=0x7faceea1cd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fad1e99d410 in QThread::exec (this=this@entry=0x13bcbc0) at thread/qthread.cpp:542
#7  0x00007fad1ea7cedf in QInotifyFileSystemWatcherEngine::run (this=0x13bcbc0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fad1e99fbec in QThreadPrivate::start (arg=0x13bcbc0) at thread/qthread_unix.cpp:338
#9  0x00007fad171f2f8e in start_thread (arg=0x7faceea1d700) at pthread_create.c:311
#10 0x00007fad21c9ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7facee21c700 (LWP 2907)):
[KCrash Handler]
#6  0x00007fad21bdc037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fad21bdf698 in __GI_abort () at abort.c:90
#8  0x00007fad21c195ab in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fad21d2c860 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#9  0x00007fad21c25a46 in malloc_printerr (ptr=0x7facd8044500, str=0x7fad21d2ca28 "double free or corruption (fasttop)", action=3) at malloc.c:4902
#10 _int_free (av=<optimized out>, p=0x7facd80444f0, have_lock=0) at malloc.c:3758
#11 0x00007facf04a326d in __gnu_cxx::hashtable<std::pair<unsigned long const, MathStructure*>, unsigned long, __gnu_cxx::hash<unsigned long>, std::_Select1st<std::pair<unsigned long const, MathStructure*> >, std::equal_to<unsigned long>, std::allocator<MathStructure*> >::erase(unsigned long const&) () from /usr/lib/x86_64-linux-gnu/libqalculate.so.5
#12 0x00007facf045a4fc in Calculator::getId(unsigned long) () from /usr/lib/x86_64-linux-gnu/libqalculate.so.5
#13 0x00007facf0464290 in Calculator::parseNumber(MathStructure*, std::string, ParseOptions const&) () from /usr/lib/x86_64-linux-gnu/libqalculate.so.5
#14 0x00007facf04676b4 in Calculator::parseOperators(MathStructure*, std::string, ParseOptions const&) () from /usr/lib/x86_64-linux-gnu/libqalculate.so.5
#15 0x00007facf0464860 in Calculator::parseOperators(MathStructure*, std::string, ParseOptions const&) () from /usr/lib/x86_64-linux-gnu/libqalculate.so.5
#16 0x00007facf04694b7 in Calculator::parse(MathStructure*, std::string, ParseOptions const&) () from /usr/lib/x86_64-linux-gnu/libqalculate.so.5
#17 0x00007facf046d47b in Calculator::calculate(std::string, EvaluationOptions const&, MathStructure*, MathStructure*, bool) () from /usr/lib/x86_64-linux-gnu/libqalculate.so.5
#18 0x00007facf0b595ee in QalculateEngine::evaluate (this=0x171fea0, expression=...) at ../../../../../plasma/generic/runners/calculator/qalculate_engine.cpp:103
#19 0x00007facf0b5b240 in CalculatorRunner::calculate (this=this@entry=0x1690a30, term=...) at ../../../../../plasma/generic/runners/calculator/calculatorrunner.cpp:266
#20 0x00007facf0b5b73d in CalculatorRunner::match (this=0x1690a30, context=...) at ../../../../../plasma/generic/runners/calculator/calculatorrunner.cpp:243
#21 0x00007fad2124d99e in Plasma::AbstractRunner::performMatch (this=0x1690a30, localContext=...) at ../../plasma/abstractrunner.cpp:136
#22 0x00007fad19abfe3a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7facee21bd70, th=th@entry=0x16af5d0, job=job@entry=0x14a17b0) at ../../../threadweaver/Weaver/Job.cpp:106
#23 0x00007fad19abffb1 in ThreadWeaver::Job::execute (this=0x14a17b0, th=0x16af5d0) at ../../../threadweaver/Weaver/Job.cpp:135
#24 0x00007fad19abf60f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7facee21bdc0, parent=0x12332d0, th=th@entry=0x16af5d0) at ../../../threadweaver/Weaver/Thread.cpp:95
#25 0x00007fad19abf6cb in ThreadWeaver::Thread::run (this=0x16af5d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#26 0x00007fad1e99fbec in QThreadPrivate::start (arg=0x16af5d0) at thread/qthread_unix.cpp:338
#27 0x00007fad171f2f8e in start_thread (arg=0x7facee21c700) at pthread_create.c:311
#28 0x00007fad21c9ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7faceda1b700 (LWP 2908)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fad1e9a014b in wait (time=18446744073709551615, this=0x12fb780) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x12332f8, mutex=0x1153600, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fad19abe041 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12332d0, th=0x1605370) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fad19ac094b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1161ec0, th=0x1605370) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fad19abf63f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7faceda1adc0, parent=0x12332d0, th=th@entry=0x1605370) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fad19abf6cb in ThreadWeaver::Thread::run (this=0x1605370) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fad1e99fbec in QThreadPrivate::start (arg=0x1605370) at thread/qthread_unix.cpp:338
#8  0x00007fad171f2f8e in start_thread (arg=0x7faceda1b700) at pthread_create.c:311
#9  0x00007fad21c9ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7faced21a700 (LWP 2909)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fad1e9a014b in wait (time=18446744073709551615, this=0x12fb780) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x12332f8, mutex=0x1153600, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fad19abe041 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12332d0, th=0x1453ba0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fad19ac094b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1161ec0, th=0x1453ba0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fad19abf63f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7faced219dc0, parent=0x12332d0, th=th@entry=0x1453ba0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fad19abf6cb in ThreadWeaver::Thread::run (this=0x1453ba0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fad1e99fbec in QThreadPrivate::start (arg=0x1453ba0) at thread/qthread_unix.cpp:338
#8  0x00007fad171f2f8e in start_thread (arg=0x7faced21a700) at pthread_create.c:311
#9  0x00007fad21c9ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7faceca19700 (LWP 2910)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fad1e9a014b in wait (time=18446744073709551615, this=0x12fb780) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x12332f8, mutex=0x1153600, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fad19abe041 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12332d0, th=0x16afa00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fad19ac094b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1161ec0, th=0x16afa00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fad19abf63f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7faceca18dc0, parent=0x12332d0, th=th@entry=0x16afa00) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fad19abf6cb in ThreadWeaver::Thread::run (this=0x16afa00) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fad1e99fbec in QThreadPrivate::start (arg=0x16afa00) at thread/qthread_unix.cpp:338
#8  0x00007fad171f2f8e in start_thread (arg=0x7faceca19700) at pthread_create.c:311
#9  0x00007fad21c9ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fad223817c0 (LWP 2454)):
#0  0x00007fad21c90b0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fad16d5e6cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fad16d1fd3c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fad16d20175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fad16d20304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fad1eacb036 in QEventDispatcherGlib::processEvents (this=0x1050ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fad1f52b1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007fad1ea9b38f in QEventLoop::processEvents (this=this@entry=0x7fffab765930, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fad1ea9b618 in QEventLoop::exec (this=this@entry=0x7fffab765930, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fad1eaa0cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#10 0x00007fad1f483ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#11 0x00007fad21f947cf in kdemain (argc=1, argv=0x7fffab765b78) at ../../krunner/main.cpp:64
#12 0x00007fad21bc6ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fffab765b78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffab765b68) at libc-start.c:260
#13 0x0000000000400701 in _start ()

Possible duplicates by query: bug 320128, bug 318019, bug 317567, bug 314055, bug 311589.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-05-26 01:02:18 UTC
That looks more like a problem of libqalculate
Comment 2 Craig Millar 2014-06-10 14:57:20 UTC
Possibly a duplicate of https://bugs.kde.org/show_bug.cgi?id=321327
Comment 3 Andrew Crouthamel 2018-10-31 04:11: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 4 Bug Janitor Service 2018-11-15 10:40:45 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 5 Bug Janitor Service 2018-11-30 03:53:17 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!