Eyescale/Equalizer — Issue #49: eqPixelBench crash with double free
Author: eile
Created: 2011-11-01 13:54:02+00:00
State: open
Labels: bug

System: RHEL 6.1, NV 270.13, 3x GTX580

Local auto-config from master - three pipes with one window each

*** glibc detected *** ./debug/bin/eqPixelBench: double free or corruption (!prev): 0x00002abd94421f60 ***
*** glibc detected *** ./debug/bin/eqPixelBench: double free or corruption (!prev): 0x00002abd989a1a90 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x75716)[0x2abd5ded3716]
/usr/lib64/tls/libnvidia-tls.so.270.41.19(+0x8eb)[0x2abd5e1f08eb]

> gdb ./debug/bin/eqPixelBench
(gdb) set env MALLOC_CHECK_ 2
(gdb) run --eq-config local.eqc
(gdb) bt
#0 0x00002aaaadff8a45 in raise () from /lib64/libc.so.6
#1 0x00002aaaadffa225 in abort () from /lib64/libc.so.6
#2 0x00002aaaae03b740 in malloc_printerr () from /lib64/libc.so.6
#3 0x00002aaaaaeb18ff in co::base::Buffer::clear (
this=0xbaf938) at /home/test/eile/Equalizer/libs/co/base/buffer.h:55
#4 0x00002aaaaaeb12b2 in co::base::Buffer::~Buffer (
this=0xbaf938, __in_chrg=)
at /home/test/eile/Equalizer/libs/co/base/buffer.h:51
#5 0x00002aaaaaf2a87b in eq::plugin::CompressorReadDrawPixels::~CompressorReadDrawPixels (this=0xbaf910, __in_chrg=)
at /home/test/eile/Equalizer/libs/eq/client/compressor/compressorReadDrawPixels.cpp:273
#6 0x00002aaaaaf2a8fc in eq::plugin::CompressorReadDrawPixels::~CompressorReadDrawPixels (this=0xbaf910, __in_chrg=)
at /home/test/eile/Equalizer/libs/eq/client/compressor/compressorReadDrawPixels.cpp:273
#7 0x00002aaaaaf26c96 in EqCompressorDeleteCompressor (compressor=0xbaf910)
at /home/test/eile/Equalizer/libs/eq/client/compressor/compressor.cpp:101
#8 0x00002aaaac460be8 in co::base::Compressor::reset (this=0x993720)
at /home/test/eile/Equalizer/libs/co/base/compressor.cpp:55
#9 0x00002aaaac46122a in co::base::Compressor::initCompressor (this=0x993720,
name=1033) at /home/test/eile/Equalizer/libs/co/base/compressor.cpp:109
#10 0x00002aaaaaf10617 in eq::util::GPUCompressor::initDownloader (
this=0x993720, name=1033)
at /home/test/eile/Equalizer/libs/eq/util/gpuCompressor.cpp:93
#11 0x00002aaaaaeae480 in eq::Image::allocDownloader (this=0x993360,
buffer=eq::Frame::BUFFER_COLOR, name=1033, glewContext=0x96af20)
at /home/test/eile/Equalizer/libs/eq/client/image.cpp:754
#12 0x000000000040d518 in eqPixelBench::Channel::_testFormats (this=0x785530,
applyZoom=0.5)
at /home/test/eile/Equalizer/examples/eqPixelBench/channel.cpp:186