[Kde-bindings] SIGSEGV Error when running Qyoto apps?

Edmis Deivis Semanat Aldana edsemanat at uci.cu
Mon Mar 29 16:30:21 UTC 2010


Arno Rehn wrote:
> On Monday 29 March 2010 16:51:22 Edmis Deivis Semanat Aldana wrote:
>   
>> When running very simple apps using Qyoto  I always get this error
>> =================================================================
>> 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.
>> =================================================================
>>
>> I found this message in the archive 
>> http://lists.kde.org/?l=kde-bindings&m=126676255225955&w=2#1 but still no
>> solution for the problem. Can someone help?
>>     
> The analog clock example works fine for me.
> Without a proper backtrace I'm afraid I can't do much to fix the problem. If 
> you use distribution packages, install GDB and debug symbols for Qt, Qyoto and 
> mono and run the example with 'mono --debug <executable>'.
>
>   
Hi, this is what i get from mono --debug TestQyoto.exe
Thanks.

Stacktrace:                                                                          


  at (wrapper managed-to-native) Qyoto.SmokeInvocation.CallSmokeMethod 
(intptr,int,intptr,intptr,int) <0x00004>
  at (wrapper managed-to-native) Qyoto.SmokeInvocation.CallSmokeMethod 
(intptr,int,intptr,intptr,int) <0xffffffff>
  at Qyoto.SmokeInvocation.Invoke (string,string,System.Type,object[]) 
<0x0094b>                                 
  at Qyoto.QApplication..ctor (string[]) 
<0x00203>                                                               
  at AnalogClockMain.Main (string[]) [0x00000] in 
/home/edsa/Projects/TestQyoto/TestQyoto/main.cs:28        
  at (wrapper runtime-invoke) AnalogClockMain.runtime_invoke_int_object 
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x80c8824]
        mono [0x80f4693]
        [0x50e410]     

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[Nuevo Thread 0xeabb70 (LWP 2888)]          
[Nuevo Thread 0x115b70 (LWP 2887)]          
0x0050e422 in __kernel_vsyscall ()          
  3 Thread 0x115b70 (LWP 2887)  0x0050e422 in __kernel_vsyscall ()
  2 Thread 0xeabb70 (LWP 2888)  0x0050e422 in __kernel_vsyscall ()
* 1 Thread 0x2156f0 (LWP 2886)  0x0050e422 in __kernel_vsyscall ()

Hilo 3 (Thread 0x115b70 (LWP 2887)):
#0  0x0050e422 in __kernel_vsyscall ()
#1  0x0029c466 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x081a3658 in ?? ()
#3  0x0029480e in start_thread (arg=0x115b70) at pthread_create.c:300
#4  0x003be8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Hilo 2 (Thread 0xeabb70 (LWP 2888)):
#0  0x0050e422 in __kernel_vsyscall ()
#1  0x0029af75 in sem_wait@@GLIBC_2.1 () at 
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80
#2  0x0812bb29 in ?? ()
#3  0x0814f96c in ?? ()
#4  0x081bf9f2 in ?? ()
#5  0x081de055 in ?? ()
#6  0x0029480e in start_thread (arg=0xeabb70) at pthread_create.c:300
#7  0x003be8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Hilo 1 (Thread 0x2156f0 (LWP 2886)):
#0  0x0050e422 in __kernel_vsyscall ()
#1  0x0029bc8b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x080c89be in ?? ()
#3  0x080f4693 in ?? ()
#4  <signal handler called>
#5  0x00000000 in ?? ()
#6  0x00246bc0 in mapPointer(void*, smokeqyoto_object*, short, void*) () 
from /usr/lib/libqyotoshared.so.1
#7  0x0021e8bc in Qyoto::MethodCall::callMethod() () from 
/usr/lib/libqyotoshared.so.1
#8  0x0021eaa5 in Qyoto::MethodCall::next() () from 
/usr/lib/libqyotoshared.so.1
#9  0x001ef19d in CallSmokeMethod () from 
/usr/lib/cli/kdebindings-4.4/libqyoto.so
#10 0x001802d0 in ?? ()
#11 0x002b9e34 in ?? ()
#12 0x002b73c4 in ?? ()
#13 0x002ac2cf in ?? ()
#14 0x002ac203 in ?? ()
#15 0x0811132b in mono_runtime_exec_main ()
#16 0x081134da in mono_runtime_run_main ()
#17 0x080b19bd in mono_main ()
#18 0x0805aba5 in ?? ()
#19 0x00308b56 in __libc_start_main (main=0x805ab80, argc=3, 
ubp_av=0xbf90d4d4, init=0x81e3370, fini=0x81e3360, rtld_fini=0x1b3d20 
<_dl_fini>, stack_end=0xbf90d4cc)
    at libc-start.c:220
#20 0x0805aae1 in ?? ()

=================================================================
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.
=================================================================

Cancelado



More information about the Kde-bindings mailing list