Hi,
I've been usign DsTrendCurve graph in V5.1 and Ubuntu 12.04 with no problems at all, but if I try to open a DsTrendCurve graph in V5.2 and Ubuntu 14.04 I get a SIGSEV error as show in the trace below:
Program received signal SIGSEGV, Segmentation fault.
__memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:142
142 ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S: No such file or directory.
(gdb) bt
#0 __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:142
#1 0x08355cfe in cbuf_GetCircBuffInfo (info=0x877cea0, infosize=1)
at ../../rt_cbuf.c:256
#2 0x080e7aeb in XttTrend::XttTrend (this=0x877ad50, parent_ctx=0xb4533008,
name=0xbfff98b0 "VolO4:O17-O20", trend_list=0xbfff7a68, plotgroup=0x0,
x_options=0, sts=0xbfff7100) at ../../xtt_trend.cpp:346
#3 0x08088e93 in XttTrendGtk::XttTrendGtk (this=0x877ad50,
parent_ctx=0xb4533008, parent_wid=0x0, name=0xbfff98b0 "VolO4:O17-O20",
w=0xbfff6efc, trend_list=0xbfff7a68, plotgroup=0x0, width=0, height=0,
x_options=0, sts=0xbfff7100) at ../../xtt_trend_gtk.cpp:74
#4 0x0805d6f8 in XNavGtk::xtttrend_new (this=0xb4533008,
name=0xbfff98b0 "VolO4:O17-O20", objar=0xbfff7a68, plotgroup=0x0, width=0,
height=0, options=0, sts=0xbfff7100) at ../../xtt_xnav_gtk.cpp:278
#5 0x08125b99 in xnav_open_func (client_data=0xb4533008, client_flag=0x0)
at ../../xtt_xnav_command.cpp:3987
#6 0x083c365d in dcli_cli (command_table=0x84ae000 <xnav_command_table>,
string=0xbfffd294 "open trend /name=VolO4:O17-O20 /title=\"VolO4:O17-O20\"", userdata1=0xb4533008, userdata2=0x0) at ../../co_dcli.c:439
#7 0x08130dbc in XNav::command (this=0xb4533008,
input_str=0xbfffd87c "open trend /name=VolO4:O17-O20 /title=\"VolO4:O17-O20\"") at ../../xtt_xnav_command.cpp:7342
#8 0x08152269 in OpenTrend (ip=0x8731eb8) at ../../xtt_c_object.cpp:339
I'm studing to start working in Debian, so just to test, i give it a try in Debian 7. The grpah opens ok, but when I use the SnapShot function I get another SIGSEV error:
Program received signal SIGSEGV, Segmentation fault.
0x0810456f in XttTCurve::load_data (this=0x8852410, sts=0xbfffa2d0, aref=0x885253c) at ../../xtt_tcurve.cpp:905
905 in ../../xtt_tcurve.cpp
(gdb) bt
#0 0x0810456f in XttTCurve::load_data (this=0x8852410, sts=0xbfffa2d0, aref=0x885253c) at ../../xtt_tcurve.cpp:905
#1 0x08102566 in XttTCurve::get_data (this=0x8852410, sts=0xbfffa2d0, from=..., to=...) at ../../xtt_tcurve.cpp:120
#2 0x0810241b in XttTCurve::XttTCurve (this=0x8852410, parent_ctx=0xb5707008, name=0xbfff2d60 "plant-Trndcurve", xn_arefv=0xbfff2920, sts=0xbfffa2d0)
at ../../xtt_tcurve.cpp:95
#3 0x080981d2 in XttTCurveGtk::XttTCurveGtk (this=0x8852410, parent_ctx=0xb5707008, parent_wid=0x0, name=0xbfff2d60 "plant-Trndcurve", w=0xbfff275c, xn_arefv=0xbfff2920,
xn_width=0, xn_height=0, xn_options=0, sts=0xbfffa2d0) at ../../xtt_tcurve_gtk.cpp:74
#4 0x08072127 in XNavGtk::xtttcurve_new (this=0xb5707008, name=0xbfff2d60 "plant-Trndcurve", arefv=0xbfff2920, width=0, height=0, options=0, sts=0xbfffa2d0)
at ../../xtt_xnav_gtk.cpp:297
#5 0x0812f9fe in xnav_open_func (client_data=0xb5707008, client_flag=0x0) at ../../xtt_xnav_command.cpp:4166
#6 0x083b363a in dcli_cli (command_table=0x84a4140, string=0xbfffd7e0 "open tcurve plant-Trndcurve/title=plant-Trndcurve", userdata1=0xb5707008, userdata2=0x0)
at ../../co_dcli.c:439
#7 0x081393ad in XNav::command (this=0xb5707008, input_str=0xbfffdc2c "open tcurve plant-Trndcurve/title=plant-Trndcurve") at ../../xtt_xnav_command.cpp:7342
#8 0x08133a74 in xnav_trend_command_cb (ctx=0xb5707008, cmd=0xbfffdc2c "open tcurve plant-Trndcurve/title=plant-Trndcurve") at ../../xtt_xnav_command.cpp:5381
#9 0x080f71f1 in XttTrend::trend_snapshot_cb (ctx=0x87a2348) at ../../xtt_trend.cpp:527
#10 0x081623c7 in GeCurve::activate_snapshot (this=0x87b6908) at ../../ge_curve.cpp:105
#11 0x080a3e2d in GeCurveGtk::activate_snapshot (w=0x87bae00, data=0x87b6908) at ../../ge_curve_gtk.cpp:347
The projects to test are dummy projects just to reproduce the errors I get in bigger and real projects.
I've been looking for the errors in the code, but this time I think I can't help with the code, gtk is not my best friend...
Thanks in advance.