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

Viewer crash when asking an histogram for a "lock use" scope #23

Closed
dfeneyrou opened this issue Sep 20, 2021 · 0 comments
Closed

Viewer crash when asking an histogram for a "lock use" scope #23

dfeneyrou opened this issue Sep 20, 2021 · 0 comments
Labels
bug Something isn't working viewer Related to the viewer

Comments

@dfeneyrou
Copy link
Owner

Env: All OS
Release: 0.4
How to reproduce: simply by requesting an histogram of a lock use, for instance from a timeline "lock use" scope with contextual menu
Reproducibility: Systematic

The failed assertion is:

[PALANTEER] Assertion failed: index>=0 && index<_size 
  On function: const T& bsVec<T>::operator[](int) const [with T = bsString]
  On file    : (...)/palanteer/server/viewer/../base/bsVec.h(107)
    - int     index                = -1
    - int     _size                 = 4

  #0  bsVec.h(107) : bsVec<bsString>::operator[](int) const
  #1  vwMain.h(111) : vwMain::getFullThreadName(int) const
  #2  vwMainHistogram.cpp(92) : vwMain::_computeChunkHistogram(vwMain::Histogram&)
  #3  vwMainHistogram.cpp(388) : vwMain::drawHistograms()
  #4  vwMain.cpp(1094) : vwMain::draw()
  #5  vwPlatform.cpp(364) : vwPlatform::redraw()
  #6  vwPlatform.cpp(304) : vwPlatform::run()
  #7  vwPlatform.cpp(196) : bsBootstrap(int, char**)
  #8  bsOsLinux.cpp(826) : main
@dfeneyrou dfeneyrou added bug Something isn't working viewer Related to the viewer labels Sep 20, 2021
dfeneyrou added a commit that referenced this issue Sep 22, 2021
 - lock use can now be graphed for all threads (menu on the lock name)
 - better graph name for lock display (mentioning ntf, waiting or acquired)
 - fix persistence of graphs across relaunch
 - fix some crash with a lock graph and recording
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working viewer Related to the viewer
Projects
None yet
Development

No branches or pull requests

1 participant