Artifact
c5109fa203cc7769acd57f8dcead00466a3c5f58:
Ticket change
[c5109fa203]
- Ticket
[d59715d0cffb0b86|d59715d0cf] <i>Use-after-free in Tcl_DStringAppend</i> status still Closed with 5 other changes
by
acpime on
2016-07-02 16:51:07.
D 2016-07-02T16:51:07.962
J closedate 2457572.20217508
J closer acpime
J comment I\sget\sthe\sfollowing\sreport\swhen\srunning\sthe\sscript\s(which\sare\sgenerally\sused\sthird\sparty\sTCL\slibrary)\son\spython\swith\sASAN\senabled.\r\n\r\npython\sbug:\r\n\r\nhttp://bugs.python.org/issue27254\r\n\r\nAsan\sreport.\r\n=================================================================\r\n==20559==ERROR:\sAddressSanitizer:\sheap-use-after-free\son\saddress\s0x7fa46bec8810\sat\spc\s0x4665ea\sbp\s0x7ffd34fb4060\ssp\s0x7ffd34fb3820\r\nREAD\sof\ssize\s1048575\sat\s0x7fa46bec8810\sthread\sT0\r\n==20559==WARNING:\sTrying\sto\ssymbolize\scode,\sbut\sexternal\ssymbolizer\sis\snot\sinitialized!\r\n\s\s\s\s#0\s0x4665e9\s(/home/eminus/Downloads/Python-2.7.11/python+0x4665e9)\r\n\s\s\s\s#1\s0x7fa46f507e18\s(/usr/lib/x86_64-linux-gnu/libtcl8.6.so+0x116e18)\r\n\s\s\s\s#2\s0x7fa46f7eb44e\s(/usr/lib/x86_64-linux-gnu/libtk8.6.so+0x6244e)\r\n\s\s\s\s#3\s0x7fa46fb1ae4c\s(/home/eminus/Downloads/Python-2.7.11/build/lib.linux-x86_64-2.7/_tkinter.so+0x19e4c)\r\n\s\s\s\s#4\s0x7fa46fb0bfc5\s(/home/eminus/Downloads/Python-2.7.11/build/lib.linux-x86_64-2.7/_tkinter.so+0xafc5)\r\n\s\s\s\s#5\s0x5e1813\s(/home/eminus/Downloads/Python-2.7.11/python+0x5e1813)\r\n\s\s\s\s#6\s0x5d319c\s(/home/eminus/Downloads/Python-2.7.11/python+0x5d319c)\r\n\s\s\s\s#7\s0x721353\s(/home/eminus/Downloads/Python-2.7.11/python+0x721353)\r\n\s\s\s\s#8\s0x4acb2a\s(/home/eminus/Downloads/Python-2.7.11/python+0x4acb2a)\r\n\s\s\s\s#9\s0x4b6c62\s(/home/eminus/Downloads/Python-2.7.11/python+0x4b6c62)\r\n\s\s\s\s#10\s0x4acb2a\s(/home/eminus/Downloads/Python-2.7.11/python+0x4acb2a)\r\n\s\s\s\s#11\s0x5f0823\s(/home/eminus/Downloads/Python-2.7.11/python+0x5f0823)\r\n\s\s\s\s#12\s0x4b0a08\s(/home/eminus/Downloads/Python-2.7.11/python+0x4b0a08)\r\n\s\s\s\s#13\s0x4acb2a\s(/home/eminus/Downloads/Python-2.7.11/python+0x4acb2a)\r\n\s\s\s\s#14\s0x5e2d19\s(/home/eminus/Downloads/Python-2.7.11/python+0x5e2d19)\r\n\s\s\s\s#15\s0x5d319c\s(/home/eminus/Downloads/Python-2.7.11/python+0x5d319c)\r\n\s\s\s\s#16\s0x5d2041\s(/home/eminus/Downloads/Python-2.7.11/python+0x5d2041)\r\n\s\s\s\s#17\s0x660980\s(/home/eminus/Downloads/Python-2.7.11/python+0x660980)\r\n\s\s\s\s#18\s0x65fc8a\s(/home/eminus/Downloads/Python-2.7.11/python+0x65fc8a)\r\n\s\s\s\s#19\s0x48e46c\s(/home/eminus/Downloads/Python-2.7.11/python+0x48e46c)\r\n\s\s\s\s#20\s0x7fa4727edec4\s(/lib/x86_64-linux-gnu/libc.so.6+0x21ec4)\r\n\s\s\s\s#21\s0x48c5bc\s(/home/eminus/Downloads/Python-2.7.11/python+0x48c5bc)\r\n\r\n0x7fa46bec8810\sis\slocated\s16\sbytes\sinside\sof\s2097166-byte\sregion\s[0x7fa46bec8800,0x7fa46c0c880e)\r\nfreed\sby\sthread\sT0\shere:\r\n\s\s\s\s#0\s0x4766d3\s(/home/eminus/Downloads/Python-2.7.11/python+0x4766d3)\r\n\s\s\s\s#1\s0x7fa46f4ff52d\s(/usr/lib/x86_64-linux-gnu/libtcl8.6.so+0x10e52d)\r\n\r\npreviously\sallocated\sby\sthread\sT0\shere:\r\n\s\s\s\s#0\s0x4764d9\s(/home/eminus/Downloads/Python-2.7.11/python+0x4764d9)\r\n\s\s\s\s#1\s0x7fa46f4ff0cc\s(/usr/lib/x86_64-linux-gnu/libtcl8.6.so+0x10e0cc)\r\n\r\nSUMMARY:\sAddressSanitizer:\sheap-use-after-free\s??:0\s??\r\nShadow\sbytes\saround\sthe\sbuggy\saddress:\r\n\s\s0x0ff50d7d10b0:\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\r\n\s\s0x0ff50d7d10c0:\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\r\n\s\s0x0ff50d7d10d0:\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\r\n\s\s0x0ff50d7d10e0:\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\r\n\s\s0x0ff50d7d10f0:\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\sfa\r\n=>0x0ff50d7d1100:\sfd\sfd[fd]fd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\r\n\s\s0x0ff50d7d1110:\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\r\n\s\s0x0ff50d7d1120:\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\r\n\s\s0x0ff50d7d1130:\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\r\n\s\s0x0ff50d7d1140:\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\r\n\s\s0x0ff50d7d1150:\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\sfd\r\nShadow\sbyte\slegend\s(one\sshadow\sbyte\srepresents\s8\sapplication\sbytes):\r\n\s\sAddressable:\s\s\s\s\s\s\s\s\s\s\s00\r\n\s\sPartially\saddressable:\s01\s02\s03\s04\s05\s06\s07\s\r\n\s\sHeap\sleft\sredzone:\s\s\s\s\sfa\r\n\s\sHeap\sright\sredzone:\s\s\s\sfb\r\n\s\sFreed\sheap\sregion:\s\s\s\s\sfd\r\n\s\sStack\sleft\sredzone:\s\s\s\sf1\r\n\s\sStack\smid\sredzone:\s\s\s\s\sf2\r\n\s\sStack\sright\sredzone:\s\s\sf3\r\n\s\sStack\spartial\sredzone:\sf4\r\n\s\sStack\safter\sreturn:\s\s\s\sf5\r\n\s\sStack\suse\safter\sscope:\sf8\r\n\s\sGlobal\sredzone:\s\s\s\s\s\s\s\sf9\r\n\s\sGlobal\sinit\sorder:\s\s\s\s\sf6\r\n\s\sPoisoned\sby\suser:\s\s\s\s\s\sf7\r\n\s\sASan\sinternal:\s\s\s\s\s\s\s\s\sfe\r\n==20559==ABORTING
J login acpime
J mimetype text/plain
K d59715d0cffb0b86427b164188c95f2a06d88c17
U acpime
Z 447e3fdec17540b63c23e43bfda14329