Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#6585 - PyVorbis crashes with Python 2.5
|
DetailsWith Python 2.5, pyvorbis 1.4 crashes, as does the pyvorbis 1.3 in extra.
A patch that was created for this was in this ubuntu bug: https://launchpad.net/ubuntu/+source/pyvorbis/+bug/81243 Patch is here: https://launchpad.net/ubuntu/+source/pyvorbis/1.3-1.2ubuntu2 I modified the patch to work for both pyvorbis 1.3 and the pyvorbis 1.4 in testing. The two patches are attached. A crash test is below. Opening two files and reading some data from them insures that there will be a crash with the unpatched pyvorbis. File: pyvorbistest.py #!/usr/bin/python import ogg.vorbis vf = ogg.vorbis.VorbisFile('test.ogg') print vf.bitrate(0) vf2 = ogg.vorbis.VorbisFile('test.ogg') print vf2.bitrate(0) Below is a crash example: *** glibc detected *** /usr/bin/python: double free or corruption (!prev): 0x0805bda0 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7ca3b10] /lib/libc.so.6(__libc_free+0x89)[0xb7ca51a9] /lib/libc.so.6(fclose+0x142)[0xb7c94ad2] /usr/lib/python2.5/site-packages/ogg/vorbis.so[0xb773e7a6] /usr/lib/libpython2.5.so.1.0[0xb7e03e09] /usr/lib/libpython2.5.so.1.0(PyDict_SetItem+0x7e)[0xb7e05e1e] /usr/lib/libpython2.5.so.1.0(_PyModule_Clear+0x1a2)[0xb7e07ff2] /usr/lib/libpython2.5.so.1.0(PyImport_Cleanup+0x178)[0xb7e6a0f8] /usr/lib/libpython2.5.so.1.0(Py_Finalize+0xc1)[0xb7e75f81] /usr/lib/libpython2.5.so.1.0(Py_Main+0x513)[0xb7e80ac3] /usr/bin/python(main+0x32)[0x8048592] /lib/libc.so.6(__libc_start_main+0xd8)[0xb7c557c8] /usr/bin/python[0x80484d1] ======= Memory map: ======== 08048000-08049000 r-xp 00000000 03:01 1668695 /usr/bin/python2.5 08049000-0804a000 rwxp 00000000 03:01 1668695 /usr/bin/python2.5 0804a000-080d0000 rwxp 0804a000 00:00 0 [heap] b7400000-b7421000 rwxp b7400000 00:00 0 b7421000-b7500000 ---p b7421000 00:00 0 b75f2000-b75fd000 r-xp 00000000 03:01 1689386 /usr/lib/libvorbisenc.so.2.0.2 b75fd000-b76ee000 rwxp 0000a000 03:01 1689386 /usr/lib/libvorbisenc.so.2.0.2 b76ee000-b76f0000 rwxp b76ee000 00:00 0 b76f0000-b76f6000 r-xp 00000000 03:01 1689387 /usr/lib/libvorbisfile.so.3.1.1 b76f6000-b76f7000 rwxp 00006000 03:01 1689387 /usr/lib/libvorbisfile.so.3.1.1 b76f7000-b7711000 r-xp 00000000 03:01 1689382 /usr/lib/libvorbis.so.0.3.1 b7711000-b7720000 rwxp 0001a000 03:01 1689382 /usr/lib/libvorbis.so.0.3.1 b7720000-b7827000 r-xp 00000000 03:01 1341774 /usr/lib/python2.5/site-packages/ogg/vorbis.so b7827000-b784e000 rwxp 00107000 03:01 1341774 /usr/lib/python2.5/site-packages/ogg/vorbis.so b784e000-b7854000 rwxp b784e000 00:00 0 b7854000-b7858000 r-xp 00000000 03:01 1689375 /usr/lib/libogg.so.0.5.3 b7858000-b7859000 rwxp 00003000 03:01 1689375 /usr/lib/libogg.so.0.5.3 b7859000-b795c000 r-xp 00000000 03:01 1341773 /usr/lib/python2.5/site-packages/ogg/_ogg.so b795c000-b7982000 rwxp 00103000 03:01 1341773 /usr/lib/python2.5/site-packages/ogg/_ogg.so b7982000-b7988000 rwxp b7982000 00:00 0 b7988000-b79bd000 r-xp 001d3000 03:01 1815188 /usr/lib/locale/locale-archive b79bd000-b7bbd000 r-xp 00000000 03:01 1815188 /usr/lib/locale/locale-archive b7bbd000-b7c40000 rwxp b7bbd000 00:00 0 b7c40000-b7d64000 r-xp 00000000 03:01 381689 /lib/libc-2.5.so b7d64000-b7d65000 r-xp 00124000 03:01 381689 /lib/libc-2.5.so b7d65000-b7d67000 rwxp 00125000 03:01 381689 /lib/libc-2.5.so b7d67000-b7d6a000 rwxp b7d67000 00:00 0 b7d6a000-b7d8d000 r-xp 00000000 03:01 381691 /lib/libm-2.5.so b7d8d000-b7d8f000 rwxp 00022000 03:01 381691 /lib/libm-2.5.so b7d8f000-b7d90000 rwxp b7d8f000 00:00 0 b7d90000-b7d92000 r-xp 00000000 03:01 381711 /lib/libutil-2.5.so b7d92000-b7d94000 rwxp 00001000 03:01 381711 /lib/libutil-2.5.so b7d94000-b7d96000 r-xp 00000000 03:01 381692 /lib/libdl-2.5.so b7d96000-b7d98000 rwxp 00001000 03:01 381692 /lib/libdl-2.5.so b7d98000-b7dab000 r-xp 00000000 03:01 381696 /lib/libpthread-2.5.so b7dab000-b7dad000 rwxp 00012000 03:01 381696 /lib/libpthread-2.5.so b7dad000-b7daf000 rwxp b7dad000 00:00 0 b7daf000-b7eb5000 r-xp 00000000 03:01 1686314 /usr/lib/libpython2.5.so.1.0 b7eb5000-b7edb000 rwxp 00105000 03:01 1686314 /usr/lib/libpython2.5.so.1.0 b7edb000-b7ee1000 rwxp b7edb000 00:00 0 b7efd000-b7f07000 r-xp 00000000 03:01 1686891 /usr/lib/libgcc_s.so.1 b7f07000-b7f08000 rwxp 00009000 03:01 1686891 /usr/lib/libgcc_s.so.1 b7f08000-b7f09000 rwxp b7f08000 00:00 0 b7f0a000-b7f0b000 rwxp b7f0a000 00:00 0 b7f0b000-b7f25000 r-xp 00000000 03:01 381688 /lib/ld-2.5.so b7f25000-b7f26000 r-xp 00019000 03:01 381688 /lib/ld-2.5.so b7f26000-b7f27000 rwxp 0001a000 03:01 381688 /lib/ld-2.5.so bfce6000-bfcfd000 rw-p bfce6000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Aborted |
This task depends upon
Closed by Jan de Groot (JGC)
Tuesday, 13 March 2007, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.4-2. Thanks for your patch.
Tuesday, 13 March 2007, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.4-2. Thanks for your patch.
pyvorbis_1.4-python2.5.diff