[FusionDev] [Bug 502] Emerald crash at random

bugzilla at bugs.opencompositing.org bugzilla at bugs.opencompositing.org
Thu Feb 21 15:07:25 CET 2008


http://bugs.opencompositing.org/show_bug.cgi?id=502





--- Comment #27 from Roland "Test-tools" Bär <roland at verifysoft.net>  2008-02-21 14:07:23 ---
File Edit Options Buffers Tools Help                                            
The games seams to be the following:

In emerald/src/main.c:3219 update_switcher_window()
       d->gc = gdk_gc_new(d->pixmap);
d->pixmap seams to be at least a valid pointer

Then gdk_gc_new() makes a sanity check for a NULL pointer, but
passes then unchanged to gdk_gc_new_with_values()

Here following happens
 ((((GdkDrawableClass*) (((GTypeInstance*)
((drawable)))->g_class))))->create_gc (drawable,
                                                       values,
                                                       values_mask);
As the crash happens at 0x000000ff I assume following:
((((GdkDrawableClass*) (((GTypeInstance*) ((drawable)))->g_class))))->create_gc
is 0x000000ff 

So, maybe a wrong or not applicable struct is inside p->pixmap, quick
guess for now is, that
 ((((GdkDrawableClass*) (((GTypeInstance*) ((drawable)))->g_class))))
is here NULL, and create_gc has some offset leading to a crash at 0xff  ..

An volunteers or someone with a bit more experiences with gdk?


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


More information about the Dev mailing list