Using LHT00SU1 logic analyzer. Setup with CWAV USBee AX Ubuntu Linux. I think I installed the latest sigrok-firmware-fx2lafw-bin-0.1.7 firmware, but I'm not sure. The pre-built sigrok-firmware-fx2lafw-bin-0.1.7.tar.gz did not come with instructions how to install it, but I copied the *.fw files to ~/.local/share/sigrok-firmware/ When I set "Pretrigger capture ratio" of CWAV USBee AX to a non-zero percentage (for example "5"), setup a trigger and start a capture, Pulseview crashes with this message: pulseview: /build/pulseview-XIrLPh/pulseview-0.4.0/pv/data/logicsegment.cpp:141: void pv::data::LogicSegment::append_payload(std::shared_ptr<sigrok::Logic>): Assertion `unit_size_ == logic->unit_size()' failed. Aborted (core dumped) Capturing data without pretrigger capture ratio works.
Can you still reproduce this with the current nightly build (or nightly AppImage)? If not then I'd say that it's because you used an old version and the bug can be closed.
Retesting with the nightly build works. No crash. Before, I used the version available through APT: Package: pulseview Version: 0.4.0-2 APT-Sources: http://se.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages Clearly it's very old. Marking as RESOLVED/FIXED.