seg fault when changing typeface
Submitted by Justin C.
Link to original bug (#773187)
Description
Created attachment 337976 patch - remove infinite recursion
Disclaimer:
This bug is likely a duplicate of #773029
Overview:
gucharmap segfaults when I change the typeface via the drop-down select widget.
Steps to Reproduce:
- run gucharmap
- click on typeface drop-down select widget.
- observe that list of typefaces appears.
- select a different typeface.
- observe gucharmap crashes.
Actual Results:
gucharmap crashes.
Expected Results:
I expected the Character Table grid to display the typeface I selected.
Build and Hardware:
Arch Linux x86_64
Additional Information:
This is likely a duplicate of bug 773029. In the event it's not, I didn't want to clutter the bug 773029 with my details.
Best I can figure--and I'm fairly inexperienced--the segfault is caused by an infinite loop due to some [glib?] closure invoked repeatedly. I disabled one of the call paths (see attached patch) and the segfault no longer occurs, and gucharmap appears to run correctly.
I have no idea if my patch is the proper fix or what that disabled code was intended to do. This is offered as a starting point for further testing.
Attachment 337976, "patch - remove infinite recursion":
gucharmap-remove-infinite-recursion.patch
Version: 9.0.x
Resolution: RESOLVED DUPLICATE