[Gpe-bugs] [Bug 106] New: Generating alarms from cloned events causes warnings and crash

bugzilla-daemon at linuxtogo.org bugzilla-daemon at linuxtogo.org
Sun Oct 14 00:56:53 CEST 2007


http://bugs.linuxtogo.org/show_bug.cgi?id=106

           Summary: Generating alarms from cloned events causes warnings and
                    crash
           Product: libeventdb
           Version: 0.30
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
        AssignedTo: gpe-bugs at linuxtogo.org
        ReportedBy: g+gpe at cobb.uk.net
                CC: neal at walfield.org
   Estimated Hours: 0.0


NOTE: this is the crash reported to the gpe mailing list by Gary Baribault on
12th October.

Starting gpe-calendar with upcoming alarms from events which are clones causes
GLIB warnings to be displayed:

gpe-calendar[6706]: GLIB WARNING ** GLib-GObject - invalid cast from `Event' to
`EventSource'

It then causes memory corruption and segmentation faults.

The problem seems to be that in libeventdb:buzzer(), the list of upcoming
alarms are treated as though they are EventSource objects whereas they are
actually Event objects, which may be clones.

I believe the attached patch fixes the bug.

Graham


-- 
Configure bugmail: http://bugs.linuxtogo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Gpe-bugs mailing list