Bug 1629006 - answer history "tape" in the "calculator" tab does not render, segfault when trying to clear it; Received signal 11 SEGV_MAPERR ffffffffffffffff
Summary: answer history "tape" in the "calculator" tab does not render, segfault when ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kalgebra
Version: 28
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-14 15:55 UTC by Robert
Modified: 2019-05-28 22:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 22:25:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
"expected" interface (with red annotations indicating what is missing) (20.89 KB, image/png)
2018-09-15 03:44 UTC, Robert
no flags Details
"actual" interface after entering several expressions (11.67 KB, image/png)
2018-09-15 03:45 UTC, Robert
no flags Details
gdb stacktrace of what happens when you try to 'clear' the non-existant history tape (9.51 KB, text/plain)
2018-09-15 03:52 UTC, Robert
no flags Details

Description Robert 2018-09-14 15:55:23 UTC
Description of problem:
Isolated to the "Calculator" tab, all other tabs seem to work perfectly.

When the user hits 'enter' after typing an expression in the entry field, the view above it does not show a rendering of previously entered expressions or the associated answers.

Version-Release number of selected component (if applicable):
kalgebra-18.04.3-1.fc28.x86_64
qt5-qtwebengine-5.11.1-4.fc28.x86_64

How reproducible:
100%

Steps to Reproduce:
1. open kalgebra
2. type "1+1"
3. hit enter

Actual results:
* The expression is highlighted, ready to be replaced by over-typing.
* The variables pane on the right is updated, showing the answer in 'ans', and adding any variables you may have assigned.

Expected results:
* The expression and answer should appear above the entry field, in addition to the actual results.

Additional info:
* only tested on two x11 setups
* seems to happen on both kde & gnome environments
* right-clicking in the area that the history tape is expected produces a *DISJOINT* "Clear" menu that is outside of the window entirely (not even near the mouse)... furthermore activating that 'clear' option produces the below stacktrace.

