core dump problem connected to prediction_subscriber.py #137

Closed
opened 2026-08-11 14:55:39 +02:00 by duan_j · 1 comment
Owner
2026-08-11 14:54:00,064 - AareGUI: x06da-cons-01 - duan_j - DEBUG - Could not parse the prediction payload as JSON
Traceback (most recent call last):
  File "/sls/mx/applications/AareDAQ/x06da-fix_graphics-and-recovery/AareDAQ/src/aare/gui/threads/prediction_subscriber.py", line 91, in _try_parse_json
    decoded = json.loads(part.decode("utf-8"))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/json/decoder.py", line 338, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/json/decoder.py", line 356, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2026-08-11 14:54:00,064 - AareGUI: x06da-cons-01 - duan_j - DEBUG - Could not parse the prediction payload as JSON
Traceback (most recent call last):
  File "/sls/mx/applications/AareDAQ/x06da-fix_graphics-and-recovery/AareDAQ/src/aare/gui/threads/prediction_subscriber.py", line 91, in _try_parse_json
    decoded = json.loads(part.decode("utf-8"))
                         ^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
2026-08-11 14:54:00,197 - AareGUI: x06da-cons-01 - duan_j - INFO - End session requested on GUI close
2026-08-11 14:54:00,210 - AareGUI: x06da-cons-01 - duan_j - DEBUG - Stopping prediction_thread
Assertion failed: pfd.revents & POLLIN (src/signaler.cpp:238)
Aborted (core dumped)

``` 2026-08-11 14:54:00,064 - AareGUI: x06da-cons-01 - duan_j - DEBUG - Could not parse the prediction payload as JSON Traceback (most recent call last): File "/sls/mx/applications/AareDAQ/x06da-fix_graphics-and-recovery/AareDAQ/src/aare/gui/threads/prediction_subscriber.py", line 91, in _try_parse_json decoded = json.loads(part.decode("utf-8")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/json/decoder.py", line 338, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/json/decoder.py", line 356, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2026-08-11 14:54:00,064 - AareGUI: x06da-cons-01 - duan_j - DEBUG - Could not parse the prediction payload as JSON Traceback (most recent call last): File "/sls/mx/applications/AareDAQ/x06da-fix_graphics-and-recovery/AareDAQ/src/aare/gui/threads/prediction_subscriber.py", line 91, in _try_parse_json decoded = json.loads(part.decode("utf-8")) ^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte 2026-08-11 14:54:00,197 - AareGUI: x06da-cons-01 - duan_j - INFO - End session requested on GUI close 2026-08-11 14:54:00,210 - AareGUI: x06da-cons-01 - duan_j - DEBUG - Stopping prediction_thread Assertion failed: pfd.revents & POLLIN (src/signaler.cpp:238) Aborted (core dumped) ```
Author
Owner

69178945e5

Might've been fixed by this...

https://gitea.psi.ch/mx/AareDAQ/commit/69178945e5b64e73413169056673714a3db2d8cf Might've been fixed by this...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mx/AareDAQ#137