After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 384805 - LSR crashes when SettingsChooser tries to populate an empty group
LSR crashes when SettingsChooser tries to populate an empty group
Status: RESOLVED FIXED
Product: lsr
Classification: Deprecated
Component: user interface
unspecified
Other Linux
: Normal normal
: 0.4.0
Assigned To: LSR maintainers
LSR maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-11 19:37 UTC by Eitan Isaacson
Modified: 2006-12-11 20:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (617 bytes, patch)
2006-12-11 19:39 UTC, Eitan Isaacson
needs-work Details | Review

Description Eitan Isaacson 2006-12-11 19:37:57 UTC
This assertion fails, resulting in a crash:
GtkWarning: gtk_table_resize: assertion `n_rows > 0 && n_rows < 65536' failed
This happens when a uie has an empty group defined in getGroups.
The patch below raises an exception, but maybe an unpopulated table should be returned instead, not sure.
Comment 1 Eitan Isaacson 2006-12-11 19:39:54 UTC
Created attachment 78153 [details] [review]
Proposed fix
Comment 2 Peter Parente 2006-12-11 19:58:02 UTC
Comment on attachment 78153 [details] [review]
Proposed fix

Raising the exception is fine. I think we need to catch it in the calling method, log warning, and then continue unabated. I'll hack it in quickly instead of getting another patch from you.
Comment 3 Peter Parente 2006-12-11 20:13:30 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.