4 Jan
2010
4 Jan
'10
12:18 a.m.
Guillaume Yziquel a écrit :
Hello.
I've spent quite some time lately debugging my issue with OCaml binding of MonetDB libraries:
http://www.mail-archive.com/caml-list@yquem.inria.fr/msg05449.html
It seems that the BSS is not properly initialised to 0 when dynamically loaded. It seems that the code in mal_box.c relies on the fact that BSS is initialised to 0 when loaded.
In fact, this is not the case. It is a symbol collision with libncurses. There's also a box function there, living in the .text data segment. Thanks to Csaba Halasz (Jester01 on ##asm) for helping out with debugging. -- Guillaume Yziquel http://yziquel.homelinux.org/