[Stackless] Still getting crashes with PySide

Richard Tew richard.m.tew at gmail.com
Mon Nov 12 05:24:22 CET 2012


Hi,

Is anyone using PySide with Stackless and getting crashes?

Anselm's recent patch made PySide usable with Stackless, but as I run
a range of examples I notice crashes, thankfully less final ones.

The value passed in from QtCore in this case seems to be a dud.   In
this case, it is consistently reproducible by running the following
script:

  C:\Python27\Lib\site-packages\PySide\examples\mainwindows\sdi\sdi.py

And then clicking on the close window button in the top right hand
corner.. gives the access violation.

Cheers,
Richard.

Unhandled exception at 0x5308ec83 in python.exe: 0xC0000005: Access
violation reading location 0x5308ec83.

>	python27.dll!PyObject_GetAttrString(_object * v=0x022e9690, const char * name=0x1014ff70)  Line 1129 + 0x8 bytes	C
 	python27.dll!PyObject_HasAttrString(_object * v=0x022e9690, const
char * name=0x1014ff70)  Line 1141 + 0xf bytes	C
 	QtCore.pyd!100c75a6() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for
QtCore.pyd]
 	pyside-python2.7.dll!0037ef29() 	
 	QtCore.pyd!100c7a13() 	
 	python27.dll!PyCFunction_Call(_object * func=0x0225d760, _object *
arg=0x00431030, _object * kw=0x02491930)  Line 108 + 0x19 bytes	C
 	python27.dll!ext_do_call(_object * func=0x0225d760, _object * * *
pp_stack=0x00000000, int flags=3, int na=0, int nk=0)  Line 4683	C
 	python27.dll!PyEval_EvalFrame_value(_frame * f=0x0302e0c8, int
throwflag=0, _object * retval=0x1e23e030)  Line 2939	C
 	python27.dll!PyEval_EvalFrameEx_slp(_frame * f=0x0302e0c8, int
throwflag=0, _object * retval=0x1e23e030)  Line 964 + 0x17 bytes	C
 	python27.dll!slp_eval_frame_newstack(_frame * f=0x0302e0c8, int
exc=0, _object * retval=0x1e23e030)  Line 477 + 0x1b bytes	C
 	python27.dll!PyEval_EvalFrameEx_slp(_frame * f=0x0302e0c8, int
throwflag=0, _object * retval=0x1e23e030)  Line 964	C
 	python27.dll!slp_frame_dispatch(_frame * f=0x0302e0c8, _frame *
stopframe=0x00000000, int exc=0, _object * retval=0x1e23e030)  Line
737 + 0x8 bytes	C
 	python27.dll!slp_eval_frame(_frame * f=0x0302e0c8)  Line 316 + 0xe bytes	C
 	python27.dll!PyEval_EvalCodeEx(PyCodeObject * co=0x022576e0, _object
* globals=0x0302e0c8, _object * locals=0x00000000, _object * *
args=0x0043103c, int argcount=0, _object * * kws=0x00000000, int
kwcount=0, _object * * defs=0x00000000, int defcount=0, _object *
closure=0x00000000)  Line 3564 + 0x6 bytes	C
 	python27.dll!function_call(_object * func=0x0224fdb0, _object *
arg=0x00431030, _object * kw=0x00000000)  Line 542 + 0x2a bytes	C
 	python27.dll!PyObject_Call(_object * func=0x0224fdb0, _object *
arg=0x00431030, _object * kw=0x00000000)  Line 2539 + 0x1c bytes	C
 	python27.dll!PyEval_CallObjectWithKeywords(_object *
func=0x0224fdb0, _object * arg=0x00000000, _object * kw=0x00000000)
Line 4219 + 0x12 bytes	C
 	python27.dll!call_sys_exitfunc()  Line 1778 + 0xa bytes	C
 	python27.dll!Py_Finalize()  Line 433	C
 	python27.dll!Py_Exit(int sts=0)  Line 1807	C
 	python27.dll!handle_system_exit()  Line 1164 + 0x6 bytes	C
 	python27.dll!tasklet_end(_object * retval=0x00000000)  Line 1063	C
 	python27.dll!slp_run_tasklet()  Line 1179 + 0x5 bytes	C
 	python27.dll!PyAST_Compile(_mod * mod=0x02257608, const char *
filename=0x004b56f0, PyCompilerFlags * flags=0x004b56f0, _arena *
arena=0x022d7f78)  Line 292 + 0x9 bytes	C
 	python27.dll!run_mod(_mod * mod=0x00000002, const char *
filename=0x00000000, _object * globals=0x01f33fa8, _object *
locals=0x01f32458, PyCompilerFlags * flags=0x00000000, _arena *
arena=0x00000000)  Line 1397 + 0x16 bytes	C
 	python.exe!1d00116d()



More information about the Stackless mailing list