[pkg-boost-devel] Bug#823188: libboost-python1.58.0: boost::python::exec_file "double free or corruption"
Sebastian Kuzminsky
seb at highlab.com
Mon May 2 00:30:30 UTC 2016
Package: libboost-python1.58.0
Version: 1.58.0+dfsg-5+b1
Severity: important
Tags: upstream
Dear Maintainer,
I ran in to (what I believe is) this upstream bug in boost 1.58:
https://github.com/boostorg/python/commit/fe24ab9dd5440562e27422cd38f7de03356bfd16#commitcomment-11804515
When calling boost::python::exec_file, i get this backtrace:
Running test: interp/python-self
*** Error in `rs274': double free or corruption (!prev): 0x0000000001cbee10 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x71fe5)[0x7f1c7d013fe5]
/lib/x86_64-linux-gnu/libc.so.6(+0x77936)[0x7f1c7d019936]
/lib/x86_64-linux-gnu/libc.so.6(+0x7811e)[0x7f1c7d01a11e]
/lib/x86_64-linux-gnu/libc.so.6(fclose+0x103)[0x7f1c7d00a653]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(+0x184ddd)[0x7f1c7df9bddd]
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0(_ZN5boost6python9exec_fileENS0_3strENS0_3api6objectES3_+0xe8)[0x7f1c7e3dbec8]
/home/seb/linuxcnc-dev/lib/libpyplugin.so.0(_ZN12PythonPlugin10initializeEv+0x23a)[0x7f1c7e5f5bdc]
/home/seb/linuxcnc-dev/lib/libpyplugin.so.0(_ZN12PythonPlugin9configureEPKcS1_+0x869)[0x7f1c7e5f6f6d]
/home/seb/linuxcnc-dev/lib/librs274.so.0(_ZN6Interp4initEv+0xa64)[0x7f1c7ef8a4c0]
rs274[0x40f316]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f1c7cfc2610]
rs274[0x40fa79]
======= Memory map: ========
00400000-00449000 r-xp 00000000 103:03 45746947 /home/seb/linuxcnc-dev/bin/rs274
00648000-0064c000 rw-p 00048000 103:03 45746947 /home/seb/linuxcnc-dev/bin/rs274
0064c000-0064f000 rw-p 00000000 00:00 0
01c59000-01d75000 rw-p 00000000 00:00 0 [heap]
7f1c78000000-7f1c78021000 rw-p 00000000 00:00 0
7f1c78021000-7f1c7c000000 ---p 00000000 00:00 0
7f1c7c331000-7f1c7c357000 r-xp 00000000 103:03 15728749 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f1c7c357000-7f1c7c556000 ---p 00026000 103:03 15728749 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f1c7c556000-7f1c7c55a000 r--p 00025000 103:03 15728749 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f1c7c55a000-7f1c7c55b000 rw-p 00029000 103:03 15728749 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f1c7c55b000-7f1c7c575000 r-xp 00000000 103:03 15728746 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f1c7c575000-7f1c7c774000 ---p 0001a000 103:03 15728746 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f1c7c774000-7f1c7c775000 r--p 00019000 103:03 15728746 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f1c7c775000-7f1c7c776000 rw-p 0001a000 103:03 15728746 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f1c7c776000-7f1c7c778000 r-xp 00000000 103:03 15732152 /lib/x86_64-linux-gnu/libutil-2.22.so
7f1c7c778000-7f1c7c977000 ---p 00002000 103:03 15732152 /lib/x86_64-linux-gnu/libutil-2.22.so
7f1c7c977000-7f1c7c978000 r--p 00001000 103:03 15732152 /lib/x86_64-linux-gnu/libutil-2.22.so
7f1c7c978000-7f1c7c979000 rw-p 00002000 103:03 15732152 /lib/x86_64-linux-gnu/libutil-2.22.so
7f1c7c979000-7f1c7c991000 r-xp 00000000 103:03 15732147 /lib/x86_64-linux-gnu/libpthread-2.22.so
7f1c7c991000-7f1c7cb90000 ---p 00018000 103:03 15732147 /lib/x86_64-linux-gnu/libpthread-2.22.so
7f1c7cb90000-7f1c7cb91000 r--p 00017000 103:03 15732147 /lib/x86_64-linux-gnu/libpthread-2.22.so
7f1c7cb91000-7f1c7cb92000 rw-p 00018000 103:03 15732147 /lib/x86_64-linux-gnu/libpthread-2.22.so
7f1c7cb92000-7f1c7cb96000 rw-p 00000000 00:00 0
7f1c7cb96000-7f1c7cb9d000 r-xp 00000000 103:03 15732153 /lib/x86_64-linux-gnu/librt-2.22.so
7f1c7cb9d000-7f1c7cd9c000 ---p 00007000 103:03 15732153 /lib/x86_64-linux-gnu/librt-2.22.so
7f1c7cd9c000-7f1c7cd9d000 r--p 00006000 103:03 15732153 /lib/x86_64-linux-gnu/librt-2.22.so
7f1c7cd9d000-7f1c7cd9e000 rw-p 00007000 103:03 15732153 /lib/x86_64-linux-gnu/librt-2.22.so
7f1c7cd9e000-7f1c7cda0000 r-xp 00000000 103:03 15732144 /lib/x86_64-linux-gnu/libdl-2.22.so
7f1c7cda0000-7f1c7cfa0000 ---p 00002000 103:03 15732144 /lib/x86_64-linux-gnu/libdl-2.22.so
7f1c7cfa0000-7f1c7cfa1000 r--p 00002000 103:03 15732144 /lib/x86_64-linux-gnu/libdl-2.22.so
7f1c7cfa1000-7f1c7cfa2000 rw-p 00003000 103:03 15732144 /lib/x86_64-linux-gnu/libdl-2.22.so
7f1c7cfa2000-7f1c7d13c000 r-xp 00000000 103:03 15732143 /lib/x86_64-linux-gnu/libc-2.22.so
7f1c7d13c000-7f1c7d33c000 ---p 0019a000 103:03 15732143 /lib/x86_64-linux-gnu/libc-2.22.so
7f1c7d33c000-7f1c7d340000 r--p 0019a000 103:03 15732143 /lib/x86_64-linux-gnu/libc-2.22.so
7f1c7d340000-7f1c7d342000 rw-p 0019e000 103:03 15732143 /lib/x86_64-linux-gnu/libc-2.22.so
7f1c7d342000-7f1c7d346000 rw-p 00000000 00:00 0
7f1c7d346000-7f1c7d35c000 r-xp 00000000 103:03 15728646 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f1c7d35c000-7f1c7d55b000 ---p 00016000 103:03 15728646 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f1c7d55b000-7f1c7d55c000 rw-p 00015000 103:03 15728646 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f1c7d55c000-7f1c7d659000 r-xp 00000000 103:03 15732145 /lib/x86_64-linux-gnu/libm-2.22.so
7f1c7d659000-7f1c7d858000 ---p 000fd000 103:03 15732145 /lib/x86_64-linux-gnu/libm-2.22.so
7f1c7d858000-7f1c7d859000 r--p 000fc000 103:03 15732145 /lib/x86_64-linux-gnu/libm-2.22.so
7f1c7d859000-7f1c7d85a000 rw-p 000fd000 103:03 15732145 /lib/x86_64-linux-gnu/libm-2.22.so
7f1c7d85a000-7f1c7d9c5000 r-xp 00000000 103:03 12583494 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f1c7d9c5000-7f1c7dbc5000 ---p 0016b000 103:03 12583494 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f1c7dbc5000-7f1c7dbcf000 r--p 0016b000 103:03 12583494 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f1c7dbcf000-7f1c7dbd1000 rw-p 00175000 103:03 12583494 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f1c7dbd1000-7f1c7dbd5000 rw-p 00000000 00:00 0
7f1c7dbd5000-7f1c7dc0d000 r-xp 00000000 103:03 15734766 /lib/x86_64-linux-gnu/libreadline.so.5.2
7f1c7dc0d000-7f1c7de0d000 ---p 00038000 103:03 15734766 /lib/x86_64-linux-gnu/libreadline.so.5.2
7f1c7de0d000-7f1c7de0f000 r--p 00038000 103:03 15734766 /lib/x86_64-linux-gnu/libreadline.so.5.2
7f1c7de0f000-7f1c7de15000 rw-p 0003a000 103:03 15734766 /lib/x86_64-linux-gnu/libreadline.so.5.2
7f1c7de15000-7f1c7de17000 rw-p 00000000 00:00 0
7f1c7de17000-7f1c7e109000 r-xp 00000000 103:03 12586940 /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
7f1c7e109000-7f1c7e308000 ---p 002f2000 103:03 12586940 /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
7f1c7e308000-7f1c7e30a000 r--p 002f1000 103:03 12586940 /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
7f1c7e30a000-7f1c7e381000 rw-p 002f3000 103:03 12586940 /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
7f1c7e381000-7f1c7e3a4000 rw-p 00000000 00:00 0
7f1c7e3a4000-7f1c7e3ef000 r-xp 00000000 103:03 12617888 /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0
7f1c7e3ef000-7f1c7e5ef000 ---p 0004b000 103:03 12617888 /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0
7f1c7e5ef000-7f1c7e5f0000 r--p 0004b000 103:03 12617888 /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0
7f1c7e5f0000-7f1c7e5f2000 rw-p 0004c000 103:03 12617888 /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0
7f1c7e5f2000-7f1c7e5f9000 r-xp 00000000 103:03 45746446 /home/seb/linuxcnc-dev/lib/libpyplugin.so.0
7f1c7e5f9000-7f1c7e7f8000 ---p 00007000 103:03 45746446 /home/seb/linuxcnc-dev/lib/libpyplugin.so.0
7f1c7e7f8000-7f1c7e7f9000 rw-p 00006000 103:03 45746446 /home/seb/linuxcnc-dev/lib/libpyplugin.so.0
7f1c7e7f9000-7f1c7e801000 r-xp 00000000 103:03 45746222 /home/seb/linuxcnc-dev/lib/liblinuxcncini.so.0
7f1c7e801000-7f1c7ea01000 ---p 00008000 103:03 45746222 /home/seb/linuxcnc-dev/lib/liblinuxcncini.so.0
7f1c7ea01000-7f1c7ea02000 rw-p 00008000 103:03 45746222 /home/seb/linuxcnc-dev/lib/liblinuxcncini.so.0
7f1c7ea02000-7f1c7ea0b000 r-xp 00000000 103:03 45746227 /home/seb/linuxcnc-dev/lib/liblinuxcnchal.so.0
7f1c7ea0b000-7f1c7ec0b000 ---p 00009000 103:03 45746227 /home/seb/linuxcnc-dev/lib/liblinuxcnchal.so.0
7f1c7ec0b000-7f1c7ec0c000 rw-p 00009000 103:03 45746227 /home/seb/linuxcnc-dev/lib/liblinuxcnchal.so.0
7f1c7ec0c000-7f1c7ec50000 r-xp 00000000 103:03 45746224 /home/seb/linuxcnc-dev/lib/libnml.so.0
7f1c7ec50000-7f1c7ee4f000 ---p 00044000 103:03 45746224 /home/seb/linuxcnc-dev/lib/libnml.so.0
7f1c7ee4f000-7f1c7ee52000 rw-p 00043000 103:03 45746224 /home/seb/linuxcnc-dev/lib/libnml.so.0
7f1c7ee52000-7f1c7ee53000 rw-p 00000000 00:00 0
7f1c7ee53000-7f1c7efc5000 r-xp 00000000 103:03 45746943 /home/seb/linuxcnc-dev/lib/librs274.so.0
7f1c7efc5000-7f1c7f1c5000 ---p 00172000 103:03 45746943 /home/seb/linuxcnc-dev/lib/librs274.so.0
7f1c7f1c5000-7f1c7f1d7000 rw-p 00172000 103:03 45746943 /home/seb/linuxcnc-dev/lib/librs274.so.0
7f1c7f1d7000-7f1c7f1f9000 r-xp 00000000 103:03 15732148 /lib/x86_64-linux-gnu/ld-2.22.so
7f1c7f1fc000-7f1c7f3d5000 rw-p 00000000 00:00 0
7f1c7f3f2000-7f1c7f3f8000 rw-p 00000000 00:00 0
7f1c7f3f8000-7f1c7f3f9000 r--p 00021000 103:03 15732148 /lib/x86_64-linux-gnu/ld-2.22.so
7f1c7f3f9000-7f1c7f3fa000 rw-p 00022000 103:03 15732148 /lib/x86_64-linux-gnu/ld-2.22.so
7f1c7f3fa000-7f1c7f3fb000 rw-p 00000000 00:00 0
7ffd3d659000-7ffd3d67a000 rw-p 00000000 00:00 0 [stack]
7ffd3d6de000-7ffd3d6e1000 r--p 00000000 00:00 0 [vvar]
7ffd3d6e1000-7ffd3d6e3000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
The problem does not appear in libboost-python1.55.0 version
1.55.0+dfsg-3, and does not appear in libboost-python1.6.0 version
1.60.0+dfsg-4.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.5.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the pkg-boost-devel
mailing list