Re: always the same crash in g_cclosure_marshal_generic_va

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, guys! Please excuse me, but I figured out what was the problem and now most recent msvc GTK+ WORKS!!

indeed it was a problem with libffi, to be more precize it was my fault because of the way I was building the libffi library in wrong way lol.
according to the libffi readme on GitHub there is a compiler wrapper which needs to be used while compiling, I was configuring libffi the right way but compiling with plain MSVC without the wrapper, so the resulted dll was bogus and causing the crash!

All of Visual Studio 2013 solutions and projects to build gtkmm from libiconv and zlib up to gtkmm are now fully working and fully tested. found on GitHub https://github.com/codekiddy2/Visual-Studio-gtkmm

Thank You!

On Sat, Feb 21, 2015 at 3:23 AM, codekiddy <codekiddy@xxxxxxxxx> wrote:
Hi, I'm still struggling with GTK+ compilation and it looks I found a problem (or bug) but I'm not sure how to solve it and seek your recommendation or hint on what to do...

I compiled both x86 and x64 stable GTK+ binaries and *all* it's dependencies with MSVC, today for testing purposes I even also compiled most recent unstable versions:
GTK+ 3.15.7
GLib 2.43.4
Pango 1.36.7,
GdkPixbuf 2.30.0
ATK 2.15.1
Cairo 1.14.0.

all of the above both compile and link successfully as well as stable versions, both x86 and x64, but it does not matter which versions and toolchains I pick up, because I always end up with the *very* same crash while executing gtk3-demo application.

The crash is always happening in gclosure.c line 1506 ->  g_cclosure_marshal_generic_va() function... on following line:
rvalue = g_alloca (MAX (rtype->size, sizeof (ffi_arg))); /* <-- crash allways the same here: stack overflow in gobject.dll */

It turns out the problem is with libffi, I'm compiling on x64 bit machine, anyway I also tried to compile multiple versions of libffi and then relinking against that but that does
not solve the problem, the demo app still crashes in gclosure.c (function mentioned above).
BTW, i'm compiling on inel celeron x64 N2830, but compilation (and run-time) worked on amd64 some time ago, please let me know if you need more information...

this is so frustrating, I wonder what the heck is the problem with my computer? obviously problem must be with libffi and my architecture or something I have no idea, please help me out with this, give me some hint what to do?

Thank you so much!
~codekiddy

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux