[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-users
Subject:    Re: [rrd-users] rrd_update_r memory corruption
From:       Sebastian Harl <sh () tokkee ! org>
Date:       2009-05-11 12:41:43
Message-ID: 20090511124143.GE24172 () chough ! tokkee ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi Erik,

On Sat, May 09, 2009 at 04:09:20AM -0700, Erik Torres Serrano wrote:
> 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.

Could you please provide a sample code snippet that allows to reproduce
this issue? I'm not into Boost myself and I don't want to dig through
the documentation just to be able to reproduce that. Also, the following
information would be helpful to trace back the problem:

 - Does it happen _every_ time when you execute your program? If not,
   it's quite unlikely that it's related to parallel execution.

 - (related) Does it happen as well if you don't use threads?

 - The backtrace that you've provided is not very useful. Do you have
   debugging symbols available for librrd? Do you know how to use a
   debugger to create another backtrace?

 - Did you compile RRDtool yourself? If not, where did you get it from?

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin


["signature.asc" (application/pgp-signature)]

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic