[Mono-list] Boehm GC is eating my Qt bindings ;)
Adam Treat
manyoso@yahoo.com
Sat, 16 Mar 2002 01:26:01 -0800
All,
I'm having some difficulties with the new garbage collection. When I compile
latest cvs with the --with-gc switch, the Qt bindings start throwing out
errors WRT the pinvoke statements. All is well when not configured with
--with-gc. Here is the error:
Unhandled exception System.NullReferenceException Segmentation fault.
#0: 0x00000 in Qt.QApplication::qt_new_QApplication ([0]
[0x813c750] )
#1: 0x00009 call in Qt.QApplication::.ctor ([0] [0x813c750] )
#2: 0x00009 newobj in QtSamples.HelloWorld::Main ([0x813c750] )
Not much to go on I know... I've tried to duplicate the error by writing some
c code and pinvoking it, but no love. Kind of hard to make a test case since
I'm not sure what is going on and the bindings require the QtC bindings. Any
ideas on how to track this bug down? Paolo?
Cheers,
Adam
ps I started a sourceforge project which has the code and a pretty
screenshot of the helloworld program... http://qtcsharp.sourceforge.net