[Gpe-list] Gpe-bugs Digest, Vol 12, Issue 2

gpe-bugs-request at linuxtogo.org gpe-bugs-request at linuxtogo.org
Sun Oct 14 12:46:03 CEST 2007


Send Gpe-bugs mailing list submissions to
	gpe-bugs at linuxtogo.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-bugs
or, via email, send a message with subject or body 'help' to
	gpe-bugs-request at linuxtogo.org

You can reach the person managing the list at
	gpe-bugs-owner at linuxtogo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gpe-bugs digest..."


Today's Topics:

   1. [Bug 106] New: Generating alarms from cloned events	causes
      warnings and crash (bugzilla-daemon at linuxtogo.org)


----------------------------------------------------------------------

Message: 1
Date: Sun, 14 Oct 2007 00:56:53 +0200
From: bugzilla-daemon at linuxtogo.org
Subject: [Gpe-bugs] [Bug 106] New: Generating alarms from cloned
	events	causes warnings and crash
To: gpe-bugs at linuxtogo.org
Message-ID: <bug-106-7 at http.bugs.linuxtogo.org/>

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.



------------------------------

_______________________________________________
Gpe-bugs mailing list
Gpe-bugs at linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-bugs


End of Gpe-bugs Digest, Vol 12, Issue 2
***************************************



More information about the Gpe-list mailing list