swick / glc

glc is an ALSA & OpenGL capture tool for Linux.
https://github.com/nullkey/glc/wiki
7 stars 5 forks source link

glc-play png malloc() memory corruption #2

Closed swick closed 12 years ago

swick commented 12 years ago

Ubuntu 12.04 64bit build. Programm hangs and does not terminate

glc-play test.glc -p 1 -o /dev/null
*** glibc detected *** glc-play: malloc(): memory corruption: 0x00007f2a805ef4d0 ***

backtrace

0x00007ffff629afd0 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0  0x00007ffff629afd0 in sem_wait ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff75b520d in ps_packet_reserve ()
   from /usr/lib64/libpacketstream.so.0
#2  0x00007ffff75b5501 in ps_packet_dma () from /usr/lib64/libpacketstream.so.0
#3  0x00007ffff7bcbedf in file_read () from /usr/local/lib/libglc-core.so.0
#4  0x00000000004035eb in export_img ()
#5  0x0000000000402975 in main ()
swick commented 12 years ago

happens if you link glc with wrong architecture of packetstream