Version: 2.0.6 (using KDE KDE 3.5.7) Installed from: Gentoo Packages Compiler: gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3) OS: Linux (a) open kcalc (b) type "100000/1" (c) click on "Inv" (d) click on "e^x" (e) click on "=" (f) click on "x^y" (g) type "100000" (h) hit <ENTER> (i) kcalc immediately crashes This bug does not occur when computing certain other large powers, like 100000^100000, 123456^165432 or (100000/pi)^100000 (in the last case I didn't wait until the operation was finished, but at least it didn't crash immediately).
Backtrace of kcalc 2.0.6 (kde 3.5.7): (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0x2ac80a034090 (LWP 8376)] [KCrash handler] #5 0x00002ac804ef7635 in raise () from /lib/libc.so.6 #6 0x00002ac804ef9090 in abort () from /lib/libc.so.6 #7 0x00002ac8057f07f3 in __gmp_invalid_operation () from /usr/lib/libgmp.so.3 #8 0x00002ac8057f2593 in __gmpf_set_d () from /usr/lib/libgmp.so.3 #9 0x00002ac80451968f in _knumfloat::power () from /usr/lib/libkdeinit_kcalc.so #10 0x00002ac80451c177 in KNumber::power () from /usr/lib/libkdeinit_kcalc.so #11 0x00002ac8044ebab9 in ?? () from /usr/lib/libkdeinit_kcalc.so #12 0x00002ac8044eb969 in CalcEngine::evalOperation () from /usr/lib/libkdeinit_kcalc.so #13 0x00002ac8044fad34 in CalcEngine::evalStack () from /usr/lib/libkdeinit_kcalc.so #14 0x00002ac8044faf8a in CalcEngine::enterOperation () from /usr/lib/libkdeinit_kcalc.so #15 0x00002ac80450b151 in KCalculator::EnterEqual () from /usr/lib/libkdeinit_kcalc.so #16 0x00002ac80450de6e in KCalculator::qt_invoke () from /usr/lib/libkdeinit_kcalc.so #17 0x00002ac8071fd186 in QObject::activate_signal (this=0x78e950, clist=0x790500, o=0x7fffa6802b20) at kernel/qobject.cpp:2356 #18 0x00002ac8071fdd04 in QObject::activate_signal (this=0x78e950, signal=4) at kernel/qobject.cpp:2325 #19 0x00002ac80757e1ab in QButton::clicked (this=0x78e950) at .moc/debug-shared-mt/moc_qbutton.cpp:152 #20 0x00002ac807297c3f in QButton::mouseReleaseEvent (this=0x78e950, e=0x7fffa6803160) at widgets/qbutton.cpp:836 #21 0x00002ac8072315fa in QWidget::event (this=0x78e950, e=0x7fffa6803160) at kernel/qwidget.cpp:4702 #22 0x00002ac8071953aa in QApplication::internalNotify (this=0x7fffa6803a50, receiver=0x78e950, e=0x7fffa6803160) at kernel/qapplication.cpp:2635 #23 0x00002ac80719752a in QApplication::notify (this=0x7fffa6803a50, receiver=0x78e950, e=0x7fffa6803160) at kernel/qapplication.cpp:2421 #24 0x00002ac805c1758d in KApplication::notify (this=0x7fffa6803a50, receiver=0x78e950, event=0x7fffa6803160) at /tmp/buildd/kdelibs-3.5.8.dfsg.1/./kdecore/kapplication.cpp:550 #25 0x00002ac807126b30 in QApplication::sendSpontaneousEvent ( receiver=0x78e950, event=0x7fffa6803160) at kernel/qapplication.h:523 #26 0x00002ac807125761 in QETWidget::translateMouseEvent (this=0x78e950, event=0x7fffa6803700) at kernel/qapplication_x11.cpp:4301 #27 0x00002ac807123abd in QApplication::x11ProcessEvent (this=0x7fffa6803a50, event=0x7fffa6803700) at kernel/qapplication_x11.cpp:3478 #28 0x00002ac80713a263 in QEventLoop::processEvents (this=0x641ac0, flags=4) at kernel/qeventloop_x11.cpp:192 #29 0x00002ac8071af673 in QEventLoop::enterLoop (this=0x641ac0) at kernel/qeventloop.cpp:198 #30 0x00002ac8071af35f in QEventLoop::exec (this=0x641ac0) at kernel/qeventloop.cpp:145 #31 0x00002ac807196e8c in QApplication::exec (this=0x7fffa6803a50) at kernel/qapplication.cpp:2758 #32 0x00002ac8045115b7 in kdemain () from /usr/lib/libkdeinit_kcalc.so #33 0x00002ac804ee3b44 in __libc_start_main () from /lib/libc.so.6 #34 0x0000000000400549 in ?? () #35 0x00007fffa6803d38 in ?? () #36 0x0000000000000000 in ?? ()
*** This bug has been marked as a duplicate of 140630 ***