Sign up

Another segfault

import gdk.Atoms;

void main()
{
    GdkAtom x = atomIntern("CLIPBOARD", 0);
}

Compiled and linked against libgtkd-2.a.

Re: Another segfault

On Sat, 09 Nov 2013 09:22:18 GMT, Steve Teale wrote:

import gdk.Atoms;

void main()
{
    GdkAtom x = atomIntern("CLIPBOARD", 0);
}

Compiled and linked against libgtkd-2.a.

This is the same issue as http://forum.gtkd.org/groups/GtkD/thread/94/.

Re: Another segfault

On Sat, 09 Nov 2013 13:45:14 GMT, Mike Wey wrote:

On Sat, 09 Nov 2013 09:22:18 GMT, Steve Teale wrote:

import gdk.Atoms;

void main()
{
    GdkAtom x = atomIntern("CLIPBOARD", 0);
}

Compiled and linked against libgtkd-2.a.

This is the same issue as http://forum.gtkd.org/groups/GtkD/thread/94/.

So atoms are broken?

Re: Another segfault

On 11/09/2013 04:55 PM, Steve Teale wrote:

On Sat, 09 Nov 2013 13:45:14 GMT, Mike Wey wrote:

On Sat, 09 Nov 2013 09:22:18 GMT, Steve Teale wrote:

import gdk.Atoms;

void main()
{
     GdkAtom x = atomIntern("CLIPBOARD", 0);
}

Compiled and linked against libgtkd-2.a.

This is the same issue as http://forum.gtkd.org/groups/GtkD/thread/94/.

So atoms are broken?

They were broken, yes. Fixed in the latest commit.

Re: Another segfault

So atoms are broken?

They were broken, yes. Fixed in the latest commit.

Forgive my ignorance, but how do I get the sources to rebuild. do I just need gdk/Atoms.d?

Re: Another segfault

On 11/10/2013 06:06 AM, Steve Teale wrote:

So atoms are broken?

They were broken, yes. Fixed in the latest commit.

Forgive my ignorance, but how do I get the sources to rebuild. do I just need gdk/Atoms.d?

Only gtkc/gdktypes.d was modified:

https://raw.github.com/gtkd-developers/GtkD/master/src/gtkc/gdktypes.d

I'll make an bugfix release when you can confirm it's fixed.

Re: Another segfault

Only gtkc/gdktypes.d was modified:

https://raw.github.com/gtkd-developers/GtkD/master/src/gtkc/gdktypes.d

I'll make an bugfix release when you can confirm it's fixed.

Sorry, but:

bash: https://raw.github.com/gtkd-developers/GtkD/master/src/gdkc/gdktypes.d: No such file or directory

Re: Another segfault

On 11/10/2013 04:03 PM, Steve Teale wrote:

Only gtkc/gdktypes.d was modified:

https://raw.github.com/gtkd-developers/GtkD/master/src/gtkc/gdktypes.d

I'll make an bugfix release when you can confirm it's fixed.

Sorry, but:

bash: https://raw.github.com/gtkd-developers/GtkD/master/src/gdkc/gdktypes.d: No such file or directory

I don't know how i messed this up but here is the correct link:
https://raw.github.com/gtkd-developers/GtkD/master/src/gtkc/gdktypes.d

Re: Another segfault

I don't know how i messed this up but here is the correct link:
https://raw.github.com/gtkd-developers/GtkD/master/src/gtkc/gdktypes.d

OK, I rebuilt with that, and I'm happy to say I can now cut and paste, and my
serialize() function does not crash, so as far as I'm concerned, GdkAtoms fixed.

However, that led me straight into something else. I'll do a separate post.