[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Status of cscc and Qt#
From: |
Adam Treat |
Subject: |
Re: [DotGNU]Status of cscc and Qt# |
Date: |
Wed, 6 Nov 2002 11:03:35 -0500 |
User-agent: |
KMail/1.4.7 |
On Wednesday 06 November 2002 01:43 am, Rhys Weatherley wrote:
> Adam Treat wrote:
> > address@hidden:~/dev/qtsharp/src/examples/samples$ ilrun hello.exe
> > Uncaught exception: System.ArgumentException: Invalid attributes for
> > Type.InvokeMember
>
> And fixed ... Next! :-)
>
> Cheers,
>
> Rhys.
Man, this is fun! You are so quick.
First of all, I wanted to let you know that Qt# compiled with cscc gives the
following error when run with mono:
Unhandled Exception: System.ExecutionEngineException: file codegen-x86.c: line
6333 (mono_burg_emit_261): assertion failed: (tree->data.i > 0)
in (unmanaged) 00 Qt.QNull:get_Instance ()
in <0x00010> 00 Qt.QApplication:.ctor (string[])
in <0x00032> 00 QtSamples.HelloWorld:Main (string[])
Now, onto pnet :-) I've updated cvs and now this is the error I receive:
address@hidden:~/dev/qtsharp/src/examples/samples$ ls
CVS Makefile Makefile.am Makefile.in display.cs emit.cs eventhandling.cs
hello.cs hello.exe mandelbrot.cs samples.build scribblewindow.cs
address@hidden:~/dev/qtsharp/src/examples/samples$ ilrun hello.exe
Uncaught exception: System.InvalidOperationException: An invalid operation
occurred
at System.GC.SuppressFinalize(Object)
at Qt.QtSupport.Dispose()
at Qt.QtSupport.DispatchEvent(IntPtr, String, IntPtr, String)
at Qt.QWidget.qt_QWidget_show(IntPtr)
at Qt.QWidget.Show()
at QtSamples.HelloWorld.Main(String[])
Segmentation fault
Here is the trace:
Starting program: /usr/local/bin/ilrun hello.exe
[New Thread 1024 (LWP 2115)]
Uncaught exception: System.InvalidOperationException: An invalid operation
occurred
at System.GC.SuppressFinalize(Object)
at Qt.QtSupport.Dispose()
at Qt.QtSupport.DispatchEvent(IntPtr, String, IntPtr, String)
at Qt.QWidget.qt_QWidget_show(IntPtr)
at Qt.QWidget.Show()
at QtSamples.HelloWorld.Main(String[])
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2115)]
0x40a4fd02 in QPtrList<QPostEvent>::deleteItem(void*) () from
/usr/local/qt/lib/libqt-mt.so.3
(gdb) bt
#0 0x40a4fd02 in QPtrList<QPostEvent>::deleteItem(void*) () from
/usr/local/qt/lib/libqt-mt.so.3
#1 0x40cbec9b in QGList::clear() () from /usr/local/qt/lib/libqt-mt.so.3
#2 0x40a4fa88 in QPostEventList::~QPostEventList() () from
/usr/local/qt/lib/libqt-mt.so.3
#3 0x40a4f488 in __static_initialization_and_destruction_0(int, int) () from
/usr/local/qt/lib/libqt-mt.so.3
#4 0x40a4f502 in _GLOBAL__D_qApp () from /usr/local/qt/lib/libqt-mt.so.3
#5 0x409f3a9f in __do_global_dtors_aux () from
/usr/local/qt/lib/libqt-mt.so.3
#6 0x40d51491 in _fini () from /usr/local/qt/lib/libqt-mt.so.3
#7 0x40163c9c in _dl_close () from /lib/libc.so.6
#8 0x40163fd0 in _dl_close () from /lib/libc.so.6
#9 0x40036f4b in dlopen () from /lib/libdl.so.2
#10 0x40009a0b in _dl_catch_error () from /lib/ld-linux.so.2
#11 0x400372ef in dlerror () from /lib/libdl.so.2
#12 0x40036f71 in dlclose () from /lib/libdl.so.2
#13 0x08065b7d in ILExecProcessDestroy (process=0x80edf50) at process.c:162
#14 0x0804ad05 in main (argc=2, argv=0xbffff974) at ilrun.c:404
*sigh* We have been having so many problems with our Disposal code and
implementing IDisposable with Mono. Rhys, do you have Qt# installed? You'd
need Mono to generate the bindings (apparently pnet's System.Xml can't run
our generator yet.) Thank you for all your help Rhys.
Cheers,
Adam
- [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/05
- Re: [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/05
- Message not available
- Message not available
- Re: [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Rhys Weatherley, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#,
Adam Treat <=
- [DotGNU]The Intended usage of GNU software (was Treecc Ruby support), James Michael DuPont, 2002/11/06
- [DotGNU]Re: The Intended usage of GNU software (was Treecc Ruby support), Rhys Weatherley, 2002/11/06
- [DotGNU]Re: The Intended usage of GNU software (was Treecc Ruby support), James Michael DuPont, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Gopal V, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Gopal V, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Rhys Weatherley, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Rhys Weatherley, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Rhys Weatherley, 2002/11/06