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 747916 - [ods] Determinism
[ods] Determinism
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export OOo / OASIS
git master
Other Linux
: Normal minor
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2015-04-15 13:25 UTC by Morten Welinder
Modified: 2015-04-15 14:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2015-04-15 13:25:50 UTC
The following two applications of g_hash_table_foreach should probably
be changed to gnm_hash_table_foreach_ordered so we don't depend on glib's
hash ordering which can change.

Note: I tried to make the first one produce non-deterministic output, but
failed.  I think that means it at least doesn't depend on malloc addresses.

../plugins/openoffice/openoffice-write.c:       g_hash_table_foreach (state->text_colours, (GHFunc) odf_write_text_colours, state);


../plugins/openoffice/openoffice-write.c:                       g_hash_table_foreach (state->graph_fill_images, (GHFunc) odf_write_fill_images,
Comment 1 Andreas J. Guelzow 2015-04-15 14:54:17 UTC
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.