This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients tilsche, vstinner
Date 2016-04-19.19:19:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461093552.09.0.752196911771.issue26799@psf.upfronthosting.co.za>
In-reply-to
Content
> Turns out the type->length of the the globally initialized ptr types is wrong: It is 4 instead of 8, causing the cast to fail. I suspect the initialization is done before the executable is loaded and gdb is using some default.

Hum. I see two options:

* try late initialization: initialize types at the first usage
* remove variables: always lookup types at runtime

Would you like to try to implement these options?
History
Date User Action Args
2016-04-19 19:19:12vstinnersetrecipients: + vstinner, tilsche
2016-04-19 19:19:12vstinnersetmessageid: <1461093552.09.0.752196911771.issue26799@psf.upfronthosting.co.za>
2016-04-19 19:19:12vstinnerlinkissue26799 messages
2016-04-19 19:19:12vstinnercreate