[Klone-users] klone segfaults
thomas fossati
tho at koanlogic.com
Mon Feb 11 03:05:43 EST 2008
Hi Mark,
On Feb 10, 2008, at 8:23 PM, Mark Richards wrote:
>
> When my index.kl1 starts and hits this code it segfaults:
>
> # kloned (pid 792) segfaults for page address 00082000 at pc 00097198
could you please take a look at what's actually happening at pc
00097198 (via objdump) ? Perhaps it's just a matter of uninitialized
memory.
In this regard you could also do something like "struct _sysinfo
*sysinfo = NULL;" in the library code and then request explicit
initialization by the callers - i.e. "if (sysinfo == NULL) dbg_err_if
(_sysinfo_init(&sysinfo));" or similar ...
ciao, t.
More information about the klone-users
mailing list