[Kde-bindings] Qyoto test

Arno Rehn kde-bindings at arnorehn.de
Mon Dec 5 12:38:32 UTC 2005


Hi,

just tried the new code, the following is the result:

In AddGetSmokeObject 0x40b9e8a8
In AddSetSmokeObject 0x40b9e948
In AddMapPointer 0x40b9e9e8
In AddUnmapPointer 0x40b9ea88
In AddGetPointerObject 0x40b9eb28
In AddIntPtrToCharStarStar 0x40b9ebc8
Invoke() MethodName: NewQApplication Type: Qt.QApplication, hello, 
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ArgCount: 2
FindMethod() className: QApplication MethodName: QApplication$?
                In FindMethodId QApplication::QApplication$? => 146
FindMethod() MethodName: QApplication$? result: 154
        ArgName: argc Arg: 1 Type: System.Int32
        ArgName: argv Arg: System.String[] Type: System.String[]
In CallMethod methodId: 154 target: 0x0000000b items: 2
In CallMethod 1
marshall_intR m->item().s_int: 137906200 m->var().s_int: 1
IntPtrToCharStarStar() string[0]: hello.exe
strArray[0]: hello.exe
marshall_charP_array temp[0]: hello.exe
In callMethod() fn: 0x415a5240 method().method: 17 ptr: (nil) _stack[1]: 
137907056
In callMethod() _stack[0]: 0x83be528
In MethodReturnValue(), about to call return value marshaller
GetPointerObject() pointerMap[ptr] == null
result 0
Invoke() MethodName: NewQDialog Type: Qt.QDialog, hello, Version=0.0.0.0, 
Culture=neutral, PublicKeyToken=null ArgCount: 0
FindMethod() className: QDialog MethodName: QDialog
                In FindMethodId QDialog::QDialog => 2022
FindMethod() MethodName: QDialog result: 2144
In CallMethod methodId: 2144 target: 0x0000000b items: 0
In CallMethod 137199344
In callMethod() fn: 0x415d7ff0 method().method: 13 ptr: (nil) _stack[1]: 6
In callMethod() _stack[0]: 0x84940e8
In MethodReturnValue(), about to call return value marshaller
GetPointerObject() pointerMap[ptr] == null
result 0
Invoke() MethodName: Show Type: Qt.QDialog, hello, Version=0.0.0.0, 
Culture=neutral, PublicKeyToken=null ArgCount: 0
FindMethod() className: QDialog MethodName: show
                In FindMethodId QDialog::show => 2063
FindMethod() MethodName: show result: 2147
In CallMethod methodId: 2147 target: 0x0000000b items: 0
In CallMethod 136881448
In callMethod() fn: 0x415d7ff0 method().method: 15 ptr: (nil) _stack[1]: 0

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

in <0x4> (wrapper managed-to-native) Qt.SmokeInvocation:CallMethod 
(int,intptr,intptr,int)
in <0xffffaa20> (wrapper managed-to-native) Qt.SmokeInvocation:CallMethod 
(int,intptr,intptr,int)
in <0xa80> Qt.SmokeInvocation:Invoke 
(System.Runtime.Remoting.Messaging.IMessage)
in <0x2e5> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke 
(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&)
in <0xc746964f> (wrapper runtime-invoke) 
System.Object:runtime_invoke_object_RealProxy_IMessage_Exception&_object[]& 
(object,intptr,intptr,intptr)
in <0x4> (wrapper remoting-invoke) Qt.QDialog:Show ()
in <0xffffffc7> (wrapper remoting-invoke) Qt.QDialog:Show ()
in <0xfffffff6> (wrapper remoting-invoke-with-check) Qt.QDialog:Show ()
in <0x16> Qt.QDialog:Show ()
in <0x23> MainForm:.ctor ()
in <0xfe6b9b11> (wrapper remoting-invoke-with-check) MainForm:.ctor ()
in <0x49> MainForm:Main (string[])
in <0xc7598b97> (wrapper runtime-invoke) 
System.Object:runtime_invoke_void_string[] (object,intptr,intptr,intptr)

Native stacktrace:

        mono(mono_handle_native_sigsegv+0xba) [0x81471da]
        mono [0x81354cf]
        [0xffffe440]
        /opt/kde3/lib/libsmokeqt.so.1
(_Z13xcall_QDialogsPvPN5Smoke9StackItemE+0x351) [0x415d8341]
        libqyoto.so(_ZN10MethodCall10callMethodEv+0xec) [0x40cb0cd2]
        libqyoto.so(_ZN10MethodCall4nextEv+0xa4) [0x40cb0dd8]
        libqyoto.so(CallMethod+0x66) [0x40caff92]
        [0x424e25cb]
        [0x424dcfb9]
        [0x40ccc45e]
        [0x40ccbd65]
        mono [0x8135380]
        mono(mono_runtime_invoke+0x27) [0x80d42b7]
        mono(mono_remoting_invoke+0x4e) [0x80d6d4e]
        mono [0x80a97a7]
        [0x424e7cd2]
        [0x424e7c68]
        [0x424e7c2f]
        [0x424e4304]
        [0x424e3712]
        [0x40b9d202]
        [0x40b9c813]
        mono [0x8135380]
        mono(mono_runtime_invoke+0x27) [0x80d42b7]
        mono(mono_runtime_exec_main+0x5c) [0x80d513c]
        mono(mono_runtime_run_main+0x171) [0x80d4d61]
        mono(strftime+0x1b52) [0x805cb72]
        mono(mono_main+0x785) [0x805d485]
        mono(__fxstat64+0x12b) [0x805bf3b]
        /lib/tls/libc.so.6(__libc_start_main+0xd0) [0x4013fea0]
        mono(sinh+0x41) [0x805be91]


I don't know if that helps in any way, but I just post it here.

Over the weekend I tried another thing: I converted the qtjava-packages with 
ikvm to CIL. The qtjava-bindings work with Mono. But I don' think it's a very 
good idea beacuse the bindings require java or at least GNU Classpath.
-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list