[Gambas-user] SEGFAULT with SHELL

Benoît Minisini gambas at ...1...
Tue May 26 14:26:10 CEST 2009


> I have 2 C-program's.
>
> lasercall.e   run at background and call function in shared library
> liblumax.so.
> Calling from Gambas with
> SHELL "/home/juelin/lasercall.e&"
>
> laserfunc.e calling from Gambas with
> SHELL "/home/juelin/laserfunc.e 4 1" TO StringVar
>
> Then I got a segmentationfault signal and program lasercall.e terminatet.
> At /var/log/messages I got:
> kernel: lasercall.e[6412]: segfault at b69b4a0c ip b7eb950e sp bf9f9e00
> error 4 in liblumax.so[b7eb5000+6000]
>
> But when I call "laserfunc.e 4 1" from Console it work well.
>
> Can anybody help?
>
> kind regards
> Jürgen

I can't hardly help you if you have segfaults inside a shared library called 
from Gambas. 

You must use gdb and the debugging package of the library to get a stack 
backtrace of the crash. Then, if you provide me that backtrace I may find 
something about your problem.

Regards,

-- 
Benoît




More information about the User mailing list