Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing "Square Root Intensity" in the Potential pane of STEM Simulation crashes the GUI #113

Open
sezelt opened this issue Nov 2, 2021 · 0 comments

Comments

@sezelt
Copy link
Contributor

sezelt commented Nov 2, 2021

I managed to build the v2.0.0 GUI on macOS, and also have figured out how to get the console output and debug info.

The error that I get when clicking on Square Root Intensity is below. I tried getting more info from the frame like the variables, but I get nothing (this is a Debug build)... Hopefully this is enough info to get an idea what's going wrong.

Process 77124 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xfffffff503bae400)
    frame #0: 0x00000001000dee9d prismatic-gui`Prismatic::Colormapper::getColor(double, double, double) + 173
prismatic-gui`Prismatic::Colormapper::getColor:
->  0x1000dee9d <+173>: movupd (%rax,%rcx,8), %xmm2
    0x1000deea2 <+178>: movslq %edx, %rdx
    0x1000deea5 <+181>: leaq   (%rdx,%rdx,2), %rdx
    0x1000deea9 <+185>: movupd (%rax,%rdx,8), %xmm3
Target 0: (prismatic-gui) stopped.
(lldb) thread backtrace
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xfffffff503bae400)
  * frame #0: 0x00000001000dee9d prismatic-gui`Prismatic::Colormapper::getColor(double, double, double) + 173
    frame #1: 0x00000001000c0904 prismatic-gui`PRISMMainWindow::updatePotentialDisplay() + 260
    frame #2: 0x00000001000c0796 prismatic-gui`PRISMMainWindow::updatePotentialFloatImage() + 1638
    frame #3: 0x0000000102fb04a3 QtCore`___lldb_unnamed_symbol2595$$QtCore + 1427
    frame #4: 0x0000000100eac82a QtWidgets`___lldb_unnamed_symbol1017$$QtWidgets + 106
    frame #5: 0x0000000100eabc2e QtWidgets`QAbstractButton::setChecked(bool) + 238
    frame #6: 0x0000000100ebc865 QtWidgets`QCheckBox::nextCheckState() + 53
    frame #7: 0x0000000100eac3c0 QtWidgets`___lldb_unnamed_symbol1013$$QtWidgets + 144
    frame #8: 0x0000000100ead5be QtWidgets`QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 270
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant