Re: Crash when re-parenting GtkDataBox



Hi John,

this sounds interesting since many users asked for such a feature in the past. I won't be able to look at it in any detail before the 12th or so, though, since I am under pretty heavy workload until then.

Regarding the crash I sure hope that others on this list have more time at the moment and might take a look :-)

Regards,

Roland

John Stowers wrote:
Hi,

I have created an animated autoscaling plotting widget, based on the old one that used to be distributed as an example with gtkdatabox ~= 0.4 or so.

It basically derives from GtkDataBox and when constructed it adds n GtkDataBoxGraph line graphs to itself, and a grid.

The idea is that you can keep feeding it data continuously, and it will rescale and redraw the n lines (with a fixed history of points).

However I am currently experiencing segmentation faults when this widget is reparented. I have been having trouble debugging the crash. The backtrace reveals a crash in gtk, and not anything related to either my, or the gtkdatabox code AFAICT.

I was wondering if someone could take a look at the attached example, and see if you can spot the error.

It is also available from

svn co https://open.grcnz.com/svn/albatross/branches/groundstation/test-sliding-plot2

I hope that once it is working reliably, it might be interesing enough to go upstream. What are your thoughts?

Regards

John


------------------------------------------------------------------------

_______________________________________________
gtkdatabox-list mailing list
gtkdatabox-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkdatabox-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]