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.
Created on 2015年05月01日 13:56 by pkt, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| poc_elt_extend1.py | pkt, 2015年05月01日 13:56 | |||
| etree_crashes.patch | serhiy.storchaka, 2015年05月02日 20:34 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg242305 - (view) | Author: paul (pkt) | Date: 2015年05月01日 13:56 | |
# 1055 for (i = 0; i < seqlen; i++) { # (gdb) n # 1056 PyObject* element = PySequence_Fast_GET_ITEM(seq, i); # (gdb) n # 1057 if (!PyObject_IsInstance(element, (PyObject *)&Element_Type)) { # (gdb) print *element # 19ドル = {_ob_next = 0x4060e6fc, _ob_prev = 0x4056cd8c, ob_refcnt = 1, ob_type = 0x406de3e4} # (gdb) n # 1066 if (element_add_subelement(self, element) < 0) { # (gdb) print *element # 20ドル = {_ob_next = 0xdbdbdbdb, _ob_prev = 0xdbdbdbdb, ob_refcnt = -606348325, ob_type = 0xdbdbdbdb} # # Fatal Python error: /home/p/Python-3.4.1/Modules/_elementtree.c:267 object at 0x4056c4cc has negative ref count -606348326 # # "element" is removed in __getattribute__ method. |
|||
| msg242430 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2015年05月02日 20:34 | |
Here is a patch that fixes issue24091, issue24092, issue24093, and several other similar bugs. |
|||
| msg243489 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2015年05月18日 15:34 | |
New changeset 34523e53a342 by Serhiy Storchaka in branch '2.7': Issue #24091: Fixed various crashes in corner cases in cElementTree. https://hg.python.org/cpython/rev/34523e53a342 New changeset 157c4afca186 by Serhiy Storchaka in branch '3.4': Issue #24091: Fixed various crashes in corner cases in C implementation of https://hg.python.org/cpython/rev/157c4afca186 New changeset a8b8d1b211fe by Serhiy Storchaka in branch 'default': Issue #24091: Fixed various crashes in corner cases in C implementation of https://hg.python.org/cpython/rev/a8b8d1b211fe |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:16 | admin | set | github: 68279 |
| 2015年05月19日 12:51:10 | serhiy.storchaka | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2015年05月18日 15:34:13 | python-dev | set | nosy:
+ python-dev messages: + msg243489 |
| 2015年05月03日 06:43:47 | Arfrever | set | nosy:
+ Arfrever |
| 2015年05月02日 20:36:29 | serhiy.storchaka | link | issue24093 superseder |
| 2015年05月02日 20:36:24 | serhiy.storchaka | link | issue24092 superseder |
| 2015年05月02日 20:34:44 | serhiy.storchaka | set | files:
+ etree_crashes.patch versions: + Python 3.5 messages: + msg242430 assignee: serhiy.storchaka keywords: + patch stage: patch review |
| 2015年05月01日 14:12:23 | christian.heimes | set | nosy:
+ christian.heimes |
| 2015年05月01日 14:00:46 | serhiy.storchaka | set | nosy:
+ scoder, eli.bendersky, serhiy.storchaka components: + Extension Modules, XML |
| 2015年05月01日 13:56:07 | pkt | create | |