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 577212 - mechanism segfaults when trying to change frequency
mechanism segfaults when trying to change frequency
Status: RESOLVED DUPLICATE of bug 573762
Product: gnome-applets
Classification: Other
Component: cpufreq
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-29 17:51 UTC by Matthias Clasen
Modified: 2009-03-29 19:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (928 bytes, patch)
2009-03-29 17:53 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2009-03-29 17:51:56 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=492741

The problem is that the cpufreq-selector does not properly register the error type. Here is the relevant quote from genums.h:

/* const_static_values is a NULL terminated array of enum/flags
 * values that is taken over!
 */
GType   g_enum_register_static     (const gchar       *name,
                                    const GEnumValue  *const_static_values);

so the array better be static.
Comment 1 Matthias Clasen 2009-03-29 17:53:22 UTC
Created attachment 131638 [details] [review]
patch
Comment 2 Carlos Garcia Campos 2009-03-29 19:28:05 UTC
Hey Matthias, that was already reported and fixed.



Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.


*** This bug has been marked as a duplicate of 573762 ***