GNOME Bugzilla – Bug 132059
Crash if Label vector len < Data Series vector len
Last modified: 2004-12-22 21:47:04 UTC
When creating a graph, in preview mode, if you select a range of values for the labels that is shorter than the range that defines the data series, the following backtrace can result. I guess if the Label series is too short, the extra labels should be blank. Backtrace was generated from '/home/lukeh/GARNOME/bin/gnumeric' [New Thread 1092943808 (LWP 7924)] 0x4001544e in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+ Trace 43390
Thread 1 (Thread 1092943808 (LWP 7924))
I can not replicate this. It does highlight a problem where we draw axis ticks based on the number of labels rather than data points. However it does not crash. What version are you using ? There was a problem with labels in early 1.2.x
v1.2.2. Was it fixed before then, or should I upgrade and try again?
Hard to say. Please try again with 1.2.5
Hmm, couldn't replicate it in 1.2.5, but it is possibly because a new problem has surfaced: in 1.2.2, whenever you select another Label range, within a second or two the preview in the Graph Properties window updates to show the new Label range. In 1.2.5, the axis labels are only ever updated automatically once; the second time you select a range while the cursor is in the Label field, even without clicking OK/Close, no update occurs. If you accept the new Label range, i.e. click OK, then the graph in the main sheet is not updated with the new range either. The only way to update the range is right-click->Properties->OK. Once this is fixed (in v. >1.2.5), I will try to get the label range crash again -- as it is, I can't replicate it in 1.2.5, but then again it sometimes required the selection of a few different ranges in 1.2.2 before it would crash, and only one range is selectable in 1.2.5 before it stops updating both the preview and the actual graph in the sheet.
See also bug 132060.
Things update correctly in both trees now. Still no crash.