[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: GNU Smalltalk crashes when calling xcb_create_windo
From: |
Dmitry Matveev |
Subject: |
[Help-smalltalk] Re: GNU Smalltalk crashes when calling xcb_create_window via cCall |
Date: |
Wed, 30 Sep 2009 23:14:16 +0400 |
Hello!
>2009/9/30, Paolo Bonzini <address@hidden>:
>
> Notice the "0xffffb224" after the return address? That is the place
> where the callee can store the return value, which is not a "void" but
> an "xcb_void_cookie_t" -- which is a struct.
Ooops, I should be more attentive...
> http://www.google.com/codesearch/p?hl=en&sa=N&cd=1&ct=rc#9m0-3TEx8PU/trunk/vcf/src/thirdparty/X11/xcb/proto/src/xproto.xml&q=file:xproto.xml
Excellent, I will take it into consideration :)
> BTW, your code has a small memory leak. You can say
>
> iter := XcbScreenIterator gcNew.
>
> instead of "new".
Valuable notice, thanks!
Thank you, Gwenael and Paolo, for the help in the resolution of this
problem, now I can sleep easily :)
With best regards,
Dmitry