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.
Description of problem:
Crash when changing preferences.
Version-Release number of selected component (if applicable):
evolution-3.8.5-22.el7_0
How reproducible:
Always.
Steps to Reproduce:
1. Go to the email preferences, in particular the Headers
that are displayed (Edit -> Preferences -> Mail Preferences -> Headers).
Just clicking on the (unchecked) "Mailer" header name causes the crash.
Actual results:
Crash.
Expected results:
Change email header display preference.
Additional info:
I tried to change the email preferences, in particular the Headers
that are displayed (Edit -> Preferences -> Mail Preferences -> Headers).
Just clicking on the (unchecked) "Mailer" header name causes the crash.
Using GDB one can observe that the crash happens in
modules/settings/e-settings-mail-formatter.c
(settings_mail_formatter_headers_changed_cb) line 71:
if (key) {
GSList *link;
for (ii = 0, link = extension->priv->old_headers; headers && headers[ii]; ii++, link = g_slist_next (link)) {
if (g_strcmp0 (link->data, headers[ii]) != 0)
break;
}
Line 71 is the if statement with g_strcmp0. The crash happens because link
is NULL.
This code seems to have been introduced in the RHEL evolution specific
patch evolution-3.8.5-labels-gsettings-busy-loop.patch.
The following change to check for a NULL link fixes the issue for me:
--- a/evolution-3.8.5-labels-gsettings-busy-loop.patch
+++ b/evolution-3.8.5-labels-gsettings-busy-loop.patch
@@ -2326,7 +2326,7 @@ diff -up evolution-3.8.5/modules/settings/e-settings-mail-formatter.c.labels-gse
+ if (key) {
+ GSList *link;
+
-+ for (ii = 0, link = extension->priv->old_headers; headers && headers[ii]; ii++, link = g_slist_next (link)) {
++ for (ii = 0, link = extension->priv->old_headers; link && headers && headers[ii]; ii++, link = g_slist_next (link)) {
+ if (g_strcmp0 (link->data, headers[ii]) != 0)
+ break;
+ }
Description of problem: Crash when changing preferences. Version-Release number of selected component (if applicable): evolution-3.8.5-22.el7_0 How reproducible: Always. Steps to Reproduce: 1. Go to the email preferences, in particular the Headers that are displayed (Edit -> Preferences -> Mail Preferences -> Headers). Just clicking on the (unchecked) "Mailer" header name causes the crash. Actual results: Crash. Expected results: Change email header display preference. Additional info: I tried to change the email preferences, in particular the Headers that are displayed (Edit -> Preferences -> Mail Preferences -> Headers). Just clicking on the (unchecked) "Mailer" header name causes the crash. Using GDB one can observe that the crash happens in modules/settings/e-settings-mail-formatter.c (settings_mail_formatter_headers_changed_cb) line 71: if (key) { GSList *link; for (ii = 0, link = extension->priv->old_headers; headers && headers[ii]; ii++, link = g_slist_next (link)) { if (g_strcmp0 (link->data, headers[ii]) != 0) break; } Line 71 is the if statement with g_strcmp0. The crash happens because link is NULL. This code seems to have been introduced in the RHEL evolution specific patch evolution-3.8.5-labels-gsettings-busy-loop.patch. The following change to check for a NULL link fixes the issue for me: --- a/evolution-3.8.5-labels-gsettings-busy-loop.patch +++ b/evolution-3.8.5-labels-gsettings-busy-loop.patch @@ -2326,7 +2326,7 @@ diff -up evolution-3.8.5/modules/settings/e-settings-mail-formatter.c.labels-gse + if (key) { + GSList *link; + -+ for (ii = 0, link = extension->priv->old_headers; headers && headers[ii]; ii++, link = g_slist_next (link)) { ++ for (ii = 0, link = extension->priv->old_headers; link && headers && headers[ii]; ii++, link = g_slist_next (link)) { + if (g_strcmp0 (link->data, headers[ii]) != 0) + break; + }