Hi,

Can you mail me a working and a non-working copy of your python?

Robert


On 3 Dec 2011, at 19:16, Jesus Cea wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Working in the development of Python DTrace probes, I am launching the
> tests using dtrace with the "-c" command. Lately, and inconsistently,
> I am getting "does not match any probes" error.
> 
> The only change in the sourcecode is the addition of a completely
> unrelated global variable in the sourcecode.
> 
> Doing "dtrace -l -n "python\$target:::" -c ./python" I get the error
> "dtrace: invalid probe specifier python$target:::: probe description
> python6961::: does not match any probes".
> 
> But launching the python interpreter manually with "./python" and then
> doing "dtrace -l -n "python*:::"", I get the right answer:
> 
> """
>   ID   PROVIDER            MODULE                          FUNCTION NAME
> 60946 python7293 libpython3.3m.so.1.0
> PyEval_EvalFrameEx function-entry
> 60947 python7293 libpython3.3m.so.1.0
> PyEval_EvalFrameEx function-return
> 60948 python7293 libpython3.3m.so.1.0
> _PyObject_GC_Malloc gc-done
> 60949 python7293 libpython3.3m.so.1.0
> PyGC_Collect gc-done
> 60950 python7293 libpython3.3m.so.1.0
> gc_collect gc-done
> 60951 python7293 libpython3.3m.so.1.0
> _PyObject_GC_Malloc gc-start
> 60952 python7293 libpython3.3m.so.1.0
> PyGC_Collect gc-start
> 60953 python7293 libpython3.3m.so.1.0
> gc_collect gc-start
> 60954 python7293 libpython3.3m.so.1.0
> subtype_dealloc instance-delete-done
> 60955 python7293 libpython3.3m.so.1.0
> subtype_dealloc instance-delete-start
> 60956 python7293 libpython3.3m.so.1.0
> PyType_GenericAlloc instance-new-done
> 60957 python7293 libpython3.3m.so.1.0
> PyType_GenericAlloc instance-new-start
> 60958 python7293 libpython3.3m.so.1.0
> PyEval_EvalFrameEx line
> """
> 
> What are you doing wrong?. If I rollback a single line change in the
> sourcecode, completely unrelated to dtrace (an "unsigned int XXXX =
> constant;" at global level), things work as expected.
> 
> Help!.
> 
> I am running Solaris 10 update 10.
> 
> Adding "-Z" flag doesn't help. No changes.
> 
> - -- 
> Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
> j...@jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
> jabber / xmpp:j...@jabber.org         _/_/    _/_/          _/_/_/_/_/
> .                              _/_/  _/_/    _/_/          _/_/  _/_/
> "Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iQCVAwUBTtp1pJlgi5GaxT1NAQIPCgP/RApvAsk1Zq9Xf7vZlRbKFGNCrxxpBsxn
> nBW3sBtPkQ3GIFxC6CXllcqM0RSK7VbPMGa1o7rWi2N0pQHWQECMPI6E9yw31BR9
> Men6EqtsLSjT73QMiNlaUmwEDXONbGHfW8KlySb5HROZ6B4o6qrInzC2BAOZDDIs
> NyGE5slIz08=
> =5u2t
> -----END PGP SIGNATURE-----
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss@opensolaris.org

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to