Bug 920 - PV fails to save file with only a single analog channel, glib problem
Summary: PV fails to save file with only a single analog channel, glib problem
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Other (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-20 22:01 CET by Soeren Apel
Modified: 2017-05-06 23:16 CEST (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Soeren Apel 2017-03-20 22:01:20 CET
How to reproduce:
1) Run PV
2) Use demo driver
3) Disable all channels except for one analog channel
4) Run acquisition, length doesn't matter
5) Save

-> GLib-CRITICAL **: g_variant_unref: assertion 'value->ref_count > 0' failed

There's no location information, so could be anywhere in libsigrok.
Comment 1 Soeren Apel 2017-05-06 23:16:57 CEST
This error doesn't show the first time saving, btw. It only shows after saving twice (or more).