[Gambas-user] SEGFAULT with SHELL

M0E Lnx m0e.lnx at ...626...
Tue May 26 13:36:30 CEST 2009


Maybe you need to call the compiler for thesel programs from gambas. Unless
your programs are already compiled and you just run their binaries

On May 26, 2009 4:02 AM, "juelin" <juergen.linder at ...17...> wrote:


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

--
View this message in context:
http://www.nabble.com/SEGFAULT-with-SHELL-tp23719228p23719228.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



More information about the User mailing list