Bug 661

Summary: sr warns that an event source with the same key already exists
Product: libsigrok Reporter: jens.steinhauser
Component: OtherAssignee: Daniel Elstner <daniel.kitta>
Status: CONFIRMED ---    
Severity: normal CC: daniel.kitta, umerali199659
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: script to demonstrate the problem (adds two demo devices to the session, but the warning also happens for two different drivers)

Description jens.steinhauser 2015-09-23 16:51:45 CEST
Created attachment 161 [details]
script to demonstrate the problem (adds two demo devices to the session, but the warning also happens for two different drivers)

When I try to use multiple devices in one session (not that this ever worked properly, I was just testing if it now works after the many changes that happened recently), the following warning is printed:

sr: session: Event source with key 0xffffffffffffffff already exists.
sr: session: Event source for key 0xffffffffffffffff does not match destroyed source.

In 'sr_session_source_add_internal()', where the first warning is generated, the comment says "This must not ever happen ...".
Comment 1 Daniel Elstner 2015-09-23 19:23:58 CEST
That warning is not a bug; it's a feature. :)

I'm planning changes to the internal driver API which will eliminate this problem. Until then, the warning warns you about a real issue.
Comment 2 Rock12 2023-07-06 06:29:07 CEST
Embrace the future with smart toilets that incorporate advanced features like heated seats, automatic lid opening and closing, built-in bidet functions, and even customizable settings. While they may be a splurge, smart toilets take your bathroom experience to a whole new level of luxury and convenience. additional reading
Comment 3 Rock12 2023-07-06 06:29:42 CEST
Embrace the future with smart toilets that incorporate advanced features like heated seats, automatic lid opening and closing, built-in bidet functions, and even customizable settings. While they may be a splurge, smart toilets take your bathroom experience to a whole new level of luxury and convenience. additional reading https://toiletneeds.com/best-non-electric-bidet-toilet-seat/