Bug 1568

Summary: analog values don't match configured pattern (random instead of sawtooth)
Product: libsigrok Reporter: Gerhard Sittig <Gerhard.Sittig>
Component: Driver: demoAssignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: normal CC: soeren
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: unexpected trace values, and probes dialog

Description Gerhard Sittig 2020-07-06 20:45:55 CEST
Created attachment 642 [details]
unexpected trace values, and probes dialog

How to reproduce: Open pulseview, use the demo device, (lower the sample count 
to 10k), open the probes dialog (red pin), switch all analog channels' pattern 
to the next option after their defaults, run. Channel A2 shows data that does 
not match the configured pattern. The data even starts going wrong after it 
was correct for an initial period of time? The issue is assumed to be in the 
demo device driver (unverified).
Comment 1 Soeren Apel 2020-07-06 21:03:23 CEST
Could reproduce with last PV release version, could not reproduce with master as of today.

With that, I'd guess that either there's some uninitialized variable somewhere or a variable is being overwritten by a broken memory access.