[rrd-users] Re: RRDTool, Solaris & threaded applications

Dave Bodenstab dave at bodenstab.org
Tue Oct 25 21:48:13 MEST 2005

> I just tried to run multithreaded Tcl application (Tcl 8.4.6, Thread 2.5.2)
> on Solaris 9 with Tcl Rrd module from RRDTool 1.2.10, and it dumps core.
> Backtrace shows that it fails inside getopt:
> (gdb) bt
> #0  _getopt_internal (argc=5, argv=0x45aa8f8, optstring=0xfdd533d8 "t:",
> longopts=0xfdd79324, longind=0xfbcf9fdc,
>     long_only=0) at getopt.c:599
> #1  0xfdd42fe4 in rrd_update (argc=5, argv=0x45aa8f8) at rrd_update.c:175
> #2  0xfe9c0e1c in Rrd_Update (clientData=0x0, interp=0x1d902c8, argc=5,
> argv=0xfbcfa0c0) at tclrrd.c:148
> #3  0xff2a6d9c in TclInvokeStringCommand () from /usr/local/lib/libtcl8.4.so
> [...]

Check the archives for the last month and apply the patches I submitted
for the tcl binding.  That will at least fix your core dumps.  As I never
use "threaded" thingys, I can't help you there.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list