Bug 531979
| Summary: | A segmentation fault occurs when event-test runs. | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | kak <f-kak> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | berrange, crobinso, jtomko, xen-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-18 08:22:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
kak
2009-10-30 04:22:44 UTC
I think that libvirt causes this trouble. Would I be able to send the above-described patch to the libvir-list ML? The event-test has been completely rewritten since:
commit 0c97e70b74434b4baca9bbfc19c14bf7ff2ef304
Author: Daniel P. Berrange <berrange>
AuthorDate: 2011-03-23 14:30:30 +0000
Commit: Daniel P. Berrange <berrange>
CommitDate: 2011-03-29 10:59:46 +0100
Update event loop example programs to demonstrate best practice
The example C event loop code is a nasty hack and not compliant
with the require API semantics. Delete this, so that developers
don't mistakenly copy it. Instead call the new public event loop
APIs.
Update the python event loop example, so that it can optionally
use the public event APIs, as an alternative to the pure python
code. The pure python event code is a good working example, so
don't delete it.
Also make the python example use a read only connection to avoid
authentication prompts
* examples/domain-events/events-c/event-test.c: Replace event
loop code with use of public APIs
* examples/domain-events/events-python/event-test.py: Allow
optional use of new public event APIs
git describe: v0.8.8-286-g0c97e70 contains: v0.9.0~49
|