Hello,
I am a new user of Cint, and have some problem in a program that I didn’t developped.
This program, create a thread to emulate VxWorks shell, this thread init an embedded cint (G__init_cint(“cint”)) and loop other a G__input and G__calc.
But I can’t reach the loop, I crash with a SIGSEGV received during cint initialisation :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb620c050 (LWP 23967)]
0xb7b9313a in G__scratch_upto_work () from /usr/local/lib/libCint.so
(gdb) bt
#0 0xb7b9313a in G__scratch_upto_work () from /usr/local/lib/libCint.so
#1 0xb7b93fcc in G__scratch_all () from /usr/local/lib/libCint.so
#2 0xb7b19fd0 in G__main () from /usr/local/lib/libCint.so
#3 0xb7b1c19c in G__init_cint () from /usr/local/lib/libCint.so
#4 0x080629d7 in lance_cint () at vm_cint0.cpp:1171
#5 0xb7fddcbe in wind_task_trampoline () from /usr/xenomai/lib/libvxworks.so.1
#6 0x00bfa832 in start_thread () from /lib/libpthread.so.0
#7 0x00b3a0ae in clone () from /lib/libc.so.6
Can someone help me ?
Thanks.
[size=150]Problem solved : I am using cint in a Xenomai environement, cint is initialized in a task spawned with the taskSpawn api of VxWorks, and it was just a stack size problem.[/size]