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 793620 - Fix iterating hash table in jaw_impl_finalize
Fix iterating hash table in jaw_impl_finalize
Status: RESOLVED FIXED
Product: java-atk-wrapper
Classification: Applications
Component: general
0.33.x
Other Linux
: Normal normal
: ---
Assigned To: java-atk-wrapper maintainer(s)
java-atk-wrapper maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2018-02-19 23:25 UTC by Samuel Thibault
Modified: 2019-05-01 22:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (754 bytes, patch)
2018-02-19 23:25 UTC, Samuel Thibault
none Details | Review

Description Samuel Thibault 2018-02-19 23:25:32 UTC
Created attachment 368590 [details] [review]
proposed fix

236b9dda9b44 ('JNI: fix crash on java applications') turned jaw_impl_finalize's iter into a pointer, passed as such to g_hash_table_iter_init. But that is not how that API works, the original code was correct. The attached patch restores the original correct behavoir, avoiding warnings on jaw_obj finalizations.
Comment 1 Samuel Thibault 2019-05-01 22:18:59 UTC
Fixed by a41a4cafced4b4da39fd32a3bbdb7190b65ace9c ("Fix iterating hash table in jaw_impl_finalize")