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

crash when disconnecting line-plot x input #59

Open
chrisvam opened this issue Apr 16, 2021 · 1 comment
Open

crash when disconnecting line-plot x input #59

chrisvam opened this issue Apr 16, 2021 · 1 comment

Comments

@chrisvam
Copy link
Contributor

If I run this command and then disconnect the X input to the line plot then I reproducibly get a crash: ami-local -l ~/padded.fc -b 1 -f interval=1 psana://exp=tmolw5618,run=99

Full output is here:

(ps-4.3.2) psanagpu106:lcls2$ ami-local -l ~/padded.fc -b 1 -f interval=1 psana://exp=tmolw5618,run=99
No module named 'ndarray'
[ 2021-04-16 12:52:09,701 | ami.worker | INFO ] Starting worker # 0, sending to collector at tcp://127.0.0.1:5557 PID: 26279
[ 2021-04-16 12:52:09,706 | ami.comm | INFO ] worker000: Started Prometheus client on port: 9200
[ 2021-04-16 12:52:09,706 | ami.collector | INFO ] Starting collector on node # 0 PID: 26284
[ 2021-04-16 12:52:09,712 | ami.comm | INFO ] localCollector000: Started Prometheus client on port: 9201
[ 2021-04-16 12:52:09,714 | ami.collector | INFO ] Starting collector on node # 0 PID: 26294
[ 2021-04-16 12:52:09,719 | ami.comm | INFO ] globalCollector000: Started Prometheus client on port: 9202
[ 2021-04-16 12:52:09,721 | ami.manager | INFO ] Starting manager, controlling 1 workers on 1 nodes PID: 26299
[ 2021-04-16 12:52:09,727 | ami.manager | INFO ] manager: Started Prometheus client on port: 9203
Daemon is still alive
Success: no issues found in 1 source file
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
[ 2021-04-16 12:52:11,256 | ami.manager | INFO ] Sending requested delta of graph...
[ 2021-04-16 12:52:11,258 | ami.manager | INFO ] Sending delta of graph (graph v1) completed
[ 2021-04-16 12:52:11,261 | ami.client | INFO ] creating process: LinePlot.0 pid: 26333
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
[psanagpu106:26308] *** Process received signal ***

@chrisvam
Copy link
Contributor Author

In a previous crash doing the same thing, I got a much more ugly/verbose output:

