Summary: | Calling sr_session_stop from a different thread causes a segfault with the demo driver | ||
---|---|---|---|
Product: | libsigrok | Reporter: | mrnuke <mr.nuke.me> |
Component: | Other | Assignee: | mrnuke <mr.nuke.me> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | joel |
Priority: | High | ||
Version: | unreleased development snapshot | ||
Target Milestone: | --- | ||
Hardware: | x86 | ||
OS: | Linux | ||
Bug Depends on: | |||
Bug Blocks: | 45 |
Description
mrnuke
2012-12-17 18:10:29 CET
This just became a blocker for the PulseView release. The above patchset has two independent changes that both need to be applied to solve this bug: 1) Fix the problem I mentioned on IRC about the use of cb_data in the demo driver. 2) Make sr_session_stop() thread-safe. Applying only one of the above will not solve the problem. |