Crash when re-parenting GtkDataBox
- From: "John Stowers" <john stowers lists gmail com>
- To: gtkdatabox-list gnome org
- Subject: Crash when re-parenting GtkDataBox
- Date: Thu, 30 Oct 2008 21:17:00 +0100
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
Attachment:
reparent-crash.tar.gz
Description: GNU Zip compressed data
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]