Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionLadislav Kolacek
2014-09-02 10:03:59 UTC
Created attachment 933674[details]
Output from gdb
Description of problem:
Version-Release number of selected component (if applicable):
webkitgtk-1.4.3-4.el6
devhelp-2.28.1-5.el6
How reproducible:
always
Steps to Reproduce:
1. Run devhelp
Actual results: Segmentation fault
Expected results: Application should run correctly.
Additional info: More information is in attachment. (file devhelp.bt)
The GCompletion API was already deprecated at this time. Devhelp is building with G_DISABLE_DEPRECATED but not -Werror-implicit-function-declaration as shown in the build log:
dh-search.c: In function 'search_finalize':
dh-search.c:95: warning: implicit declaration of function 'g_completion_free'
dh-search.c: In function 'dh_search_init':
dh-search.c:128: warning: implicit declaration of function 'g_completion_new'
dh-search.c:129: warning: assignment makes pointer from integer without a cast
dh-search.c: In function 'search_complete_idle':
dh-search.c:394: warning: implicit declaration of function 'g_completion_complete'
dh-search.c:394: warning: assignment makes pointer from integer without a cast
dh-search.c: In function 'dh_search_new':
dh-search.c:654: warning: implicit declaration of function 'g_completion_add_items'
gcc assumes an integer return type for these undeclared functions, some of which return a pointer. The pointer value is likely getting truncated to sizeof(int).
I removed the "*_DISABLE_DEPRECATED" flags from Devhelp's build files since apps should not be shipping with those flags in the first place.
Rolled a new devhelp package for that.
Ray Strode also suggested we back out new GLib symbol deprecations picked up from the rebases so other apps don't suffer similar problems. I can slip that in under bug #1101398.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-1573.html
Created attachment 933674 [details] Output from gdb Description of problem: Version-Release number of selected component (if applicable): webkitgtk-1.4.3-4.el6 devhelp-2.28.1-5.el6 How reproducible: always Steps to Reproduce: 1. Run devhelp Actual results: Segmentation fault Expected results: Application should run correctly. Additional info: More information is in attachment. (file devhelp.bt)