Diagnostic output:
Received signal 11 SEGV_MAPERR ffffffffffffffff
#0 0x7f76cecdea2e <unknown>
#1 0x7f76cecdeb40 <unknown>
#2 0x7f76cecdf177 <unknown>
#3 0x7f76c8e71f30 <unknown>
#4 0x55b723256641 <unknown>
#5 0x55b72325bde5 <unknown>
#6 0x7f76c9db6e1e QMetaObject::activate()
#7 0x7f76ca680c26 QAction::triggered()
#8 0x7f76ca6832f0 QAction::activate()
#9 0x7f76ca7f847c <unknown>
#10 0x7f76ca7ffb24 <unknown>
#11 0x7f76ca800b6b QMenu::mouseReleaseEvent()
#12 0x7f76ca6c65c8 QWidget::event()
#13 0x7f76ca80321b QMenu::event()
#14 0x7f76ca687475 QApplicationPrivate::notify_helper()
#15 0x7f76ca68edd8 QApplication::notify()
#16 0x7f76c9d8ec36 QCoreApplication::notifyInternal2()
#17 0x7f76ca68e0cd QApplicationPrivate::sendMouseEvent()
#18 0x7f76ca6e1723 <unknown>
#19 0x7f76ca6e3f0e <unknown>
#20 0x7f76ca687475 QApplicationPrivate::notify_helper()
#21 0x7f76ca68eb90 QApplication::notify()
#22 0x7f76c9d8ec36 QCoreApplication::notifyInternal2()
#23 0x7f76ca134f43 QGuiApplicationPrivate::processMouseEvent()
#24 0x7f76ca137085 QGuiApplicationPrivate::processWindowSystemEvent()
#25 0x7f76ca11246b QWindowSystemInterface::sendWindowSystemEvents()
#26 0x7f76b9f727cf <unknown>
#27 0x7f76c9d8db7b QEventLoop::exec()
#28 0x7f76ca7fd6f4 QMenu::exec()
#29 0x55b723256e71 <unknown>
#30 0x7f76d4570f19 <unknown>
#31 0x7f76cd78cfaa <unknown>
#32 0x7f76ce23a5de <unknown>
#33 0x7f76cdf768c8 <unknown>
#34 0x7f76cdf7fbd6 <unknown>
#35 0x7f76cdf8fb05 <unknown>
#36 0x7f76ce12d51e <unknown>
#37 0x7f76cf591ce4 <unknown>
#38 0x7f76cecdf4d8 <unknown>
#39 0x7f76cecffd3a <unknown>
#40 0x7f76ced007ef <unknown>
#41 0x7f76ced0096a <unknown>
#42 0x7f76cd72682e <unknown>
#43 0x7f76c9db7adb QObject::event()
#44 0x7f76ca687475 QApplicationPrivate::notify_helper()
#45 0x7f76ca68eb90 QApplication::notify()
#46 0x7f76c9d8ec36 QCoreApplication::notifyInternal2()
#47 0x7f76c9d91e0b QCoreApplicationPrivate::sendPostedEvents()
#48 0x7f76c9ddf507 <unknown>
#49 0x7f76c6a0c8ad g_main_context_dispatch
#50 0x7f76c6a0cc78 <unknown>
#51 0x7f76c6a0cd10 g_main_context_iteration
#52 0x7f76c9ddf293 QEventDispatcherGlib::processEvents()
#53 0x7f76b9f727c5 <unknown>
#54 0x7f76c9d8db7b QEventLoop::exec()
#55 0x7f76c9d95c46 QCoreApplication::exec()
#56 0x55b72324a42b <unknown>
#57 0x7f76c8e5e11b __libc_start_main
#58 0x55b72324a4aa _start
  r8: 000055b729ead430  r9: 0000000000000010 r10: 000055b724c48010 r11: 00007f76b0011fb0
 r12: 0000000000000034 r13: 00007ffdd25fc758 r14: 00007ffdd25fc760 r15: 000055b7250e0f10
  di: 0000000000000010  si: 0000000000000000  bp: 00007ffdd25fc900  bx: 000055b729eecfd8
  dx: 000055b729ead430  ax: ffffffffffffffff  cx: 0000000000000001  sp: 00007ffdd25fc730
  ip: 000055b723256641 efl: 0000000000010246 cgf: 002b000000000033 erf: 0000000000000005
 trp: 000000000000000e msk: 0000000000000000 cr2: ffffffffffffffff
[end of stack trace]
Calling _exit(1). Core file will not be generated.

Comment 1 Rex Dieter 2018-09-14 20:38:35 UTC
Unfortunately that backtrace is missing debuginfo, so not very helpful.

That said, I don't seem to see any history that you refer to.

Comment 2 Robert 2018-09-15 03:44:54 UTC
Created attachment 1483424 [details]
"expected" interface (with red annotations indicating what is missing)

> I don't seem to see any history that you refer to.

Well... depending on what you mean by that, that could actually be a confirmation of this bug. You *should* see a history of all the expressions you enter.

I have attached a screenshot from fedora27 that (unaffected) *SHOWS* the widget that is missing and I refer to as "history" (for lack of time, I did not dig into the source to determine the widget's actual name).

I will shortly post a screenshot of the effected/actual interface, for comparison.

Comment 3 Robert 2018-09-15 03:45:30 UTC
Created attachment 1483425 [details]
"actual" interface after entering several expressions

Comment 4 Robert 2018-09-15 03:46:58 UTC
Furthermore, I tried installing the debuginfo packages, and it did not seem to effect the stack trace in any meaningful way.

Comment 5 Robert 2018-09-15 03:52:21 UTC
Created attachment 1483437 [details]
gdb stacktrace of what happens when you try to 'clear' the non-existant history tape

Ohh... of course... debuginfo is used by gdb, here is a stack trace captured with gdb that includes the debuginfo. (Sorry, it's a bit late over here).

Comment 6 Ben Cotton 2019-05-02 20:55:59 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Ben Cotton 2019-05-28 22:25:54 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.