Displaying 6 results from an estimated 6 matches for "gstate".
Did you mean:
state
2016 Sep 27
1
Re: Memory corruption when testing nbdkit python plugin with nbd-tester-client?
...data on connection close is not
locked against the requests within that connection, and any garbage
collection triggered by the last request may still be running while
plugin_close runs. Boom.
In general, when working with python any call into python should be
wrapped like this:
PyGILState_STATE gstate;
gstate = PyGILState_Ensure();
/* Perform Python actions here. */
result = CallSomeFunction();
/* evaluate result or handle exception */
/* Release the thread. No Python API allowed beyond this point. */
PyGILState_Release(gstate);
That would even allow us to run everything in parallel.
I have...
2013 Jan 07
9
[PATCH v2 0/3] nested vmx bug fixes
Changes from v1 to v2:
- Use a macro to replace the hardcode in patch 1/3.
This patchset fixes issues about IA32_VMX_MISC MSR emulation, VMCS guest area
synchronization about PAGE_FAULT_ERROR_CODE_MASK/PAGE_FAULT_ERROR_CODE_MATCH,
and CR0/CR4 emulation.
Please help to review and pull.
Thanks,
Dongxiao
Dongxiao Xu (3):
nested vmx: emulate IA32_VMX_MISC MSR
nested vmx: synchronize page
2013 Jan 21
6
[PATCH v3 0/4] nested vmx: enable VMCS shadowing feature
Changes from v2 to v3:
- Use pfn_to_paddr() to get the address from frame number instead of doing shift directly.
- Remove some unnecessary initialization code and add "static" to vmentry_fields and gpdptr_fields.
- Enable the VMREAD/VMWRITE bitmap only if nested hvm is enabled.
- Use clear_page() to set all 0 to the page instead of memset().
- Use domheap to allocate the
2007 Nov 18
2
[Bug 13293] New: _cairo_pen_find_active_cw_vertex_index failed assertion
...---
op=CAIRO_OPERATOR_OVER, source=0xbfe97598, path=0xa46ace8,
stroke_style=0xa46b4d0, ctm=0xa46b578, ctm_inverse=0xa46b5a8,
tolerance=0.10000000000000001, antialias=CAIRO_ANTIALIAS_DEFAULT)
at /home/rm/swfdec/cairo/libcairo-1.4.10/src/cairo-surface.c:1414
#10 0xb77b1379 in _cairo_gstate_stroke (gstate=0xa46b4c0, path=0xa46ace8)
at /home/rm/swfdec/cairo/libcairo-1.4.10/src/cairo-gstate.c:975
#11 0xb77a9f4c in *INT_cairo_stroke_preserve (cr=0xa46ab78)
at /home/rm/swfdec/cairo/libcairo-1.4.10/src/cairo.c:2053
#12 0xb77a9f72 in cairo_stroke (cr=0xa46ab78)
at /home/rm/swfde...
2016 Sep 26
2
Re: Memory corruption when testing nbdkit python plugin with nbd-tester-client?
On 26.09.2016 14:29, Richard W.M. Jones wrote:
> On Mon, Sep 26, 2016 at 02:18:02PM +0200, Carl-Daniel Hailfinger wrote:
>> Hi,
>>
>> has anyone ever run "make check" from nbd against nbdkit with a python
>> plugin? I usually get segfaults during such a run, and sometimes various
>> other errors happen before the segfault, suggesting that some memory
2020 Aug 05
5
[PATCH nbdkit 3/4] python: Allow thread model to be set from Python plugins.
This is working for me now, although possibly only on Python 3.9.
Dan suggested PyEval_InitThreads but that was deprecated in
Python 3.7.
Rich.