*** Error in `ami editor': corrupted size vs. prev_size: 0x000055b77ce8093f ***
======= Backtrace: =========
/lib64/libc.so.6(+0x80794)[0x7fe9673f6794]
/lib64/libc.so.6(+0x820a5)[0x7fe9673f80a5]
/lib64/libc.so.6(__libc_malloc+0x4c)[0x7fe9673fb6fc]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/libstdc++.so.6(_Znwm+0x15)[0x7fe8ddc9652d]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Gui.so.5(_ZNK18QRasterPaintEngine11createStateEP13QPainterState+0x15)[0x7fe8d3473b31]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Gui.so.5(_ZN8QPainter5beginEP12QPaintDevice+0x1ab)[0x7fe8d347f053]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x55f)[0x7fe8c7745b97]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(+0x17ecb2)[0x7fe8c7729cb2]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(+0x17efaf)[0x7fe8c7729faf]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN14QWidgetPrivate16syncBackingStoreEv+0x66)[0x7fe8c773add4]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN7QWidget5eventEP6QEvent+0x91f)[0x7fe8c774acd9]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN11QMainWindow5eventEP6QEvent+0xdd)[0x7fe8c77f534f]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/QtWidgets.so(+0x273073)[0x7fe8c7d62073]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xdc)[0x7fe8c771f7f2]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1ac9)[0x7fe8c772531d]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/QtWidgets.so(+0x16860e)[0x7fe8c7c5760e]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x86)[0x7fe8d2fab606]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1da)[0x7fe8d2fab83e]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(+0x366cd0)[0x7fe8c7911cd0]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(+0x36a2dd)[0x7fe8c79152dd]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0xbc)[0x7fe8d2fc0594]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN14QGraphicsScene5eventEP6QEvent+0x588)[0x7fe8c791c9b6]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/QtWidgets.so(+0x20bbb3)[0x7fe8c7cfabb3]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xdc)[0x7fe8c771f7f2]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1ac9)[0x7fe8c772531d]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/QtWidgets.so(+0x16860e)[0x7fe8c7c5760e]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x86)[0x7fe8d2fab606]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1da)[0x7fe8d2fab83e]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(+0x1dc54c)[0x7fe8d2fda54c]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../.././libglib-2.0.so.0(g_main_context_dispatch+0x27d)[0x7fe8d0c4c23d]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../.././libglib-2.0.so.0(+0x554d1)[0x7fe8d0c4c4d1]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../.././libglib-2.0.so.0(g_main_context_iteration+0x31)[0x7fe8d0c4c571]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5e)[0x7fe8d2fda0e8]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x187)[0x7fe8d2fa8019]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN16QCoreApplication4execEv+0xfd)[0x7fe8d2fabe8f]
/cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/QtWidgets.so(+0x1673c2)[0x7fe8c7c563c2]
ami editor(_PyMethodDef_RawFastCallKeywords+0x1db)[0x55b7774a53eb]
ami editor(+0x18fad8)[0x55b7774a6ad8]
ami editor(_PyEval_EvalFrameDefault+0x4c0a)[0x55b7774d174a]
ami editor(_PyFunction_FastCallKeywords+0x184)[0x55b777442e94]
ami editor(+0x18f9c8)[0x55b7774a69c8]
ami editor(_PyEval_EvalFrameDefault+0xa04)[0x55b7774cd544]
ami editor(_PyEval_EvalCodeWithName+0x242)[0x55b777414af2]
ami editor(_PyFunction_FastCallDict+0x35d)[0x55b77741606d]
ami editor(_PyEval_EvalFrameDefault+0x1f67)[0x55b7774ceaa7]
ami editor(_PyFunction_FastCallKeywords+0x184)[0x55b777442e94]
ami editor(+0x18f9c8)[0x55b7774a69c8]
ami editor(_PyEval_EvalFrameDefault+0xa04)[0x55b7774cd544]
ami editor(_PyFunction_FastCallKeywords+0x184)[0x55b777442e94]
ami editor(+0x18f9c8)[0x55b7774a69c8]
ami editor(_PyEval_EvalFrameDefault+0xa04)[0x55b7774cd544]
ami editor(_PyFunction_FastCallKeywords+0x184)[0x55b777442e94]
ami editor(+0x18f9c8)[0x55b7774a69c8]
ami editor(_PyEval_EvalFrameDefault+0xa04)[0x55b7774cd544]
ami editor(_PyFunction_FastCallDict+0x19d)[0x55b777415ead]
ami editor(+0x1668ac)[0x55b77747d8ac]
ami editor(_PyObject_FastCallKeywords+0x18c)[0x55b7774a575c]
ami editor(+0x18fb59)[0x55b7774a6b59]
ami editor(_PyEval_EvalFrameDefault+0x96c)[0x55b7774cd4ac]
ami editor(_PyFunction_FastCallKeywords+0x184)[0x55b777442e94]
ami editor(+0x18f9c8)[0x55b7774a69c8]
ami editor[psanagpu106:09493] *** Process received signal ***
[psanagpu106:09493] Signal: Aborted (6)
[psanagpu106:09493] Signal code: (-6)
[psanagpu106:09493] [ 0] /lib64/libpthread.so.0(+0xf630)[0x7fe968064630]
[psanagpu106:09493] [ 1] /lib64/libc.so.6(gsignal+0x37)[0x7fe9673ac387]
[psanagpu106:09493] [ 2] /lib64/libc.so.6(abort+0x148)[0x7fe9673ada78]
[psanagpu106:09493] [ 3] /lib64/libc.so.6(+0x78ed7)[0x7fe9673eeed7]
[psanagpu106:09493] [ 4] /lib64/libc.so.6(+0x80794)[0x7fe9673f6794]
[psanagpu106:09493] [ 5] /lib64/libc.so.6(+0x820a5)[0x7fe9673f80a5]
[psanagpu106:09493] [ 6] /lib64/libc.so.6(__libc_malloc+0x4c)[0x7fe9673fb6fc]
[psanagpu106:09493] [ 7] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/libstdc++.so.6(_Znwm+0x15)[0x7fe8ddc9652d]
[psanagpu106:09493] [ 8] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Gui.so.5(_ZNK18QRasterPaintEngine11createStateEP13QPainterState+0x15)[0x7fe8d3473b31]
[psanagpu106:09493] [ 9] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Gui.so.5(_ZN8QPainter5beginEP12QPaintDevice+0x1ab)[0x7fe8d347f053]
[psanagpu106:09493] [10] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x55f)[0x7fe8c7745b97]
[psanagpu106:09493] [11] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(+0x17ecb2)[0x7fe8c7729cb2]
[psanagpu106:09493] [12] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(+0x17efaf)[0x7fe8c7729faf]
[psanagpu106:09493] [13] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN14QWidgetPrivate16syncBackingStoreEv+0x66)[0x7fe8c773add4]
[psanagpu106:09493] [14] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN7QWidget5eventEP6QEvent+0x91f)[0x7fe8c774acd9]
[psanagpu106:09493] [15] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN11QMainWindow5eventEP6QEvent+0xdd)[0x7fe8c77f534f]
[psanagpu106:09493] [16] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/QtWidgets.so(+0x273073)[0x7fe8c7d62073]
[psanagpu106:09493] [17] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xdc)[0x7fe8c771f7f2]
[psanagpu106:09493] [18] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1ac9)[0x7fe8c772531d]
[psanagpu106:09493] [19] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/QtWidgets.so(+0x16860e)[0x7fe8c7c5760e]
[psanagpu106:09493] [20] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x86)[0x7fe8d2fab606]
[psanagpu106:09493] [21] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1da)[0x7fe8d2fab83e]
[psanagpu106:09493] [22] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(+0x366cd0)[0x7fe8c7911cd0]
[psanagpu106:09493] [23] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(+0x36a2dd)[0x7fe8c79152dd]
[psanagpu106:09493] [24] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0xbc)[0x7fe8d2fc0594]
[psanagpu106:09493] [25] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN14QGraphicsScene5eventEP6QEvent+0x588)[0x7fe8c791c9b6]
[psanagpu106:09493] [26] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/QtWidgets.so(+0x20bbb3)[0x7fe8c7cfabb3]
[psanagpu106:09493] [27] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xdc)[0x7fe8c771f7f2]
[psanagpu106:09493] [28] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/../../../libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1ac9)[0x7fe8c772531d]
[psanagpu106:09493] [29] /cds/sw/ds/ana/conda2/inst/envs/ps-4.3.2/lib/python3.7/site-packages/PyQt5/QtWidgets.so(+0x16860e)[0x7fe8c7c5760e]
[psanagpu106:09493] *** End of error message ***

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