AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  rrdtool coredump

    Posted Wed April 03, 2019 05:20 AM

    Originally posted by: Nick Flintham


    Good Morning,

    I have come up against an issue with rrdtool 1.7.0-4.

    I'm in the middle of a technology refresh/reinstall and went with the AIX toolbox packages instead of the perzl.org ones I've used previously.

    Once setup I noticed ganglia wasn't generating any graphs, so I cut ganglia out of the mix and just tried generating a graph from the command line with the following result.(the parameters themselves don't seem to matter)

    ganprd:/etc/rc.d/init.d# rrdtool graph 1.png --start now-1000s --end now DEF:ds1a=true_memory.rrd:ds1:AVERAGE LINE1:ds1a#FF0000:"line"
    Segmentation fault (core dumped)

    Running dbx on it gives the following.

    ganprd_E950:/etc/rc.d/init.d# dbx /opt/freeware/bin/rrdtool core
    Type 'help' for help.
    [using memory image in core]
    reading symbolic information ...warning: Unable to access the stab file. Some info may not be available
    Segmentation fault in glink.tzset at 0xd47f12b4 ($t1)
    0xd47f12b4 (tzset+0x58) 800c0000            lwz   r0,0x0(r12)

    if I force the install of the previous version or rrdtool graphs are then generated but then I can't restart the gmetad service as it fails to link with the older rrdtool libraries.

    I've tried running the destroyRPMS script and re-installing everything via yum to make sure all of the packages I have installed are from the IBM toolbox.

    The LPAR is running on an E950's with AIX 7.2 TL3 SP2

    Any help would be appreciated. 

    Thanks,

    Nick.

     



  • 2.  Re: rrdtool coredump

    Posted Wed April 03, 2019 07:31 AM

    Originally posted by: AyappanP


    Thanks for reporting the issue. 

    Seems like the library linkings are not proper with librrd.a. 

    dump -Tov /opt/freeware/lib/librrd.a     -- ( for librrd.so.8 )

    [364]   0x00000000    undef      IMP     DS EXTref        [noIMid] cairo_font_options_create
    [365]   0x00000000    undef      IMP     DS EXTref        [noIMid] pango_layout_new
    [366]   0x00000000    undef      IMP     DS EXTref        [noIMid] cairo_font_options_set_hint_style
    [367]   0x00000000    undef      IMP     DS EXTref        [noIMid] cairo_font_options_set_hint_metrics
    [368]   0x00000000    undef      IMP     DS EXTref        [noIMid] cairo_font_options_set_antialias
    [369]   0x00000000    undef      IMP     DS EXTref        [noIMid] pango_layout_get_context
    [370]   0x00000000    undef      IMP     DS EXTref        [noIMid] pango_layout_context_changed
     

    The symbols should be coming from libcairo & libpango libraries but there is no reference to it. 

    We will fix this. 



  • 3.  Re: rrdtool coredump

    Posted Thu May 23, 2019 10:22 PM

    Originally posted by: james.franznick


    use rrdtool-1.7.0-3.aix6.1.ppc.rpm until they fix this