[rrd-users] rrd_update_r memory corruption

Erik Torres Serrano etserrano at yahoo.com
Sat May 9 13:09:20 CEST 2009


Hi, I'm having problems with RRDtool and threads. I'm using the Boost C++ library to handle threads and I'm having a memory corruption error at execution time. I'm including the error report at the end of my message. To reproduce this behavior, create a new thread and call the rrd_update_r function in the new thread.

Best regards,

Erik

 ### Library versions ###

gcc version 4.3.2
Boost C++ version 1.38.0
RRDtool version 1.3.7 (librrd_th.so)

### Execution trace ###

*** glibc detected *** ./rrdtest: malloc(): memory corruption: 0x09d72de8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7abf176]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x95)[0xb7ac08c5]
/usr/local/sw/rrdtool/lib/librrd_th.so.4(rrd_open+0x56)[0xb7ce0f56]
/usr/local/sw/rrdtool/lib/librrd_th.so.4[0xb7ce65f7]
/usr/local/sw/rrdtool/lib/librrd_th.so.4(rrd_update_r+0x3a)[0xb7ce6c5a]
./rrdtest[0x8054935]
./rrdtest[0x8057b91]
./rrdtest[0x8058451]
./rrdtest[0x805979e]
./rrdtest[0x8050be8]
./rrdtest[0x8050e38]
./rrdtest[0x8050e7b]
./rrdtest[0x8050e94]
./rrdtest[0x8055710]
./rrdtest[0x8055744]
/usr/local/lib/boost/lib/libboost_thread-gcc43-mt-1_38.so.1.38.0(thread_proxy+0x68)[0xb7eaa2a8]
/lib/tls/i686/cmov/libpthread.so.0[0xb7d1150f]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb7b2ea0e]




      



More information about the rrd-users mailing list