Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening an ogg file results in double-free #10

Closed
pmiddend opened this issue Oct 23, 2018 · 3 comments
Closed

Opening an ogg file results in double-free #10

pmiddend opened this issue Oct 23, 2018 · 3 comments
Assignees

Comments

@pmiddend
Copy link
Contributor

pmiddend commented Oct 23, 2018

I'm trying to open an OGG file not for streaming, but "normally":

VorbisFile("somefile.ogg")

This fails with:

double free or corruption (out)

Using gdb, I found out that it's somewhere below ov_fopen inside the vorbis library.

Are the vorbis bindings outdated maybe? Or just wrong? I tested this using multiple distributions, using the latest version of PyOgg and version 1.3.6 ob libvorbis.

The gdb trace is:

#0  0x00007ffff649fbe0 in raise ()
   from /nix/store/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib/libc.so.6
#1  0x00007ffff64a0dc1 in abort ()
   from /nix/store/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib/libc.so.6
#2  0x00007ffff64e12ac in __libc_message ()
   from /nix/store/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib/libc.so.6
#3  0x00007ffff64e749a in malloc_printerr ()
   from /nix/store/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib/libc.so.6
#4  0x00007ffff64e83e0 in _int_free ()
   from /nix/store/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib/libc.so.6
#5  0x00007fffeb173c37 in vorbis_staticbook_destroy ()
   from /nix/store/a89n6j27jd97wzywkzxfq36zy222krfc-libvorbis-1.3.6/lib/libvorbis.so
#6  0x00007fffeb15da05 in vorbis_synthesis_init ()
   from /nix/store/a89n6j27jd97wzywkzxfq36zy222krfc-libvorbis-1.3.6/lib/libvorbis.so
#7  0x00007fffead1e140 in _fetch_and_process_packet.constprop.14 ()
   from /nix/store/a89n6j27jd97wzywkzxfq36zy222krfc-libvorbis-1.3.6/lib/libvorbisfile.so
#8  0x00007fffead22c28 in ov_read_filter ()
   from /nix/store/a89n6j27jd97wzywkzxfq36zy222krfc-libvorbis-1.3.6/lib/libvorbisfile.so
#9  0x00007fffead23011 in ov_read ()
@Zuzu-Typ Zuzu-Typ self-assigned this Dec 22, 2018
@Zuzu-Typ
Copy link
Collaborator

Does this issue still persist?

@pmiddend
Copy link
Contributor Author

Sure, but we switched to opus, so it doesn't bother us anymore.

@Zuzu-Typ
Copy link
Collaborator

Might have been fixed by de31f2c

Please reopen if the issue still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants