Bug 509226 (systemlogviewer)

Summary: (gnome-system-log:7845): GLib-CRITICAL **: g_date_subtract_years: assertion `d->year > nyears' failed
Product: [Fedora] Fedora Reporter: bhulst <bhulst>
Component: gnome-utilsAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-13 17:53:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
bug_systemlog.png none

Description bhulst 2009-07-01 20:02:10 UTC
Description of problem:
The gnome-system-log application is showing each year in the log with a new year counting down from the current year. See the screenshot.
The actual error comes when running it from the xterminal:
A few hundred of these messages appear.
(gnome-system-log:7845): GLib-CRITICAL **: g_date_subtract_years: assertion `d->year > nyears' failed

Version-Release number of selected component (if applicable):
glib-1.2.10-32.fc10.i386
glib-1.2.10-32.fc10.x86_64
gnome-utils-2.24.1-1.fc10.x86_64
gnome-utils-2.24.1-1.fc10.i386

Steps to Reproduce:
1. start gnome-system-log from menu or cli.

Comment 1 bhulst 2009-07-01 20:03:21 UTC
Created attachment 350183 [details]
bug_systemlog.png

Comment 2 bhulst 2009-09-13 17:53:13 UTC
Today I changed the file /etc/rsyslog.conf since I noticed the old Fedora 8 version was still in use. Now with the version 3 the System Log Viewer is given a proper date format.

The file /var/log/messages changed data format:

2009-09-13T18:18:17.294254+03:00 localhost rsyslogd: [origin software="rsyslogd" swVersion="3.22.1" x-pid="2128" x-info="http://www.r
syslog.com"] exiting on signal 15.
Sep 13 18:18:20 localhost kernel: imklog 3.22.1, log source = /proc/kmsg started.
Sep 13 18:18:20 localhost rsyslogd: [origin software="rsyslogd" swVersion="3.22.1" x-pid="6280" x-info="http://www.rsyslog.com"] (re)
start

Now the system log view is able to parse the messages logfile.