I've started to use some hbct functions in dynamic loaded hrb modules
and I get this segfault:

0xb7cc83ef in hb_ctw_gt_Resize () from /opt/harbour/lib/libharbour.so
Current language:  auto; currently asm
(gdb) bt
#0  0xb7cc83ef in hb_ctw_gt_Resize () from /opt/harbour/lib/libharbour.so
#1  0xb7ad2a78 in hb_gt_def_Init () from /opt/harbour/lib/libharbour.so
#2  0xb7c030ea in hb_gtInit () from /opt/harbour/lib/libharbour.so
#3  0xb7bf059b in hb_conInit () from /opt/harbour/lib/libharbour.so
#4  0xb7c8348c in hb_vmInit () from /opt/harbour/lib/libharbour.so
#5  0xb7c925be in main () from /opt/harbour/lib/libharbour.so
#6  0xb765b685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#7  0x0804e0a1 in ?? ()

To reproduce it:

#include "ctextern.ch"
function main
? boy()
return nil

hbmk testct2.prg && ./testct2

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to